Correct "inexact" expectations in lround, llround tests.
[glibc.git] / ChangeLog
blob501fa2dc7ac210526a2f981efeb43bb65379ced7
1 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3         * math/libm-test.inc (lround_test_data): Do not expect the absence
4         of "inexact" for some tests with non-integer arguments.
5         (llround_test_data): Likewise.
7         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
8         test.
9         (libc_cv_cc_sse2avx): Likewise.
10         * sysdeps/i386/configure: Regenerated.
11         * sysdeps/i386/i686/multiarch/Makefile
12         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13         [$(subdir) = math].
14         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15         code unconditional.
16         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17         Likewise.
18         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19         Likewise.
20         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21         Likewise.
22         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23         test.
24         (libc_cv_cc_sse2avx): Likewise.
25         * sysdeps/x86_64/configure: Regenerated.
26         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
27         unconditional.
28         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
30         unconditional.
31         (_dl_runtime_profile)
32         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
33         conditional code.
34         * sysdeps/x86_64/fpu/multiarch/Makefile
35         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
36         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
37         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38         * sysdeps/x86_64/fpu/multiarch/e_exp.c
39         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40         * sysdeps/x86_64/fpu/multiarch/e_log.c
41         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42         * sysdeps/x86_64/fpu/multiarch/s_atan.c
43         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
44         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
45         Likewise.
46         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
47         Likewise.
48         * sysdeps/x86_64/fpu/multiarch/s_sin.c
49         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
50         * sysdeps/x86_64/fpu/multiarch/s_tan.c
51         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
52         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
53         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
54         (HAVE_SSE2AVX_SUPPORT): Likewise.
56 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
58         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
59         instead of #pragma optimize.
61 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
63         [BZ #17195]
64         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
65         as is similarly done in systrim and _int_free already.
67 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
71 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
73         [BZ #19088]
74         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
75         <limits.h>.
76         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
77         overflows but exception would not result from cast.
78         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
79         and <limits.h>.
80         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
81         overflows but exception would not result from cast.
82         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
83         <limits.h>.
84         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
85         overflows but exception would not result from cast.
86         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
87         <limits.h>.
88         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
89         overflows but exception would not result from cast.
90         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
91         <limits.h>.
92         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
93         overflows but exception would not result from cast.
94         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
95         <limits.h>.
96         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
97         overflows but exception would not result from cast.
98         * math/libm-test.inc (lround_test_data): Add more tests.
99         (llround_test_data): Likewise.
101 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
103         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
104         (CFLAGS-ialloc.c): Ditto.
105         (CFLAGS-scheck.c): Ditto.
107 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
109         [BZ #19086]
110         * manual/filesys.texi (Storage Allocation): Fix argument order for
111         posix_fallocate64.
113 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
115         [BZ #19085]
116         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
117         exponent below 48 inside case for non-overflowing exponent.
118         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
120 2015-10-07  Florian Weimer  <fweimer@redhat.com>
122         * iconvdata/cp737.h (from_idx): Add const.
123         * iconvdata/cp775.h (from_idx): Likewise.
125 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
127         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
128         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
129         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
131         [BZ #19079]
132         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
133         file, conditioned on [!_LP64].
134         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
135         [!_LP64] (__lround): Do not define as function or alias.
136         [!_LP64] (lround): Likewise.
137         [!_LP64] (__lroundl): Likewise.
138         [!_LP64] (lroundl): Likewise.
139         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
140         macro.
141         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
142         Likewise.
144 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
146         * math/libm-test.inc (lrint_test_data): Add more tests.
147         (llrint_test_data): Likewise.
148         (lround_test_data): Likewise.
149         (llround_test_data): Likewise.
151         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
152         (llrint_test_data): Add tests used for lrint.
154         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
155         test.
156         * sysdeps/i386/configure: Regenerated.
157         * sysdeps/i386/i686/multiarch/Makefile
158         [$(config-cflags-sse4) = yes]: Make code unconditional.
159         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
160         Likewise.
161         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
162         Likewise.
163         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
164         test.
165         * sysdeps/x86_64/configure: Regenerated.
166         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
167         Make code unconditional.
168         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
169         Likewise.
170         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
171         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
173         * scripts/rpm2dynsym.sh: Remove file.
175 2015-10-06  Florian Weimer  <fweimer@redhat.com>
177         * configure.ac (libc_cv_cxx_thread_local): Define.
178         * configure: Regenerate.
179         * config.make.in (have-cxx-thread_local): Define.
180         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
181         (LDLIBS-tst-thread_local1): Define.
182         (tests): Add tst-thread_local1.
183         [have-cxx-thread_local != yes] (tests-unsupported): Add
184         tst-thread_local1.
185         * nptl/tst-thread_local1.cc: New file.
187 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
189         [BZ #19078]
190         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
191         (u_thres): Likewise.
192         (__expl): Determine whether to call __kernel_standard_l based on
193         value of result, not argument.
195         * math/libm-test.inc (scalb_test_data): Add more expectations for
196         the "inexact" exception.
198         [BZ #19077]
199         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
200         0.0L for argument 1.0L.
202         [BZ #19076]
203         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
204         constant 0.0L when computing infinite result.
206 2015-10-06  Florian Weimer  <fweimer@redhat.com>
208         [BZ #10432]
209         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
210         malloc_usable_size.
212 2015-10-06  Florian Weimer  <fweimer@redhat.com>
214         [BZ #19018]
215         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
216         Mangle function pointer before storing it.
217         (__call_tls_dtors): Demangle function pointer before calling it.
219 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
221         [BZ #19012]
222         * iconv/gconv_db.c (gen_steps): Check for additional errors.
223         Clean up on failure.
225 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
227         [BZ #19071]
228         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
229         long int variable to store possibly incremented high part of
230         mantissa.
231         * math/libm-test.inc (lround_test_data): Add tests used for
232         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
233         for tests requiring 64-bit long.  Do not condition tests on
234         [TEST_FLOAT] unnecessarily.
235         (llround_test_data): Add tests used for lround.  Add another
236         expectation for the "inexact" exception.  Do not condition tests
237         on [TEST_FLOAT] unnecessarily.
239         [BZ #887]
240         [BZ #19049]
241         [BZ #19050]
242         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
243         * sysdeps/ieee754/dbl-64/e_log10.c: Include
244         <fix-int-fp-convert-zero.h>.
245         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
246         * sysdeps/ieee754/dbl-64/e_log2.c: Include
247         <fix-int-fp-convert-zero.h>.
248         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
249         * sysdeps/ieee754/dbl-64/s_erf.c: Include
250         <fix-int-fp-convert-zero.h>.
251         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
252         * sysdeps/ieee754/dbl-64/s_logb.c: Include
253         <fix-int-fp-convert-zero.h>.
254         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
255         * sysdeps/ieee754/flt-32/e_log10f.c: Include
256         <fix-int-fp-convert-zero.h>.
257         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
258         * sysdeps/ieee754/flt-32/e_log2f.c: Include
259         <fix-int-fp-convert-zero.h>.
260         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
261         * sysdeps/ieee754/flt-32/s_erff.c: Include
262         <fix-int-fp-convert-zero.h>.
263         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
264         * sysdeps/ieee754/flt-32/s_logbf.c: Include
265         <fix-int-fp-convert-zero.h>.
266         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
267         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
268         <fix-int-fp-convert-zero.h>.
269         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
270         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
271         <fix-int-fp-convert-zero.h>.
272         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
273         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
274         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
275         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
276         file.
277         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
279 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
281         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
283 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
285         [BZ #19059]
286         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
287         overflowing computation.
288         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
289         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
290         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
291         Likewise.
292         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
293         Likewise.
294         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
295         Likewise.
296         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
297         Likewise.
298         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
299         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
300         Likewise.
301         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
302         Likewise.
303         * math/libm-test.inc (nexttoward_test_data): Add more tests.
305         * nss/rewrite_field.c (__nss_rewrite_field): Use
306         internal_function.
307         * nss/valid_field.c (__nss_valid_field): Likewise.
308         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
310 2015-10-02  Florian Weimer  <fweimer@redhat.com>
312         [BZ #18724]
313         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
314         (__nss_invalid_field_characters, __nss_valid_field)
315         (__nss_valid_list_field, __nss_rewrite_field): Declare.
316         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
317         tst-field.c: New file.
318         * nss/Makefile (routines): Add valid_field, rewrite_field.
319         (tests-static): Define unconditionally.
320         (tests): Include tests-static.
321         [build-static-nss] (tests-static): Use append.
322         [build-static-nss] (tests): Remove modification.
323         * nss/getent.c (print_group): Call putgrent.  Report error.
324         (print_gshadow): Call putsgent.  Report error.
325         (print_passwd): Call putpwent.  Report error.
326         (print_shadow): Call putspent.  Report error.
327         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
328         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
329         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
330         name, password, directory, shell fields for valid syntax.  Rewrite
331         GECOS field to match syntax.
332         * pwd/Makefile (tests): Add tst-putpwent.
333         * pwd/tst-putpwent.c: New file.
334         * grp/putgrent.c (putgrent): Convert to ISO function definition.
335         Check grName, grpasswd, gr_mem fields for valid syntax.
336         Change loop variable i to size_t.
337         * grp/Makefile (tests): Add tst-putgrent.
338         * grp/tst-putgrent.c: New file.
339         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
340         valid syntax.
341         * shadow/Makefile (tests): Add tst-putspent.
342         * shadow/tst-putspent.c: New file.
343         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
344         sg_mem fields for valid syntax.
345         * gshadow/Makefile (tests): Add tst-putsgent.
346         * gshadow/tst-putsgent.c: New file.
348 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
350         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
351         assembly instructions.
353 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
355         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
356         prefix from operands.
358 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
360         [BZ #16347]
361         [BZ #19046]
362         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
363         <libc-internal.h>.
364         (MAXLGM): Do not use diagnostic control macros.
365         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
366         threshold for ldbl-128ibm.
367         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
368         instead of multiplying by log then subtracting.
369         * math/auto-libm-test-in: Add more tests of lgamma.
370         * math/auto-libm-test-out: Regenerated.
372         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
373         (TYPE_HEX_DIG): Likewise.
374         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
375         precisions when printing floating-point numbers.
376         (check_float_internal): Likewise.
378 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
380         [BZ #16620]
381         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
382         of log (10) rounded downward to 48 bits.
383         (log10_low): Use corresponding low part of log (10).
385         [BZ #19032]
386         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
387         compute result as (x - x) / (x - x) not as 0 / 0.
388         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
389         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
391         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
392         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
393         and expm1.
394         * math/auto-libm-test-out: Regenerated.
395         * math/libm-test.inc (acos_test_data): Add more tests.
396         (asin_test_data): Likewise.
397         (asinh_test_data): Likewise.
398         (atan_test_data): Likewise.
399         (atanh_test_data): Likewise.
400         (atan2_test_data): Likewise.
401         (cbrt_test_data): Likewise.
402         (ceil_test_data): Likewise.
403         (copysign_test_data): Likewise.
404         (cos_test_data): Likewise.
405         (cosh_test_data): Likewise.
406         (erf_test_data): Likewise.
407         (erfc_test_data): Likewise.
408         (exp_test_data): Likewise.
409         (exp10_test_data): Likewise.
410         (exp2_test_data): Likewise.
411         (expm1_test_data): Likewise.
412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
414 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
416         [BZ #19006]
417         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
418         to ...
419         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
420         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
421         to ...
422         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
423         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
424         to ...
425         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
426         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
427         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
428         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
429         to ...
430         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
431         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
432         Moved to ...
433         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
434         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
435         Moved to ...
436         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
437         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
438         to ...
439         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
440         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
441         Moved to ...
442         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
443         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
444         to ...
445         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
446         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
447         Removed.
448         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
449         Likewise.
450         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
451         Likewise.
452         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
453         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
454         Likewise.
455         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
456         Likewise.
457         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
458         Likewise.
459         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
460         Likewise.
461         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
462         Likewise.
463         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
464         Likewise.
465         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
466         Likewise.
467         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
468         Likewise.
469         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
470         Likewise.
471         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
472         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
473         Likewise.
474         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
475         Likewise.
476         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
477         Likewise.
478         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
479         Likewise.
480         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
481         Likewise.
482         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
483         Replace ../i486/pthread_cond_timedwait.S with
484         ../pthread_cond_timedwait.S.
486 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
488         * math/libm-test.inc (acos_test_data): Refine expectations for
489         errno and "inexact" exceptions.
490         (acosh_test_data): Likewise.
491         (asin_test_data): Likewise.
492         (asinh_test_data): Likewise.
493         (atan_test_data): Likewise.
494         (atanh_test_data): Likewise.
495         (atan2_test_data): Likewise.
496         (cbrt_test_data): Likewise.
497         (ceil_test_data): Likewise.
498         (copysign_test_data): Likewise.
499         (cosh_test_data): Likewise.
500         (erf_test_data): Likewise.
501         (erfc_test_data): Likewise.
502         (exp_test_data): Likewise.
503         (exp10_test_data): Likewise.
504         (exp2_test_data): Likewise.
505         (expm1_test_data): Likewise.
506         (fabs_test_data): Likewise.
507         (floor_test_data): Likewise.
508         (fma_test_data): Likewise.
509         (fmax_test_data): Likewise.
510         (fmin_test_data): Likewise.
511         (fmod_test_data): Likewise.
512         (fpclassify_test_data): Likewise.
513         (frexp_test_data): Likewise.
514         (hypot_test_data): Likewise.
515         (ilogb_test_data): Likewise.
516         (isgreater_test_data): Likewise.
517         (isgreaterequal_test_data): Likewise.
518         (isinf_test_data): Likewise.
519         (isless_test_data): Likewise.
520         (islessequal_test_data): Likewise.
521         (islessgreater_test_data): Likewise.
522         (isnan_test_data): Likewise.
523         (isnormal_test_data): Likewise.
524         (issignaling_test_data): Likewise.
525         (isunordered_test_data): Likewise.
526         (j0_test_data): Likewise.
527         (j1_test_data): Likewise.
528         (jn_test_data): Likewise.
529         (lgamma_test_data): Likewise.
530         (lrint_test_data): Likewise.
531         (llrint_test_data): Likewise.
532         (log_test_data): Likewise.
533         (log10_test_data): Likewise.
534         (log1p_test_data): Likewise.
535         (log2_test_data): Likewise.
536         (logb_test_data): Likewise.
537         (lround_test_data): Likewise.
538         (llround_test_data): Likewise.
539         (modf_test_data): Likewise.
540         (nearbyint_test_data): Likewise.
541         (nextafter_test_data): Likewise.
542         (nexttoward_test_data): Likewise.
543         (pow_test_data): Likewise.
544         (remainder_test_data): Likewise.
545         (remquo_test_data): Likewise.
546         (rint_test_data): Likewise.
547         (round_test_data): Likewise.
548         (signbit_test_data): Likewise.
549         (sinh_test_data): Likewise.
550         (sqrt_test_data): Likewise.
551         (tanh_test_data): Likewise.
552         (tgamma_test_data): Likewise.
553         (trunc_test_data): Likewise.
554         (y0_test_data): Likewise.
555         (y1_test_data): Likewise.
556         (yn_test_data): Likewise.
557         (significand_test_data): Likewise.
559 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
561         * manual/filesys.texi (Storage Allocation): Document that
562         posix_fallocate emulation fails when fd is open with O_WRONLY.
564 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
566         [BZ #19016]
567         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
568         allow more cases with X^2 + Y^2 >= 0.5.
569         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
570         normal element in sum instead of special-casing based on values of
571         arguments.
572         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
573         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
574         -1 as normal element in sum instead of special-casing based on
575         values of arguments.
576         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
577         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
578         (__x2y2m1): Update comment.
579         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
580         as normal element in sum instead of special-casing based on values
581         of arguments.
582         * math/s_clog.c (__clog): Handle more cases using log1p without
583         hypot.
584         * math/s_clog10.c (__clog10): Likewise.
585         * math/s_clog10f.c (__clog10f): Likewise.
586         * math/s_clog10l.c (__clog10l): Likewise.
587         * math/s_clogf.c (__clogf): Likewise.
588         * math/s_clogl.c (__clogl): Likewise.
589         * math/auto-libm-test-in: Add more tests of clog and clog10.
590         * math/auto-libm-test-out: Regenerated.
591         * sysdeps/i386/fpu/libm-test-ulps: Update.
592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
594 2015-09-28  Martin Sebor  <msebor@redhat.com>
596         [BZ #18969]
597         * string/Makefile (LOCALES): Define.
598         (gen-locales.mk): Include.
599         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
600         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
601         * string/tst-strxfrm2.c (do_test): Print the name of the locale
602         on setlocale failure.
604 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
606         [BZ #18985]
607         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
608         (__strftime_internal): Likewise.
609         * time/tst-strftime.c (do_bz18985): New test.
610         (do_test): Call it.
612 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
614         [BZ #18956]
615         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
616         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
617         extracting high part.
618         * math/auto-libm-test-in: Add another test of pow.
619         * math/auto-libm-test-out: Regenerated.
620         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
622 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
624         [BZ #18825]
625         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
626         New macro.
627         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
628         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
629         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
630         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
631         DBL_NARROW_EVAL, reloading the PIC register as needed.
632         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
633         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
634         FLT_NARROW_EVAL.  Use separate return path for case when first
635         argument is NaN.
636         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
637         DEFINE_LDBL_MIN.
638         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
639         PIC register.
640         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
641         math_check_force_underflow_nonneg.
642         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
643         underflow for subnormal result.
644         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
645         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
646         math_check_force_underflow_nonneg.
647         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
648         math_check_force_underflow.
649         * sysdeps/x86_64/fpu/x86_64-math-asm.h
650         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
651         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
652         DEFINE_LDBL_MIN.
653         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
654         * math/auto-libm-test-in: Add more tests of pow.
655         * math/auto-libm-test-out: Regenerated.
657 2015-09-25  Florian Weimer  <fweimer@redhat.com>
659         * nss/bug17079.c (init_test_items): Add diagnostic for
660         inconsistent entries.
661         (test_buffer_size): Skip inconsistent entries.
663 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
665         [BZ #13304]
666         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
667         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
668         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
670         [BZ #13304]
671         * sysdeps/microblaze/s_fma.c: New file.
672         * sysdeps/microblaze/s_fmaf.c: Likewise.
673         * sysdeps/microblaze/sfp-machine.h: Likewise.
675 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
677         [BZ #17250]
678         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
679         member.
681 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
683         [BZ #18803]
684         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
685         (MO): New macro.
686         (__ieee754_hypot) [PIC]: Load PIC register.
687         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
688         DBL_NARROW_EVAL.
689         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
690         math_check_force_underflow_nonneg in case where result might be
691         tiny.
692         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
693         Likewise.
694         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
695         Likewise.
696         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
697         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
698         * math/auto-libm-test-in: Add more tests of hypot.
699         * math/auto-libm-test-out: Regenerated.
701 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
703         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
705 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
707         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
708         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
709         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
710         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
711         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
712         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
713         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
715         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
716         LOAD_PIC_REG.
718         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
719         (FLT_CHECK_FORCE_UFLOW): Likewise.
720         (DBL_CHECK_FORCE_UFLOW): Likewise.
721         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
722         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
723         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
724         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
725         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
726         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
727         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
728         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
729         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
730         (dbl_min): Replace with use of DEFINE_DBL_MIN.
731         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
732         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
733         (flt_min): Replace with use of DEFINE_FLT_MIN.
734         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
735         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
736         (dbl_min): Replace with use of DEFINE_DBL_MIN.
737         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
738         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
739         (flt_min): Replace with use of DEFINE_FLT_MIN.
740         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
741         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
742         (dbl_min): Replace with use of DEFINE_DBL_MIN.
743         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
744         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
745         (flt_min): Replace with use of DEFINE_FLT_MIN.
746         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
747         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
748         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
749         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
750         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
751         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
752         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
753         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
754         (dbl_min): Replace with use of DEFINE_DBL_MIN.
755         (__atan): Use DBL_CHECK_FORCE_UFLOW.
756         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
757         (flt_min): Replace with use of DEFINE_FLT_MIN.
758         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
759         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
760         (dbl_min): Replace with use of DEFINE_DBL_MIN.
761         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
762         main computation.
763         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
764         (flt_min): Replace with use of DEFINE_FLT_MIN.
765         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
766         main computation.
767         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
768         (dbl_min): Replace with use of DEFINE_DBL_MIN.
769         (MO): New macro.
770         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
771         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
772         (flt_min): Replace with use of DEFINE_FLT_MIN.
773         (MO): New macro.
774         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
775         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
776         (__log1pl): Use MO.
778         [BZ #19003]
779         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
780         $(config-cflags-nofma).
782 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
784         * sysdeps/aarch64/libm-test-ulps: Regenerated.
786 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
788         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
789         (TWO127): Likewise.
791         * sysdeps/generic/math_private.h (fabs_tg): New macro.
792         (min_of_type): Likewise.
793         (math_check_force_underflow): Likewise.
794         (math_check_force_underflow_nonneg): Likewise.
795         (math_check_force_underflow_complex): Likewise.
796         * math/e_exp2l.c (__ieee754_exp2l): Use
797         math_check_force_underflow_nonneg.
798         * math/k_casinh.c (__kernel_casinh): Likewise.
799         * math/k_casinhf.c (__kernel_casinhf): Likewise.
800         * math/k_casinhl.c (__kernel_casinhl): Likewise.
801         * math/s_catan.c (__catan): Use
802         math_check_force_underflow_complex.
803         * math/s_catanf.c (__catanf): Likewise.
804         * math/s_catanh.c (__catanh): Likewise.
805         * math/s_catanhf.c (__catanhf): Likewise.
806         * math/s_catanhl.c (__catanhl): Likewise.
807         * math/s_catanl.c (__catanl): Likewise.
808         * math/s_ccosh.c (__ccosh): Likewise.
809         * math/s_ccoshf.c (__ccoshf): Likewise.
810         * math/s_ccoshl.c (__ccoshl): Likewise.
811         * math/s_cexp.c (__cexp): Likewise.
812         * math/s_cexpf.c (__cexpf): Likewise.
813         * math/s_cexpl.c (__cexpl): Likewise.
814         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
815         * math/s_clog10.c (__clog10): Likewise.
816         * math/s_clog10f.c (__clog10f): Likewise.
817         * math/s_clog10l.c (__clog10l): Likewise.
818         * math/s_clogf.c (__clogf): Likewise.
819         * math/s_clogl.c (__clogl): Likewise.
820         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
821         * math/s_csinf.c (__csinf): Likewise.
822         * math/s_csinh.c (__csinh): Likewise.
823         * math/s_csinhf.c (__csinhf): Likewise.
824         * math/s_csinhl.c (__csinhl): Likewise.
825         * math/s_csinl.c (__csinl): Likewise.
826         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
827         * math/s_csqrtf.c (__csqrtf): Likewise.
828         * math/s_csqrtl.c (__csqrtl): Likewise.
829         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
830         * math/s_ctanf.c (__ctanf): Likewise.
831         * math/s_ctanh.c (__ctanh): Likewise.
832         * math/s_ctanhf.c (__ctanhf): Likewise.
833         * math/s_ctanhl.c (__ctanhl): Likewise.
834         * math/s_ctanl.c (__ctanl): Likewise.
835         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
836         instead of volatile.
837         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
838         math_check_force_underflow.
839         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
840         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
841         volatile when forcing underflow.
842         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
843         math_check_force_underflow_nonneg.
844         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
845         Likewise.
846         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
847         math_check_force_underflow.
848         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
849         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
850         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
851         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
852         math_check_force_underflow_nonneg.
853         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
854         math_check_force_underflow.
855         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
857         instead of volatile.
858         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
859         math_check_force_underflow.
860         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
861         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
862         math_check_force_underflow_nonneg.
863         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
864         math_check_force_underflow.
865         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
866         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
867         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
868         math_check_force_underflow_nonneg.
869         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
870         Likewise.
871         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
872         math_check_force_underflow.
873         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
874         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
875         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
876         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
877         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
878         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
879         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
880         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
881         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
882         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
883         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
884         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
885         Likewise.
886         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
887         math_check_force_underflow_nonneg.
888         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
889         Likewise.
890         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
891         math_check_force_underflow.
892         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
893         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
894         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
895         Likewise.
896         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
897         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
898         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
899         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
900         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
901         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
903         instead of volatile.
904         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
905         math_check_force_underflow.
906         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
907         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
908         math_check_force_underflow.
909         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
910         Likewise.
911         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
912         Use math_check_force_underflow_nonneg.
913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
914         math_check_force_underflow.
915         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
916         Likewise.
917         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
918         Likewise.
919         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
920         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
921         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
922         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
923         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
924         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
925         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
926         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
927         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
928         math_check_force_underflow_nonneg.
929         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
930         math_check_force_underflow.
931         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
932         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
933         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
934         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
935         math_check_force_underflow_nonneg.
936         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
937         math_check_force_underflow.
938         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
939         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
940         instead of volatile.
941         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
942         math_check_force_underflow.
944         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
945         * stdlib/strtod_l.c: Include <math_private.h>.
946         (overflow_value): Use math_narrow_eval.
947         (underflow_value): Likewise.
948         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
949         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
950         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
951         (__ieee754_gamma_r): Likewise.
952         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
953         Likewise.
954         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
955         Likewise.
956         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
957         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
958         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
959         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
960         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
961         (__ieee754_gammaf_r): Likewise.
962         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
963         Likewise.
964         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
965         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
966         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
967         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
968         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
969         volatile.
970         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
971         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
972         math_narrow_eval.
973         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
974         Likewise.
975         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
976         Likewise.
977         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
978         Likewise.
979         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
980         volatile.
981         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
982         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
983         math_narrow_eval.
984         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
985         Likewise.
986         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
987         Likewise.
989 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
991         * nptl/Versions: Remove ignored symbols.
993 2015-09-22  Florian Weimer  <fweimer@redhat.com>
995         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
996         * nss/Makefile (tests): Update.
998 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1000         * nss/bug18287.c: New file.
1001         * nss/Makefile (tests): Add bug18287.
1003 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1005         * mach/Versions (__mach_host_self_): Add symbol.
1007 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1009         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
1010         vm_page_size.
1012 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1014         Really fix sysdeps/i386/fpu/s_scalbn.S build
1016         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
1017         (libc: GLIBC_2_22): Remove unused version set.
1019 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1021         * config.make.in (enable-timezone-tools): New variable.
1022         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
1023         (enable_timezone_tools): Export to generated files.
1024         * configure: Regenerate.
1025         * INSTALL: Regenerate.
1026         * manual/install.texi (--disable-timezone-tools): Document new flag.
1027         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
1028         ifeq ($(enable-timezone-tools),yes) check.
1030 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1032         * timezone/Makefile: Revert previous change.
1034         [BZ #18980]
1035         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
1036         (DEFINE_DBL_MIN): Likewise.
1037         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1038         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1039         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1040         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1041         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
1042         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1043         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1044         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
1045         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
1046         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1047         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1048         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
1049         (flt_min): Replace with use of DEFINE_FLT_MIN.
1050         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1051         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
1052         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1053         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1054         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
1055         (flt_min): Replace with use of DEFINE_FLT_MIN.
1056         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1057         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
1058         (flt_min): Replace with use of DEFINE_FLT_MIN.
1059         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1060         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
1061         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
1062         (__ieee754_hypot): Use DBL_NARROW_EVAL.
1063         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
1064         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
1065         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
1066         (__ieee754_pow): Use DBL_NARROW_EVAL.
1067         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
1068         (__ieee754_powf): Use FLT_NARROW_EVAL.
1069         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
1070         (__ieee754_expf_sse2): Convert double-precision result to single
1071         precision.
1072         * sysdeps/i386/fpu/libm-test-ulps: Update.
1074 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1076         * timezone/Makefile: Ignore unused variable errors due to private.h
1077         (time_t_min) and (time_t_max).
1078         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
1079         Likewise.
1081 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1083         [BZ #18981]
1084         * sysdeps/i386/fpu/i386-math-asm.h: New file.
1085         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
1086         (__ieee754_scalb): Use DBL_NARROW_EVAL.
1087         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
1088         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
1089         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
1090         (__scalbn): Use DBL_NARROW_EVAL.
1091         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
1092         (__scalbnf): Use FLT_NARROW_EVAL.
1094 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1096         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
1097         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
1098         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
1099         * stdio-common/printf_fp.c (___printf_fp):
1100         Use signbit to get the sign. Use isinf macro to allow inlining.
1101         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
1102         * stdio-common/printf_size.c (__printf_size): Likewise.
1104 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1106         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
1108 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1110         [BZ #18980]
1111         * sysdeps/generic/math_private.h: Include <float.h>.
1112         (math_narrow_eval): New macro.
1113         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
1114         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
1115         math_narrow_eval on overflowing return value.
1116         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
1117         Likewise.
1118         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1119         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
1120         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
1121         Likewise.
1122         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1124 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1126         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1127         * math/Makefile: Remove isinf_ns.c.
1128         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1129         * math/multc3.c (__multc3): Likewise.
1130         * math/s_casin.c (__casin): Likewise.
1131         * math/s_casinf.c (__casinf): Likewise.
1132         * math/s_casinl.c (__casinl): Likewise.
1133         * math/s_cproj.c (__cproj): Likewise.
1134         * math/s_cprojf.c (__cprojf): Likewise.
1135         * math/s_cprojl.c (__cprofl): Likewise.
1136         * math/s_ctan.c (__ctan): Likewise.
1137         * math/s_ctanf.c (__ctanf): Likewise.
1138         * math/s_ctanh.c (__ctanh): Likewise.
1139         * math/s_ctanhf.c (__ctanhf): Likewise.
1140         * math/s_ctanhl.c (__ctanhl): Likewise.
1141         * math/s_ctanl.c (__ctanl): Likewise.
1142         * math/w_fmod.c (__fmod): Likewise.
1143         * math/w_fmodf.c (__fmodf): Likewise.
1144         * math/w_fmodl.c (_fmodl): Likewise.
1145         * math/w_remainder.c (__remainder): Likewise.
1146         * math/w_remainderf.c (__remainderf): Likewise.
1147         * math/w_remainderl.c (__remainderl): Likewise.
1148         * math/w_scalb.c (__scalb): Likewise.
1149         * math/w_scalbf.c (__scalbf): Likewise.
1150         * math/w_scalbl.c (__scalbl): Likewise.
1151         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1152         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1153         with isinf.
1154         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1155         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1156         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1157         __isinf_nsf with isinf.
1158         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1159         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1160         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1161         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1162         with isinf.
1163         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1164         __isinf_nsl with isinf.
1165         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1166         with isinf.
1167         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1168         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1169         __isinf_nsl with isinf.
1170         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1171         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1172         with isinf.
1174 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1176         * resolv/base64.c (rcsid): Remove unused static.
1177         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1178         static.  (tqpi1): Likewise.
1179         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1180         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1181         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1182         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1183         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1184         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1185         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1186         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
1187         Likewise.
1189 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
1191         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1192         <nptl/pthreadP.h>.
1193         (_longjmp_unwind): Use __libc_ptf_call.
1194         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1196 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
1198         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1199         * sysdeps/arm/__longjmp.S: Likewise
1201 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1203         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1204         Use __builtin_signbit.
1205         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1206         Use __builtin_signbitf.
1207         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1208         Use __builtin_signbitl.
1209         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1210         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1212 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1214         [BZ #15367]
1215         [BZ #17441]
1217         * math/Makefile: Build test-snan.c with -fsignaling-nans.
1218         * math/math.h (fpclassify): Use __builtin_fpclassify when
1219         available.  (signbit): Use __builtin_signbit(f/l).
1220         (isfinite): Use__builtin_isfinite.  (isnormal): Use
1221         __builtin_isnormal.  (isnan): Use __builtin_isnan.
1222         (isinf): Use __builtin_isinf_sign.
1224 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1226         * benchtests/Makefile: Add bench-math-inlines, link with libm.
1227         * benchtests/bench-math-inlines.c: New benchmark.
1228         * benchtests/bench-util.h: New file.
1229         * benchtests/bench-util.c: New file.
1230         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1232 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
1234         * elf/tst-dlmopen1.c: Define TEST_SO.
1235         (do_test): Use TEST_SO.
1237         * elf/dl-load.c: Include libc-internal.h.
1238         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1240 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1242         [BZ #17887]
1243         * time/strptime_l.c (__strptime_internal): Make %z accept
1244         [+-]HH:MM time zones.
1246 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1248         [BZ #17886]
1249         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1250         valid time zone.
1252 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
1254         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1255         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1256         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1257         (__ASSUME_FDATASYNC): Delete.
1259 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1261         * conform/linknamespace.pl: Require weak undefined symbols to be
1262         in the standard namespace.
1263         (%strong_syms): Rename to %seen_syms.
1264         (%strong_seen): Rename to %seen_where.
1266 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1268         [BZ #18970]
1269         * misc/error.c (error): Replace pthread_setcancelstate with
1270         __pthread_setcancelstate.
1271         (error_at_line): Likewise.
1272         * posix/wordexp.c (parse_comm): Likewise.
1273         * stdlib/fmtmsg.c (fmtmsg): Likewise.
1274         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1275         (__pthread_setcancelstate): This.
1276         (pthread_setcancelstate): Add an alias.
1277         * nptl/nptl-init.c (pthread_functions): Replace
1278         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1279         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1280         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1281         hidden_proto.
1282         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1283         it with hidden_def.
1284         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1285         (pthread_setcancelstate): Renamed to ...
1286         (__pthread_setcancelstate): This.
1287         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1288         __libc_ptf_call with __pthread_setcancelstate.
1290 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1291             Andreas Schwab  <schwab@suse.de>
1293         [BZ #17118]
1294         * math/s_ctan.c (__ctan): Determine sign of zero real part of
1295         result when imaginary part of argument is infinite using sine and
1296         cosine.
1297         * math/s_ctanf.c (__ctanf): Likewise.
1298         * math/s_ctanl.c (__ctanl): Likewise.
1299         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1300         of result when real part of argument is infinite using sine and
1301         cosine.
1302         * math/s_ctanhf.c (__ctanhf): Likewise.
1303         * math/s_ctanhl.c (__ctanhl): Likewise.
1304         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1305         (ctanh_test_data): Add more tests of ctanh.
1307 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1309         [BZ #15384]
1310         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1311         bit-mask as in subtraction.
1312         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1313         Likewise.
1314         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1315         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1316         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1318         [BZ #18951]
1319         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1320         underflow exception for small results.
1321         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1322         Likewise.
1323         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1324         Likewise.
1325         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1326         Likewise.
1327         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1328         Likewise.
1329         * math/auto-libm-test-in: Add more tests of tgamma.
1330         * math/auto-libm-test-out: Regenerated.
1332 2015-09-17  Andreas Schwab  <schwab@suse.de>
1334         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1336 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1338         [BZ #18977]
1339         * math/bits/mathcalls.h
1340         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1341         not declare.
1342         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1343         Likewise.
1344         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1345         Likewise.
1346         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1347         Likewise.
1348         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1349         Likewise.
1350         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1351         Likewise.
1352         * conform/data/math.h-data
1353         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1354         function.
1355         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1356         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1357         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1358         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1359         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1360         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1361         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1362         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1363         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1364         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1365         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1367         [BZ #6803]
1368         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1369         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1370         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1371         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1372         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1373         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1374         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1375         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1376         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1377         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1378         Likewise.
1379         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1380         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1381         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1382         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1383         long_double_symbol calls.
1384         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1385         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1386         strong alias of __ldexpl.
1387         (scalbnl): Define using long_double_symbol.
1388         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1389         Remove alias.
1390         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1391         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1392         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1393         (scalbln_test_data): Add more errno expectations.
1395 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
1397         Cache the host port like we cache the task port.  This way we do not
1398         need to call the kernel just to get the port.  Furthermore, we no
1399         longer increase the reference count on every invocation of
1400         `mach_host_self'.
1402         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1403         Protect declarations against the macro expansion.
1404         * mach/mach_init.c (__mach_host_self_): New variable.
1405         (mach_init): Initialize `__mach_host_self_'.
1406         * mach/mach_init.h (__mach_host_self_): New declaration.
1407         (__mach_host_self, mach_host_self): New macros.
1408         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1409         Release reference.
1411 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1413         [BZ #4404]
1414         * po/de.po: Update from Translation Project.
1416         [BZ #16415]
1417         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1418         (__expm1l): Remove code to handle positive infinity and overflow.
1419         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1420         variable.
1421         (__expm1l): Remove code to handle positive infinity and overflow.
1423 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
1424             Paul Pluzhnikov  <ppluzhnikov@google.com>
1426         [BZ #18872]
1427         * stdio-common/Makefile (tst-printf-bz18872): New test.
1428         (tst-printf-bz18872-mem.out): Likewise.
1429         * stdio-common/tst-printf-bz18872.sh: Generate new test.
1430         * stdio-common/vfprintf.c: Fix memory leaks.
1432 2015-09-16  Andreas Schwab  <schwab@suse.de>
1434         [BZ #17244]
1435         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1436         Remove extra va_start/va_end calls.
1438         [BZ #17243]
1439         * posix/execl.c (execl): Add missing va_end.
1440         * posix/execle.c (execle): Likewise.
1441         * posix/execlp.c (execlp): Likewise.
1443 2015-09-15  Roland McGrath  <roland@hack.frob.com>
1445         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1446         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1448 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
1450         [BZ #18967]
1451         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
1452         undefine around includes of <bits/mathcalls.h>.
1453         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1454         not declare function.
1455         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1456         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1457         (scalb): Likewise.
1458         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1459         not define macro.
1460         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1461         variable.
1462         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1463         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1464         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1466         [BZ #18857]
1467         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1468         return non-finite argument without doing ordered comparisons on
1469         it.
1471         [BZ #16296]
1472         * math/fenv.h (fegetround): Use __attribute_pure__.
1473         * include/fenv.h (__fegetround): Likewise.
1475         [BZ #18595]
1476         * math/s_ctan.c (__ctan): Force underflow exception for results
1477         whose real or imaginary part has small absolute value.
1478         * math/s_ctanf.c (__ctanf): Likewise.
1479         * math/s_ctanh.c (__ctanh): Likewise.
1480         * math/s_ctanhf.c (__ctanhf): Likewise.
1481         * math/s_ctanhl.c (__ctanhl): Likewise.
1482         * math/s_ctanl.c (__ctanl): Likewise.
1483         * math/auto-libm-test-in: Do not allow missing underflow for ctan
1484         and ctanh.  Add more tests of ctan and ctanh.
1486         [BZ #15918]
1487         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1488         handling of cases where one argument is an infinity.
1490         [BZ #18875]
1491         [BZ #18966]
1492         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1493         (MO): New macro.
1494         (__ieee754_exp10): For small results, force underflow exception
1495         and remove excess range and precision from return value.
1496         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1497         (MO): New macro.
1498         (__ieee754_exp10f): For small results, force underflow exception
1499         and remove excess range and precision from return value.
1500         * math/auto-libm-test-in: Add more tests of exp10.
1501         * math/auto-libm-test-out: Regenerated.
1503 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
1505         [BZ #18875]
1506         [BZ #18961]
1507         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1508         (MO): New macro.
1509         (__ieee754_exp): For small results, force underflow exception and
1510         remove excess range and precision from return value.
1511         (__exp_finite): Likewise.
1512         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1513         (MO): New macro.
1514         (__ieee754_expf): For small results, force underflow exception and
1515         remove excess range and precision from return value.
1516         (__expf_finite): Likewise.
1517         * math/auto-libm-test-in: Add more tests of exp.
1518         * math/auto-libm-test-out: Regenerated.
1520         [BZ #16521]
1521         [BZ #18875]
1522         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1523         small results.
1524         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1525         (MO): New macro.
1526         (__ieee754_exp2): For small results, force underflow exception and
1527         remove excess range and precision from return value.
1528         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1529         (MO): New macro.
1530         (__ieee754_exp2f): For small results, force underflow exception
1531         and remove excess range and precision from return value.
1532         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1533         (MO): New macro.
1534         (__ieee754_exp2l): Force underflow exception for small results.
1535         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1536         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1537         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1538         (MO): New macro.
1539         (__ieee754_exp2l): Force underflow exception for small results.
1540         * math/auto-libm-test-in: Add more tests or exp2.
1541         * math/auto-libm-test-out: Regenerated.
1543 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
1545         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1547         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1548         /dev/null.
1550 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1552         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1553         io fs process)): Drop spurious backslash.
1555 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1557         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1558         Use sysinfo system call instead of parsing /proc/meminfo.
1559         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1560         Likewise.
1562 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
1564         [BZ #16985]
1565         * programs/localedef.c (main): Display argv[remaining] when
1566         output_path is NULL.
1568 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
1570         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1571         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1572         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1573         tanh.
1574         * math/auto-libm-test-out: Regenerated.
1575         * sysdeps/i386/fpu/libm-test-ulps: Update.
1576         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1577         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1580 2015-09-11  Roland McGrath  <roland@hack.frob.com>
1582         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1583         Use 'override' keyword to freeze the value here, preventing
1584         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1586 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
1588         [BZ #14912]
1589         * sysdeps/aarch64/bits/atomic.h: Move to ...
1590         * sysdeps/aarch64/atomic-machine.h: ...here.
1591         (_AARCH64_BITS_ATOMIC_H): Rename macro to
1592         _AARCH64_ATOMIC_MACHINE_H.
1593         * sysdeps/alpha/bits/atomic.h: Move to ...
1594         * sysdeps/alpha/atomic-machine.h: ...here.
1595         * sysdeps/arm/bits/atomic.h: Move to ...
1596         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
1597         * bits/atomic.h: Move to ...
1598         * sysdeps/generic/atomic-machine.h: ...here.
1599         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1600         * sysdeps/i386/bits/atomic.h: Move to ...
1601         * sysdeps/i386/atomic-machine.h: ...here.
1602         * sysdeps/ia64/bits/atomic.h: Move to ...
1603         * sysdeps/ia64/atomic-machine.h: ...here.
1604         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1605         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1606         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1607         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1608         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1609         * sysdeps/microblaze/bits/atomic.h: Move to ...
1610         * sysdeps/microblaze/atomic-machine.h: ...here.
1611         * sysdeps/mips/bits/atomic.h: Move to ...
1612         * sysdeps/mips/atomic-machine.h: ...here.
1613         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1614         * sysdeps/powerpc/bits/atomic.h: Move to ...
1615         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
1616         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1617         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
1618         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
1619         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1620         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
1621         <atomic-machine.h> instead of <bits/atomic.h>.
1622         * sysdeps/s390/bits/atomic.h: Move to ...
1623         * sysdeps/s390/atomic-machine.h: ...here.
1624         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1625         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1626         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1627         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1628         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1629         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1630         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1631         * sysdeps/tile/bits/atomic.h: Move to ...
1632         * sysdeps/tile/atomic-machine.h: ...here.
1633         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1634         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
1635         <sysdeps/tile/atomic-machine.h> instead of
1636         <sysdeps/tile/bits/atomic.h>.
1637         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1638         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1639         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
1640         <sysdeps/tile/atomic-machine.h> instead of
1641         <sysdeps/tile/bits/atomic.h>.
1642         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1643         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1644         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
1645         <sysdeps/arm/atomic-machine.h> instead of
1646         <sysdeps/arm/bits/atomic.h>.
1647         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1648         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1649         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1650         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1651         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1652         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1653         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1654         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1655         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1656         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1657         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1658         * sysdeps/x86_64/bits/atomic.h: Move to ...
1659         * sysdeps/x86_64/atomic-machine.h: ...here.
1660         * include/atomic.h: Include <atomic-machine.h> instead of
1661         <bits/atomic.h>.
1663         * sysdeps/mips/mips32/libm-test-ulps: Update.
1664         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1666         [BZ #18952]
1667         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1668         not convert non-integer negative arguments to int to determine the
1669         value of signgam.
1670         * math/auto-libm-test-in: Add more tests of lgamma.
1671         * math/auto-libm-test-out: Regenerated.
1673         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1674         cosh, csqrt, erfc, expm1 and lgamma.
1675         * math/auto-libm-test-out: Regenerated.
1676         * sysdeps/i386/fpu/libm-test-ulps: Update.
1677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1679 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
1681         [BZ #2542]
1682         [BZ #2543]
1683         [BZ #2558]
1684         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1685         __lgamma_neg for arguments from -28.0 to -2.0.
1686         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1687         __lgamma_negf for arguments from -15.0 to -2.0.
1688         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1689         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1690         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1691         Call __lgamma_negl for arguments from -33.0 to -2.0.
1692         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1693         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1694         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1695         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1696         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1697         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1698         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1699         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1700         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1701         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1702         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1703         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1704         (__lgamma_neg): Likewise.
1705         (__lgamma_negl): Likewise.
1706         (__lgamma_product): Likewise.
1707         (__lgamma_productl): Likewise.
1708         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1709         * math/auto-libm-test-in: Add more tests of lgamma.
1710         * math/auto-libm-test-out: Regenerated.
1711         * sysdeps/i386/fpu/libm-test-ulps: Update.
1712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1714 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
1716         [BZ #18675]
1717         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1719 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
1721         [BZ #14912]
1722         * bits/libc-lock.h: Move to ...
1723         * sysdeps/generic/libc-lock.h: ...here.
1724         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1725         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1726         * sysdeps/mach/hurd/libc-lock.h: ...here.
1727         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1728         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1729         * sysdeps/mach/bits/libc-lock.h: Move to ...
1730         * sysdeps/mach/libc-lock.h: ...here.
1731         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1732         * sysdeps/nptl/bits/libc-lock.h: Move to ...
1733         * sysdeps/nptl/libc-lock.h: ...here.
1734         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1735         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1736         * sysdeps/nptl/libc-lockP.h: ...here.
1737         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1738         * crypt/crypt_util.c: Include <libc-lock.h> instead of
1739         <bits/libc-lock.h>.
1740         * dirent/scandir-tail.c: Likewise.
1741         * dlfcn/dlerror.c: Likewise.
1742         * elf/dl-close.c: Likewise.
1743         * elf/dl-iteratephdr.c: Likewise.
1744         * elf/dl-lookup.c: Likewise.
1745         * elf/dl-open.c: Likewise.
1746         * elf/dl-support.c: Likewise.
1747         * elf/dl-writev.h: Likewise.
1748         * elf/rtld.c: Likewise.
1749         * grp/fgetgrent.c: Likewise.
1750         * gshadow/fgetsgent.c: Likewise.
1751         * gshadow/sgetsgent.c: Likewise.
1752         * iconv/gconv_conf.c: Likewise.
1753         * iconv/gconv_db.c: Likewise.
1754         * iconv/gconv_dl.c: Likewise.
1755         * iconv/gconv_int.h: Likewise.
1756         * iconv/gconv_trans.c: Likewise.
1757         * include/link.h: Likewise.
1758         * inet/getnameinfo.c: Likewise.
1759         * inet/getnetgrent.c: Likewise.
1760         * inet/getnetgrent_r.c: Likewise.
1761         * intl/bindtextdom.c: Likewise.
1762         * intl/dcigettext.c: Likewise.
1763         * intl/finddomain.c: Likewise.
1764         * intl/gettextP.h: Likewise.
1765         * intl/loadmsgcat.c: Likewise.
1766         * intl/localealias.c: Likewise.
1767         * intl/textdomain.c: Likewise.
1768         * libidn/idn-stub.c: Likewise.
1769         * libio/libioP.h: Likewise.
1770         * locale/duplocale.c: Likewise.
1771         * locale/freelocale.c: Likewise.
1772         * locale/newlocale.c: Likewise.
1773         * locale/setlocale.c: Likewise.
1774         * login/getutent_r.c: Likewise.
1775         * login/getutid_r.c: Likewise.
1776         * login/getutline_r.c: Likewise.
1777         * login/utmp-private.h: Likewise.
1778         * login/utmpname.c: Likewise.
1779         * malloc/mtrace.c: Likewise.
1780         * misc/efgcvt.c: Likewise.
1781         * misc/error.c: Likewise.
1782         * misc/fstab.c: Likewise.
1783         * misc/getpass.c: Likewise.
1784         * misc/mntent.c: Likewise.
1785         * misc/syslog.c: Likewise.
1786         * nis/nis_call.c: Likewise.
1787         * nis/nis_callback.c: Likewise.
1788         * nis/nss-default.c: Likewise.
1789         * nis/nss_compat/compat-grp.c: Likewise.
1790         * nis/nss_compat/compat-initgroups.c: Likewise.
1791         * nis/nss_compat/compat-pwd.c: Likewise.
1792         * nis/nss_compat/compat-spwd.c: Likewise.
1793         * nis/nss_nis/nis-alias.c: Likewise.
1794         * nis/nss_nis/nis-ethers.c: Likewise.
1795         * nis/nss_nis/nis-grp.c: Likewise.
1796         * nis/nss_nis/nis-hosts.c: Likewise.
1797         * nis/nss_nis/nis-network.c: Likewise.
1798         * nis/nss_nis/nis-proto.c: Likewise.
1799         * nis/nss_nis/nis-pwd.c: Likewise.
1800         * nis/nss_nis/nis-rpc.c: Likewise.
1801         * nis/nss_nis/nis-service.c: Likewise.
1802         * nis/nss_nis/nis-spwd.c: Likewise.
1803         * nis/nss_nisplus/nisplus-alias.c: Likewise.
1804         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1805         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1806         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1807         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1808         * nis/nss_nisplus/nisplus-network.c: Likewise.
1809         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1810         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1811         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1812         * nis/nss_nisplus/nisplus-service.c: Likewise.
1813         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1814         * nis/ypclnt.c: Likewise.
1815         * nptl/libc_pthread_init.c: Likewise.
1816         * nss/getXXbyYY.c: Likewise.
1817         * nss/getXXent.c: Likewise.
1818         * nss/getXXent_r.c: Likewise.
1819         * nss/nss_db/db-XXX.c: Likewise.
1820         * nss/nss_db/db-netgrp.c: Likewise.
1821         * nss/nss_db/nss_db.h: Likewise.
1822         * nss/nss_files/files-XXX.c: Likewise.
1823         * nss/nss_files/files-alias.c: Likewise.
1824         * nss/nsswitch.c: Likewise.
1825         * posix/regex_internal.h: Likewise.
1826         * posix/wordexp.c: Likewise.
1827         * pwd/fgetpwent.c: Likewise.
1828         * resolv/res_hconf.c: Likewise.
1829         * resolv/res_libc.c: Likewise.
1830         * shadow/fgetspent.c: Likewise.
1831         * shadow/lckpwdf.c: Likewise.
1832         * shadow/sgetspent.c: Likewise.
1833         * socket/opensock.c: Likewise.
1834         * stdio-common/reg-modifier.c: Likewise.
1835         * stdio-common/reg-printf.c: Likewise.
1836         * stdio-common/reg-type.c: Likewise.
1837         * stdio-common/vfprintf.c: Likewise.
1838         * stdio-common/vfscanf.c: Likewise.
1839         * stdlib/abort.c: Likewise.
1840         * stdlib/cxa_atexit.c: Likewise.
1841         * stdlib/fmtmsg.c: Likewise.
1842         * stdlib/random.c: Likewise.
1843         * stdlib/setenv.c: Likewise.
1844         * string/strsignal.c: Likewise.
1845         * sunrpc/auth_none.c: Likewise.
1846         * sunrpc/bindrsvprt.c: Likewise.
1847         * sunrpc/create_xid.c: Likewise.
1848         * sunrpc/key_call.c: Likewise.
1849         * sunrpc/rpc_thread.c: Likewise.
1850         * sysdeps/arm/backtrace.c: Likewise.
1851         * sysdeps/generic/ldsodefs.h: Likewise.
1852         * sysdeps/generic/stdio-lock.h: Likewise.
1853         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1854         * sysdeps/i386/backtrace.c: Likewise.
1855         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1856         * sysdeps/m68k/backtrace.c: Likewise.
1857         * sysdeps/mach/hurd/cthreads.c: Likewise.
1858         * sysdeps/mach/hurd/dirstream.h: Likewise.
1859         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1860         * sysdeps/nptl/malloc-machine.h: Likewise.
1861         * sysdeps/nptl/stdio-lock.h: Likewise.
1862         * sysdeps/posix/dirstream.h: Likewise.
1863         * sysdeps/posix/getaddrinfo.c: Likewise.
1864         * sysdeps/posix/system.c: Likewise.
1865         * sysdeps/pthread/aio_suspend.c: Likewise.
1866         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1867         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1868         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1869         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1870         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1871         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1872         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1873         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1874         * sysdeps/unix/sysv/linux/system.c: Likewise.
1875         * sysdeps/x86_64/backtrace.c: Likewise.
1876         * time/alt_digit.c: Likewise.
1877         * time/era.c: Likewise.
1878         * time/tzset.c: Likewise.
1879         * wcsmbs/wcsmbsload.c: Likewise.
1880         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1881         instead of <bits/libc-lock.h> in comment.
1883 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
1885         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1886         Only use .set mips2 if the current ISA is below mips2.
1887         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1888         Likewise.
1889         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1890         mips32r2 if the current ISA is below mips32r2.
1891         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1892         (TLS_IE): Updated to use the TLD_RDHWR macro.
1893         (TLS_LE): Likewise.
1894         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1895         __ASSEMBLER__ condition.
1897 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1899         Fix parallel build of before-compile targets.
1901         * sysdeps/mach/Makefile ($(patsubst
1902         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1903         mach-before-compile target.
1904         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1905         io fs process)): Move rule to dedicated hurd-before-compile target.
1907 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1909         Fix rules generating headers in hurd/ and mach/ when initial make call
1910         has subdir= explicitly set.
1912         * sysdeps/mach/Makefile ($(patsubst
1913         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1914         calling $(MAKE).
1915         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1916         io fs process)): Force subdir to hurd when calling $(MAKE).
1917         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1918         subdir to mach when calling $(MAKE).
1920 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
1922         Check sysheaders when looking for Mach and Hurd headers
1924         * sysdeps/mach/configure.ac: Add sysheaders check.
1925         * sysdeps/mach/configure: Regenerate.
1926         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1927         * sysdeps/mach/hurd/configure: Regenerate.
1929 2015-09-04  Roland McGrath  <roland@hack.frob.com>
1931         [BZ #18921]
1932         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1933         Fix inverted sense of test of 'o_directory_works' value.
1934         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1935         Bernhard Voelker <mail@bernhard-voelker.de>.
1937 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
1939         [BZ #14912]
1940         * bits/linkmap.h: Move to ...
1941         * sysdeps/generic/linkmap.h: ...here.
1942         * sysdeps/aarch64/bits/linkmap.h: Move to ...
1943         * sysdeps/aarch64/linkmap.h: ...here.
1944         * sysdeps/arm/bits/linkmap.h: Move to ...
1945         * sysdeps/arm/linkmap.h: ...here.
1946         * sysdeps/hppa/bits/linkmap.h: Move to ...
1947         * sysdeps/hppa/linkmap.h: ...here.
1948         * sysdeps/ia64/bits/linkmap.h: Move to ...
1949         * sysdeps/ia64/linkmap.h: ...here.
1950         * sysdeps/mips/bits/linkmap.h: Move to ...
1951         * sysdeps/mips/linkmap.h: ...here.
1952         * sysdeps/s390/bits/linkmap.h: Move to ...
1953         * sysdeps/s390/linkmap.h: ...here.
1954         * sysdeps/sh/bits/linkmap.h: Move to ...
1955         * sysdeps/sh/linkmap.h: ...here.
1956         * sysdeps/x86/bits/linkmap.h: Move to ...
1957         * sysdeps/x86/linkmap.h: ...here.
1958         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1960 2015-09-04  Andreas Schwab  <schwab@suse.de>
1962         [BZ #18635]
1963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1964         (__makecontext): Terminate FDE before return label.
1965         (__novec_makecontext): Likewise.
1967 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1969         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1970         first member of struct sv in syscall macro.
1972 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
1974         [BZ #14912]
1975         * bits/stdio-lock.h: Move to ...
1976         * sysdeps/generic/stdio-lock.h: ...here.
1977         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1978         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1979         * sysdeps/nptl/stdio-lock.h: ...here.
1980         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1981         * include/libio.h: Include <stdio-lock.h> instead of
1982         <bits/stdio-lock.h>.
1983         * sysdeps/nptl/fork.c: Likewise.
1984         * sysdeps/pthread/flockfile.c: Likewise.
1985         * sysdeps/pthread/ftrylockfile.c: Likewise.
1986         * sysdeps/pthread/funlockfile.c: Likewise.
1988         [BZ #14912]
1989         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1990         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1991         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1992         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1993         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1994         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1995         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1997 2015-09-03  Roland McGrath  <roland@hack.frob.com>
1999         * elf/Makefile (test-xfail-tst-protected1a): New variable.
2000         (test-xfail-tst-protected1b): New variable.
2002 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
2004         [BZ #14912]
2005         * bits/libc-tsd.h: Move to ...
2006         * sysdeps/generic/libc-tsd.h: ...here.
2007         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
2008         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
2009         * sysdeps/mach/hurd/libc-tsd.h: ...here.
2010         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
2011         * include/ctype.h: Include <libc-tsd.h> instead of
2012         <bits/libc-tsd.h>.
2013         * include/rpc/rpc.h: Likewise.
2014         * locale/localeinfo.h: Likewise.
2015         * sunrpc/rpc_thread.c: Likewise.
2016         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2017         * sysdeps/nptl/malloc-machine.h: Likewise.
2019         * Makefile (headers): Remove bits/libc-lock.h.
2020         * libio/Makefile (headers): Remove bits/stdio-lock.h.
2022         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
2023         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
2024         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
2025         <bits/stdio-lock.h>.
2026         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
2027         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
2029 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2031         [BZ #18757]
2032         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
2033         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
2034         BZ #18757.
2036 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2038         * malloc/mtrace.pl: Filter out NULL entries.
2040 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
2042         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
2043         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
2044         macro.
2046         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
2047         (TCP_CC_INFO): Likewise.
2048         (TCP_SAVE_SYN): Likewise.
2049         (TCP_SAVED_SYN): Likewise.
2051 2015-08-31  Brett Neumeier <brett@neumeier.us>
2053         [BZ #18870]
2054         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
2056 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
2058         [BZ #18873]
2059         Fix broken overflow check in posix_fallocate
2060         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
2061         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2062         Fix parenthesization typo.
2064 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
2066         [BZ #18887]
2067         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
2068         tst-mntent-blank-passno.
2069         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
2070         * misc/tst-mntent-blank-corrupt.c: New test.
2071         * misc/tst-mntent-blank-passno.c: New test ripped from ...
2072         * misc/tst-mntent.c (do_test): ... here.
2074 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
2076         [BZ #4404]
2077         * po/de.po: Fix SIGALRM typo.
2079 2015-08-28  James Perkins  <james@loowit.net>
2081         * time/tst-strptime2.c (tests): Replace short list of test
2082         strings for strptime %z specifier with code which exhaustively
2083         tests every combination of sign and 0 to 5 digits. Tests for
2084         rejection of invalid strings.
2086 2015-08-28  James Perkins  <james@loowit.net>
2088         [BZ #16141]
2089         * time/strptime_l.c (__strptime_internal): Fix %z minutes
2090         calculation, removing incorrect decimal time rounding, so that
2091         all minute values result in a valid seconds value.
2092         * time/strptime_l.c (__strptime_internal): Extend %z time zone
2093         offset range limits to UTC-99:59 through UTC+99:59 to parse
2094         current and historical use cases.
2095         * time/tst-strptime2.c (tests): Modify and add tests for the
2096         strptime %z input field descriptor, specifically conversion of
2097         minutes to seconds and validating an offset range of -9959 to
2098         +9959.
2100 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2101             Dmitry V. Levin  <ldv@altlinux.org>
2103         [BZ #18877]
2104         * posix/Makefile (tests): Add tst-mmap-offset.
2105         * posix/tst-mmap.c: New file.
2106         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
2107         offset calculation for negative values.
2109 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2111         * sysdeps/i386/init-arch.h: New file.
2112         * sysdeps/i386/i586/init-arch.h: Likewise.
2113         * sysdeps/i386/i686/init-arch.h: Likewise.
2114         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
2115         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
2116         * sysdeps/x86/cpu-features.h (bit_I586): New.
2117         (bit_I686): Likewise.
2118         (bit_CX8): Likewise.
2119         (bit_CMOV): Likewise.
2120         (index_CX8): Likewise.
2121         (index_CMOV): Likewise.
2122         (index_I586): Likewise.
2123         (index_I686): Likewise.
2124         (reg_CX8): Likewise.
2125         (reg_CMOV): Likewise.
2126         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2127         available at compile-time.
2128         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2129         available at compile-time.
2130         * sysdeps/x86/init-arch.h (USE_I586): New macro.
2131         (USE_I686): Likewise.
2133 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2135         * sysdeps/i386/bcopy.S: New file.
2136         * sysdeps/i386/bzero.S: Likewise.
2137         * sysdeps/i386/memcpy.S: Likewise.
2138         * sysdeps/i386/memmove.S: Likewise.
2139         * sysdeps/i386/mempcpy.S: Likewise.
2140         * sysdeps/i386/memset.S: Likewise.
2141         * sysdeps/i386/bzero.c: Removed.
2142         * sysdeps/i386/memset.c: Likewise.
2143         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2144         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2145         * sysdeps/i386/i586/memset_chk.S: Likewise.
2146         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2147         * sysdeps/i386/memcpy_chk.S: Here.
2148         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2149         * sysdeps/i386/memmove_chk.S: Here.
2150         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2151         * sysdeps/i386/mempcpy_chk.S: Likewise.
2152         * sysdeps/i386/i686/memset_chk.S: Moved to ...
2153         * sysdeps/i386/memset_chk.S: Likewise.
2155 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
2157         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2158         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2159         file, move DIAG_POP_NEEDS_COMMENT to end of file.
2160         * soft-fp/fmadf4.c: Ditto.
2161         * soft-fp/fmatf4.c: Ditto.
2163 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2165         * sysdeps/i386/i586/Implies: Removed.
2166         * sysdeps/i386/i686/Implies: Likewise.
2168 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2170         * sysdeps/i386/i486/strlen.S: Moved to ...
2171         * sysdeps/i386/strlen.S: Here.
2173 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2175         * sysdeps/i386/i486/strcat.S: Moved to ...
2176         * sysdeps/i386/strcat.S: Here.
2178 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2180         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2181         * sysdeps/i386/pthread_spin_trylock.S: Here.
2182         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2183         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2185 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2187         * sysdeps/i386/i486/string-inlines.c: Moved to ...
2188         * sysdeps/i386/string-inlines.c: Here.
2190 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2192         * sysdeps/i386/i486/htonl.S: Moved ...
2193         * sysdeps/i386/htonl.S: here.
2195 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2197         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2198         * sysdeps/i386/bits/atomic.h: Here.
2200 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2202         * sysdeps/i386/i486/Versions: Removed.
2204 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2206         [BZ #2898]
2207         * misc/mktemp.c: Add mkdtemp to the link_warning message.
2208         Based on patch by Aurelien Jarno.
2210 2015-08-26  Stan Shebs  <stanshebs@google.com>
2212         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2213         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2215 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2217         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2218         * sysdeps/powerpc/dl-procinfo.c:
2219         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2220         feature so it shows when LD_SHOW_AUXV=1.
2222 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2224         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2225         (__arch_compare_and_exchange_val_32_acq): Remove and use common
2226         definition.  ISA 2.07B no longer requires full sync.
2228 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
2230         [BZ #18863]
2231         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2232         (si_call_addr): Define.
2233         (si_syscall): Define.
2234         (si_arch): Define.
2236 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2238         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2239         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2240         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2241         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2242         (__memset_zero_constant_len_parameter): New.
2243         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2244         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2245         (__memset_zero_constant_len_parameter): Don't define if
2246         __memset_chk or USE_AS_BZERO are defined.
2248         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2249         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2250         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2252         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2253         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2254         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2255         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
2256         comments.
2257         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2258         -mno-mmx for $(all-rtld-routines).
2259         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2260         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
2261         i386.
2263 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2265         * sysdeps/generic/unwind.h
2266         (_Unwind_Word): Use __mode__(__unwind_word__)
2267         instead of __mode__(__word__).
2268         (_Unwind_Sword): Likewise.
2270         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2271         (MAX_NEEDED_INPUT): New define.
2272         (MAX_NEEDED_OUTPUT): New define.
2274         * NEWS: New item for IBM z13 string optimizations.
2276         * sysdeps/s390/multiarch/memrchr-c.c: New File.
2277         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2278         * sysdeps/s390/multiarch/memrchr.c: Likewise.
2279         * sysdeps/s390/multiarch/Makefile
2280         (sysdep_routines): Add memrchr functions.
2281         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2282         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2284         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2285         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2286         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2287         * sysdeps/s390/multiarch/Makefile
2288         (sysdep_routines): Add wmemcmp functions.
2289         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2290         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2291         * benchtests/bench-wmemcmp.c: New File.
2292         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2294         * sysdeps/s390/multiarch/wmemset-c.c: New File.
2295         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2296         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2297         * sysdeps/s390/multiarch/Makefile
2298         (sysdep_routines): Add wmemset functions.
2299         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2300         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2301         * wcsmbs/wmemset.c: Use WMEMSET if defined.
2302         * string/test-memset.c: Add wmemset support.
2303         * wcsmbs/test-wmemset.c: New File.
2304         * wcsmbs/Makefile (strop-tests): Add wmemset.
2305         * benchtests/bench-memset.c: Add wmemset support.
2306         * benchtests/bench-wmemset.c: New File.
2307         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2309         * sysdeps/s390/multiarch/memccpy-c.c: New File.
2310         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2311         * sysdeps/s390/multiarch/memccpy.c: Likewise.
2312         * sysdeps/s390/multiarch/Makefile
2313         (sysdep_routines): Add memccpy functions.
2314         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2315         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2316         * string/memccpy.c: Use MEMCCPY if defined.
2318         * sysdeps/s390/multiarch/memchr-vx.S: New File.
2319         * sysdeps/s390/multiarch/memchr.c: Likewise.
2320         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2321         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2322         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2323         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2324         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2325         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2326         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2327         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2328         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2329         and rawmemchr functions.
2330         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2331         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2332         and wmemchr.
2333         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2334         * string/test-memchr.c: Add wmemchr support.
2335         * wcsmbs/test-wmemchr.c: New File.
2336         * wcsmbs/Makefile (strop-tests): Add wmemchr.
2337         * benchtests/bench-memchr.c: Add wmemchr support.
2338         * benchtests/bench-wmemchr.c: New File.
2339         * benchtests/Makefile (wcsmbs-bench): wmemchr.
2341         * sysdeps/s390/multiarch/strcspn-c.c: New File.
2342         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2343         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2344         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2345         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2346         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2347         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2348         wcscspn functions.
2349         * sysdeps/s390/multiarch/ifunc-impl-list.c
2350         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2351         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2352         * string/test-strcspn.c: Add wcscspn support.
2353         * wcsmbs/test-wcscspn.c: New File.
2354         * wcsmbs/Makefile (strop-tests): Add wcscspn.
2355         * benchtests/bench-strcspn.c: Add wcscspn support.
2356         * benchtests/bench-wcscspn.c: New File.
2357         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2359         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2360         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2361         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2362         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2363         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2364         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2365         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2366         wcspbrk functions.
2367         * sysdeps/s390/multiarch/ifunc-impl-list.c
2368         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2369         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2370         * string/test-strpbrk.c: Add wcspbrk support.
2371         * wcsmbs/test-wcspbrk.c: New File.
2372         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2373         * benchtests/bench-strpbrk.c: Add wcspbrk support.
2374         * benchtests/bench-wcspbrk.c: New File.
2375         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2377         * sysdeps/s390/multiarch/strspn-c.c: New File.
2378         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2379         * sysdeps/s390/multiarch/strspn.c: Likewise.
2380         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2381         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2382         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2383         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2384         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2385         wcsspn functions.
2386         * sysdeps/s390/multiarch/ifunc-impl-list.c
2387         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2388         * string/test-strspn.c: Add wcsspn support.
2389         * wcsmbs/test-wcsspn.c: New File.
2390         * wcsmbs/Makefile (strop-tests): Add wcsspn.
2391         * benchtests/bench-strspn.c: Add wcsspn support.
2392         * benchtests/bench-wcsspn.c: New File.
2393         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2395         * sysdeps/s390/multiarch/strrchr-c.c: New File.
2396         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2397         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2398         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2399         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2400         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2401         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2402         wcsrchr functions.
2403         * sysdeps/s390/multiarch/ifunc-impl-list.c
2404         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2405         * benchtests/bench-wcsrchr.c: New File.
2406         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2408         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2409         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2410         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2411         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2412         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2413         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2414         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2415         wcschrnul functions.
2416         * sysdeps/s390/multiarch/ifunc-impl-list.c
2417         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2418         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2419         * string/test-strchr.c: Add wcschrnul support.
2420         * wcsmbs/test-wcschrnul.c: New File.
2421         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2422         * benchtests/bench-strchr.c: Add wcschrnul support.
2423         * benchtests/bench-wcschrnul.c: New File.
2424         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2426         * sysdeps/s390/multiarch/strchr-c.c: New File.
2427         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2428         * sysdeps/s390/multiarch/strchr.c: Likewise.
2429         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2430         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2431         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2432         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2433         wcschr functions.
2434         * sysdeps/s390/multiarch/ifunc-impl-list.c
2435         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2436         * string/strchr.c (STRCHR): Define and use macro.
2437         * benchtests/bench-wcschr.c: New File.
2438         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2440         * sysdeps/s390/multiarch/strncmp-c.c: New File.
2441         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2442         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2443         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2444         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2445         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2446         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2447         wcsncmp functions.
2448         * sysdeps/s390/multiarch/ifunc-impl-list.c
2449         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2450         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2451         * benchtests/bench-strncmp.c: Add wcsncmp support.
2452         * benchtests/bench-wcsncmp.c: New File.
2453         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2455         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2456         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2457         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2458         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2459         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2460         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2461         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2462         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2463         wcscmp functions.
2464         * sysdeps/s390/multiarch/ifunc-impl-list.c
2465         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2466         * string/strcmp.c (STRCMP): Define and use macro.
2467         * benchtests/bench-wcscmp.c: New File.
2468         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2469         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2470         instead of _HAVE_STRING_ARCH_memchr.
2472         * sysdeps/s390/multiarch/strncat-c.c: New File.
2473         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2474         * sysdeps/s390/multiarch/strncat.c: Likewise.
2475         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2476         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2477         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2478         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2479         wcsncat functions.
2480         * sysdeps/s390/multiarch/ifunc-impl-list.c
2481         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2482         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2483         * string/test-strncat.c: Add wcsncat support.
2484         * wcsmbs/test-wcsncat.c: New File.
2485         * wcsmbs/Makefile (strop-tests): Add wcsncat.
2486         * benchtests/bench-strncat.c: Add wcsncat support.
2487         * benchtests/bench-wcsncat.c: New File.
2488         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2490         * sysdeps/s390/multiarch/strcat-c.c: New File.
2491         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2492         * sysdeps/s390/multiarch/strcat.c: Likewise.
2493         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2494         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2495         * sysdeps/s390/multiarch/wcscat.c: Likewise.
2496         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2497         wcscat functions.
2498         * sysdeps/s390/multiarch/ifunc-impl-list.c
2499         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2500         * string/strcat.c (STRCAT): Define and use macro.
2501         * wcsmbs/wcscat.c: Use WCSCAT if defined.
2502         * string/test-strcat.c: Add wcscat support.
2503         * wcsmbs/test-wcscat.c: New File.
2504         * wcsmbs/Makefile (strop-tests): Add wcscat.
2505         * benchtests/bench-strcat.c: Add wcscat support.
2506         * benchtests/bench-wcscat.c: New File.
2507         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2509         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2510         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2511         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2512         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2513         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2514         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2515         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2516         wcpncpy functions.
2517         * sysdeps/s390/multiarch/ifunc-impl-list.c
2518         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2519         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2520         * string/test-stpncpy.c: Add wcpncpy support.
2521         * wcsmbs/test-wcpncpy.c: New File.
2522         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2523         * benchtests/bench-stpncpy.c: Add wcpncpy support.
2524         * benchtests/bench-wcpncpy.c: New File.
2525         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2527         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2528         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2529         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2530         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2531         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2532         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2533         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2534         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2535         wcsncpy functions.
2536         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2537         * sysdeps/s390/multiarch/ifunc-impl-list.c
2538         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2539         * string/test-strncpy.c: Add wcsncpy support.
2540         * wcsmbs/test-wcsncpy.c: New File.
2541         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2542         * benchtests/bench-strncpy.c: Add wcsncpy support.
2543         * benchtests/bench-wcsncpy.c: New File.
2544         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2546         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2547         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2548         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2549         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2550         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2551         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2552         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2553         wcpcpy functions.
2554         * string/stpcpy.c: Use STPCPY if defined.
2555         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2556         * sysdeps/s390/multiarch/ifunc-impl-list.c
2557         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2558         * string/test-stpcpy.c: Add wcpcpy support.
2559         * wcsmbs/test-wcpcpy.c: New File.
2560         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2561         * benchtests/bench-stpcpy.c: Add wcpcpy support.
2562         * benchtests/bench-wcpcpy.c: New File.
2563         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2565         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2566         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2567         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2568         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2569         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2570         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2571         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2572         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2573         wcscpy functions.
2574         * sysdeps/s390/multiarch/ifunc-impl-list.c
2575         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2576         * benchtests/bench-wcscpy.c: New File.
2577         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2579         * sysdeps/s390/multiarch/strnlen-c.c: New File.
2580         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2581         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2582         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2583         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2584         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2585         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2586         wcsnlen functions.
2587         * sysdeps/s390/multiarch/ifunc-impl-list.c
2588         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2589         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2590         * string/test-strnlen.c: Add wcsnlen support.
2591         * wcsmbs/test-wcsnlen.c: New File.
2592         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2593         * benchtests/bench-strnlen.c: Add wcsnlen support.
2594         * benchtests/bench-wcsnlen.c: New File.
2595         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2597         * sysdeps/s390/multiarch/Makefile: New File.
2598         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2599         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2600         * sysdeps/s390/multiarch/strlen.c: Likewise.
2601         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2602         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2603         * sysdeps/s390/multiarch/wcslen.c: Likewise.
2604         * string/strlen.c (STRLEN): Define and use macro.
2605         * sysdeps/s390/multiarch/ifunc-impl-list.c
2606         (IFUNC_VX_IMPL): New macro function.
2607         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2608         * benchtests/Makefile (wcsmbs-bench): New variable.
2609         (string-bench-all): Added wcsmbs-bench.
2610         * benchtests/bench-wcslen.c: New File.
2612         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2613         s390_vx_libc_ifunc2): New macro function.
2615         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2616         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2617         assembler support.
2618         * sysdeps/s390/configure: Regenerated.
2620         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2621         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2623         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2624         * sysdeps/s390/dl-procinfo.h: Add vector capability.
2625         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2627         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2628         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2629         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2630         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2631         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2632         (memcmp, bcmp): Use __memcmp_default as alias source.
2633         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2634         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2635         Rename to __memcmp_default.
2636         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2637         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2638         (memcpy): Use __memcpy_default as alias source.
2639         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2640         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2641         Rename to __memcpy_default.
2642         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2643         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2644         (memset): Use __memset_default as alias source.
2645         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2646         * sysdeps/s390/s390-32/memset.S (__memset_g5):
2647         Rename to __memset_default.
2648         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2649         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2650         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2651         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2652         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2653         (memcmp, bcmp): Use __memcmp_default as alias source.
2654         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2655         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2656         Rename to __memcmp_default.
2657         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2658         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2659         (memcpy): Use __memcpy_default as alias source.
2660         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2661         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2662         Rename to __memcpy_default.
2663         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2664         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2665         (memset): Use __memset_default as alias source.
2666         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2667         * sysdeps/s390/s390-64/memset.S (__memset_z900):
2668         Rename to __memset_default.
2669         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2670         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2672         [BZ #18610]
2673         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2674         __ieee_instruction_pointer to __unused.
2675         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2676         __ieee_instruction_pointer.
2677         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2678         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2679         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2680         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2681         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2682         Mark dxc-field as reserved.
2684 2015-08-25  Roland McGrath  <roland@hack.frob.com>
2686         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2687         if the weak reference is not null.
2689 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2691         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2693         [BZ #11214]
2694         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2696 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2698         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2699         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2700         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2701         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2702         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2703         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2704         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2705         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2706         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2707         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2708         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2709         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2710         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2711         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2712         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2713         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2714         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2715         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2717 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2719         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2720         register other than r0 for tabort, it has special meaning.
2721         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2722         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2723         transaction before starting syscall.
2725 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2727         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2729 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2731         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2733         * sysdeps/x86_64/rtld-memcmp.c: Removed.
2734         * sysdeps/x86_64/rtld-memset.S: Likewise.
2735         * sysdeps/x86_64/rtld-strchr.S: Likewise.
2736         * sysdeps/x86_64/rtld-strlen.S: Likewise.
2737         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2738         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2740         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2742 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
2744         * debug/strcpy_chk.c: Improve performance.
2745         * debug/stpcpy_chk.c: Likewise.
2746         * sysdeps/x86_64/strcpy_chk.S: Remove.
2747         * sysdeps/x86_64/stpcpy_chk.S: Remove.
2749         [BZ #18240]
2750         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2752 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2754         [BZ #15128]
2755         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2756         ifuncmain8.
2757         (modules-names): Add ifuncmod8.
2758         ($(objpfx)ifuncmain8): New rule.
2759         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2760         <cpuid.h>.
2761         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2762         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2763         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2764         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2765         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2766         * sysdeps/x86_64/dl-trampoline.h: Likewise.
2767         * sysdeps/x86_64/ifuncmain8.c: New file.
2768         * sysdeps/x86_64/ifuncmod8.c: Likewise.
2769         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2770         Removed.
2771         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2772         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2773         Change rtld_savespace_sse to __glibc_unused2.
2774         (RTLD_CHECK_FOREIGN_CALL): Removed.
2775         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2776         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2777         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2779 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
2781         * sysdeps/aarch64/bzero.S (__bzero): Remove.
2783 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
2785         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2786         Unconditionally set __fpcr to avoid uninialized warning.
2787         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2789 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2791         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2792         is corrupt.
2794         * malloc/arena.c (arena_get2): Drop unused argument.
2795         (arena_lock): Adjust.
2796         (arena_get_retry): Likewise.
2798 2015-08-24  Andreas Schwab  <schwab@suse.de>
2800         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2801         Don't define.
2802         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2803         (__ASSUME_IPC64): Don't undef.
2804         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2805         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2806         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2807         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2808         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2809         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2810         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2811         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2812         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2813         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2814         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2815         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2816         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2817         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2818         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2819         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2820         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2821         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2822         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2823         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2824         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2826 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
2828         * manual/Makefile (install): Only build manual when perl is available.
2830 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2832         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2833         '#undef memcpy' by '#undef memchr'.
2835 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2837         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2838         memchr not point to the internal __GI_memchr implementation.
2840 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
2842         * timezone/Makefile (CFLAGS-zdump.c): Remove
2843         -Wno-strict-prototypes.
2844         (CFLAGS-zic.c): Likewise.
2845         (CFLAGS-ialloc.c): Likewise.
2846         (CFLAGS-scheck.c): Likewise.
2848         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2849         -Wno-error=undef.
2851 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2853         * i386/i686/multiarch/strcasestr-c.c: Removed.
2854         * x86_64/multiarch/strcasestr.c: Likewise.
2855         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2856         Remove strcasestr.
2858 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
2860         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2862         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2863         variables for high and low parts before possibly modifying them.
2865 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2867         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2868         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2869         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2870         of "multiarch/init-arch.h".
2871         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2872         * sysdeps/x86/init-arch.h: This.
2874 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2876         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2877         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2879 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
2881         [BZ #17787]
2882         * manual/macros.texi: Add twoexp macro.
2883         * manual/filesys.texi: Fix exponents.
2884         * manual/llio.texi: Likewise.
2885         * manual/stdio.texi: Likewise.
2887 2015-08-20  Florian Weimer  <fweimer@redhat.com>
2889         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2890         incorrect use.
2892 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
2894         [BZ #18370]
2895         * math/s_csqrt.c (__csqrt): Force underflow exception for results
2896         whose real or imaginary part has small absolute value.
2897         * math/s_csqrtf.c (__csqrtf): Likewise.
2898         * math/s_csqrtl.c (__csqrtl): Likewise.
2899         * math/auto-libm-test-in: Add more tests of csqrt.
2900         * math/auto-libm-test-out: Regenerated.
2901         * sysdeps/i386/fpu/libm-test-ulps: Update.
2903 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2905         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2906         __ppc_set_ppr_very_low): New functions.
2907         * manual/platform.texi: Add documentation about
2908         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2910 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
2912         * string/stpncpy.c (stpncpy): Improve performance using
2913         __strnlen/memcpy/memset.
2915 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2917         [BZ #18796]
2918         * scripts/test-installation.pl: Don't add -lmvec to build options if
2919         libmvec wasn't built.
2921 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2923         [BZ #14341]
2924         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2925         case when there is a gap between DT_REL and DT_JMPREL sections.
2926         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2927         (LDFLAGS-tst-split-dynreloc): New.
2928         (tst-split-dynreloc-ENV): Likewise.
2929         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2930         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2932 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2934         [BZ #18822]
2935         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2936         attribute_hidden.
2937         (__xstat64_conv): Likewise.
2938         (__xstat32_conv): Likewise.
2940 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2942         [BZ #18822]
2943         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2944         Don't load %ebx when calling __setcontext.  Call __setcontext
2945         with HIDDEN_JUMPTARGET.
2946         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2947         libc_hidden_def.
2949 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2951         * sysdeps/i386/i686/Makefile
2952         [$(subdir) == string] (sysdep_routines): Moved to ...
2953         * sysdeps/i386/Makefile: Here.
2954         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2955         * sysdeps/i386/cacheinfo.c: Here.
2956         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2957         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2958         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2959         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2961 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2963         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2964         __i586__ is defined.
2965         (HAS_I686): Defined to 1 if __i686__ is defined.
2967 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
2969         * elf/Makefile [$(have-z-execstack) = yes]
2970         (CPPFLAGS-tst-execstack.c): New variable.
2972         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2973         conditional to [defined UTMPX || _HAVE_UT_TYPE].
2974         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2975         UTMPX || _HAVE_UT_TV].
2976         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2977         UTMPX || _HAVE_UT_TV - 0].
2979 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
2981         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2982         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2983         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2985 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2987         * sysdeps/powerpc/dl-procinfo.c:
2988         (_dl_powerpc_cap_flags): Added missing strings for some
2989         hwcap features.
2990         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2992 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
2994         Port the 0x7efe...feff pattern to GCC 6.
2995         See Steve Ellcey's bug report in:
2996         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2997         * string/memrchr.c (MEMRCHR):
2998         * string/rawmemchr.c (RAWMEMCHR):
2999         * string/strchr.c (strchr):
3000         * string/strchrnul.c (STRCHRNUL):
3001         Rewrite code to avoid issues with signed shift overflow.
3003 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
3005         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
3006         whether cpuid is available only if HAS_CPUID is 0.
3007         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
3008         (HAS_I586): Likewise.
3009         (HAS_I686): Likewise.
3011 2015-08-18  Zack Weinberg  <zackw@panix.com>
3013         * misc/Versions (libc): Add GLIBC_2.23.
3015 2015-08-18  Alan Modra  <amodra@gmail.com>
3017         [BZ #18421]
3018         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
3019         .Lp__global.
3020         (_start): Load %dp via .Lp__global.
3021         [!SHARED]: Use .section .rodata.
3023 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3025         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
3026         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
3028 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3030         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
3031         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
3033 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3035         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
3036         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
3038 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3040         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
3041         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
3043 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3045         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
3046         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
3048 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3050         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
3051         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
3053 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3055         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
3057 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3059         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
3060         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
3061         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3062         (__ASSUME_LWS_CAS): Delete.
3064 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3066         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
3067         * sysdeps/hppa/configure: Regenerated.
3068         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
3069         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
3070         * sysdeps/hppa/nptl/tls.h: Likewise.
3072 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
3074         [BZ #18823]
3075         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
3076         for scaling up small arguments.
3077         * math/s_csqrtf.c (__csqrtf): Likewise.
3078         * math/s_csqrtl.c (__csqrtl): Likewise.
3079         * math/auto-libm-test-in: Add more tests of csqrt.
3080         * math/auto-libm-test-out: Regenerated.
3082 2015-08-17  Andreas Schwab  <schwab@suse.de>
3084         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
3085         version set GLIBC_2.19.
3087 2015-08-16  Zack Weinberg  <zackw@panix.com>
3089         [BZ #18681]
3090         * misc/regexp.h: This interface is no longer supported.
3091         Remove all contents, leaving only an #error directive.
3092         * misc/regexp.c (loc1, loc2, locs, step, advance):
3093         Demote to compatibility symbols.
3095 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
3097         [BZ #18084]
3098         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
3099         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
3100         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3101         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
3102         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
3103         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
3104         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
3105         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
3106         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3108 2015-08-15  Zack Weinberg  <zackw@panix.com>
3110         [BZ #18795]
3111         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
3112         buffer length is known to be too large, not if it's known to be
3113         small enough.
3114         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
3115         overflow at runtime, involving a length parameter, twice: once
3116         with a compile-time constant length parameter, once without.
3118 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
3120         [BZ #18824]
3121         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
3122         scaling x * y up instead of down.
3123         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3124         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3125         * math/auto-libm-test-in: Add more tests of fma.
3126         * math/auto-libm-test-out: Regenerated.
3128 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3130         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3132 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3134         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3135         unnecessary movq.
3136         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3137         Likewise.
3139 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
3141         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3142         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3143         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3144         and tgamma.
3145         * math/auto-libm-test-out: Regenerated.
3146         * sysdeps/i386/fpu/libm-test-ulps: Update.
3147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3149         [BZ #16520]
3150         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3151         (__tanh): Force underflow exception for arguments with small
3152         absolute value.
3153         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3154         (__tanhf): Force underflow exception for arguments with small
3155         absolute value.
3156         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3157         (__tanhl): Force underflow exception for arguments with small
3158         absolute value.
3159         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3160         (__tanhl): Force underflow exception for arguments with small
3161         absolute value.
3162         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3163         (__tanhl): Force underflow exception for arguments with small
3164         absolute value.
3165         * math/auto-libm-test-in: Add more tests of tanh.
3166         * math/auto-libm-test-out: Regenerated.
3167         * sysdeps/i386/fpu/libm-test-ulps: Update.
3169 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3171         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3172         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3174 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3176         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3177         <cpuid.h>.
3179 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3181         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3182         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3184 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3186         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3187         Remove $(objpfx)init-arch.o.
3188         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3189         init-arch.
3190         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3191         (INIT_ARCH_EXT): Defined as empty.
3192         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3193         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3194         __init_cpu_features call.  Replace HAS_XXX with
3195         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3196         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3197         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3198         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3199         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3200         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3201         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3202         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3203         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3204         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3205         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3206         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3207         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3208         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3209         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3210         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3211         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3212         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3213         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3214         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3215         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3216         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3217         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3218         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3219         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3220         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3221         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3222         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3223         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3224         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3226         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3227         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3228         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3229         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3230         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3232 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3234         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3235         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3236         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3237         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3238         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3239         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3240         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3241         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3242         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3243         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3244         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3245         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
3246         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3247         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3248         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3249         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3250         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3251         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3252         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3253         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3254         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3255         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3256         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3257         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3258         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3259         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3260         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3261         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3262         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3263         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3264         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3265         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3266         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3267         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3268         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3269         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3270         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3271         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3272         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3273         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3274         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3275         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3276         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3278 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3280         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3281         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3282         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3283         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3284         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3285         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3286         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3287         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3288         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3289         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3290         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3291         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3292         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3293         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3294         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3295         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3296         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3297         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3298         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3299         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3300         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3301         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3302         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3303         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3304         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3305         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3306         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3307         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
3308         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3309         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3310         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3311         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3312         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3313         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3314         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3315         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3316         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3317         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3318         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3319         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3320         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3321         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3322         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3324 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3326         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3327         (dl_platform_init): Call init_cpu_features.
3328         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3329         * sysdeps/i386/i686/cacheinfo.c
3330         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3331         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3332         * sysdeps/i386/i686/multiarch/Versions: Removed.
3333         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3334         Removed.
3335         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3336         * sysdeps/unix/sysv/linux/x86/Makefile
3337         (libpthread-sysdep_routines): Remove init-arch.
3338         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3339         <sysdeps/x86_64/dl-procinfo.c> instead of
3340         sysdeps/generic/dl-procinfo.c>.
3341         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3342         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3343         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3344         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3345         [$(subdir) == elf] (tests-static): Add
3346         tst-get-cpu-features-static.
3347         * sysdeps/x86/Versions: New file.
3348         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3349         * sysdeps/x86/cpu-features.c: Likewise.
3350         * sysdeps/x86/cpu-features.h: Likewise.
3351         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3352         * sysdeps/x86/libc-start.c: Likewise.
3353         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3354         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3355         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3356         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3357         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3358         Assume USE_MULTIARCH is defined and don't check it.
3359         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3360         (is_amd): Likewise.
3361         (max_cpuid): Likewise.
3362         (intel_check_word): Likewise.
3363         (__cache_sysconf): Don't call __init_cpu_features.
3364         (__x86_preferred_memory_instruction): Removed.
3365         (init_cacheinfo): Don't call __init_cpu_features. Replace
3366         __cpu_features with GLRO(dl_x86_cpu_features).
3367         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3368         (dl_platform_init): Call init_cpu_features.
3369         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3370         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3371         * sysdeps/x86_64/multiarch/Versions: Removed.
3372         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3373         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3374         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3375         Removed.
3376         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3378 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3380         [BZ #18820]
3381         * libio/Makefile (test-fmemopen-mem): New test.
3382         * libio/test-fmemopen.c (do_bz18820): New test.
3383         * libio/fmemopen.c (__fmemopen): Fix memory leak.
3384         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3386 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3388         [BZ #16734]
3389         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3390         (FREE_BUF): Delete.
3391         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3392         * libio/genops.c (_IO_setb): Use malloc and free directly.
3393         (_IO_default_doallocate, _IO_default_finish): Likewise.
3394         ( _IO_unbuffer_all): Likewise.
3395         ( libc_freeres_fn): Likewise.
3396         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3397         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3398         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3399         (_IO_wdefault_doallocate): Likewise.
3401 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3403         [BZ #18086]
3404         * sysdeps/posix/nice.c (nice): Restore old errno.
3405         * posix/tst-nice.c (do_test): Add test for BZ #18086.
3407 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
3409         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3411 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3413         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3414         __bcopy and add a weak_alias to bcopy.
3415         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3416         for static build.
3418         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3419         cleanup macro usage.
3420         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3421         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3422         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3423         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3424         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3425         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3426         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3427         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3428         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3429         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3430         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3431         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3432         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3433         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3435         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3436         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3437         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3438         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3440         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3441         libc_hidden_def.
3442         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3444         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3445         (sysdep_routines): Add strstr-ppc64.
3446         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3448 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
3450         [BZ #18778]
3451         * elf/Makefile (tests): Add Add tst-nodelete2.
3452         (modules-names): Add tst-nodelete2mod.
3453         (tst-nodelete2mod.so-no-z-defs): New.
3454         ($(objpfx)tst-nodelete2): Likewise.
3455         ($(objpfx)tst-nodelete2.out): Likewise.
3456         (LDFLAGS-tst-nodelete2): Likewise.
3457         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3458         out of loop through all loaded libraries.
3459         * elf/tst-nodelete2.c: New file.
3460         * elf/tst-nodelete2mod.c: Likewise.
3461         * elf/tst-znodelete-zlib.cc: Delete.
3463 2015-08-11  Andreas Schwab  <schwab@suse.de>
3465         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3466         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3467         (__openat64_nocancel): Likewise.
3469 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
3471         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3472         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3473         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3474         * math/auto-libm-test-out: Regenerated.
3475         * sysdeps/i386/fpu/libm-test-ulps: Update.
3476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3478 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3480         [BZ #18790]
3481         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3482         threshold for returning +/- 1.
3483         * math/auto-libm-test-in: Add more tests of tanh.
3484         * math/auto-libm-test-out: Regenerated.
3485         * sysdeps/i386/fpu/libm-test-ulps: Update.
3487 2015-08-10  Andreas Schwab  <schwab@suse.de>
3489         [BZ #18781]
3490         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3491         MORE_OFLAGS to oflag.
3492         * io/test-lfs.c (do_test): Test openat64.
3494 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3496         [BZ #18789]
3497         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3498         smaller threshold for returning the argument.
3499         * math/auto-libm-test-in: Add more tests of sinh.
3500         * math/auto-libm-test-out: Regenerated.
3501         * sysdeps/i386/fpu/libm-test-ulps: Update.
3503 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
3505         [BZ #18674]
3506         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3507         break.
3509 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3511         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3512         (generated): Don't add $(addprefix z.,$(tzfiles)).
3514 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3516         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3517         * scripts/sysd-rules.awk: Likewise.
3519 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3521         * iconvdata/tst-tables.sh: Change echo -n to printf.
3522         * nss/db-Makefile: Likewise.
3523         * posix/tst-getconf.sh: Likewise.
3524         * stdio-common/tst-unbputc.sh: Likewise.
3526 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3528         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3529         MADV_*_PAGES defines behind this feature check.
3531 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
3533         [BZ #18480]
3534         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3535         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3536         Define.
3537         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3538         LOAD_REGS_5, LOAD_REGS_6): Update.
3539         (INTERNAL_SYSCALL): Update using new LOAD defines.
3540         (INTERNAL_SYSCALL_NCS): Likewise.
3541         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3543 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3545         [BZ #16734]
3546         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3548 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3550         [BZ #17905]
3551         * catgets/Makefile (tst-catgets-mem): New test.
3552         * catgets/catgets.c (catopen): Don't use unbounded alloca.
3553         * catgets/open_catalog.c (__open_catalog): Likewise.
3554         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3556 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
3558         [BZ #18787]
3559         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3560         clobber registers.
3561         (atomic_compare_and_exchange_val_acq): Use register asms to assign
3562         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
3563         Cast return to __typeof (oldval).
3565 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
3567         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3568         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
3569         and delete sys/syscall.h include.
3571 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
3573         [BZ #16517]
3574         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3575         (tan): Force underflow exception for arguments with small absolute
3576         value.
3577         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3578         (__kernel_tanf): Force underflow exception for arguments with
3579         small absolute value.
3580         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3581         (__kernel_tanl): Force underflow exception for arguments with
3582         small absolute value.
3583         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3584         (__kernel_tanl): Force underflow exception for arguments with
3585         small absolute value.
3586         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3587         (__kernel_tanl): Force underflow exception for arguments with
3588         small absolute value.
3589         * math/auto-libm-test-in: Add more tests of tan.
3590         * math/auto-libm-test-out: Regenerated.
3592 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3594         Fix sysdeps/i386/fpu/s_scalbn.S build
3596         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3598 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
3600         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3602 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3604         Fix gcrt0.o compilation
3606         When static-start-installed-name is different from
3607         start-installed-name, we must not use the shared objects.
3609         * csu/Makefile
3610         (extra-objs): Add gmon-start.o when building shared library and
3611         $(static-start-installed-name) is different from
3612         $(start-installed-name).
3613         $(objpfx)g$(static-start-installed-name): When building shared
3614         library and $(static-start-installed-name) is different from
3615         $(static-start-installed-name), revert to non-shared rule,
3616         i.e. using $(objpfx)% and gmon-start.o.
3618 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
3620         [BZ #16519]
3621         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3622         (__ieee754_sinh): Force underflow exception for arguments with
3623         small absolute value.
3624         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3625         (__ieee754_sinhf): Force underflow exception for arguments with
3626         small absolute value.
3627         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3628         (__ieee754_sinhl): Force underflow exception for arguments with
3629         small absolute value.
3630         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3631         (__ieee754_sinhl): Force underflow exception for arguments with
3632         small absolute value.
3633         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3634         (__ieee754_sinhl): Force underflow exception for arguments with
3635         small absolute value.
3636         * math/auto-libm-test-in: Add more tests of sinh.
3637         * math/auto-libm-test-out: Regenerated.
3638         * sysdeps/i386/fpu/libm-test-ulps: Update.
3640 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3642         * libio/oldfileops.c: Include unistd.h.
3644 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
3646         * stdlib/isomac.c: Include ctype.h.
3648 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
3650         * dirent/tst-seekdir.c (main): Converted to ...
3651         (do_test): ... this.
3652         (TEST_FUNCTION): New macro.
3653         Include test-skeleton.c.
3654         * elf/tst-dlmodcount.c (main): Converted to ...
3655         (do_test): ... this.
3656         (TEST_FUNCTION): New macro.
3657         Include test-skeleton.c.
3658         * elf/tst-order-main.c (main): Converted to ...
3659         (do_test): ... this.
3660         (TEST_FUNCTION): New macro.
3661         Include test-skeleton.c.
3662         * elf/tst-pie2.c (main): Converted to ...
3663         (do_test): ... this.
3664         (TEST_FUNCTION): New macro.
3665         Include test-skeleton.c.
3666         * inet/tst-ether_aton.c (main): Converted to ...
3667         (do_test): ... this.
3668         (TEST_FUNCTION): New macro.
3669         Include test-skeleton.c.
3670         * misc/tst-mntent.c (main): Converted to ...
3671         (do_test): ... this.
3672         (TEST_FUNCTION): New macro.
3673         Include test-skeleton.c.
3674         * misc/tst-tsearch.c (main): Converted to ...
3675         (do_test): ... this.
3676         (TEST_FUNCTION): New macro.
3677         Include test-skeleton.c.
3678         * posix/tst-regexloc.c (main): Converted to ...
3679         (do_test): ... this.
3680         (TEST_FUNCTION): New macro.
3681         Include test-skeleton.c.
3682         * resolv/tst-aton.c (main): Converted to ...
3683         (do_test): ... this.
3684         (TEST_FUNCTION): New macro.
3685         Include test-skeleton.c.
3686         * stdio-common/test-fwrite.c (main): Converted to ...
3687         (do_test): ... this.
3688         (TEST_FUNCTION): New macro.
3689         Include test-skeleton.c.
3690         * stdio-common/tst-ferror.c (main): Converted to ...
3691         (do_test): ... this.
3692         (TEST_FUNCTION): New macro.
3693         Include test-skeleton.c.
3694         * stdio-common/tst-printf.c (main): Converted to ...
3695         (do_test): ... this.
3696         (TEST_FUNCTION): New macro.
3697         Include test-skeleton.c.
3698         * stdio-common/tst-printfsz.c (main): Converted to ...
3699         (do_test): ... this.
3700         (TEST_FUNCTION): New macro.
3701         Include test-skeleton.c.
3702         * stdlib/tst-strtod.c (main): Converted to ...
3703         (do_test): ... this.
3704         (TEST_FUNCTION): New macro.
3705         Include test-skeleton.c.
3706         * string/tst-strlen.c (main): Converted to ...
3707         (do_test): ... this.
3708         (TEST_FUNCTION): New macro.
3709         Include test-skeleton.c.
3710         * string/tst-svc.c (main): Converted to ...
3711         (do_test): ... this.
3712         (TEST_FUNCTION): New macro.
3713         Include test-skeleton.c.
3714         * time/tst-strptime.c (main): Converted to ...
3715         (do_test): ... this.
3716         (TEST_FUNCTION): New macro.
3717         Include test-skeleton.c.
3718         * timezone/tst-timezone.c (main): Converted to ...
3719         (do_test): ... this.
3720         (TEST_FUNCTION): New macro.
3721         Include test-skeleton.c.
3723 2015-08-05  Zack Weinberg  <zackw@panix.com>
3725         * misc/regexp.h: Update comments.
3727 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
3729         [BZ #18635]
3730         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3731         before return label.
3733 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3735         [BZ #18661]
3736         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3737         when calling __errno_location.
3738         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3739         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3741 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3743         [BZ #18661]
3744         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3745         (__lll_timedwait_tid): Align stack to 16 bytes when calling
3746         __gettimeofday.
3748 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3750         [BZ #18661]
3751         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3752         (__start_context): Don't use pop to restore %rdi so that stack
3753         is aligned to 16 bytes when calling __setcontext.
3755 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3757         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3758         only for libc.
3759         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3761 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3763         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3764         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
3765         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3767 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3769         * string/memccpy.c (memccpy):
3770         Improve performance by using memchr/memcpy/__mempcpy.
3772 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3774         * string/strncpy.c (strncpy):
3775         Improve performance by using __strnlen/memcpy.
3777 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3779         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3780         Optimize to avoid an unnecessary FPCR read.
3782 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3784         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3785         Optimize to reduce FPCR/FPSR accesses.
3787 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3789         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3790         dead->data[category] != NULL.
3792 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
3794         [BZ #18647]
3795         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3796         and |x| close to 1, use absolute value of x when computing log.
3797         * math/auto-libm-test-in: Add more tests of pow.
3798         * math/auto-libm-test-out: Regenerated.
3800 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3802         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3803         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3804         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3806 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
3808         [BZ #18525]
3809         * locales/km_KH: Remove timezone definition.
3810         * locales/lo_LA: Likewise.
3811         * locales/my_MM: Likewise.
3812         * locales/nan_TW@latin: Likewise.
3813         * locales/th_TH: Likewise.
3814         * locales/uk_UA: Likewise.
3816 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3818         [BZ #18265]
3819         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3820         (wcsncat): Likewise.
3821         (wcscmp): Likewise.
3822         (wcsncmp): Likewise.
3824 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3826         * test-skeleton.c (usage): New function.
3827         (main): Call usage when opt is '?'.
3829 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3831         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3832         before first use.
3834 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3836         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3837         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
3838         in there too.
3840 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
3842         * version.h (RELEASE): Set to "development".
3843         (VERSION): Set to "2.22.90"
3845         * version.h (RELEASE): Set to "stable".
3846         (VERSION): Set to "2.22"
3847         * include/features.h (__GLIBC_MINOR__): Set to 22.
3849 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
3851         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3852         Restructure macro to avoid "value computed is not used" warning.
3853         (atomic_compare_and_exchange_val_acq): Likewise.
3855 2015-08-04  Andreas Schwab  <schwab@suse.de>
3857         [BZ #18635]
3858         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3859         ret.
3860         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3862 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
3864         * po/pl.po: Updated translation.
3865         * po/uk.po: Likewise.
3866         * po/fi.po: Likewise.
3867         * po/ko.po: Likewise.
3868         * po/ru.po: Likewise.
3869         * po/vi.po: Likewise.
3871 2015-07-31  Zack Weinberg  <zackw@panix.com>
3873         [BZ #18681]
3874         * regexp.h: Add unconditional #warning stating that this header
3875         will be removed soon.  Revise banner comment to match.
3876         (compile): Consistently use ERROR instead of RETURN to report
3877         errors (partial fix for bz#18681).
3878         * regexp.c: Don't include regexp.h. Remove some unnecessary
3879         declarations.
3881 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
3883         * po/libc.pot: Regenerated.
3885 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3887         [BZ #18740]
3888         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3889         float-vlen4-arch-ext-cflags): Removed.
3890         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3891         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3893 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3895         [BZ #14113]
3896         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3897         aligned to __aligned__.
3898         (pthread_cond_t, pthread_rwlock_t): Likewise.
3900 2015-07-30  Torvald Riegel  <triegel@redhat.com>
3902         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3904 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3906         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3907         (struct sigaction): Change sa_flags from a long to an int, and add
3908         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3910 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3912         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3913         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3914         sysdeps/generic/sysdep.h include.
3915         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3916         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
3917         sysdeps/hppa/sysdep.h.
3918         (ENTRY, PSEUDO): Undefine before defining.
3920 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3922         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3923         from scratch to use INTERNAL_SYSCALL.
3925 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
3927         [BZ #18078]
3928         * scripts/check-localplt.awk: Support alternate relocations.
3929         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3930         sections.
3931         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3932         malloc entries with + REL R_386_GLOB_DAT.
3933         * sysdeps/x86_64/localplt.data: New file.
3935 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
3937         [BZ #18731]
3938         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3939         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3940         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3942 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3944         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3946 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3948         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3949         directly in terms of __sync_fetch_and_add and delete (int) cast.
3951 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3953         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3954         the -D_ASM_IA64_CURRENT_H flag.
3956 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3958         [BZ #18641]
3959         * pwd/pwd.h (putpwent): Delete __nonnull markings.
3961 2015-07-27  Andreas Schwab  <schwab@suse.de>
3963         * conform/conformtest.pl (checknamespace): Filter out string
3964         literals while tokenizing.
3966 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
3968         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3969         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3970         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3972 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
3974         * nptl/tst-join7mod.c: Add #include <string.h>.
3976 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
3978         * sysdeps/nios2/libm-test-ulps: Update.
3980 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
3982         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3983         Fix order of arguments to the rt_sigprocmask syscall.
3984         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3985         Likewise.
3987 2015-07-24  Roland McGrath  <roland@hack.frob.com>
3989         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3991 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3993         [BZ #18457]
3994         * nptl/Makefile (tests): New test case tst-join7.
3995         (modules-names): New test case module tst-join7mod.
3996         * nptl/tst-join7.c: New file.
3997         * nptl/tst-join7mod.c: New file.
3998         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3999         all translation units in libc.so, libpthread.so and rtld.
4001 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4005 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
4007         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
4008         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
4009         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
4010         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
4011         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
4012         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
4013         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
4014         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
4015         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
4016         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
4017         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
4018         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
4019         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
4020         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
4021         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
4022         implementation.
4024 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4026         [BZ #17711]
4027         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4028         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
4029         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4030         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4031         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
4032         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4034 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4036         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
4037         instead of just saying load lock in the comments.
4039 2015-07-23  Roland McGrath  <roland@hack.frob.com>
4041         * sysdeps/unix/Subdirs: Moved ...
4042         * sysdeps/posix/Subdirs: ... here.
4043         * login/pty.h (struct termios, struct winsize): Add forward decls.
4044         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
4045         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
4046         * sysdeps/arm/nacl/libc.abilist: Updated.
4047         * sysdeps/nacl/libutil.abilist: New file.
4049         * bits/signum.h: Update comments to mention 1003.1-2013 too.
4050         (SIGWINCH): New macro.
4052         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
4053         * sysdeps/arm/nacl/libc.abilist: Add it.
4055 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4057         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
4059 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4061         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4062         Swap __glibc_reserved0 and sa_flags order.
4064 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4066         [BZ #18657]
4067         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
4068         are pending TLS destructor calls.
4069         * include/link.h (struct link_map): Add concurrency note for
4070         L_TLS_DTOR_COUNT.
4071         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4072         Don't touch the link map flag.  Atomically increment
4073         l_tls_dtor_count.
4074         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
4075         Avoid taking the load lock and don't touch the link map flag.
4076         * stdlib/tst-tls-atexit-nodelete.c: New test case.
4077         * stdlib/Makefile (tests): Use it.
4078         * stdlib/tst-tls-atexit.c (do_test): dlopen
4079         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
4080         to allow tst-tls-atexit-nodelete test case to use it.
4082 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4084         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
4085         to bits/types.h.
4086         (msgqnum_t): New typedef.
4087         (msglen_t): Likewise.
4088         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
4089         and msg_qbytes type to msglen_t.
4091 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4093         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
4094         pad0 to __glibc_reserved0.
4095         (struct stat64): Likewise.
4097 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4099         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4100         Change sa_flags from a long to an int and add __glibc_reserved0 before
4101         it for padding.
4103 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4105         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
4106         anonymous by deleting "siginfo" name.
4108 2015-07-21  Roland McGrath  <roland@hack.frob.com>
4110         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
4111         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
4112         rather than __nacl_irt_filename.
4113         * sysdeps/nacl/xstat.c (__xstat): Likewise.
4115         * NEWS: New item for arm-nacl port.
4116         * sysdeps/arm/nacl/libc.abilist: New file.
4117         * sysdeps/nacl/ld.abilist: New file.
4118         * sysdeps/nacl/libBrokenLocale.abilist: New file.
4119         * sysdeps/nacl/libanl.abilist: New file.
4120         * sysdeps/nacl/libcrypt.abilist: New file.
4121         * sysdeps/nacl/libdl.abilist: New file.
4122         * sysdeps/nacl/libm.abilist: New file.
4123         * sysdeps/nacl/libpthread.abilist: New file.
4124         * sysdeps/nacl/libresolv.abilist: New file.
4125         * sysdeps/nacl/librt.abilist: New file.
4127 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
4129         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4130         __startcontext to initialize the new context.
4131         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4132         up CFI directive to forbid further backtracing.
4134 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
4136         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4137         reference.
4138         * charmaps/ANSI_X3.4-1968: Likewise.
4139         * charmaps/BS_4730: Likewise.
4140         * charmaps/BS_VIEWDATA: Likewise.
4141         * charmaps/CP1250: Likewise.
4142         * charmaps/CP1251: Likewise.
4143         * charmaps/CP1252: Likewise.
4144         * charmaps/CP1253: Likewise.
4145         * charmaps/CP1254: Likewise.
4146         * charmaps/CP1255: Likewise.
4147         * charmaps/CP1256: Likewise.
4148         * charmaps/CSN_369103: Likewise.
4149         * charmaps/EBCDIC-DK-NO: Likewise.
4150         * charmaps/GB_1988-80: Likewise.
4151         * charmaps/GREEK-CCITT: Likewise.
4152         * charmaps/GREEK7: Likewise.
4153         * charmaps/INIS-8: Likewise.
4154         * charmaps/ISIRI-3342: Likewise.
4155         * charmaps/ISO_2033-1983: Likewise.
4156         * charmaps/ISO_5427-EXT: Likewise.
4157         * locales/POSIX: Likewise.
4158         * locales/ar_SA: Likewise.
4159         * locales/be_BY: Likewise.
4160         * locales/be_BY@latin: Likewise.
4161         * locales/ca_ES: Likewise.
4162         * locales/cs_CZ: Likewise.
4163         * locales/da_DK: Likewise.
4164         * locales/de_BE: Likewise.
4165         * locales/de_CH: Likewise.
4166         * locales/de_LU: Likewise.
4167         * locales/en_AU: Likewise.
4168         * locales/en_BW: Likewise.
4169         * locales/en_CA: Likewise.
4170         * locales/en_DK: Likewise.
4171         * locales/en_GB: Likewise.
4172         * locales/en_IE: Likewise.
4173         * locales/en_NZ: Likewise.
4174         * locales/en_ZA: Likewise.
4175         * locales/en_ZW: Likewise.
4176         * locales/es_AR: Likewise.
4177         * locales/es_BO: Likewise.
4178         * locales/es_CL: Likewise.
4179         * locales/es_CO: Likewise.
4180         * locales/es_DO: Likewise.
4181         * locales/es_EC: Likewise.
4182         * locales/es_ES: Likewise.
4183         * locales/es_HN: Likewise.
4184         * locales/es_MX: Likewise.
4185         * locales/es_PA: Likewise.
4186         * locales/es_PE: Likewise.
4187         * locales/es_PY: Likewise.
4188         * locales/es_SV: Likewise.
4189         * locales/es_US: Likewise.
4190         * locales/es_UY: Likewise.
4191         * locales/es_VE: Likewise.
4192         * locales/et_EE: Likewise.
4193         * locales/fa_IR: Likewise.
4194         * locales/fo_FO: Likewise.
4195         * locales/fr_CA: Likewise.
4196         * locales/fr_CH: Likewise.
4197         * locales/gv_GB: Likewise.
4198         * locales/he_IL: Likewise.
4199         * locales/hr_HR: Likewise.
4200         * locales/id_ID: Likewise.
4201         * locales/is_IS: Likewise.
4202         * locales/it_CH: Likewise.
4203         * locales/iw_IL: Likewise.
4204         * locales/kl_GL: Likewise.
4205         * locales/ko_KR: Likewise.
4206         * locales/kw_GB: Likewise.
4207         * locales/lg_UG: Likewise.
4208         * locales/lt_LT: Likewise.
4209         * locales/lv_LV: Likewise.
4210         * locales/mi_NZ: Likewise.
4211         * locales/nhn_MX: Likewise.
4212         * locales/nl_BE: Likewise.
4213         * locales/pl_PL: Likewise.
4214         * locales/sk_SK: Likewise.
4215         * locales/sl_SI: Likewise.
4216         * locales/sv_FI: Likewise.
4217         * locales/tl_PH: Likewise.
4218         * locales/tr_TR: Likewise.
4219         * locales/vi_VN: Likewise.
4221 2015-07-21  Khem Raj  <raj.khem@gmail.com>
4223         [BZ #17475]
4224         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4225         of tu_IN and bh_IN.
4227 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
4229         [BZ #18694]
4230         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4231         bits/wordsize.h.
4232         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4234 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4236         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4237         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4238         (spawn_thread): New function.
4239         (load): Rename to reg_dtor_and_close.  Move dlopen to...
4240         (do_test): ... here.  Use IS_LOADED to test for its
4241         availability.
4243 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
4245         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4247 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
4249         [BZ #18696]
4250         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4251         si_addr_bnd.
4252         (si_lower): New.
4253         (si_upper): Likewise.
4255 2015-07-16  David S. Miller  <davem@davemloft.net>
4257         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4259 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4261         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4262         buffer.
4263         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4264         fail output information.
4266 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4269         and strstr-ppc64..
4270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4271         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4272         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4273         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4274         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4276 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4278         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4279         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4280         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4281         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4283 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4285         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4286         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4287         rtld_hidden_proto.
4288         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4290 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4292         * tst-nodelete-opened.c (do_test): Add comment to clarify how
4293         the test can fail.
4295         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4297         [BZ #18676]
4298         * elf/tst-nodelete-opened.c: New test case.
4299         * elf/tst-nodelete-opened-lib.c: New test case module.
4300         * elf/Makefile (tests, modules-names): Use them.
4301         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4302         early.
4304 2015-07-15  David S. Miller  <davem@davemloft.net>
4306         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4307         futex-intenal.h
4308         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4309         * sysdeps/sparc/sparc64/Makefile: Likewise.
4310         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4311         Remove space from macro define.
4312         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4314 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
4316         [BZ #17475]
4317         * locale/iso-639.def: Update Bhili and Tulu language codes as
4318         per iso639-3.
4320 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
4322         * elf/tst-leaks1.c (main): Converted to ...
4323         (do_test): ... this.
4324         (TEST_FUNCTION): New macro.
4325         Include test-skeleton.c.
4326         * localedata/tst-langinfo.c (main): Converted to ...
4327         (do_test): ... this.
4328         (TEST_FUNCTION): New macro.
4329         Include test-skeleton.c.
4330         * math/test-fpucw.c (main): Converted to ...
4331         (do_test): ... this.
4332         (TEST_FUNCTION): New macro.
4333         Include test-skeleton.c.
4334         * math/test-tgmath.c (main): Converted to ...
4335         (do_test): ... this.
4336         (TEST_FUNCTION): New macro.
4337         Include test-skeleton.c.
4338         * math/test-tgmath2.c (main): Converted to ...
4339         (do_test): ... this.
4340         (TEST_FUNCTION): New macro.
4341         Include test-skeleton.c.
4342         * setjmp/tst-setjmp.c (main): Converted to ...
4343         (do_test): ... this.
4344         (TEST_FUNCTION): New macro.
4345         Include test-skeleton.c.
4346         * stdio-common/tst-sscanf.c (main): Converted to ...
4347         (do_test): ... this.
4348         (TEST_FUNCTION): New macro.
4349         Include test-skeleton.c.
4350         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4351         (do_test): ... this.
4352         (TEST_FUNCTION): New macro.
4353         Include test-skeleton.c.
4355         * elf/tst-audit9.c (main): Converted to ...
4356         (do_test): ... this.
4357         (TEST_FUNCTION): New macro.
4358         Include test-skeleton.c.
4360 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
4362         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4364 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4366         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4367         New variable.
4369 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4371         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4373 2015-07-14  Roland McGrath  <roland@hack.frob.com>
4375         * sysdeps/generic/dl-fileid.h: New file.
4376         * sysdeps/posix/dl-fileid.h: New file.
4377         * sysdeps/nacl/dl-fileid.h: New file.
4378         * include/link.h: Include <dl-fileid.h>.
4379         (struct link_map): Replace l_dev and l_ino with l_file_id.
4380         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4381         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
4382         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
4384 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4386         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4388 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4390         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4391         Add iff $CXX is set.
4392         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4393         Likewise.
4394         (tst-nodelete-zmodiff): Likewise.
4395         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4397 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4399         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4401 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4403         * sysdeps/aarch64/fpu/math_private.h
4404         (define math_opt_barrier): Add AArch64 version.
4405         (math_force_eval): Likewise.
4407 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4409         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4411 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4413         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4414         %ld with %jd and cast to intmax_t.
4415         (do_test_length_zero): Likewise.
4417 2015-07-10  Roland McGrath  <roland@hack.frob.com>
4419         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4421 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
4423         * sysdeps/tile/libm-test-ulps: Regenerated.
4425         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4426         Comment out the whole function, not just its body.
4428 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4430         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4431         locks.
4433         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4435 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4437         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4438         (sem_assume_only_signals_cause_futex_EINTR): Remove.
4440 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4442         * sysdeps/nptl/futex-internal.h: New file.
4443         * sysdeps/nacl/futex-internal.h: New file.
4444         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4445         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4446         error checking.
4447         (setxid_unmark_thread): Likewise.
4448         (__nptl_setxid): Likewise.
4449         (__wait_lookup_done): Likewise.
4450         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4451         * nptl/nptl-init.c (sighandler_setxid): Likewise.
4452         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4453         * nptl/pthread_once.c (clear_once_control): Likewise.
4454         (__pthread_once_slow): Likewise.
4455         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4456         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4457         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4458         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4459         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4460         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4461         Likewise.
4462         (__pthread_rwlock_rdlock): Likewise.
4463         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4464         Likewise.
4465         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4466         Likewise.
4467         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4468         Likewise.
4469         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4470         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4471         Likewise.
4472         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4473         __ASSUME_PRIVATE_FUTEX check.
4474         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4475         Check that shared futexes are supported.
4476         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4477         wrappers with error checking.
4478         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4479         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4480         * nptl/pthread_barrierattr_setpshared.c
4481         (pthread_barrierattr_setpshared): Check that shared futexes are
4482         supported.
4483         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4484         Likewise.
4485         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4486         Likewise.
4487         * nptl/sem_init.c (futex_private_if_supported): Remove.
4488         (__new_sem_init): Adapt and check that shared futexes are supported.
4489         * nptl/sem_open.c (sem_open): Likewise.
4490         * nptl/sem_post.c (futex_wake): Remove.
4491         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4492         (do_futex_wait): Use futex wrappers with error checking.
4493         * nptl/sem_wait.c: Include lowlevellock.h.
4494         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4495         Use futex_supports_pshared.
4496         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4497         Use futex wrappers with error checking.
4498         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4499         Likewise.
4500         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4501         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4502         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4503         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4504         (futex_wake): Likewise.
4505         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4506         (do_futex_wait): Use futex wrappers with error checking.
4507         (__new_sem_wait_slow): Update EINTR handling.
4508         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4510 2015-07-09  Martin Sebor  <msebor@redhat.com>
4512         [BZ #18435]
4513         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4514         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4515         * nptl/Makefile (test-xfail-tst-once5): Define.
4517 2015-07-09  Roland McGrath  <roland@hack.frob.com>
4519         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4520         * elf/dl-minimal.c: For readability, reorder some definitions and
4521         introduce more page breaks.  Include <stdio.h>.
4522         (__libc_fatal): New function.
4524         * include/unistd.h: Add rtld_hidden_proto for _exit.
4525         * posix/_exit.c: Add rtld_hidden_def.
4526         * sysdeps/mach/hurd/_exit.c: Likewise.
4527         * sysdeps/nacl/_exit.c: Likewise.
4528         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4529         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4531 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
4533         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4534         bndmov encoding with zero displacement.
4536 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4537             H.J. Lu  <hongjiu.lu@intel.com>
4539         [BZ #18134]
4540         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4541         * sysdeps/i386/configure: Regenerated.
4542         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4543         (_dl_runtime_profile): Save and restore Intel MPX return bound
4544         registers when calling _dl_call_pltexit.  Add
4545         PRESERVE_BND_REGS_PREFIX before return.
4546         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4547         (LRV_BND1_OFFSET): Likewise.
4548         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4549         lrv_bnd1.
4550         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4551         typo in bndmov encoding.
4552         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4553         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
4554         branch instructions to preserve bounds.
4556 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4559         [GLIBC_2.22]: Add fmemopen.
4561 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4563         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4564         returns an error, also try to use host port from __mach_host_self for
4565         the __vm_wire call.
4566         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4568 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4570         [BZ #18400]
4571         [BZ #18648]
4572         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4573         Fix pr_uid and pr_gid members.
4574         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4575         definition to elf_greg_t.
4577 2015-07-08  Roland McGrath  <roland@hack.frob.com>
4579         [BZ #18383]
4580         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4581         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4582         * sysdeps/arm/configure: Regenerated.
4583         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4584         (test-xfail-tst-tlsalign-static): Variable removed.
4586         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4587         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4588         rather than explicit 'ln -s'.
4590         * resolv/rpc/netdb.h: New file.
4591         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4593 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4595         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4596         length buffers.
4597         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4598         test-skeleton.c.
4600         [BZ #6544]
4601         [BZ #11216]
4602         [BZ #12836]
4603         [BZ #13151]
4604         [BZ #13152]
4605         [BZ #14292]
4606         * include/stdio.h (fmemopen): Remove hidden prototype.
4607         (__fmemopen): Add new hidden prototype.
4608         * libio/Makefile: Add oldfmemopen object.
4609         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4610         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4611         compliance.
4612         * libio/oldfmemopen.c: New file: old fmemopen implementation for
4613         symbol compatibility.
4614         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4615         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4616         fmemopen.
4617         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4618         on append and read mode.
4619         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4620         fmemopen.
4621         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4622         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4623         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4624         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4625         Likewise.
4626         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4627         [GLIBC_2.22]: Likewise.
4628         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4629         Likewise.
4630         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4631         Likewise.
4632         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4633         [GLIBC_2.22]: Likewise.
4634         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4635         [GLIBC_2.22]: Likewise.
4636         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4637         [GLIBC_2.22]: Likewise.
4638         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4639         [GLIBC_2.22]: Likewise.
4640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4641         [GLIBC_2.22]: Likewise.
4642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4643         [GLIBC_2.22]: Likewise.
4644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4645         [GLIBC_2.22]: Likewise.
4646         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4647         Likewise.
4648         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4649         Likewise.
4650         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4651         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4652         [GLIBC_2.22]: Likewise.
4653         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4654         [GLIBC_2.22]: Likewise.
4655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4656         [GLIBC_2.22]: Likewise.
4657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4658         [GLIBC_2.22]: Likewise.
4659         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4660         Likewise.
4661         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4662         Likewise.
4663         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4664         Likewise.
4665         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4666         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4668 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4670         [BZ #18643]
4671         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4672         IPV6_PATHMTU, and IPV6_DONTFRAG.
4674 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
4676         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4677         and _IO_UNBUFFERED.
4678         * libio/oldfileops.c: Likewise.
4679         * libio/wfileops.c: Likewise.
4681 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4683         * nscd/selinux.c: Delete selinux/flask.h include.
4685 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4687         [BZ #18641]
4688         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4689         (putpwent): Likewise.
4690         (getpwnam): Likewise.
4691         (getpwent_r): Likewise.
4692         (getpwuid_r): Likewise.
4693         (getpwnam_r): Likewise.
4694         (fgetpwent_r): Likewise.
4696 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4698         [BZ #18557]
4699         * inet/rcmd.c (__validuser2_sa): Check user first to
4700         short-circuit host check.
4702 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
4703             Mikhail Ilin  <m.ilin@samsung.com>
4705         [BZ #17833]
4706         * elf/Makefile (tests): Add tst-nodelete.
4707         (modules-names): Add tst-nodelete-uniquemod.
4708         (tst-nodelete-uniquemod.so-no-z-defs): New.
4709         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4710         (tst-nodelete-zmod.so-no-z-defs): Likewise.
4711         ($(objpfx)tst-nodelete): Likewise.
4712         ($(objpfx)tst-nodelete.out): Likewise.
4713         (LDFLAGS-tst-nodelete): Likewise.
4714         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4715         * elf/dl-close.c (_dl_close_worker): Add a parameter to
4716         implement forced object deletion.
4717         (_dl_close): Pass false to _dl_close_worker.
4718         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4719         * elf/tst-nodelete.cc: New file.
4720         * elf/tst-nodeletelib.cc: Likewise.
4721         * elf/tst-znodeletelib.cc: Likewise.
4722         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4724 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4726         [BZ #18508]
4727         * stdlib/Makefile ($(objpfx)tst-makecontext3):
4728         Depend on $(libdl).
4729         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4730         is not called infinitely times.
4731         (backtrace_helper): New function.
4732         (trace_arg): New struct.
4733         (st1): Enlarge stack size.
4734         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4735         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4736         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4737         Likewise.
4739 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4741         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4743 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4745         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4746         Include sys/types.h instead of bits/types.h.
4747         Remove inclusion of bits/wordsize.h.
4749 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4751         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4752         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4753         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4754         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4755         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4756         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4758 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4760         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4761         link-defines.sym.
4762         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4763         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4764         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4765         and LR_SIZE.
4766         * sysdeps/i386/link-defines.sym: New file.
4768 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4770         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4771         (modules-names): Add tst-auditmod3a tst-auditmod3b.
4772         ($(objpfx)tst-audit3): New rule.
4773         ($(objpfx)tst-audit3.out): Likewise.
4774         * sysdeps/i386/tst-audit3.c: New file.
4775         * sysdeps/i386/tst-audit3.h: Likewise.
4776         * sysdeps/i386/tst-auditmod3a.c: Likewise.
4777         * sysdeps/i386/tst-auditmod3b.c: Likewise.
4779 2015-07-07  Torvald Riegel  <triegel@redhat.com>
4781         [BZ #18633]
4782         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4783         pointer in C code.
4784         (__strcat_c): Likewise.
4785         (__strcat_g): Likewise.
4787 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
4789         [BZ #18592]
4790         * misc/sbrk.c: Set errno to ENOMEM on overflow.
4792 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
4794         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4795         New function.  (__ieee754_sqrtf): New function.
4796         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4797         New function.
4798         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4799         New function.
4801 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
4803         * sysdeps/ieee754/support.c: Remove unused file.
4805 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4807         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4808         registers instead of d ones so the layout is kernel abi compatible.
4809         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4810         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4811         Likewise.
4813 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4815         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4817 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
4819         [BZ #18619]
4820         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4821         and return argument in case of subnormal argument.
4823 2015-07-01  Martin Sebor  <msebor@redhat.com>
4825         [BZ #18435]
4826         * nptl/Makefile: Add tst-once5.cc.
4827         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4828         Remove macro redefinitions.
4829         * nptl/tst-once5.cc: New test.
4831 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
4833         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4835         * sysdeps/arm/libm-test-ulps: Regenerated.
4837         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4838         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4840 2015-06-30  Torvald Riegel  <triegel@redhat.com>
4842         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4843         lll_lock_wait_private and lll_futex_wake probes.
4845         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4846         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4847         Likewise.
4848         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4849         atomic_spin_nop.
4850         * sysdeps/x86_64/bits/atomic.h: Likewise.
4851         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4852         to atomic_spin_nop and move ...
4853         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4854         ... here and ...
4855         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4856         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4857         atomic_spin_nop instead of BUSY_WAIT_NOP.
4858         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4859         Likewise.
4860         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4861         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4862         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4863         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4864         instead of atomic_delay.
4866 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
4868         [BZ #18613]
4869         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4870         X_ADJ not X when adjusting exponent.
4871         (__ieee754_gamma_r): Do intermediate computations in
4872         round-to-nearest then adjust overflowing and underflowing results
4873         as needed.
4874         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4875         of X_ADJ not X when adjusting exponent.
4876         (__ieee754_gammaf_r): Do intermediate computations in
4877         round-to-nearest then adjust overflowing and underflowing results
4878         as needed.
4879         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4880         log of X_ADJ not X when adjusting exponent.
4881         (__ieee754_gammal_r): Do intermediate computations in
4882         round-to-nearest then adjust overflowing and underflowing results
4883         as needed.  Use 1.0L not 1.0f as numerator of division.
4884         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4885         log of X_ADJ not X when adjusting exponent.
4886         (__ieee754_gammal_r): Do intermediate computations in
4887         round-to-nearest then adjust overflowing and underflowing results
4888         as needed.  Use 1.0L not 1.0f as numerator of division.
4889         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4890         of X_ADJ not X when adjusting exponent.
4891         (__ieee754_gammal_r): Do intermediate computations in
4892         round-to-nearest then adjust overflowing and underflowing results
4893         as needed.  Use 1.0L not 1.0f as numerator of division.
4894         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
4895         to auto-libm-test-in.
4896         (tgamma_test): Use ALL_RM_TEST.
4897         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
4898         tests of tgamma with spurious-overflow.
4899         * math/auto-libm-test-out: Regenerated.
4900         * math/gen-libm-have-vector-test.sh: Do not check for START.
4901         * sysdeps/i386/fpu/libm-test-ulps: Update.
4902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4904         [BZ #18612]
4905         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4906         arguments, just return 0.5 times the argument, with underflow
4907         forced as needed.
4908         * math/auto-libm-test-in: Add more tests of j1.
4909         * math/auto-libm-test-out: Regenerated.
4911         [BZ #16559]
4912         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4913         (__ieee754_j1): Force underflow exception for small results.
4914         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4915         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4916         (__ieee754_j1f): Force underflow exception for small results.
4917         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4918         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4920         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4921         (__ieee754_j1l): Force underflow exception for small results.
4922         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4923         * math/auto-libm-test-in: Add more tests of j1 and jn.
4924         * math/auto-libm-test-out: Regenerated.
4926         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4927         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4928         (PF_MPLS): Likewise.
4929         (AF_IB): Likewise.
4930         (AF_MPLS): Likewise.
4931         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4932         value and macro.
4933         (MS_RMT_MASK): Include MS_LAZYTIME.
4935 2015-06-26  Mel Gorman  <mgorman@suse.de>
4937         [BZ #18502]
4938         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4939         already minimal.
4941 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
4943         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4944         (DT_MIPS_NUM): Update.
4945         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4946         DT_MIPS_RLD_MAP_REL.
4948 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
4950         [BZ #16559]
4951         [BZ #18602]
4952         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4953         round-to-nearest internally then recompute results that
4954         underflowed to zero in the original rounding mode.
4955         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4956         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4957         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4958         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4959         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4960         * sysdeps/i386/fpu/libm-test-ulps: Update.
4961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4963 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4965         * NEWS: Fixed description of link with vector math library.
4967 2015-06-25  Andreas Schwab  <schwab@suse.de>
4969         [BZ #18549]
4970         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4971         * libio/test-fmemopen.c (do_test): Add test for it.
4973 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
4975         [BZ #17841]
4976         * Makeconfig (no-pie-ldflag): New.
4977         (+link): Set to $(+link-pie) if default to PIE.
4978         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4979         * config.make.in (build-pie-default): New.
4980         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
4981         is default.  AC_SUBST.
4982         * configure: Regenerated.
4983         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4985 2015-06-24  Roland McGrath  <roland@hack.frob.com>
4987         * nptl/descr.h (struct pthread): Change type of field setxid_futex
4988         to 'unsigned int'.
4990         * resolv/gai_misc.h (struct waitlist): Change type of field
4991         counterp to 'volatile unsigned int *'.
4992         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4993         FUTEXADDR and OLDVAL.
4994         * resolv/getaddrinfo_a.c (getaddrinfo_a):
4995         Give local variable TOTAL type 'volatile unsigned int'.
4996         (struct async_waitlist): Change type of field counter to 'unsigned int'.
4997         * resolv/gai_suspend.c (gai_suspend):
4998         Give local variable CNTR type 'unsigned int'.
5000         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
5001         counterp to 'volatile unsigned int *'.
5002         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
5003         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
5004         (aio_suspend): Give local variable CNTR type 'unsigned int'.
5005         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
5006         Give local variable TOTAL type 'volatile unsigned int'.
5007         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5009 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5011         [BZ #18383]
5012         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
5013         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
5014         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
5015         comment for i386/x86-64.
5016         (test-xfail-tst-tlsalign-extern-static): Removed.
5018 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5020         * math/test-double.h: New file.
5021         * math/test-float.h: Likewise.
5022         * math/test-ldouble.h: Likewise.
5023         * math/test-math-inline.h: Likewise.
5024         * math/test-math-no-inline.h: Likewise.
5025         * math/test-math-scalar.h: Likewise.
5026         * math/test-math-vector.h: Likewise.
5027         * math/test-vec-loop.h: Remove file.  Contents moved into
5028         test-math-vector.h.
5029         * math/libm-test.inc (MATHCONST): Do not document macro.
5030         * math/test-double.c: Include test-double.h, test-math-no-inline.h
5031         and test-math-scalar.h.
5032         (FUNC): Remove macro.
5033         (FUNC_TEST): Likewise.
5034         (FLOAT): Likewise.
5035         (MATHCONST): Likewise.
5036         (PRINTF_EXPR): Likewise.
5037         (PRINTF_XEXPR): Likewise.
5038         (PRINTF_NEXPR): Likewise.
5039         (TEST_DOUBLE): Likewise.
5040         (TEST_MATHVEC): Likewise.
5041         (__NO_MATH_INLINES): Likewise.
5042         * math/test-float.c: Include test-float.h, test-math-no-inline.h
5043         and test-math-scalar.h.
5044         (FUNC): Remove macro.
5045         (FUNC_TEST): Likewise.
5046         (FLOAT): Likewise.
5047         (MATHCONST): Likewise.
5048         (PRINTF_EXPR): Likewise.
5049         (PRINTF_XEXPR): Likewise.
5050         (PRINTF_NEXPR): Likewise.
5051         (TEST_FLOAT): Likewise.
5052         (TEST_MATHVEC): Likewise.
5053         (__NO_MATH_INLINES): Likewise.
5054         * math/test-idouble.c: Include test-double.h, test-math-inline.h
5055         and test-math-scalar.h.
5056         (FUNC): Remove macro.
5057         (FUNC_TEST): Likewise.
5058         (FLOAT): Likewise.
5059         (MATHCONST): Likewise.
5060         (PRINTF_EXPR): Likewise.
5061         (PRINTF_XEXPR): Likewise.
5062         (PRINTF_NEXPR): Likewise.
5063         (TEST_DOUBLE): Likewise.
5064         (TEST_MATHVEC): Likewise.
5065         (TEST_INLINE): Likewise.
5066         (__NO_MATH_INLINES): Likewise.
5067         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
5068         test-math-scalar.h.
5069         (FUNC): Remove macro.
5070         (FUNC_TEST): Likewise.
5071         (FLOAT): Likewise.
5072         (MATHCONST): Likewise.
5073         (PRINTF_EXPR): Likewise.
5074         (PRINTF_XEXPR): Likewise.
5075         (PRINTF_NEXPR): Likewise.
5076         (TEST_FLOAT): Likewise.
5077         (TEST_MATHVEC): Likewise.
5078         (TEST_INLINE): Likewise.
5079         (__NO_MATH_INLINES): Likewise.
5080         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
5081         and test-math-scalar.h.
5082         (FUNC): Remove macro.
5083         (FUNC_TEST): Likewise.
5084         (FLOAT): Likewise.
5085         (MATHCONST): Likewise.
5086         (PRINTF_EXPR): Likewise.
5087         (PRINTF_XEXPR): Likewise.
5088         (PRINTF_NEXPR): Likewise.
5089         (TEST_LDOUBLE): Likewise.
5090         (TEST_MATHVEC): Likewise.
5091         (TEST_INLINE): Likewise.
5092         (__NO_MATH_INLINES): Likewise.
5093         * math/test-ldouble.c: Include test-ldouble.h,
5094         test-math-no-inline.h and test-math-scalar.h.
5095         (FUNC): Remove macro.
5096         (FUNC_TEST): Likewise.
5097         (FLOAT): Likewise.
5098         (MATHCONST): Likewise.
5099         (PRINTF_EXPR): Likewise.
5100         (PRINTF_XEXPR): Likewise.
5101         (PRINTF_NEXPR): Likewise.
5102         (TEST_LDOUBLE): Likewise.
5103         (TEST_MATHVEC): Likewise.
5104         (__NO_MATH_INLINES): Likewise.
5105         * math/test-double-vlen2.h: Include test-double.h,
5106         test-math-no-inline.h and test-math-vector.h.
5107         (FLOAT): Remove macro.
5108         (FUNC): Likewise.
5109         (MATHCONST): Likewise.
5110         (PRINTF_EXPR): Likewise.
5111         (PRINTF_XEXPR): Likewise.
5112         (PRINTF_NEXPR): Likewise.
5113         (TEST_DOUBLE): Likewise.
5114         (TEST_MATHVEC): Likewise.
5115         (__NO_MATH_INLINES): Likewise.
5116         (CNCT): Likewise.
5117         (CONCAT): Likewise.
5118         (WRAPPER_NAME): Likewise.
5119         (WRAPPER_DECL): Likewise.
5120         (WRAPPER_DECL_ff): Likewise.
5121         (WRAPPER_DECL_fFF): Likewise.
5122         (VECTOR_WRAPPER): Likewise.
5123         (VECTOR_WRAPPER_ff): Likewise.
5124         (VECTOR_WRAPPER_fFF): Likewise.
5125         (VEC_LEN): New macro.
5126         * math/test-double-vlen4.h: Include test-double.h,
5127         test-math-no-inline.h and test-math-vector.h.
5128         (FLOAT): Remove macro.
5129         (FUNC): Likewise.
5130         (MATHCONST): Likewise.
5131         (PRINTF_EXPR): Likewise.
5132         (PRINTF_XEXPR): Likewise.
5133         (PRINTF_NEXPR): Likewise.
5134         (TEST_DOUBLE): Likewise.
5135         (TEST_MATHVEC): Likewise.
5136         (__NO_MATH_INLINES): Likewise.
5137         (CNCT): Likewise.
5138         (CONCAT): Likewise.
5139         (WRAPPER_NAME): Likewise.
5140         (WRAPPER_DECL): Likewise.
5141         (WRAPPER_DECL_ff): Likewise.
5142         (WRAPPER_DECL_fFF): Likewise.
5143         (VECTOR_WRAPPER): Likewise.
5144         (VECTOR_WRAPPER_ff): Likewise.
5145         (VECTOR_WRAPPER_fFF): Likewise.
5146         (VEC_LEN): New macro.
5147         * math/test-double-vlen8.h: Include test-double.h,
5148         test-math-no-inline.h and test-math-vector.h.
5149         (FLOAT): Remove macro.
5150         (FUNC): Likewise.
5151         (MATHCONST): Likewise.
5152         (PRINTF_EXPR): Likewise.
5153         (PRINTF_XEXPR): Likewise.
5154         (PRINTF_NEXPR): Likewise.
5155         (TEST_DOUBLE): Likewise.
5156         (TEST_MATHVEC): Likewise.
5157         (__NO_MATH_INLINES): Likewise.
5158         (CNCT): Likewise.
5159         (CONCAT): Likewise.
5160         (WRAPPER_NAME): Likewise.
5161         (WRAPPER_DECL): Likewise.
5162         (WRAPPER_DECL_ff): Likewise.
5163         (WRAPPER_DECL_fFF): Likewise.
5164         (VECTOR_WRAPPER): Likewise.
5165         (VECTOR_WRAPPER_ff): Likewise.
5166         (VECTOR_WRAPPER_fFF): Likewise.
5167         (VEC_LEN): New macro.
5168         * math/test-float-vlen4.h: Include test-float.h,
5169         test-math-no-inline.h and test-math-vector.h.
5170         (FLOAT): Remove macro.
5171         (FUNC): Likewise.
5172         (MATHCONST): Likewise.
5173         (PRINTF_EXPR): Likewise.
5174         (PRINTF_XEXPR): Likewise.
5175         (PRINTF_NEXPR): Likewise.
5176         (TEST_FLOAT): Likewise.
5177         (TEST_MATHVEC): Likewise.
5178         (__NO_MATH_INLINES): Likewise.
5179         (CNCT): Likewise.
5180         (CONCAT): Likewise.
5181         (WRAPPER_NAME): Likewise.
5182         (WRAPPER_DECL): Likewise.
5183         (WRAPPER_DECL_ff): Likewise.
5184         (WRAPPER_DECL_fFF): Likewise.
5185         (VECTOR_WRAPPER): Likewise.
5186         (VECTOR_WRAPPER_ff): Likewise.
5187         (VECTOR_WRAPPER_fFF): Likewise.
5188         (VEC_LEN): New macro.
5189         * math/test-float-vlen8.h: Include test-float.h,
5190         test-math-no-inline.h and test-math-vector.h.
5191         (FLOAT): Remove macro.
5192         (FUNC): Likewise.
5193         (MATHCONST): Likewise.
5194         (PRINTF_EXPR): Likewise.
5195         (PRINTF_XEXPR): Likewise.
5196         (PRINTF_NEXPR): Likewise.
5197         (TEST_FLOAT): Likewise.
5198         (TEST_MATHVEC): Likewise.
5199         (__NO_MATH_INLINES): Likewise.
5200         (CNCT): Likewise.
5201         (CONCAT): Likewise.
5202         (WRAPPER_NAME): Likewise.
5203         (WRAPPER_DECL): Likewise.
5204         (WRAPPER_DECL_ff): Likewise.
5205         (WRAPPER_DECL_fFF): Likewise.
5206         (VECTOR_WRAPPER): Likewise.
5207         (VECTOR_WRAPPER_ff): Likewise.
5208         (VECTOR_WRAPPER_fFF): Likewise.
5209         (VEC_LEN): New macro.
5210         * math/test-float-vlen16.h: Include test-float.h,
5211         test-math-no-inline.h and test-math-vector.h.
5212         (FLOAT): Remove macro.
5213         (FUNC): Likewise.
5214         (MATHCONST): Likewise.
5215         (PRINTF_EXPR): Likewise.
5216         (PRINTF_XEXPR): Likewise.
5217         (PRINTF_NEXPR): Likewise.
5218         (TEST_FLOAT): Likewise.
5219         (TEST_MATHVEC): Likewise.
5220         (__NO_MATH_INLINES): Likewise.
5221         (CNCT): Likewise.
5222         (CONCAT): Likewise.
5223         (WRAPPER_NAME): Likewise.
5224         (WRAPPER_DECL): Likewise.
5225         (WRAPPER_DECL_ff): Likewise.
5226         (WRAPPER_DECL_fFF): Likewise.
5227         (VECTOR_WRAPPER): Likewise.
5228         (VECTOR_WRAPPER_ff): Likewise.
5229         (VECTOR_WRAPPER_fFF): Likewise.
5230         (VEC_LEN): New macro.
5231         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5232         test-vec-loop.h.
5233         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5234         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5235         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5236         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5237         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5238         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5239         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5241 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5243         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5244         (__getlogin_r): ... this.
5246 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5248         [BZ #18594]
5249         * math/s_ccosh.c (__ccosh): Compare with least normal value
5250         instead of comparing class with FP_SUBNORMAL.
5251         * math/s_ccoshf.c (__ccoshf): Likewise.
5252         * math/s_ccoshl.c (__ccoshl): Likewise.
5253         * math/s_cexp.c (__cexp): Likewise.
5254         * math/s_cexpf.c (__cexpf): Likewise.
5255         * math/s_cexpl.c (__cexpl): Likewise.
5256         * math/s_csin.c (__csin): Likewise.
5257         * math/s_csinf.c (__csinf): Likewise.
5258         * math/s_csinh.c (__csinh): Likewise.
5259         * math/s_csinhf.c (__csinhf): Likewise.
5260         * math/s_csinhl.c (__csinhl): Likewise.
5261         * math/s_csinl.c (__csinl): Likewise.
5262         * math/s_ctan.c (__ctan): Likewise.
5263         * math/s_ctanf.c (__ctanf): Likewise.
5264         * math/s_ctanh.c (__ctanh): Likewise.
5265         * math/s_ctanhf.c (__ctanhf): Likewise.
5266         * math/s_ctanhl.c (__ctanhl): Likewise.
5267         * math/s_ctanl.c (__ctanl): Likewise.
5268         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5269         csin, csinh, ctan and ctanh.
5270         * math/auto-libm-test-out: Regenerated.
5271         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5272         * sysdeps/i386/fpu/libm-test-ulps: Update.
5273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5275 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5277         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5278         return value is wrong, print the expected value too.
5280 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5282         [BZ #18585]
5283         * elf/readlib.c (is_gdb_python_file): New.
5284         (process_file): Don't issue errors on filenames with -gdb.py
5285         suffix.
5287 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5289         * math/auto-libm-test-in: Add more tests of csin and csinh.
5290         * math/auto-libm-test-out: Regenerated.
5291         * math/libm-test.inc (csin_test_data): Remove tests moved to
5292         auto-libm-test-in.
5293         (csinh_test_data): Likewise.
5295         [BZ #18593]
5296         * math/s_csin.c (__csin): Negate before rather than after possibly
5297         overflowing multiplication.
5298         * math/s_csinf.c (__csinf): Likewise.
5299         * math/s_csinh.c (__csinh): Likewise.
5300         * math/s_csinhf.c (__csinhf): Likewise.
5301         * math/s_csinhl.c (__csinhl): Likewise.
5302         * math/s_csinl.c (__csinl): Likewise.
5303         * math/auto-libm-test-in: Add some tests of csin and csinh.
5304         * math/auto-libm-test-out: Regenerated.
5305         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5306         (csinh_test_data): Likewise.
5307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5309         [BZ #18586]
5310         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5311         underflow exception for small results.
5313 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
5315         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5316         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5317         variable and included header.
5318         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5319         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5320         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5321         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5322         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5323         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5324         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5325         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5326         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5327         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5328         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5329         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5330         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5331         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5332         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5333         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5335 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5337         [BZ #16526]
5338         [BZ #16538]
5339         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5340         (__sin): Force underflow exception for arguments with small
5341         absolute value.
5342         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5343         (__kernel_sinf): Force underflow exception for arguments with
5344         small absolute value.
5345         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5346         (__kernel_sincosl): Force underflow exception for arguments with
5347         small absolute value.
5348         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5349         (__kernel_sinl): Force underflow exception for arguments with
5350         small absolute value.
5351         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5352         (__kernel_sincosl): Force underflow exception for arguments with
5353         small absolute value.
5354         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5355         (__kernel_sinl): Force underflow exception for arguments with
5356         small absolute value.
5357         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5358         (__kernel_sinl): Force underflow exception for arguments with
5359         small absolute value.
5360         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5361         (__kernel_sinf): Force underflow exception for arguments with
5362         small absolute value.
5363         * math/auto-libm-test-in: Add more tests of sin and sincos.
5364         * math/auto-libm-test-out: Regenerated.
5366         [BZ #18245]
5367         [BZ #18583]
5368         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5369         (__kernel_standard_l): Use feholdexcept and fesetenv around
5370         conversion to double instead of special-casing overflow and
5371         underflow.
5372         * math/libm-test.inc (fmod_test_data): Add more tests.
5373         (remainder_test_data): Likewise.
5374         (sqrt_test_data): Likewise.
5376 2015-06-23  Torvald Riegel  <triegel@redhat.com>
5378         [BZ #17403]
5379         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5380         atomic_read_barrier, atomic_write_barrier): Define.
5381         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5382         atomic_read_barrier, atomic_write_barrier): Define.
5384 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5386         * math/Makefile [$(PERL) != no]
5387         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5388         dependency on libm-test.stmp below the inclusion of Rules.
5390 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
5392         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5393         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5394         and included header.
5395         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5396         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5397         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5398         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5399         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5400         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5401         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5402         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5403         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5404         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5405         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5406         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5407         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5408         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5409         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5410         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5411         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5412         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5413         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5415 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5417         [BZ #18371]
5418         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5419         intermediate but not final result might underflow.
5420         * math/s_csqrtf.c (__csqrtf): Likewise.
5421         * math/s_csqrtl.c (__csqrtl): Likewise.
5422         * math/auto-libm-test-in: Add more tests of csqrt.
5423         * math/auto-libm-test-out: Regenerated.
5424         * sysdeps/i386/fpu/libm-test-ulps: Update.
5426         [BZ #18219]
5427         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5428         threshold on absolute value of exponent for which scaling is used.
5429         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5430         * math/auto-libm-test-in: Add more tests of exp2.
5431         * math/auto-libm-test-out: Regenerated.
5433 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
5435         [BZ #17977]
5436         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5437         when initializing interface list, based on the bug analysis
5438         and the patch proposed by Eric Newton.
5439         * resolv/tst-res_hconf_reorder.c: New test.
5440         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5441         tst-res_hconf_reorder.
5442         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5443         and $(shared-thread-library).
5444         (tst-res_hconf_reorder-ENV): New variable.
5446         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5447         in comment.
5449 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
5451         [BZ #16353]
5452         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5453         (__expm1): Force underflow exception for arguments with small
5454         absolute value.
5455         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5456         (__expm1f): Force underflow exception for arguments with small
5457         absolute value.
5458         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5459         (__expm1): Force underflow exception for arguments with small
5460         absolute value.
5461         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5462         (__expm1f): Force underflow exception for arguments with small
5463         absolute value.
5464         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5465         Check for small arguments before calling __expm1.
5466         * math/auto-libm-test-in: Do not mark underflow exceptions as
5467         possibly missing for bug 16353.
5468         * math/auto-libm-test-out: Regenerated.
5470 2015-06-22  Andreas Schwab  <schwab@suse.de>
5472         [BZ #18513]
5473         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5474         PTR queries.
5476 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
5478         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5480         * string/strcoll_l.c: Remove unused struct element idxnow.
5482 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
5484         [BZ #18569]
5485         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5486         underflow and return argument in case of subnormal argument.
5487         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5488         Likewise.
5489         * math/auto-libm-test-in: Add more tests of expm1.
5490         * math/auto-libm-test-out: Regenerated.
5492         [BZ #16361]
5493         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5494         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5495         tiny results.
5496         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5497         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5498         tiny results.
5499         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
5500         mark underflow exceptions as possibly missing for bug 16361.
5501         * math/auto-libm-test-out: Regenerated.
5503 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
5505         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5506         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5507         Remove variable.
5508         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5509         (test-xfail-XOPEN2K8/utmpx.h/conform).
5511         * conform/conformtest.pl ($xerrors): New variable.
5512         (note_error): New function.
5513         (compiletest): New argument $xfail.  Use not_error.
5514         (runtest): Likewise.
5515         (top level): Handle xfail- lines.  Update calls to compiletest and
5516         runtest.  Handle xfail- and optional- in headers listed with
5517         allow-header.
5518         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5519         (O_EXEC): Likewise.
5520         (O_SEARCH): Likewise.
5521         * conform/data/stropts.h-data (ioctl): Likewise.
5522         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5523         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5524         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5525         (msghdr.msg_controllen): Likewise.
5526         (cmsghdr.cmsg_len): Likewise.
5527         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5528         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5529         variable.
5530         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5531         (test-xfail-XPG4/stropts.h/conform): Likewise.
5532         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5533         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5534         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5535         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5536         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5537         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5538         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5539         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5540         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5541         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5542         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5543         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5544         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5545         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5546         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5547         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5548         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5549         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5550         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5552 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5554         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5555         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5556         definitions for proper unfolding of __MATHDECL_VEC.
5558 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5560         * benchtests/bench-strcoll.c:
5561         Include string.h.
5562         (main): Remove unused variable res.
5564 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5566         * timezone/Makefile (%/UTC %/Universal):
5567         Generate test-result files for UTC and Universal.
5569 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5571         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5573 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
5575         [BZ #16350]
5576         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5577         for arguments with small absolute value.
5578         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5579         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5580         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5581         (__asinh): Force underflow exception for arguments with small
5582         absolute value.
5583         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5584         (__asinhf): Force underflow exception for arguments with small
5585         absolute value.
5586         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5587         (__asinhl): Force underflow exception for arguments with small
5588         absolute value.
5589         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5590         (__asinhl): Force underflow exception for arguments with small
5591         absolute value.
5592         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5593         (__asinhl): Force underflow exception for arguments with small
5594         absolute value.
5595         * math/auto-libm-test-in: Do not mark underflow exceptions as
5596         possibly missing for bug 16350.
5597         * math/auto-libm-test-out: Regenerated.
5599         * include/bits/ipc.h: Remove file.
5600         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5601         variable.
5602         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5603         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5604         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5605         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5606         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5607         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5608         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5609         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5610         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5612         * math/auto-libm-test-in: Remove spurious underflow allowance for
5613         tests of cexp.
5614         * math/auto-libm-test-out: Regenerated.
5616         [BZ #18558]
5617         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5618         unconditional definition.
5619         (MCAST_BLOCK_SOURCE): Likewise.
5620         (MCAST_UNBLOCK_SOURCE): Likewise.
5621         (MCAST_LEAVE_GROUP): Likewise.
5622         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5623         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5624         (MCAST_MSFILTER): Likewise.
5625         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5626         Remove variable.
5627         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5628         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5629         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5630         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5631         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5633 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
5635         * NEWS: Mention addition of x86_64 vector sincosf.
5636         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5637         * math/test-float-vlen4.h: Likewise.
5638         * math/test-float-vlen8.h: Likewise.
5639         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5640         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5641         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5642         * sysdeps/x86_64/fpu/Versions: New versions added.
5643         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5644         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5645         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5646         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5647         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5648         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5649         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5650         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5651         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5652         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5653         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5654         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5655         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5656         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5657         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5658         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5659         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5660         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5661         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5662         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5663         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5664         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5665         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5666         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5668         * NEWS: Mention addition of x86_64 vector sincos.
5669         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5670         * math/math.h (__MATHDECL_VEC): New macro.
5671         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5672         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5673         declaration under condition.
5674         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5675         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5676         TEST_VEC_LOOP change.
5677         * math/test-double-vlen4.h: Likewise.
5678         * math/test-double-vlen8.h: Likewise.
5679         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5680         * math/test-float-vlen4.h: Likewise.
5681         * math/test-float-vlen8.h: Likewise.
5682         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5683         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5684         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5685         * sysdeps/x86_64/fpu/Versions: New versions added.
5686         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5687         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5688         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5689         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5690         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5691         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5692         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5693         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5694         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5695         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5696         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5697         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5698         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5699         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5700         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5701         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5702         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5703         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5704         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5705         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5706         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5707         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5708         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5709         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5711         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5712         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5713         redirections for powf.
5714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5715         * sysdeps/x86_64/fpu/Versions: New versions added.
5716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5717         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5718         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5719         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5720         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5721         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5722         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5723         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5724         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5725         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5726         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5727         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5728         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5729         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5730         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5731         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5732         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5733         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5734         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5735         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5736         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5737         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5738         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5739         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5740         * math/test-float-vlen16.h: Fixed 2 argument macro.
5741         * math/test-float-vlen4.h: Likewise.
5742         * math/test-float-vlen8.h: Likewise.
5743         * NEWS: Mention addition of x86_64 vector powf.
5745 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
5747         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5748         and redefine.
5749         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5750         and redefine.
5751         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5752         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5753         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5755         [BZ #18553]
5756         * resource/getpriority.c (getpriority): Rename to __getpriority
5757         and define as weak alias of __getpriority.
5758         * resource/setpriority.c (setpriority): Rename to __setpriority
5759         and define as weak alias of __setpriority.
5760         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5761         __getpriority and define as weak alias of __getpriority.
5762         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5763         __setpriority and define as weak alias of __setpriority.
5764         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5765         strong name.
5766         (setpriority): Use __setpriority as strong name.
5767         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5768         __getpriority and define as weak alias of __getpriority.
5769         * include/sys/resource.h (__getpriority): Declare.  Use
5770         libc_hidden_proto.
5771         (__setpriority): Likewise.
5772         (getpriority): Don't use libc_hidden_proto.
5773         (setpriority): Likewise.
5774         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5775         getpriority.  Call __setpriority instead of setpriority.
5776         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5777         Remove variable.
5779         [BZ #18547]
5780         * misc/getttyent.c (getttynam): Rename to __getttynam and define
5781         as weak alias of __getttynam.  Use prototype function definition.
5782         Call __setttyent, __getttyent and __endttyent instead of
5783         setttyent, getttyent and endttyent.
5784         (getttyent): Rename to __getttyent and define as weak alias of
5785         __getttyent.  Call __setttyent instead of setttyent.  Call
5786         __fgets_unlocked instead of fgets_unlocked.
5787         (setttyent): Rename to __setttyent and define as weak alias of
5788         __setttyent.
5789         (endttyent): Rename to __endttyent and define as weak alias of
5790         __endttyent.
5791         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
5792         (__setttyent): Likewise.
5793         (__endttyent): Likewise.
5794         (getttyent): Don't use libc_hidden_proto.
5795         (setttyent): Likewise.
5796         (endttyent): Likewise.
5797         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5798         __endttyent instead of setttyent, getttyent and endttyent.
5799         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5800         Remove variable.
5802         [BZ #18546]
5803         * socket/recv.c (__recv): Use libc_hidden_def.
5804         * socket/socket.c (__socket): Likewise.
5805         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5806         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5807         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5808         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5809         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5810         libc_hidden_def.
5811         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5812         libc_hidden_weak.
5813         * include/sys/socket.h (__socket): Do not use attribute_hidden.
5814         Use libc_hidden_proto.
5815         (__recv): Likewise.
5816         * socket/Versions (libc): Export __recv and __socket at version
5817         GLIBC_PRIVATE.
5818         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5819         instead of recv.
5820         (init_mq_netlink): Call __socket instead of socket.
5821         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5822         Remove variable.
5824         [BZ #18545]
5825         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5826         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
5827         hidden_weak.
5828         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5829         define as alias of __mq_timedsend.  Use hidden_weak.
5830         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5831         __mq_timedsend as strong name.
5832         (mq_timedreceive): Use __mq_timedreceive as strong name.
5833         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
5834         (__mq_timedreceive): Likewise.
5835         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5836         __mq_timedreceive instead of mq_timedreceive.
5837         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5838         instead of mq_timedsend.
5839         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5840         Remove variable.
5842         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5843         hidden_def and hidden_weak instead of libc_hidden_def and
5844         libc_hidden_weak.
5845         (top level): Refer to hidden_def in comment.
5846         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5847         macro.  Use it instead of libc_hidden_def.
5848         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5849         specify __GI_* name explicitly.
5850         (mq_timedreceive): Likewise.
5851         (mq_setattr): Likewise.
5853         [BZ #18544]
5854         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5855         __pthread_barrier_init and define as weak alias of
5856         __pthread_barrier_init.
5857         * sysdeps/sparc/nptl/pthread_barrier_init.c
5858         (pthread_barrier_init): Likewise.
5859         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5860         __pthread_barrier_wait and define as weak alias of
5861         __pthread_barrier_wait.
5862         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5863         (pthread_barrier_wait): Likewise.
5864         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5865         (pthread_barrier_wait): Likewise.
5866         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5867         (pthread_barrier_wait): Likewise.
5868         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5869         (pthread_barrier_wait): Likewise.
5870         * nptl/Versions (libpthread): Export __pthread_barrier_init and
5871         __pthread_barrier_wait at version GLIBC_PRIVATE.
5872         * include/pthread.h (__pthread_barrier_init): Declare.
5873         (__pthread_barrier_wait): Likewise.
5874         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5875         Call __pthread_barrier_wait instead of pthread_barrier_wait.
5876         (helper_thread): Likewise.
5877         (init_mq_netlink): Call __pthread_barrier_init instead of
5878         pthread_barrier_init.
5880         [BZ #18542]
5881         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5882         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5883         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
5884         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5885         vswscanf.
5886         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5887         Remove variable.
5889         [BZ #18540]
5890         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5891         strong alias of _IO_fflush.  Use libc_hidden_def.
5892         * libio/iofflush_u.c (fflush_unlocked): Rename to
5893         __fflush_unlocked and define as weak alias of __fflush_unlocked.
5894         Use libc_hidden_weak.
5895         * include/stdio.h (__fflush_unlocked): Declare.  Use
5896         libc_hidden_proto.
5897         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5898         fflush_unlocked.
5899         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5900         Remove variable.
5902         [BZ #18539]
5903         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5904         define as weak alias of __addseverity.
5905         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5906         Remove variable.
5907         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5908         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5909         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5911         [BZ #18536]
5912         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5913         (__tfind): Likewise.
5914         (__tdelete): Likewise.
5915         (__twalk): Likewise.
5916         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5917         __twalk to GLIBC_PRIVATE.
5918         * include/search.h (__tsearch): Use libc_hidden_proto.
5919         (__tfind): Likewise.
5920         (__tdelete): Likewise.
5921         (__twalk): Likewise.
5922         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5923         Call __tdelete instead of tdelete.
5924         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5925         tfind.  Call __tsearch instead of tsearch.
5926         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5927         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5928         Remove variable.
5929         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5931         [BZ #18534]
5932         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5933         (dprintf): Define as a weak alias of __dprintf, not a strong
5934         alias.
5935         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
5936         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5937         dprintf.
5938         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5939         Remove variable.
5940         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5941         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5943         [BZ #18533]
5944         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5945         not a strong alias.
5946         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5947         Remove variable.
5949         [BZ #18532]
5950         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5951         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
5952         (in6addr_loopback): Rename to __in6addr_loopback and define as
5953         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
5954         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
5955         libc_hidden_proto.
5956         (__in6addr_any): Likewise.
5957         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5958         in6addr_any.
5959         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5960         variable.
5961         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5963 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5965         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5966         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5967         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5968         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5969         redirections for pow.
5970         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5971         * sysdeps/x86_64/fpu/Versions: New versions added.
5972         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5973         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5974         build of SSE, AVX2 and AVX512 IFUNC versions.
5975         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5976         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5977         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5978         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5979         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5980         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5981         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5982         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5983         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5984         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5985         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5986         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5987         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5988         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5989         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5990         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5991         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5992         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5993         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5994         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5995         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5996         * NEWS: Mention addition of x86_64 vector pow.
5998         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5999         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6000         redirections for expf.
6001         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6002         * sysdeps/x86_64/fpu/Versions: New versions added.
6003         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6004         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6005         build of SSE, AVX2 and AVX512 IFUNC versions.
6006         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
6007         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
6008         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
6009         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
6010         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
6011         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
6012         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
6013         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
6014         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
6015         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
6016         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
6017         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
6018         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
6019         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6020         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6021         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6022         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6023         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6024         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6025         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6026         * NEWS: Mention addition of x86_64 vector expf.
6028         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
6029         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
6030         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6031         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6032         redirections for exp.
6033         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6034         * sysdeps/x86_64/fpu/Versions: New versions added.
6035         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6036         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6037         build of SSE, AVX2 and AVX512 IFUNC versions.
6038         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
6039         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
6040         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
6041         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
6042         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
6043         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
6044         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
6045         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
6046         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
6047         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
6048         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
6049         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
6050         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
6051         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6052         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6053         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6054         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6055         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6056         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6057         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6058         * NEWS: Mention addition of x86_64 vector exp.
6060         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6061         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6062         redirections for logf.
6063         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6064         * sysdeps/x86_64/fpu/Versions: New versions added.
6065         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6066         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6067         build of SSE, AVX2 and AVX512 IFUNC versions.
6068         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
6069         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
6070         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
6071         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
6072         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
6073         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
6074         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
6075         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
6076         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
6077         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
6078         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
6079         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
6080         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
6081         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6082         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6083         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6084         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6085         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6086         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6087         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6088         * NEWS: Mention addition of x86_64 vector logf.
6090         * bits/libm-simd-decl-stubs.h: Added stubs for log.
6091         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
6092         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6093         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6094         redirections for log.
6095         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6096         * sysdeps/x86_64/fpu/Versions: New versions added.
6097         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6098         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6099         build of SSE, AVX2 and AVX512 IFUNC versions.
6100         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
6101         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
6102         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
6103         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
6104         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
6105         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
6106         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
6107         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
6108         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
6109         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
6110         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
6111         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
6112         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
6113         test.
6114         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6115         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6117         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6118         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6119         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6120         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6121         * NEWS: Mention addition of x86_64 vector log.
6123 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6125         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6126         cfi_adjust_cfa_offset argument.
6127         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6128         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6130         [BZ #18034]
6131         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6132         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6133         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6134         ordering using ldar.
6135         (_dl_tlsdesc_dynamic): Likewise.
6136         (_dl_tlsdesc_return_lazy): Likewise.
6137         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6138         relaxed atomics instead of volatile and synchronize with release store.
6139         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6140         volatile.
6141         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6143 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
6145         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6146         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
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_s_sinf16_core.S: New file.
6153         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6154         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6155         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6156         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6157         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6158         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6159         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6160         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6161         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6162         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6163         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6164         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6165         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6166         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6167         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6168         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6169         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6170         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6171         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6172         * NEWS: Mention addition of x86_64 vector sinf.
6174 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
6176         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6177         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6178         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6179         Remove variable.
6180         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6181         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6183 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6185         [BZ #18530]
6186         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6187         strong alias of _IO_fputs.  Use libc_hidden_def.
6188         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6189         and define as weak alias of __fputs_unlocked.  Use
6190         libc_hidden_weak.
6191         * include/stdio.h (__fputs_unlocked): Declare.  Use
6192         libc_hidden_proto.
6193         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6194         fputs_unlocked.
6196         [BZ #18529]
6197         * resolv/netdb.h [__USE_POSIX]: Change condition to
6198         [__USE_XOPEN2K].
6199         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6200         not expect.
6201         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6202         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6203         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6204         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6205         [XPG4 || UNIX98] (AI_ALL): Likewise.
6206         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6207         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6208         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6209         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6210         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6211         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6212         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6213         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6214         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6215         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6216         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6217         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6218         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6219         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6220         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6221         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6222         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6223         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6224         [XPG4 || UNIX98] (gai_strerror): Likewise.
6225         [XPG4 || UNIX98] (getaddrinfo): Likewise.
6226         [XPG4 || UNIX98] (getnameinfo): Likewise.
6228         [BZ #18528]
6229         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6230         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6231         __USE_XOPEN2K8].
6232         (getgrent): Likewise.
6233         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6234         expect.
6235         [XPG3 || POSIX2008] (endgrent): Likewise.
6236         [XPG3] (setgrent): Likewise.
6237         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6238         variable.
6239         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6241         [BZ #18527]
6242         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6243         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
6244         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6245         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6246         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6247         * include/unistd.h (__getlogin_r): Declare.  Use
6248         libc_hidden_proto.
6249         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6250         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6251         variable.
6252         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6253         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6254         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6256 2015-06-12  Martin Sebor  <msebor@redhat.com>
6258         [BZ #18512]
6259         * Makerules (check-install-supported): New target.
6260         (install): Add check-install-supported as a dependency.
6261         * manual/install.texi (Installing the C Library): Document
6262         that overriding prefix and exec_prefix is not supported.
6263         Mention DESTDIR.
6264         * INSTALL: Regenerate from the above.
6266 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6268         [BZ #18519]
6269         * posix/Versions (libc): Export __libc_pread at version
6270         GLIBC_PRIVATE.
6271         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6272         instead of pread.
6273         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6274         variable.
6276         [BZ #18522]
6277         * misc/efgcvt_r.c
6278         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6279         (cvt_symbol): Use weak_alias instead of strong_alias.
6280         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6281         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6282         Remove variable.
6283         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6284         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6286         [BZ #18520]
6287         * inet/herrno.c (h_errno): Rename to __h_errno.
6288         (__libc_h_errno): Define as alias of __h_errno not h_errno.
6289         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6290         to __h_errno instead of h_errno.
6291         * nptl/herrno.c (h_errno): Rename to __h_errno.
6292         (__h_errno_location): Refer to __h_errno not h_errno.
6293         * resolv/Versions (h_errno): Rename to __h_errno.
6294         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6295         Remove variable.
6296         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6298 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
6300         * configure.ac: More strict check for AVX512 assembler support.
6301         * configure: Regenerated.
6303         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6304         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6305         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6306         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6307         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6308         * sysdeps/x86_64/fpu/Versions: New versions added.
6309         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6310         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6311         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6312         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6313         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6314         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6315         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6316         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6317         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6318         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6319         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6320         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6321         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6322         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6323         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6324         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6325         test.
6326         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6327         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6328         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6329         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6330         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6331         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6332         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6333         * NEWS: Mention addition of x86_64 vector sin.
6335 2015-06-11  Florian Weimer  <fweimer@redhat.com>
6337         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6338         comment.
6340 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6342         [BZ #18479]
6343         * nptl/pt-interp.c: New file.
6344         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6345         Add pt-interp.
6346         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6347         $(common-objpfx)runtime-linker.h.
6349 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
6351         * Makeconfig (+interp): Remove unused variable.
6352         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6353         only.  Depend on $(common-objpfx)runtime-linker.h instead of
6354         $(elf-objpfx)runtime-linker.h.
6355         ($(elf-objpfx)runtime-linker.h): Rename to
6356         $(common-objpfx)runtime-linker.h and move ...
6357         * Makerules [$(build-shared) = yes]: ... here.
6358         * elf/interp.c: Include <runtime-linker.h> instead of
6359         <elf/runtime-linker.h>.
6361 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6363         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6364         (__gettimeofday_syscall): Remove vsyscall fallback.
6365         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6366         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6367         Add syscall fallback function.
6368         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6369         if vDSO is not present.
6370         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6371         fallback function.
6372         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6373         present.
6374         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6375         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6377 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
6379         [BZ #18497]
6380         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6381         of wcscmp.
6382         (wcscmp): Define as weak alias of WCSCMP.
6383         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6384         wcscoll.
6385         (USE_HIDDEN_DEF): Define.
6386         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6387         __wcscoll.  Don't use libc_hidden_weak.
6388         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6389         wcscmp.
6390         * sysdeps/i386/i686/multiarch/wcscmp-c.c
6391         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6392         __GI_wcscmp.
6393         (weak_alias): Undefine and redefine.
6394         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6395         __wcscmp and define as weak alias of __wcscmp.
6396         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6397         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
6398         (__wcscoll): Likewise.
6399         (wcscmp): Don't use libc_hidden_proto.
6400         (wcscoll): Likewise.
6401         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6402         wcscoll.
6403         * posix/regexec.c (check_node_accept_bytes): Likewise.
6404         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6405         variable.
6406         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6407         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6409         [BZ #18507]
6410         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6411         __fstatvfs and define as weak alias of __fstatvfs.  Use
6412         libc_hidden_weak.
6413         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6414         and define as weak alias of __statvfs.  Use libc_hidden_weak.
6415         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6416         Define as alias of __fstatvfs, not fstatvfs.
6417         (fstatvfs64): Likewise.
6418         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6419         Define as alias of __statvfs, not statvfs.
6420         (statvfs64): Likewise.
6421         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6422         Remove variable.
6424 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6427         (HAVE_GETCPU_VSYSCALL): Define.
6428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6429         (HAVE_GETCPU_VSYSCALL): Likewise.
6430         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6431         * sysdeps/unix/sysv/linux/sched_getcpu.c
6432         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6433         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6434         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6435         prototype.
6436         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6437         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6438         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6439         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6440         Define.
6441         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6442         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6443         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6444         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6446 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
6448         * sysdeps/x86_64/fpu/Makefile: New file.
6449         * sysdeps/x86_64/fpu/Versions: New file.
6450         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6451         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6452         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6453         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6454         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6455         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6456         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6457         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6458         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6459         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6460         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6461         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6462         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6463         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6464         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6465         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6466         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6467         * sysdeps/x86_64/configure.ac: Options for libmvec build.
6468         * sysdeps/x86_64/configure: Regenerated.
6469         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6470         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6471         * manual/install.texi (Configuring and compiling): Document
6472         --disable-mathvec.
6473         * INSTALL: Regenerated.
6474         * NEWS: Mention addition of libmvec and x86_64 vector cos.
6476         * math/Makefile: Added rules for vector tests.
6477         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6478         declaration under condition.
6479         * math/test-double-vlen2.h: New file.
6480         * math/test-double-vlen4.h: New file.
6481         * math/test-double-vlen8.h: New file.
6482         * math/test-vec-loop.h: Added initialization macro.
6483         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6484         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6485         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6486         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6487         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6488         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6489         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6490         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6491         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6492         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6493         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6495         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6496         * sysdeps/x86_64/fpu/Versions: New versions added.
6497         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6498         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6499         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6500         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6501         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6502         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6503         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6504         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6505         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6506         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6507         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6508         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6509         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6510         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6511         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6512         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6513         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6514         * NEWS: Mention addition of x86_64 vector cosf.
6516         * math/Makefile: Added CFLAGS for new tests.
6517         * math/test-float-vlen16.h: New file.
6518         * math/test-float-vlen4.h: New file.
6519         * math/test-float-vlen8.h: New file.
6520         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6521         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6522         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6523         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6524         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6525         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6526         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6527         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6528         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6529         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6530         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6532 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
6534         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6535         * locale/programs/ld-ctype.c: Likewise.
6537 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6539         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6540         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6541         bit_ZMM16_31_state): New macro.
6542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6543         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6545 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
6547         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6549 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
6551         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6553 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
6555         [BZ #18498]
6556         * libio/memstream.c (open_memstream): Rename to __open_memstream
6557         and define as weak alias of __open_memstream.
6558         * include/stdio.h (__open_memstream): Declare.  Use
6559         libc_hidden_proto.
6560         (open_memstream): Don't use libc_hidden_proto.
6561         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6562         open_memstream.
6563         * posix/getopt.c (_getopt_internal_r): Likewise.
6564         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6565         variable.
6566         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6567         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6568         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6570         [BZ #18496]
6571         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6572         instead of wcrtomb.
6574         [BZ #18483]
6575         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6576         [__USE_XOPEN2K8].  Remove redundant #endif.
6577         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6578         Remove redundant #if.
6579         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6580         Remove variable.
6581         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6582         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6584         [BZ #18495]
6585         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6586         (__iswlower): Likewise.
6587         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
6588         (__iswlower): Likewise.
6589         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6590         instead of towlower.
6591         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6592         instead of iswlower.  Call __towupper instead of towupper.
6593         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6594         instead of iswalnum.
6596 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6598         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6599         errors to stderr.
6601 2015-06-05  Florian Weimer  <fweimer@redhat.com>
6603         [BZ #15661]
6604         [BZ #17322]
6605         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6606         Check for overflow properly.  Check for O_APPEND.  Ignore large
6607         file system block sizes.  Add comments about problems.
6608         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6609         * manual/filesys.texi (Storage Allocation): New node.
6611 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6613         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6614         cancellable syscalls.
6615         (SYS_ify): Add guard to no redefine it.
6616         (INLINE_SYSCALL): Likewise.
6617         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6618         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6619         SYSCALL_CANCEL instead.
6620         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6621         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6622         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6623         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6624         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6625         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6626         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6627         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6628         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6629         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6630         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6631         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6632         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6633         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6634         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6635         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6636         Likewise.
6637         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6638         (__libc_pread64): Likewise.
6639         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6640         (__libc_preadv): Likewise.
6641         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6642         (__libc_readv64): Likewise.
6643         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6644         (__libc_pwrite): Likewise.
6645         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6646         (__libc_pwrite64): Likewise.
6647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6648         (__libc_pwritev): Likewise.
6649         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6650         (__libc_pwritev64): Likewise.
6651         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6652         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6653         (sync_file_range): Likewise.
6654         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6655         Likewise.
6656         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6657         Likewise.
6658         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6659         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6660         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6661         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6662         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6663         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6664         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6665         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6667         Likewise.
6668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6669         (__libc_read64): Likewise.
6670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6671         Likewise.
6672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6673         Likewise.
6674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6675         Likewise.
6676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6677         Likewise.
6678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6679         (__libc_pread64): Likewise.
6680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6681         Likewise.
6682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6683         (__libc_pwrite64): Likewise.
6684         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6685         (sync_file_range): Likewise.
6686         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6687         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6688         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6689         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6690         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6691         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6692         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6693         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6694         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6695         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6696         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6697         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6698         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6699         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6700         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6701         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6702         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6703         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6704         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6705         Likewise.
6706         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6707         Likewise.
6708         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6709         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6710         Likewise.
6711         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6712         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6713         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6714         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6715         Likewise.
6716         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6717         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6718         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6719         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6720         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6722 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
6724         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6725         Include dl-vdso.
6726         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6727         Use VDSO routines for gettimeofday, clock_gettime if
6728         available.
6729         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6730         Declare VDSO symbols.
6731         * sysdeps/unix/sysv/linux/arm/sysdep.h:
6732         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6733         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6734         * sysdeps/unix/sysv/linux/arm/Versions: Add
6735         __vdso_clock_gettime.
6737 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6739         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6740         be an inline implementation regardless of library is built within.
6741         (open_not_cancel_2): Likewise.
6742         (__read_nocancel): Likewise.
6743         (__write_nocancel): Likewise.
6744         (openat_not_cancel): Likewise.
6745         (openat_not_cancel_3): Likewise.
6746         (openat64_not_cancel): Likewise.
6747         (openat64_not_cancel_3): Likewise.
6748         (__close_nocancel): Likewise.
6749         (pause_not_cancel): Likewise.
6750         (nanosleep_not_cancel): Likewise.
6751         (sigsuspend_not_cancel): Likewise.
6753 2015-06-04  Torvald Riegel  <triegel@redhat.com>
6755         [BZ #14958]
6756         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6757         wake-up.
6758         (__pthread_rwlock_rdlock_slow): Likewise.
6759         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6760         Likewise.
6761         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6762         Likewise.
6763         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6764         * nptl/tst-rwlock16.c: New file.
6765         * nptl/Makefile (tests): Add new test.
6767 2015-06-04  Torvald Riegel  <triegel@redhat.com>
6769         [BZ #18324]
6770         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6771         missing wake-up of readers.
6772         * nptl/tst-rwlock15.c: New file.
6773         * nptl/Makefile (tests): Add new test.
6775 2015-06-03  Roland McGrath  <roland@hack.frob.com>
6777         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6778         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6779         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6780         and __nacl_supply_interface_rtld.
6781         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6782         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6783         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6784         Add __nacl_supply_interface_rtld.
6785         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6787 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
6789         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6790         isfinite.
6791         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6792         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6794 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
6796         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6797         __signbit* with standard C99 macros.
6798         * math/e_exp10l.c: Likewise.
6799         * math/e_exp2l.c: Likewise.
6800         * math/e_scalb.c: Likewise.
6801         * math/e_scalbf.c: Likewise.
6802         * math/e_scalbl.c: Likewise.
6803         * math/s_ldexp.c: Likewise.
6804         * math/s_ldexpf.c: Likewise.
6805         * math/s_ldexpl.c: Likewise.
6806         * math/w_atan2.c: Likewise.
6807         * math/w_atan2f.c: Likewise.
6808         * math/w_atan2l.c: Likewise.
6809         * math/w_cosh.c: Likewise.
6810         * math/w_coshf.c: Likewise.
6811         * math/w_coshl.c: Likewise.
6812         * math/w_exp10.c: Likewise.
6813         * math/w_exp10f.c: Likewise.
6814         * math/w_exp10l.c: Likewise.
6815         * math/w_exp2.c: Likewise.
6816         * math/w_exp2f.c: Likewise.
6817         * math/w_exp2l.c: Likewise.
6818         * math/w_fmod.c: Likewise.
6819         * math/w_fmodf.c: Likewise.
6820         * math/w_fmodl.c: Likewise.
6821         * math/w_hypot.c: Likewise.
6822         * math/w_hypotf.c: Likewise.
6823         * math/w_hypotl.c: Likewise.
6824         * math/w_jnl.c: Likewise.
6825         * math/w_lgamma.c: Likewise.
6826         * math/w_lgamma_r.c: Likewise.
6827         * math/w_lgammaf.c: Likewise.
6828         * math/w_lgammaf_r.c: Likewise.
6829         * math/w_lgammal.c: Likewise.
6830         * math/w_lgammal_r.c: Likewise.
6831         * math/w_pow.c: Likewise.
6832         * math/w_powf.c: Likewise.
6833         * math/w_powl.c: Likewise.
6834         * math/w_remainder.c: Likewise.
6835         * math/w_remainderf.c: Likewise.
6836         * math/w_remainderl.c: Likewise.
6837         * math/w_scalb.c: Likewise.
6838         * math/w_scalbf.c: Likewise.
6839         * math/w_scalbl.c: Likewise.
6840         * math/w_scalbln.c: Likewise.
6841         * math/w_scalblnf.c: Likewise.
6842         * math/w_scalblnl.c: Likewise.
6843         * math/w_sinh.c: Likewise.
6844         * math/w_sinhf.c: Likewise.
6845         * math/w_sinhl.c: Likewise.
6846         * math/w_tgamma.c: Likewise.
6847         * math/w_tgammaf.c: Likewise.
6848         * math/w_tgammal.c: Likewise.
6849         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6850         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6851         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6852         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6853         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6854         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6855         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6856         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6857         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6858         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6859         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6860         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6861         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6862         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6863         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6864         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6865         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6866         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6867         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6868         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6869         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6870         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6871         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6872         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6873         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6874         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6875         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6876         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6877         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6878         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6879         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6880         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6881         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6882         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6883         * stdio-common/printf_fp.c: Likewise.
6884         * stdio-common/printf_fphex.c: Likewise.
6885         * stdio-common/printf_size.c: Likewise.
6887 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
6889         [BZ #18470]
6890         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6891         strnlen.
6892         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6893         Remove variable.
6894         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6895         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6896         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6897         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6898         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6899         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6900         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6901         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6902         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6903         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6905         [BZ #18468]
6906         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6907         weak alias of __wmemchr.  Use libc_hidden_weak.
6908         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
6909         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6910         instead of wmemchr.
6912 2015-06-02  Roland McGrath  <roland@hack.frob.com>
6914         [BZ #18383]
6915         * elf/tst-tlsalign-extern.c: New file.
6916         * elf/tst-tlsalign-extern-static.c: New file.
6917         * elf/tst-tlsalign-vars.c: New file.
6918         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6919         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6920         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6921         ($(objpfx)tst-tlsalign-extern-static): Likewise.
6922         (test-xfail-tst-tlsalign-extern-static): New variable.
6924 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
6926         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6927         Use variable name _sc_err instead of err.
6928         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6929         instead of ret.
6930         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6931         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6932         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6933         (INLINE_SYSCALL): Likewise.
6935         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6936         * include/string.h (__strnlen): Use libc_hidden_proto.
6937         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6938         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6939         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6940         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6941         (libc_hidden_def): Undefine and redefine.
6942         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6943         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6944         __GI_strnlen.
6945         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6946         libc_hidden_def.
6947         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6949         [BZ #18469]
6950         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6951         weak alias of __towlower.  Use libc_hidden_weak.
6952         (towupper): Rename to __towupper and define as weak alias of
6953         __towupper.  Use libc_hidden_weak.
6954         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
6955         (__towupper): Likewise.
6956         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6957         __towlower instead of towlower.
6959 2015-06-02  Roland McGrath  <roland@hack.frob.com>
6961         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6962         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6964 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6966         * sysdeps/aarch64/libm-test-ulps: Update.
6968 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6970         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6971         Define.
6972         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6974         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6975         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6976         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6977         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6978         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6980 2015-06-01  Martin Sebor  <msebor@redhat.com>
6982         [BZ #18116]
6983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6984         (__setcontext): Use extended four-operand version of mtsf whenever
6985         possible.
6986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6987         (__novec_swapcontext): Likewise.
6989 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6991         * benchtests/scripts/compare_bench.py: New file.
6992         * benchtests/scripts/import_bench.py (mean): New function.
6993         (split_list): Likewise.
6994         (do_for_all_timings): Likewise.
6995         (compress_timings): Likewise.
6997         * benchtests/scripts/import_bench.py: New file.
6998         * benchtests/scripts/validate_benchout.py: Import import_bench
6999         instead of jsonschema.
7000         (validate_bench): Remove function.
7001         (main): Use import_bench.
7003 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
7005         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
7006         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
7008 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7012 2015-05-28  Roland McGrath  <roland@hack.frob.com>
7014         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
7015         set THREAD_SELF->tid to a magic value and futex-wake it.
7016         Pass its address to the thread_exit system call.
7017         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
7018         bit is clear.
7019         * sysdeps/nacl/lowlevellock.h: New file.
7020         * sysdeps/nacl/lll_timedwait_tid.c: New file.
7022         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
7023         Add TIMEOUT to current time, don't subtract it.
7025 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
7027         [BZ #2981]
7028         [BZ #18422]
7029         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
7030         ($(objpfx)tst-audit2.out): Also depend on
7031         $(objpfx)tst-auditmod9b.so.
7032         * elf/tst-audit2.c: Include <dlfcn.h>.
7033         (calloc_called): New.
7034         (calloc): Allow to be called more than once.
7035         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
7037 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
7039         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
7040         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
7042 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
7044         * stdlib/monetary.h: Fix comment.
7046 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
7048         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
7049         Avoid using variables in #defines that might cause shadowing.
7050         (INTERNAL_VSYSCALL_CALL): Likewise.
7052 2015-05-26  Roland McGrath  <roland@hack.frob.com>
7054         * sysdeps/nacl/lll_timedlock_wait.c: New file.
7056         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
7057         * nptl/lll_timedlock_wait.c: ... to this new file.
7058         * nptl/Makefile (libpthread-routines): Add it.
7059         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
7060         * nptl/lll_timedwait_tid.c: ... to this new file.
7061         * nptl/Makefile (libpthread-routines): Add it.
7062         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
7063         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
7064         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
7065         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
7066         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
7067         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
7068         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
7069         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
7070         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
7071         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
7073 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7075         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
7076         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7077         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7078         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7079         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7080         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7081         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7083         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7084         * sysdeps/unix/sysv/linux/tile/sysdep.h
7085         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7086         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
7087         using vDSO syscall macro.
7089 2015-05-26  Andriy Rysin  <arysin@gmail.com>
7091         [BZ #17293]
7092         * uk_UA: Fix sorting order for Ukrainian locale
7094 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
7096         * stdlib/monetary.h: Fix comment.
7098 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7100         [BZ #18234]
7101         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
7102         st_mtim and st_ctim members.
7103         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
7104         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
7105         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
7106         (struct stat64): Likewise.
7107         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
7108         (struct stat64): Likewise.
7109         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
7110         (struct stat64): Likewise.
7112 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7114         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
7115         Define and include sysdep-vdso.h.
7116         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
7117         Likewise.
7118         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
7119         Likewise.
7120         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
7121         Define with VDSO_SYMBOL and use PTR_MANGLE.
7122         (__vdso_clock_gettime): Likewise.
7123         (__vdso_clock_getres): Likewise.
7124         (_libc_vdso_platform_setup): Likewise.
7125         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7126         Likewise.
7127         (_libc_vdso_platform_setup): Likewise.
7128         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7129         Likewise.
7130         (__vdso_clock_gettime): Likewise.
7131         (__vdso_clock_getres): Likewise.
7132         (__vdso_get_tbfreq): Likewise.
7133         (__vdso_getcpu): Likewise.
7134         (__vdso_time): Likewise.
7135         (__vdso_sigtramp_rt64): Likewise.
7136         (__vdso_signtramp32): Likewise.
7137         (__vdso_sigtramp_rt32): Likewise.
7138         (_libc_vdso_platform_setup): Likewise.
7139         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7140         Likewise.
7141         (__vdso_clock_gettime): Likewise.
7142         (__vdso_clock_getres): Likewise.
7143         (_libc_vdso_platform_setup): Likewise.
7144         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7145         Likewise.
7146         (__vdso_clock_gettime): Likewise.
7147         (_libc_vdso_platform_setup): Likewise.
7148         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7149         Likewise.
7150         (__vdso_getcpu): Likewise.
7151         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7152         Use VDSO_SYMBOL macro to define.
7153         (__vdso_clock_gettime): Likewise.
7154         (__vdso_clock_getres): Likewise.
7155         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7156         Likewise.
7157         (__vdso_clock_gettime): Likewise.
7158         (__vdso_clock_getres): Likewise.
7159         (__vdso_get_tbfreq): Likewise.
7160         (__vdso_getcpu): Likewise.
7161         (__vdso_time): Likewise.
7162         (__vdso_sigtramp_rt64): Likewise.
7163         (__vdso_signtramp32): Likewise.
7164         (__vdso_sigtramp_rt32): Likewise.
7165         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7166         Likewise.
7167         (__vdso_clock_gettime): Likewise.
7168         (__vdso_clock_getres): Likewise.
7169         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7170         Likewise.
7171         (__vdso_clock_gettime): Likewise.
7172         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7173         Likewise.
7174         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
7175         macro.
7176         (INTERNAL_VSYSCALL): Likewise.
7177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7178         Remove macro.
7179         (INTERNAL_VSYSCALL): Likewise.
7180         (INTERNAL_VSYSCALL_NCS): Likewise.
7181         (INTERNAL_VSYSCALL_CALL): New macro.
7182         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7183         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7184         Likewise.
7185         (INTERNAL_VSYSCALL): Likewise.
7186         (INTERNAL_VSYSCALL_NCS): Likewise.
7187         (INTERNAL_VSYSCALL_CALL): New macro.
7188         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7190         (INLINE_VSYSCALL): Remove macro.
7191         (INTERNAL_VSYSCALL): Remove macro.
7192         (INTERNAL_VSYSCALL_NCS): Remove macro.
7193         (INTERNAL_VSYSCALL_CALL): New macro.
7194         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7195         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7196         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7197         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7198         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7200         (INLINE_VSYSCALL): Remove macro.
7201         (INTERNAL_VSYSCALL): Likewise.
7202         (INTERNAL_VSYSCALL_NCS): Likewise.
7203         (INTERNAL_VSYSCALL_CALL): New macro.
7204         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7205         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7206         PTR_DEMANGLE on vDSO pointer.
7207         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7208         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7209         macro.
7210         (INTERNAL_SYSCALL): Likewise.
7211         (INTERNAL_VSYSCALL_NCS): Remove macro.
7212         (INTERNAL_VSYSCALL_CALL): New macro.
7213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7214         Remove macro.
7215         (INTERNAL_VSYSCALL): Likewise.
7216         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7217         sysdep-vdso.h instead of libc-vdso.h.
7218         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7219         definition.
7220         (INLINE_VSYSCALL): Likewise.
7221         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7222         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7223         definition.
7224         (INLINE_VSYSCALL): Likewise.
7225         (INTERNAL_VSYSCALL): Likewise.
7226         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7227         * sysdeps/unix/sysv/linux/timespec_get.c
7228         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7229         (timespec_get): Use ANSI prototype.
7230         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7231         and definition for Linux.
7233 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7235         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7236         * include/libc-symbols.h: libmvec_hidden_* macro series added.
7238 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7240         [BZ #2981]
7241         [BZ #18410]
7242         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7243         for missing DT_PLTRELSZ.
7245 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
7247         Remove obsolete aliases that broke 'locale -a'
7248         [BZ #18412]
7249         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7250         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7251         breaking some applications that use 'locale -a' output.
7252         Change the encoding of this file from Latin-1 to ASCII to avoid
7253         other potential problems with people grepping this file.
7255 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7257         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7258         -fasynchronous-unwind-tables.
7259         (CFLAGS-sendto.c): Likewise.
7260         (CFLAGS-sendmsg.c): Likewise.
7261         (CFLAGS-connect.c): Likewise.
7262         (CFLAGS-recvmsg.c): Likewise.
7263         (CFLAGS-recvfrom.c): Likewise.
7264         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7265         (SOCKETCALL): New macro: non-cancellable socketcall.
7266         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7267         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7268         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7269         * sysdeps/unix/sysv/linux/accept.c: New file.
7270         * sysdeps/unix/sysv/linux/bind.c: Likewise.
7271         * sysdeps/unix/sysv/linux/connect.c: Likewise.
7272         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7273         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7274         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7275         * sysdeps/unix/sysv/linux/listen.c: Likewise.
7276         * sysdeps/unix/sysv/linux/recv.c: Likewise.
7277         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7278         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7279         * sysdeps/unix/sysv/linux/send.c: Likewise.
7280         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7281         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7282         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7283         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7284         * sysdeps/unix/sysv/linux/socket.c: Likewise.
7285         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7286         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7287         prototype.
7288         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7289         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7290         instead of __internal_xxx function.
7291         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7292         prototype.
7293         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7294         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7295         instead of __internal_xxx function.
7296         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7297         prototype.
7298         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7299         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7300         instead of __internal_xxx function.
7301         * sysdeps/unix/sysv/linux/accept.S: Remove file.
7302         * sysdeps/unix/sysv/linux/bind.S: Likewise.
7303         * sysdeps/unix/sysv/linux/connect.S: Likewise.
7304         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7305         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7306         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7307         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7308         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7309         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7310         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7311         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7312         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7313         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7314         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7315         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7316         * sysdeps/unix/sysv/linux/listen.S: Likewise.
7317         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7318         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7319         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7320         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7323         * sysdeps/unix/sysv/linux/recv.S: Likewise.
7324         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7325         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7326         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7327         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7328         * sysdeps/unix/sysv/linux/send.S: Likewise.
7329         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7330         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7331         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7332         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7333         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7334         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7335         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7336         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7337         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7338         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7339         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7340         socketcall is implemented in GLIBC.
7342 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7344         * soft-fp/fmadf4.c: Include <libc-internal.h>.
7345         (__fma): Ignore uninitialized warnings around packing.
7346         * soft-fp/fmasf4.c: Include <libc-internal.h>.
7347         (__fmaf): Ignore uninitialized warnings around packing.
7348         * soft-fp/fmatf4.c: Include <libc-internal.h>.
7349         (__fmal): Ignore uninitialized warnings around packing.
7351         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7352         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7353         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7354         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7356         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7357         switch statement into default case.
7358         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7360         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7361         a conditional in forcing "inexact".
7362         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7363         Likewise.
7365 2015-05-22  Roland McGrath  <roland@hack.frob.com>
7367         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7368         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7369         for each INTERNAL_SYSCALL use.
7371 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7373         [BZ #438]
7374         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7375         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7376         variable.
7378         [BZ #18444]
7379         * string/basename.c (basename): Rename to __basename and define as
7380         weak alias of __basename.  Use libc_hidden_weak.
7381         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
7382         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7383         __basename instead of basename.
7384         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7385         Remove variable.
7386         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7388 2015-05-18  Florian Weimer  <fweimer@redhat.com>
7390         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7391         (_IO_JUMPS_FILE_plus): New.
7392         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7393         _IO_CAST_FIELD_ACCESS.
7394         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7395         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7396         * libio/freopen.c (freopen): Likewise.
7397         * libio/freopen64.c (freopen64): Likewise.
7398         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7399         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7400         * libio/iofwide.c (_IO_fwide): Likewise.
7401         * libio/memstream.c (open_memstream): Likewise.
7402         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7403         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7404         * libio/oldiopopen.c (_IO_old_popen): Likewise.
7406 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
7408         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7409         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7410         NADJ.
7411         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7412         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7413         NADJ.
7414         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7415         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7416         NADJ.
7418         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7419         (p == 4) case.
7421         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7422         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7423         Remove variable.
7424         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7425         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7426         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7428 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7430         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7431         Adjust jump table label generation macros.
7433 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7435         * stdio-common/vfprintf.c (vfprintf): Move local variables
7436         args_malloced, specs, specs_malloced, and the code after
7437         do_positional to the printf_positional function.
7438         (printf_positional): New function.
7440 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7442         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7443         function.
7444         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7445         STEP4_TABLE, process_arg): Move macro definitions
7446         out of the vfprintf function.  (Cosmetic change only.)
7448 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
7450         * benchtests/Makefile (stdio-common-bench): Define.
7451         (benchset): Add stdio-common-bench.
7452         * sprintf-inputs: New file.
7453         * sprintf-source.c: New file.
7455 2015-05-21  Andreas Schwab  <schwab@suse.de>
7457         [BZ #13028]
7458         [BZ #17053]
7459         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7460         of struct __res_state.
7461         * resolv/res_send.c (__libc_res_nsend): Likewise.
7462         (get_nsaddr): New function.
7463         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7464         statp directly.
7466 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
7468         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7469         -D_POSIX_C_SOURCE=199506L.
7471         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7473         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7474         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7475         Do not mention otherwise.
7476         [POSIX] (_XOPEN_VERSION): Do not expect.
7477         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7478         [POSIX] (_POSIX2_C_BIND): Likewise.
7479         [POSIX] (_POSIX2_VERSION): Likewise.
7480         [POSIX] (_XOPEN_XPG2): Likewise.
7481         [POSIX] (_XOPEN_XPG3): Likewise.
7482         [POSIX] (_XOPEN_XPG4): Likewise.
7483         [POSIX] (_XOPEN_UNIX): Likewise.
7484         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7485         [POSIX] (_POSIX_BARRIERS): Likewise.
7486         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7487         [POSIX] (_POSIX_CPUTIME): Likewise.
7488         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7489         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7490         [POSIX] (_POSIX_SHELL): Likewise.
7491         [POSIX] (_POSIX_SPAWN): Likewise.
7492         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7493         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7494         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7495         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7496         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7497         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7498         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7499         [POSIX] (_XBS5_LP64_OFF64): Likewise.
7500         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7501         [POSIX] (_POSIX_TIMEOUTS): Likewise.
7502         [POSIX] (_POSIX2_PBS): Likewise.
7503         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7504         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7505         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7506         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7507         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7508         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7509         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7510         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7511         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7512         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7513         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7514         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7515         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7516         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7517         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7518         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7519         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7520         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7521         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7522         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7523         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7524         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7525         [POSIX] (_SC_2_C_BIND): Likewise.
7526         [POSIX] (_SC_2_C_VERSION): Likewise.
7527         [POSIX] (_SC_2_PBS): Likewise.
7528         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7529         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7530         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7531         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7532         [POSIX] (_SC_2_PBS_TRACK): Likewise.
7533         [POSIX] (_SC_ATEXIT_MAX): Likewise.
7534         [POSIX] (_SC_BARRIERS): Likewise.
7535         [POSIX] (_SC_BASE): Likewise.
7536         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7537         [POSIX] (_SC_DEVICE_IO): Likewise.
7538         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7539         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7540         [POSIX] (_SC_FD_MGMT): Likewise.
7541         [POSIX] (_SC_FIFO): Likewise.
7542         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7543         [POSIX] (_SC_FILE_LOCKING): Likewise.
7544         [POSIX] (_SC_FILE_SYSTEM): Likewise.
7545         [POSIX] (_SC_IOV_MAX): Likewise.
7546         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7547         [POSIX] (_SC_NETWORKING): Likewise.
7548         [POSIX] (_SC_PAGE_SIZE): Likewise.
7549         [POSIX] (_SC_PASS_MAX): Likewise.
7550         [POSIX] (_SC_PIPE): Likewise.
7551         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7552         [POSIX] (_SC_REGEXP): Likewise.
7553         [POSIX] (_SC_SHELL): Likewise.
7554         [POSIX] (_SC_SIGNALS): Likewise.
7555         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7556         [POSIX] (_SC_SPIN_LOCKS): Likewise.
7557         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7558         [POSIX] (_SC_USER_GROUPS): Likewise.
7559         [POSIX] (_SC_USER_GROUPS_R): Likewise.
7560         [POSIX] (_SC_STREAMS): Likewise.
7561         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7562         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7563         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7564         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7565         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7566         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7567         [POSIX] (_PC_FILESIZEBITS): Likewise.
7568         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7569         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7570         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7571         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7572         [POSIX] (uid_t): Likewise.
7573         [POSIX] (gid_t): Likewise.
7574         [POSIX] (off_t): Likewise.
7575         [POSIX] (pid_t): Likewise.
7576         [POSIX] (cuserid): Allow.
7577         (_SC_2_CHAR_TERM): Require constant.
7578         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7579         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7580         variable.
7582 2015-05-20  Roland McGrath  <roland@hack.frob.com>
7584         * sysdeps/nacl/pthread-pids.h: New file.
7585         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7586         (create_thread): Use __nacl_get_tid to initialize PD->tid.
7588         * nptl/pthread-pids.h: New file.
7589         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7590         * nptl/nptl-init.c: Include <pthread-pids.h>.
7591         (__pthread_initialize_minimal_internal):
7592         Call __pthread_initialize_pids instead of set_tid_address syscall.
7594         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7595         * sysdeps/posix/usleep.c: ... here.
7597 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7599         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7600         call_pselect6 object.
7601         [$(subdir) = io]: Remove call_sync_file_range object.
7602         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7603         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7604         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7605         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7607 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
7609         * math/s_cproj.c: Add include "math_private.h".
7610         * math/s_cprojf.c: Likewise.
7611         * math/s_cprojl.c: Likewise.
7613 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
7615         [BZ #18244]
7616         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7617         high mantissa bit when testing whether P is a NaN.
7618         * math/libm-test.inc (remainder_test_data): Add more tests.
7619         (remquo_test_data): Likewise.
7621         [BZ #18049]
7622         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7623         below -32, return the argument, with underflow if subnormal.
7624         * math/auto-libm-test-in: Add more tests of atanh.
7625         * math/auto-libm-test-out: Regenerated.
7627 2015-05-19  Roland McGrath  <roland@hack.frob.com>
7629         [BZ #18434]
7630         * nptl/tst-sem15.c: New file.
7631         * nptl/Makefile (tests): Add it.
7632         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7633         s/<</>>/ to fix typo in EOVERFLOW check.
7634         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7636 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7638         * manual/strings.texi (envz_remove): Fix typo in safety
7639         annotations.
7641 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
7642             Steve Ellcey  <sellcey@imgtec.com>
7644         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7645         in order to avoid strict alias warnings.
7646         (iruserok_af): Ditto for ra.
7648 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
7650         [BZ #17581]
7651         * malloc/hooks.c
7652         (magicbyte): Convert to a function and avoid returning 0x01.
7653         (mem2mem_check): Avoid using a length byte equal to the magic byte.
7654         (mem2chunk_check): Fix unsigned comparisons to zero.
7655         Hoist defs of sz and magic.
7657 2015-05-19  Richard Henderson  <rth@redhat.com>
7659         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7661         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7663 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7665         [BZ #16159]
7666         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7667         * malloc/arena.c (arena_lock): Check if arena is corrupt.
7668         (reused_arena): Find a non-corrupt arena.
7669         (heap_trim): Pass arena to unlink.
7670         * malloc/hooks.c (malloc_check_get_size): Pass arena to
7671         malloc_printerr.
7672         (top_check): Likewise.
7673         (free_check): Likewise.
7674         (realloc_check): Likewise.
7675         * malloc/malloc.c (malloc_printerr): Add arena argument.
7676         (unlink): Likewise.
7677         (munmap_chunk): Adjust.
7678         (ARENA_CORRUPTION_BIT): New macro.
7679         (arena_is_corrupt): Likewise.
7680         (set_arena_corrupt): Likewise.
7681         (sysmalloc): Use mmap if there are no usable arenas.
7682         (_int_malloc): Likewise.
7683         (__libc_malloc): Don't fail if arena_get returns NULL.
7684         (_mid_memalign): Likewise.
7685         (__libc_calloc): Likewise.
7686         (__libc_realloc): Adjust for additional argument to
7687         malloc_printerr.
7688         (_int_free): Likewise.
7689         (malloc_consolidate): Likewise.
7690         (_int_realloc): Likewise.
7691         (_int_memalign): Don't touch corrupt arenas.
7692         * malloc/tst-malloc-backtrace.c: New test case.
7694         * Makefile (summarize-tests): Fix return value on success.
7696         * manual/string.texi (Envz Functions): Add envz_remove.
7698 2015-05-18  Roland McGrath  <roland@hack.frob.com>
7700         * sysdeps/posix/opendir.c: Include <stdbool.h>.
7701         (invalid_name): New function, broken out of ...
7702         (__opendirat): ... here.  Call it.
7703         (need_isdir_precheck): New function, broken out of ...
7704         (__opendirat): ... here.  Call it.
7705         Use __fxstatat64, not __xstatat64.
7706         (opendir_oflags): New function, broken out of ...
7707         (__opendirat): ... here.  Call it.
7708         (opendir_tail): New function, broken out of ...
7709         (__opendirat): ... here.  Call it.
7710         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7711         opendir_tail, rather than punting to __opendirat.
7712         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7714 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7716         * .gitignore: Ignore generated *.pyc.
7718 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
7720         * include/stdio.h: Define __need_wint_t.
7721         * test-skeleton.c: Avoid `for' loop initial declaration.
7722         * nptl/tst-initializers1.c: Use test-skeleton.c.
7724 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7726         [BZ #18418]
7727         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7729 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
7731         [BZ #16352]
7732         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7733         (__ieee754_atanh): Force underflow exception for results with
7734         small absolute value.
7735         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7736         (__ieee754_atanhf): Force underflow exception for results with
7737         small absolute value.
7738         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7739         (__ieee754_atanh): Force underflow exception for results with
7740         small absolute value.
7741         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7742         (__ieee754_atanhf): Force underflow exception for results with
7743         small absolute value.
7744         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7745         (__ieee754_atanhl): Force underflow exception for results with
7746         small absolute value.
7747         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7748         (__ieee754_atanhl): Force underflow exception for results with
7749         small absolute value.
7750         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7751         (__ieee754_atanhl): Force underflow exception for results with
7752         small absolute value.
7753         * math/auto-libm-test-in: Do not allow missing underflow
7754         exceptions from atanh.
7755         * math/auto-libm-test-out: Regenerated.
7757         [BZ #18221]
7758         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7759         2**-28 as threshold for returning x or +/- 1/x.
7760         * math/auto-libm-test-in: Add more tests of tan.
7761         * math/auto-libm-test-out: Regenerated.
7763         [BZ #18220]
7764         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7765         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7766         * math/auto-libm-test-in: Add another test of lgamma.
7767         * math/auto-libm-test-out: Regenerated.
7769 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
7771         * stdio-common/printf_fp.c (___printf_fp): Use abs.
7772         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
7773         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7774         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7775         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
7776         (ADD2A): Use fabs.  (SUB2A): Use fabs.
7777         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7778         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7779         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7780         (log1): Use fabs.  (my_log2): Use fabs.
7781         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7782         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7783         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7784         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7785         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7786         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
7787         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
7788         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
7789         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
7790         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7791         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7793 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
7795         [BZ #18217]
7796         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7797         as threshold for returning 1 - x.
7798         * math/auto-libm-test-in: Add more tests of erfc.
7799         * math/auto-libm-test-out: Regenerated.
7801 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
7803         [BZ #18196]
7804         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7805         threshold for large arguments.
7806         * math/auto-libm-test-in: Add another test of atan.
7807         * math/auto-libm-test-out: Regenerated.
7809         [BZ #16339]
7810         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7811         (__log1p): Force underflow exception for results with small
7812         absolute value.
7813         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7814         (__log1pf): Force underflow exception for results with small
7815         absolute value.
7816         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7817         (__log1p): Force underflow exception for results with small
7818         absolute value.
7819         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7820         (__log1pf): Force underflow exception for results with small
7821         absolute value.
7822         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7823         (__log1pl): Force underflow exception for results with small
7824         absolute value.
7825         * math/auto-libm-test-in: Do not allow missing underflow
7826         exceptions from log1p.
7827         * math/auto-libm-test-out: Regenerated.
7829 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
7830             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7832         [BZ #16704]
7833         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7835 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
7837         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7838         (libmvec): New variable.
7839         * configure.ac: Added option for mathvec build.
7840         * configure: Regenerated.
7841         * mathvec/Depend: New file.
7842         * mathvec/Makefile: New file.
7843         * shlib-versions: Added libmvec.
7844         * math/Makefile: Added rule for libm.so installation.
7846         * bits/math-vector.h: New file.
7847         * bits/libm-simd-decl-stubs.h: New header.
7848         * math/Makefile (headers): Added new header
7849         libm-simd-decl-stubs.h.
7850         * math/math.h (__MATHCALL_VEC): New macro.
7852         * math/gen-libm-have-vector-test.sh: Script generates series of macros
7853         for conditions in testing functions.
7854         * math/Makefile: Added call of libm-have-vector-test.sh.
7855         * math/libm-test.inc (HAVE_VECTOR): New macros.
7857         * math/libm-test.inc: START refactored.
7858         * math/test-double.c (TEST_MATHVEC): Add define.
7859         * math/test-float.c: Likewise.
7860         * math/test-idouble.c: Likewise.
7861         * math/test-ifloat.c: Likewise.
7862         * math/test-ildoubl.c: Likewise.
7863         * math/test-ldouble.c: Likewise.
7864         * sysdeps/generic/math-tests-arch.h
7865         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7866         architecture check.
7868         * math/test-double.c (FUNC_TEST): New macro.
7869         * math/test-float.c: Likewise.
7870         * math/test-idouble.c: Likewise.
7871         * math/test-ifloat.c: Likewise.
7872         * math/test-ildoubl.c: Likewise.
7873         * math/test-ldouble.c: Likewise.
7874         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7876 2015-05-13  Roland McGrath  <roland@hack.frob.com>
7878         * sysdeps/nacl/fdopendir.c: New file.
7880         * dirent/scandir-tail.c: New file.
7881         * dirent/scandir64-tail.c: New file.
7882         * dirent/Makefile (routines): Add them.
7883         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7884         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7885         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7886         [!SCANDIR] (SCANDIR_TAIL): New macro.
7887         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7888         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7889         (SCANDIRAT): Macro removed.
7890         (SCANDIR_TAIL): New macro.
7891         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7892         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7893         (SCANDIRAT): Just call __opendirat and __scandir_tail.
7894         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7895         (READDIR): Macro removed.
7896         (SCANDIR_TAIL): New macro.
7897         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7898         (SCANDIR_TAIL): New macro.
7900         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7901         * dirent/scandir-cancel.c: ... to this new file.
7902         * dirent/Makefile (routines): Add it.
7903         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7904         * sysdeps/unix/sysv/linux/i386/scandir64.c
7905         (SKIP_SCANDIR_CANCEL): Macro removed.
7906         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7908         * dirent/tst-scandir.c: New file.
7909         * dirent/tst-scandir64.c: New file.
7910         * dirent/Makefile (tests): Add them.
7912 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7914         [BZ #18409]
7915         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7917 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7919         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7920         list.
7922 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
7924         * benchtests/bench-strcoll.c: New benchmark.
7925         * benchtests/Makefile: Generate locales and run benchmark.
7926         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7927         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7928         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7929         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7930         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7931         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7932         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7933         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7934         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7935         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7936         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7937         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7938         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7939         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7940         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7941         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7942         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7943         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7944         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7945         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7946         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7947         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7948         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7949         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7951 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
7953         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7954         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7956 2015-05-12  Roland McGrath  <roland@hack.frob.com>
7958         * posix/uname-values.h: New file.
7959         * posix/uname.c: Include that instead of <config-name.h>.
7960         * sysdeps/nacl/uname-values.h: New file.
7961         * sysdeps/arm/nacl/uname-values.h: New file.
7963 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
7965         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7966         splitting into fields.
7968 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
7970         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7971         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7972         * locale/localeinfo.h: Add enum collation_encoding_type.
7973         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7974         * programs/ld-collate.c (collate_output): Add encoding type info.
7975         * string/strcoll_l.c (STRDIFF): New function.
7976         * (STRCOLL): Use STRDIFF to skip over equal prefix.
7977         * wcsmbs/wcscoll_l.c: Define STRDIFF.
7979 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
7981         [BZ #18397]
7982         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7983         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
7984         <fpu_control.h> instead of <math/fpu_control.c>.
7985         * sysdeps/mips/mips32/fpu/Makefile: New file.
7987 2015-05-11  Andreas Schwab  <schwab@suse.de>
7989         [BZ #18007]
7990         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7991         nss_endgrent.
7992         (_nss_compat_endgrent): Call nss_endgrent.
7993         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7994         nss_endpwent.
7995         (_nss_compat_endpwent): Call nss_endpwent.
7996         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7997         needent, call nss_setspent only if non-zero.
7998         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7999         (internal_endspent): Don't call nss_endspent.
8000         (_nss_compat_endspent): Call nss_endspent.
8001         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
8002         Remove.  All uses removed.
8003         (internal_setent): Remove parameter stayopen, add parameter
8004         stream.  Use it instead of global variable.
8005         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
8006         (internal_endent, internal_getent): Add parameter stream.  Use it
8007         instead of global variable.
8008         (CONCAT(_nss_files_end,ENTNAME))
8009         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
8010         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
8011         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
8012         uses removed.
8013         (internal_setent, internal_endent): Add parameter stream.  Use it
8014         instead of global variable.
8015         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
8016         stream.
8017         (get_next_alias): Add parameter stream.
8018         (_nss_files_getaliasent_r): Pass global stream.
8019         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
8020         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
8021         (_nss_files_gethostbyname4_r): Pass local stream to
8022         internal_setent, internal_getent and internal_endent.  Remove
8023         locking.
8025 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8027         * tst-strfmon1.c (tests): Update expected currency symbol.
8029 2015-05-08  Roland McGrath  <roland@hack.frob.com>
8031         * sysdeps/nacl/gethostname.c: New file.
8033 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
8035         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
8036         and sinh.
8037         * math/auto-libm-test-out: Regenerated.
8038         * sysdeps/i386/fpu/libm-test-ulps: Update.
8039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8041 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
8043         [BZ #18125]
8044         * stdlib/tst-setcontext3.c: New file.
8045         * stdlib/tst-setcontext3.sh: New file.
8046         * stdlib/Makefile (tests): Add tst-setcontext3.
8047         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
8048         to verify test program created output file.
8049         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
8050         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
8051         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
8052         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
8054 2015-05-06  Roland McGrath  <roland@hack.frob.com>
8056         [BZ #18383]
8057         * elf/tst-tlsalign.c: New file.
8058         * elf/tst-tlsalign-static.c: New file.
8059         * elf/tst-tlsalign-lib.c: New file.
8060         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
8061         (tests-static): Add tst-tlsalign-static.
8062         (modules-names): Add tst-tlsalign-lib.
8063         (test-xfail-tst-tlsalign): New variable.
8064         (test-xfail-tst-tlsalign-static): New variable.
8066         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
8067         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
8069 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
8071         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
8072         csqrt, erfc, sin and sincos.
8073         * math/auto-libm-test-out: Regenerated.
8074         * sysdeps/i386/fpu/libm-test-ulps: Update.
8075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8077 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8079         * sysdeps/aarch64/libm-test-ulps: Update.
8081 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
8083         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
8084         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
8085         * math/auto-libm-test-out: Regenerated.
8086         * sysdeps/i386/fpu/libm-test-ulps: Update.
8087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8089 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8091         [BZ #18265]
8092         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
8093         (wcsncpy): Likewise.
8095 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8097         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8098         Assume __ASSUME_FALLOCATE is always true.
8099         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8100         (__posix_fallocate64_l64): Likweise.
8101         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
8102         (posix_fallocate): Likewise.
8103         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
8104         (__posix_fallocate64_l64): Likewise.
8105         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8106         [!__ASSUME_FALLOCATE]: Add comment.
8108 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8110         * sysdeps/unix/sysv/linux/i386/Makefile
8111         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
8112         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
8113         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
8114         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8115         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8116         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
8117         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
8119 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
8121         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
8122         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
8123         tgamma.
8124         * math/auto-libm-test-out: Regenerated.
8125         * sysdeps/i386/fpu/libm-test-ulps: Update.
8126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8128 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8130         * math/auto-libm-test-in: Add more tests of tgamma.
8131         * math/auto-libm-test-out: Regenerated.
8132         * sysdeps/i386/fpu/libm-test-ulps: Update.
8133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8135         * math/auto-libm-test-in: Add more tests of tanh.
8136         * math/auto-libm-test-out: Regenerated.
8137         * sysdeps/i386/fpu/libm-test-ulps: Update.
8138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8140         * math/auto-libm-test-in: Add more tests of tan.
8141         * math/auto-libm-test-out: Regenerated.
8142         * sysdeps/i386/fpu/libm-test-ulps: Update.
8143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8145         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8146         * math/auto-libm-test-out: Regenerated.
8147         * sysdeps/i386/fpu/libm-test-ulps: Update.
8148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8150         * math/auto-libm-test-in: Add another test of pow.
8151         * math/auto-libm-test-out: Regenerated.
8152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8154         * math/auto-libm-test-in: Add more tests of lgamma.
8155         * math/auto-libm-test-out: Regenerated.
8156         * sysdeps/i386/fpu/libm-test-ulps: Update.
8157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8159         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8160         log1p.
8161         * math/auto-libm-test-out: Regenerated.
8162         * sysdeps/i386/fpu/libm-test-ulps: Update.
8163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8165 2015-05-01  Mark Wielaard  <mjw@redhat.com>
8167         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8168         Elf64_Chdr structs and ELFCOMPRESS constants.
8170 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8172         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8173         expm1.
8174         * math/auto-libm-test-out: Regenerated.
8175         * sysdeps/i386/fpu/libm-test-ulps: Update.
8176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8178         * math/auto-libm-test-in: Add more tests of erf and erfc.
8179         * math/auto-libm-test-out: Regenerated.
8180         * sysdeps/i386/fpu/libm-test-ulps: Update.
8181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8183 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8185         * config.h.in (HAVE_AARCH64_BE): Add.
8187 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
8189         * math/auto-libm-test-in: Add more tests of csqrt.
8190         * math/auto-libm-test-out: Regenerated.
8191         * sysdeps/i386/fpu/libm-test-ulps: Update.
8192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8194         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8195         * math/auto-libm-test-out: Regenerated.
8196         * sysdeps/i386/fpu/libm-test-ulps: Update.
8197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8199         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8201 2015-04-29  Roland McGrath  <roland@hack.frob.com>
8203         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8204         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8206         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8207         (euidaccess, eaccess): Define as weak aliases.
8209         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8210         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
8211         but __suseconds_t is often 'long int' so some sources assume that
8212         type is being used (e.g. they use %ld to print tv_usec).
8214 2015-04-29  Florian Weimer  <fweimer@redhat.com>
8216         [BZ #18007]
8217         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8218         (CVE-2014-8121)
8219         * nss/tst-nss-getpwent.c: New file.
8220         * nss/Makefile (tests): Add new test.
8222 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
8224         [BZ #18346]
8225         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8226         exponents less than 48 as cases where high part of mantissa needs
8227         examining to determine whether argument is integral.
8228         * math/libm-test.inc (round_test_data): Add more tests.
8230 2015-04-28  Mark Wielaard  <mjw@redhat.com>
8232         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8234 2015-04-27  David S. Miller  <davem@davemloft.net>
8236         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8237         __tls_get_addr.
8238         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8240 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
8242         [BZ#18333]
8243         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8245 2015-04-27  Florian Weimer  <fweimer@redhat.com>
8247         [BZ#18333]
8248         * time/tzset.c (parse_tzname): Return error on memory allocation
8249         failure.
8250         * test-skeleton.c (struct temp_name_list): Change type of name
8251         member to non-const.
8252         (add_temp_file): Create a copy of the file name.
8253         (delete_temp_files): Deallocate memory.
8254         (create_temp_file): Add comment.
8256 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8258         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8259         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8261 2015-04-24  Roland McGrath  <roland@hack.frob.com>
8263         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8264         * sysdeps/arm/configure: Regenerated.
8266 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8268         [BZ #17715]
8269         * time/tzfile.c (__tzfile_read): Check for large values of
8270         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
8271         * time/tzset.c (__tzstring_len): New function, based on the old
8272         __tzstring function.
8273         (__tzstring): Call __tzstring_len.
8274         (parse_tzname): New helper function extracted from
8275         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
8276         the input string.
8277         (parse_offset): New helper function extracted from
8278         __tzset_parse_tz.  Replace switch with fallthrough with
8279         initialization before sscanf.
8280         (parse_rule): Likewise.
8281         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
8282         new-style function definition.
8283         * timezone/Makefile (tests): Add tst-tzset.
8284         (tst-tzset.out): Dependencies on time zone files.
8285         (tst-tzset-ENV): Set TZDIR.
8286         (testdata/XT%): Copy crafted time zone files.
8287         * timezone/README: Mention crafted time zone files.
8288         * timezone/testdata/XT1, timezone/testdata/XT2,
8289         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8290         files.
8291         * timezone/tst-tzset.c: New test.
8293 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8295         * Makeconfig (+gccwarn): Remove -Winline.
8297 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8299         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8301 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8303         * NEWS: Mention sysconf() cache information support for s390.
8304         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8306 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
8308         * math/k_casinh.c (__kernel_casinh): Use __copysign.
8309         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8310         (__nearbyint): Likewise.
8311         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8312         (copysignl): Likewise.
8314 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
8316         [BZ #18287]
8317         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8318         based on padding.  (CVE-2015-1781)
8320 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8322         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8323         libc-vdso.h.
8324         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8325         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8326         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8327         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8328         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8329         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8330         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8331         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8332         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8333         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8334         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8335         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8336         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8337         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8338         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8339         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8340         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8341         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8342         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8343         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8344         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8345         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8346         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8348 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
8350         * stdlib/setenv.c (__add_to_environ):
8351         Dump core quickly if setenv (..., NULL, ...) is called.
8352         This time, do it the right way, and pacify GCC with a pragma.
8354 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8356         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8357         IMAP->l_prev cannot be null, and #if out the code for the contrary
8358         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8359         believe that NS (&_dl_ns[NSID]) could point outside the array.
8361         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8362         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8363         before using NSID as an index.
8365 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
8367         [BZ #17825]
8368         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8369         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8370         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8372 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8374         Add preliminary port to Google Native Client on ARM.
8375         * abi-tags (.*-.*-nacl.*): New entry.
8376         * sysdeps/arm/nacl: New directory.
8377         * sysdeps/nacl: New directory.
8379 2015-04-16  David S. Miller  <davem@davemloft.net>
8381         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8382         lowlevellock-futex.h
8384 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
8386         * sysdeps/tile/configure.ac: New file.
8387         * sysdeps/tile/configure: Regenerated.
8389 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8391         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
8392         conditionals for weak_alias and libc_hidden_weak.
8393         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8394         libc_hidden_weak and weak_alias.
8395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8396         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8397         and weak_alias for static one.
8399 2015-04-15  David S. Miller  <davem@davemloft.net>
8401         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8403 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8405         [BZ #18206]
8406         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8407           Use signed comparision instead of substraction to avoid
8408           overflow bug.
8409         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8410           Take the sign of ret.
8411         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8412           Do not expect precise return values. Only the sign matters.
8413         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8414         * wcsmbs/test-wcsncmp.c: New File.
8415         * string/test-strncmp.c: Add wcsncmp support.
8417 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8419         [BZ #6792]
8420         * math/w_log1p.c: New file.
8421         * math/w_log1pf.c: Likewise.
8422         * math/w_log1pl.c: Likewise.
8423         * math/Makefile (libm-calls): Add w_log1p.
8424         * math/s_log1pl.c (log1pl): Remove weak_alias.
8425         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8426         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8427         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8428         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8429         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8430         [NO_LONG_DOUBLE] (log1pl): Likewise.
8431         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8432         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8433         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8434         (log1p): Remove long_double_symbol.
8435         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8436         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8437         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8438         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8439         remove weak_alias for corresponding log1p function.
8440         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8441         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8442         * sysdeps/ia64/fpu/w_log1p.c: New file.
8443         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8444         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8445         * math/libm-test.inc (log1p_test_data): Add errno expectations.
8447 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
8449         [BZ #18247]
8450         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8451         decimal exponent by 1.
8452         * stdlib/tst-strtod-round-data: Add more tests.
8453         * stdlib/tst-strtod-round.c (tests): Regenerated.
8455 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
8457         * math/auto-libm-test-in: Add more tests of clog and clog10.
8458         * math/auto-libm-test-out: Regenerated.
8459         * sysdeps/i386/fpu/libm-test-ulps: Update.
8460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8462 2015-04-09  Roland McGrath  <roland@hack.frob.com>
8464         * Makeconfig (module-cppflags): Exclude all .v.i files.
8465         (skip-module-cppflags): Variable removed.
8467         * configure.ac (libc_config_ok): Initialize before reading
8468         preconfigure scripts, not after.
8469         * configure: Regenerated.
8471         * test-skeleton.c (TIMEOUT): Move #define to top level.
8472         (main): Grok environment variable TEST_DIRECT.  If set, print
8473         test expectation details into that file and then behave as if
8474         given --direct.
8476 2015-04-09  Florian Weimer  <fweimer@redhat.com>
8478         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8479         warning on 32-bit.
8481 2015-04-08  David S. Miller  <davem@davemloft.net>
8483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8485 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8487         * math/auto-libm-test-in: Add more tests of atanh.
8488         * math/auto-libm-test-out: Regenerated.
8489         * sysdeps/i386/fpu/libm-test-ulps: Update.
8490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8492         * math/auto-libm-test-in: Add more tests of atan.
8493         * math/auto-libm-test-out: Regenerated.
8494         * sysdeps/i386/fpu/libm-test-ulps: Update.
8495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8497 2015-04-08  Florian Weimer  <fweimer@redhat.com>
8499         * elf/pldd.c (main): Rewrite to use struct
8500         scratch_buffer instead of extend_alloca.
8501         * elf/pldd-xx.c (find_maps): Likewise.
8502         * grp/initgroups.c: Include <scratch_buffer.h> instead of
8503         <alloca.h>.
8504         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8505         scratch_buffer instead of extend_alloca.
8506         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8507         grp/compat-initgroups.c.
8508         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8509         Rewrite to use struct scratch_buffer instead of extend_alloca.
8510         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8511         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8513 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8515         * math/auto-libm-test-in: Add more tests of cbrt.
8516         * math/auto-libm-test-out: Regenerated.
8517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8519         * math/auto-libm-test-in: Add more tests of cabs.
8520         * math/auto-libm-test-out: Regenerated.
8521         * sysdeps/i386/fpu/libm-test-ulps: Update.
8522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8524         [BZ #18210]
8525         [BZ #18211]
8526         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8527         (__ieee754_atan2): Set FE_TONEAREST mode for internal
8528         computations.
8529         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8530         clog10.
8531         * math/auto-libm-test-out: Regenerated.
8532         * sysdeps/i386/fpu/libm-test-ulps: Update.
8533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8535         [BZ #18197]
8536         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8537         (atan): Set FE_TONEAREST mode for internal computations.
8538         * math/auto-libm-test-in: Add more tests of atan.
8539         * math/auto-libm-test-out: Regenerated.
8541 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
8543         [BZ #17930]
8544         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8546 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8548         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8550 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8552         * include/scratch_buffer.h: New file.
8553         * malloc/scratch_buffer_grow.c: Likewise.
8554         * malloc/scratch_buffer_grow_preserve.c: Likewise.
8555         * malloc/scratch_buffer_set_array_size.c: Likewise.
8556         * malloc/tst-scratch_buffer.c: Likewise.
8557         * malloc/Makefile (routines): Add scratch_buffer_grow.
8558         (tests): Add test case.
8559         * malloc/Versions (GLIBC_PRIVATE): Export
8560         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8561         __libc_scratch_buffer_set_array_size.
8563 2015-04-06  Richard Henderson  <rth@redhat.com>
8565         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8566         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8568         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8569         unsigned int before printing.
8571 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8573         [BZ #17596]
8574         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8575         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8577 2015-04-02  Florian Weimer  <fweimer@redhat.com>
8579         * include/libc-internal.h (libc_max_align_t): Define.
8581 2015-04-02  Andreas Schwab  <schwab@suse.de>
8583         [BZ #16850]
8584         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8586 2015-04-02  Mel Gorman  <mgorman@suse.de>
8588         [BZ #17195]
8589         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8590         as well as the main arena.
8592 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8594         [BZ #18185]
8595         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8596         sharing L2 cache to 2 for Silvermont/Knights Landing.
8598 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8600         [BZ #17711]
8601         * config.make.in (have-protected-data): New.
8602         * configure.ac: Check linker support for protected data symbol.
8603         * configure: Regenerated.
8604         * elf/Makefile (modules-names): Add tst-protected1moda and
8605         tst-protected1modb if $(have-protected-data) is yes.
8606         (tests): Add tst-protected1a and tst-protected1b if
8607         $(have-protected-data) is yes.
8608         ($(objpfx)tst-protected1a): New.
8609         ($(objpfx)tst-protected1b): Likewise.
8610         (tst-protected1modb.so-no-z-defs): Likewise.
8611         * elf/tst-protected1a.c: New file.
8612         * elf/tst-protected1b.c: Likewise.
8613         * elf/tst-protected1mod.h: Likewise.
8614         * elf/tst-protected1moda.c: Likewise.
8615         * elf/tst-protected1modb.c: Likewise.
8617 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8619         [BZ #17711]
8620         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8621         indicates it is called from do_lookup_x on relocation against
8622         protected data, skip the data definion in the executable from
8623         copy reloc.
8624         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8625         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8626         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8627         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8628         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8629         otherwise to 0.
8630         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8631         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8632         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8633         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8634         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8635         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8637 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
8639         * sysdeps/nptl/pthread.h: Remove duplicate definition of
8640         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8642 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
8644         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8645         THREAD_SETMEM_NC.
8646         * sysdeps/x86_64/nptl/tls.h: Ditto.
8648 2015-03-27  Roland McGrath  <roland@hack.frob.com>
8650         * dlfcn/tststatic.c (main): Converted to ...
8651         (do_test): ... this.
8652         (TEST_FUNCTION): New macro.
8653         Include test-skeleton.c.
8655 2015-03-26  Alan Modra  <amodra@gmail.com>
8657         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8658         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
8659         zero for undefined weak.
8660         (elf_machine_plt_conflict): Similarly.
8662 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8664         * math/auto-libm-test-in: Add more tests of acosh, asinh and
8665         atanh.
8666         * math/auto-libm-test-out: Regenerated.
8667         * sysdeps/i386/fpu/libm-test-ulps: Update.
8668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8670         * math/auto-libm-test-in: Add another test of asin.
8671         * math/auto-libm-test-out: Regenerated.
8672         * sysdeps/i386/fpu/libm-test-ulps: Update.
8673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8675         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8676         Remove macro.
8677         (LLL_EBX_REG): Likewise.
8678         (LLL_ENTER_KERNEL): Likewise.
8680         * math/auto-libm-test-in: Add more tests of asin.
8681         * math/auto-libm-test-out: Regenerated.
8682         * sysdeps/i386/fpu/libm-test-ulps: Update.
8683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8685         [BZ #18138]
8686         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8687         libc_do_syscall_args): New structure.
8688         (INTERNAL_SYSCALL_MAIN_0): New macro.
8689         (INTERNAL_SYSCALL_MAIN_1): Likewise.
8690         (INTERNAL_SYSCALL_MAIN_2): Likewise.
8691         (INTERNAL_SYSCALL_MAIN_3): Likewise.
8692         (INTERNAL_SYSCALL_MAIN_4): Likewise.
8693         (INTERNAL_SYSCALL_MAIN_5): Likewise.
8694         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
8695         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8696         Replace conditional definitions by conditional definitions of ....
8697         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
8698         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8699         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8700         (libpthread-sysdep_routines): Add libc-do-syscall.
8701         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8702         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8703         to __NR_futex not 240.
8705 2015-03-25  Alan Modra  <amodra@gmail.com>
8707         * NEWS: Advertise TLS optimization.
8708         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8709         (DT_PPC_NUM): Increment.
8710         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8711         (CHECK_STATIC_TLS): Use here.
8712         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8713         TLS descriptors.
8714         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8715         * sysdeps/powerpc/dl-tls.c: New file.
8716         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8717         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8718         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8719         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8724 2015-03-25  Alan Modra  <amodra@gmail.com>
8726         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8727         for overlapping .opd entries" to "support...".
8728         * sysdeps/powerpc/powerpc64/configure: Regenerate
8730 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8732         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
8738         * math/auto-libm-test-out: Regenerated.
8739         * sysdeps/i386/fpu/libm-test-ulps: Update.
8740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8742 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
8744         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8745         * math/auto-libm-test-out: Regenerated.
8746         * sysdeps/i386/fpu/libm-test-ulps: Update.
8747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8749         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8752         * math/auto-libm-test-in: Add more tests of log2.
8753         * math/auto-libm-test-out: Regenerated.
8754         * sysdeps/i386/fpu/libm-test-ulps: Update.
8755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8757 2015-03-23  Roland McGrath  <roland@hack.frob.com>
8759         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8760         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
8761         _IO_IS_APPENDING bit in READ_WRITE instead.
8763 2015-03-23  Florian Weimer  <fweimer@redhat.com>
8765         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8766         (__determine_cpumask_size): Replace extend_alloca with a
8767         variable-length array.  Do not treat res == 0 as an error.
8769 2015-03-23  Florian Weimer  <fweimer@redhat.com>
8771         [BZ #18100]
8772         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8773         and integer overflow.
8774         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8775         (main): Add integer overflow tests.
8776         * manual/pattern.texi (Calling Wordexp): Document additional use
8777         for WRDE_SYNTAX.
8779 2015-03-23  Alan Modra  <amodra@gmail.com>
8781         * config.h.in: Remove HAVE_ASM_PPC_REL16.
8782         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8783         and false branch of conditional.
8784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8785         Likewise.
8787 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
8789         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8790         libc-modules.h
8791         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8792         unused declaration of _hurd_intr_rpc_msg_in_trap.
8793         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8794         defined instead of whether it is non-zero.
8795         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8796         input constraint instead of both input and output constraint.  Use ecx
8797         clobber instead of %ecx.
8798         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8799         mutex_unlock): Use a statement expression instead of an expression list.
8800         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8801         type to vm_size_t instead of vm_address_t.
8802         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8803         defined instead of whether it is non-zero.
8804         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8805         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8806         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8807         comparisons with mapaddr.
8808         * nscd/nscd-client.h: Include <time.h>.
8809         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8810         9th parameter to __vm_region instead of int.
8811         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8812         * scripts/check-local-headers.sh (exclude): Add device/,
8813         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8814         cthreads.h.
8816 2015-03-19  Roland McGrath  <roland@hack.frob.com>
8818         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8819         to account for alignment padding.
8820         * sysdeps/arm/memmove.S: Likewise.
8822 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
8824         * sysdeps/unix/sysv/linux/generic/README: New file.
8826 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
8828         [BZ #18138]
8829         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8830         (futex_abstimed_wait)
8831         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8832         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8833         of lll_futex_timed_wait.
8835 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
8837         [BZ #17542]
8838         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8840 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
8842         [BZ #17090]
8843         [BZ #17620]
8844         [BZ #17621]
8845         [BZ #17628]
8846         * NEWS: Update.
8847         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8848         entries with Static TLS too.  Skip entries past the end of the
8849         allocated DTV, from Alan Modra.
8850         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
8851         Static TLS DTV entry set up from...
8852         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8853         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8854         * nptl/allocatestack.c (init_one_static_tls): ... and here...
8855         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8856         for Static TLS.
8857         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
8858         that the slot we find is associated with the given map before
8859         using its generation count.
8860         * nptl_db/db_info.c: Include ldsodefs.h.
8861         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8862         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8863         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8864         (link_map::l_tls_offset): New struct field.
8865         (dtv_t::counter): Likewise.
8866         (rtld_global): New struct.
8867         (_rtld_global): New rtld variable.
8868         (dl_tls_dtv_slotinfo_list): New rtld global field.
8869         (dtv_slotinfo_list): New struct.
8870         (dtv_slotinfo): Likewise.
8871         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8872         (td_lookup): Rename to...
8873         (td_mod_lookup): ... this.  Use new mod parameter instead of
8874         LIBPTHREAD_SO.
8875         * nptl_db/td_thr_tlsbase.c: Include link.h.
8876         (dtv_slotinfo_list, dtv_slotinfo): New functions.
8877         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
8878         addresses even if the DTV is out of date or missing them.
8879         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8880         index zero-length arrays.
8881         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8882         (td_lookup): Make it a macro implemented in terms of...
8883         (td_mod_lookup): ... this declaration.
8884         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8885         (DB_MAIN_VARIABLE): Likewise.
8887 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8889         [BZ #18134]
8890         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8892 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
8894         * stdlib/setenv.c (__add_to_environ): Revert previous change.
8896 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8898         [BZ #18128]
8899         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8900         (atomic_add, atomic_increment_and_test)
8901         (atomic_decrement_and_test): Fix 64-bit arithmetic.
8903 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
8905         * stdlib/setenv.c (__add_to_environ):
8906         Dump core quickly if setenv (..., NULL, ...) is called.
8908 2015-03-13  Roland McGrath  <roland@hack.frob.com>
8910         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8911         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8912         all the necessary asm magic in one place.
8913         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8914         using those.
8916 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
8918         [BZ #14906]
8919         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8920         traced file mtime. Use consistent log message.
8921         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8922         (register_traced_file): Call install_watches. Always set mtime.
8923         (invalidate_cache): Iterate over all trace files. Call install_watches.
8924         (inotify_check_files): Don't inline. Handle watching parent
8925         directories and configuration file movement in and out.
8926         (handle_inotify_events): New function.
8927         (main_loop_poll): Call handle_inotify_events.
8928         (main_loop_epoll): Likewise.
8929         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8930         (struct traced_file): Use array of inotify fds. Add parent directory,
8931         and basename.
8932         (struct database_dyn): Remove unused file_mtime.
8933         (init_traced_file): New inline function.
8934         (define_traced_file): New macro.
8935         * nss/nss_db/db-init.c: Use define_traced_file.
8936         (_nss_db_init): Use init_traced_file.
8937         * nss/nss_files/files-init.c: Use define_traced_file.
8938         (_nss_files_init): Use init_traced_file.
8940 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
8942         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8943         [_LIBC]: Do not include <stdlib.h>.
8944         [!_LIBC] (abort): Remove declaration.
8945         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8946         _FP_STATIC_ASSERT instead of conditionally calling abort.
8947         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8948         (_FP_EXTEND_CNAN): Likewise.
8949         (FP_TRUNC): Likewise.
8950         (__FP_CLZ): Likewise.
8951         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8953 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
8955         * manual/string.texi (XPG basename): Fix prototype.
8957 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8959         [BZ #18080]
8960         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8961         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8962         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8963         (__setcontext): Likewise.
8964         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8965         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8966         Call rt_sigprocmask syscall one time to set new signal mask
8967         and retrieve the current signal mask instead of two calls.
8968         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8969         (__swapcontext): Likewise.
8970         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8971         * stdlib/tst-setcontext2.c: New file.
8973 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8975         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8977 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
8979         [BZ #18093]
8980         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8981         the wrong size.
8983 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8985         [BZ #18043]
8986         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8988 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8990         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8991         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8992         Remove define.
8993         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8994         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8995         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8996         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8997         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8998         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8999         define.
9000         * nptl_db/td_symbol_list.c (td_lookup): Remove
9001         HAVE_ASM_GLOBAL_DOT_NAME code.
9002         * sysdeps/powerpc/powerpc64/configure.ac: Remove
9003         HAVE_ASM_GLOBAL_DOT_NAME check.
9004         * sysdeps/powerpc/powerpc64/configure: Regenerate.
9005         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
9006         (DOT_LABEL): Remove define.
9007         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
9008         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
9009         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
9010         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
9011         (__TLS_GET_ADDR): Likewise.
9012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
9013         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
9015 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
9017         [BZ #18111]
9018         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
9019         (_FPU_SETCW): Initialize cw from fpsr before storing.
9020         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
9021         (fesetexceptflag): Rewrite using fpu_control.h.
9022         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
9024 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
9026         [BZ #18110]
9027         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
9028         asms.
9029         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9031 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
9033         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
9034         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
9035         abort.
9036         (_FP_FMA): Likewise.
9037         (_FP_DIV): Likewise.
9039 2015-03-10  Roland McGrath  <roland@hack.frob.com>
9041         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
9042         with 0 in that case.
9043         * Makefile (summarize-tests): New canned sequence, factored out of
9044         commands for targets tests and xtests.  Display summary lines that
9045         don't start with PASS: or XFAIL: rather than ones that do start with
9046         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
9047         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
9048         do start with ERROR: or FAIL:.
9049         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
9050         (except for [$(build-shared) = yes]).
9051         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
9052         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
9053         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
9054         * nptl/Makefile: Revert 2015-03-04 changes.
9055         [$(CXX) empty] (tests-unsupported): New variable.
9056         * debug/Makefile: Likewise.
9058         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
9059         gnulib file.  Replace __attribute with __attribute__ throughout.
9061 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
9063         * sysdeps/hppa/fpu/libm-test-ulps: Update.
9065 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9067         [BZ #18104]
9068         * math/auto-libm-test-in: Add another test of pow.
9069         * math/auto-libm-test-out: Regenerated.
9071 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9073         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
9074         $(config-cflags-nofma).
9076 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9078         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
9079         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
9080         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
9081         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
9082         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
9083         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
9084         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
9085         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
9086         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
9087         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
9088         Add comment on closing #endif.
9090 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9092         * posix/wordexp.c (CHAR_IN_SET): New macro.
9093         (parse_param): Use it.
9095 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9097         * sysdeps/powerpc/fpu/libm-test-ulps: update.
9099 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9101         [BZ #18043]
9102         * posix/wordexp.c (parse_param): Fix buffer overflow.
9103         * posix/wordexp-test.c (test_case): Add test case.
9105 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9107         [BZ #18042]
9108         * posix/wordexp.c (parse_backtick): Fix off-by-one.
9109         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
9111 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9113         [BZ #18043]
9114         * posix/wordexp-test.c (test_case): Add test for BZ #18043
9115         (do_bz18043): Delete.
9116         (at_page_end): New.
9117         (testit): Refactor to have words at the edge of unreadable page.
9119 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9121         [BZ #16734]
9122         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
9123         Cleanup read-only streams as well.
9124         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9126 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9128         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9129         <bits/libc-lockP.h>
9131 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
9133         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
9134         on [__KERNEL__].
9135         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9136         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9137         * soft-fp/op-common.h (_FP_DECL): Likewise.
9139 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9141         * elf/ifuncdep2.c (global): Replace
9142         __attribute__((visibility("protected"))) with
9143         asm (".protected global").
9144         * elf/ifuncmod1.c (global): Likewise.
9145         * elf/ifuncmod5.c (global): Likewise.
9147 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
9149         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9150         <asm/sfp-machine.h> instead of <sfp-machine.h>.
9152 2015-03-06  Roland McGrath  <roland@hack.frob.com>
9154         * manual/install.texi (Configuring and compiling):
9155         Document test-wrapper-env-only.
9156         * INSTALL: Regenerated.
9158 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9160         [BZ #18043]
9161         * posix/wordexp.c (parse_param): Fix buffer overflow.
9162         * posix/wordexp-test.c (do_bz18043): Add test case.
9164 2015-03-06  Vincent Bernat  <vincent@bernat.im>
9166         * time/tst-strptime2.c (do_test): Ensure failing tests are
9167         reported correctly.
9168         * time/tst-strptime3.c (do_test): Likewise.
9170 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
9172         Fix aio_error thread-safety.
9173         * sysdeps/pthread/aio_error.c: New file
9174         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9175         synchronization.
9177 2015-03-06  Florian Weimer  <fweimer@redhat.com>
9179         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9180         (group_number, vfprintf): Use it.
9181         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9182         (JUMP, REF): Use it.
9183         (WORK_BUFFER_SIZE): New enum constant.
9184         (process_arg, vfprintf): Use it.
9186 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
9188         * manual/errno.texi (Error Messages): Complete example function
9189         by adding missing #define.
9190         (program_invocation_name): Add statement indicating GNU
9191         extension and reference which header file declares the variable.
9192         (program_invocation_short_name): Likewise.
9194 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
9196         * manual/errno.texi (Error Messages): Delete strerror ISO C89
9197         compatibility note.
9199 2015-03-05  Roland McGrath  <roland@hack.frob.com>
9201         * Makeconfig (test-wrapper-env-only): New variable.
9202         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9203         then use that with $(test-wrapper-env-only) rather than using
9204         $(test-wrapper-env) $(run-program-env) $($*-ENV).
9206 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9208         [BZ #18082]
9209         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9210         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9211         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9212         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9213         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9214         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9215         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9216         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9217         Likewise.
9218         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9219         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9220         Likewise.
9221         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9222         Likewise.
9223         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9224         Likewise.
9225         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9226         Likewise.
9227         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9228         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9229         Likewise.
9230         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9231         Likewise.
9232         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9233         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9235 2015-03-04  Roland McGrath  <roland@hack.frob.com>
9237         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9238         (ETH_ALEN): New macro.
9239         (struct ether_addr): Use it for length of ether_addr_octet.
9241         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9242         (setdb): Don't call __nss_configure_lookup for "rpc".
9243         (do_test): Don't call test_rpc.
9244         (output_rpcent, test_rpc): Functions moved ...
9245         * sunrpc/test-rpcent.c: ... to this new file.
9246         * sunrpc/Makefile (tests): Add it.
9248         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9249         __xpg_sigpause.
9250         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9251         * nptl/tst-signal6.c: Likewise.
9252         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9253         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9255         * configure.ac (libc_cv_cxx_link_ok): New check.
9256         Reset CXX to empty if it fails to link.
9257         * configure: Regenerated.
9258         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9259         bug-atexit3-lib only if $(CXX) is nonempty.
9260         * nptl/Makefile (tests): Likewise for tst-cancel24.
9261         (tests, tests-static): Likewise for tst-cancel24-static.
9262         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9263         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9264         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9265         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9267 2015-03-04  Andreas Schwab  <schwab@suse.de>
9269         [BZ #17631]
9270         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9271         for non-GCC compilers.
9272         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9273         Likewise.
9275 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9277         [BZ #17776]
9278         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9279         integer before bitwise and assembly operations.
9280         (feclearexcept): Likewise.
9281         * math/test-fenvinline.c: New file.
9282         * math/Makefile: Add test-fenvinline test.
9284 2015-03-03  Alan Modra  <amodra@gmail.com>
9286         [BZ #16512]
9287         * scripts/localplt.awk: Strip off symbol version.
9288         * NEWS: Mention bug fix.
9290 2015-03-02  Roland McGrath  <roland@hack.frob.com>
9292         * sysdeps/pthread/timer_routines.c
9293         (timer_free_list, thread_free_list, thread_active_list): Make static.
9295 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
9297         [BZ #17779]
9298         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9299         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9300         Undefine.
9301         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9302         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9303         Likewise.
9304         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9305         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9306         Likewise.
9308 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
9310         [BZ #18036]
9311         * posix/fnmatch_loop.c (END): Detect invalid pattern.
9312         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9314 2015-03-02  Andreas Schwab  <schwab@suse.de>
9316         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9317         variable name.
9319 2015-03-02  Florian Weimer  <fweimer@redhat.com>
9321         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9322         Return error status.
9324 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
9326         [BZ #15969]
9327         * locale/findlocale.c (_nl_find_locale): Introduce const
9328         version of loc_name and drop unsafe type casts.
9330 2015-02-27  Roland McGrath  <roland@hack.frob.com>
9332         * dlfcn/tststatic2.c (main): Converted to ...
9333         (do_test): ... this.
9334         (TEST_FUNCTION): New macro.
9335         Include test-skeleton.c.
9337 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
9339         [BZ #17711]
9340         * elf/Makefile (tests): Add vismain only if PIE is enabled.
9341         (tests-pie): Add vismain.
9342         (CFLAGS-vismain.c): New.
9343         * elf/vismain.c: Add comments for PIE requirement.
9345 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9347         [BZ #18046]
9348         [BZ #18047]
9349         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9350         0x1p-56L as threshold for just returning the argument.
9351         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9352         0x1p-32L as threshold for just returning the argument.
9353         * math/auto-libm-test-in: Add more tests of atanh.
9354         * math/auto-libm-test-out: Regenerated.
9355         * sysdeps/i386/fpu/libm-test-ulps: Update.
9356         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9358 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9360         * string/bcopy.c (bcopy): Call memmove for performance.
9362 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9364         * string/bzero.c (__bzero): Call memset for performance.
9366 2015-02-27  John David Anglin  <dave.anglin@bell.net>
9368         [BZ #18068]
9369         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9370         to 00100000.
9372 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9374         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9376 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9378         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9379         (__kernel_standard): Use CSTR macro when setting exc.name.
9380         * sysdeps/ieee754/Makefile [$(subdir) = math]
9381         (CFLAGS-k_standard.c): Remove variable.
9383         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9384         setting p and q from "else if" to "else".
9385         (qzero): Likewise.
9386         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9387         (qone): Likewise.
9388         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9389         (qzerof): Likewise.
9390         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9391         (qonef): Likewise.
9392         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9393         (qzero): Likewise.
9394         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9395         (qone): Likewise.
9397         [BZ #18038]
9398         [BZ #18039]
9399         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9400         return pi/2 for arguments below 0x1p-113L.
9401         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9402         return pi/2 for arguments below 0x1p-106L.
9403         * math/auto-libm-test-in: Add more tests of acos.
9404         * math/auto-libm-test-out: Regenerated.
9406         [BZ #16351]
9407         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9408         (MO): New macro.
9409         (__ieee754_asin): Force underflow exception for results with small
9410         absolute value.
9411         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9412         (MO): New macro.
9413         (__ieee754_asinf): Force underflow exception for results with
9414         small absolute value.
9415         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9416         (__ieee754_asin): Force underflow exception for results with small
9417         absolute value.
9418         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9419         (__ieee754_asinf): Force underflow exception for results with
9420         small absolute value.
9421         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9422         (__ieee754_asinl): Force underflow exception for results with
9423         small absolute value.
9424         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9425         (__ieee754_asinl): Force underflow exception for results with
9426         small absolute value.
9427         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9428         (__ieee754_asinl): Force underflow exception for results with
9429         small absolute value.
9430         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9431         Include <math.h>.
9432         * math/auto-libm-test-in: Do not mark underflow exceptions as
9433         possibly missing for bug 16351.
9434         * math/auto-libm-test-out: Regenerated.
9436         [BZ #18030]
9437         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9438         of power of 2 down when low part has opposite sign.
9439         * math/libm-test.inc (logb_test_data): Add more tests.
9441 2015-02-26  Andreas Schwab  <schwab@suse.de>
9443         [BZ #18032]
9444         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9445         over collating symbol inside a bracket expression.  Minor cleanup.
9446         * posix/tst-fnmatch3.c (do_test): Add test case.
9448 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9450         [BZ #18029]
9451         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9452         Adjust exponent of power of 2 down when low part has opposite
9453         sign.
9454         * math/libm-test.inc (ilogb_test_data): Add more tests.
9456 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
9458         [BZ #15969]
9459         * locale/findlocale.c (_nl_find_locale): Fix constness error in
9460         the previous change.
9462         [BZ #15969]
9463         * locale/findlocale.c (_nl_find_locale): Retry archive search
9464         after alias expansion.
9466 2015-02-25  Roland McGrath  <roland@hack.frob.com>
9468         * iconv/tst-iconv3.c (main): Converted to ...
9469         (do_test): ... this.
9470         (TEST_FUNCTION): New macro.
9471         Include test-skeleton.c.
9473         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9474         (convert): Make function static.
9475         (test_unalign): Likewise.  Add const to argument pointee types.
9476         (main): Replace with static function do_test.
9477         Print "Succeeded." only if RET is zero.
9478         (TEST_FUNCTION): New macro.
9479         Include test-skeleton.c.
9481         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9482         returns a null pointer.
9484 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9486         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9487         to __memcpy_ppc only for static builds.
9489 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
9491         [BZ #18020]
9492         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9493         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9494         * math/auto-libm-test-in: Add more tests of asinh.
9495         * math/auto-libm-test-out: Regenerated.
9496         * sysdeps/i386/fpu/libm-test-ulps: Update.
9497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9499 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
9501         [BZ #15850]
9502         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9503         and ip6_mtuinfo definitions here.
9504         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9505         in this define too.  Update comment.
9507 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
9509         * elf/sprof.c (load_shobj): Tweak error message to match others.
9511 2015-02-24  Kevin Easton  <kevin@guarana.org>
9513         [BZ #16145] (partial fix)
9514         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9515         to reduce lock contention.
9517 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
9519         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9520         (struct timex): Update time comment.
9521         (ADJ_SETOFFSET): Define.
9523 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
9525         [BZ #18019]
9526         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9527         2**56 not 2**28 as threshold for log (2x) formula.
9528         * math/auto-libm-test-in: Add more tests of acosh.
9529         * math/auto-libm-test-out: Regenerated.
9530         * sysdeps/i386/fpu/libm-test-ulps: Update.
9531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9533 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
9535         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9536         parenthesis around the buf assignment.
9537         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9539 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
9541         [BZ #16783]
9542         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9543         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9544         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9545         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9546         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9547         * math/libm-test.inc (scalb_test_data): Add more tests.
9549 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9551         [BZ #17916]
9552         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9553         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9555 2015-02-24  Eric Rannaud  <e@nanocritical.com>
9557         [BZ #17523]
9558         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9559         * io/bits/fcntl2.h (open): Use it.
9560         (openat): Likewise.
9561         * io/open.c (__libc_open): Likewise.
9562         * io/open64.c (__libc_open64): Likewise.
9563         * io/open64_2.c (__open64_2): Likewise.
9564         * io/open_2.c (__open_2): Likewise.
9565         * io/openat.c (__openat): Likewise.
9566         * io/openat64.c (__openat64): Likewise.
9567         * io/openat64_2.c (__openat64_2): Likewise.
9568         * io/openat_2.c (__openat_2): Likewise.
9569         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9570         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9571         * sysdeps/posix/open64.c (__libc_open64): Likewise.
9572         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9573         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9574         (__open_nocancel): Likewise.
9575         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9576         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9577         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9579 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9581         [BZ #14841]
9582         * resolv/gethnamaddr.c (getanswer): Skip logging if
9583         RES_USE_DNSSEC is set.
9584         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9586 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
9588         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9590 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
9592         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9593         201304L, for Unicode 7.
9595 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
9597         [BZ #17836]
9598         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9599         shared library.  Add gmon-start.os otherwise.
9600         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9601         $(objpfx)gmon-start.os if builing shared library.
9602         ($(objpfx)g$(static-start-installed-name)): Likewise.
9604 2015-02-23  Andreas Schwab  <schwab@suse.de>
9606         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9608 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9610         [BZ #17269]
9611         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9612         (enlarge_userbuf): Likewise.
9614 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
9616         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9617         * math/atest-exp.c (TIMEOUT): Adjust to 200.
9618         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9619         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9621 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
9623         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9624         expression inside statement expression.
9626 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9628         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9629         <sysdeps/nptl/lowlevellock.h> and remove macros and
9630         functions that are now defined there.
9631         (SYS_futex): Remove.
9632         (lll_compare_and_swap): Remove.
9633         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9635 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
9637         [BZ #17999]
9638         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9639         instead of scandirat.
9640         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9641         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9642         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9643         __scandirat.
9644         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9645         (__scandirat): Declare.  Use libc_hidden_proto.
9646         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9647         Remove variable.
9648         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9650 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9652         [BZ #15319]
9653         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9654         (MO): New macro.
9655         (__ieee754_atan2): For results with small absolute value, force
9656         underflow exception and remove excess range and precision from
9657         return value.
9658         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9659         (MO): New macro.
9660         (__ieee754_atan2f): For results with small absolute value, force
9661         underflow exception and remove excess range and precision from
9662         return value.
9663         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9664         (MO): New macro.
9665         (__atan): For results with small absolute value, force underflow
9666         exception and remove excess range and precision from return value.
9667         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9668         (MO): New macro.
9669         (__atanf): For results with small absolute value, force underflow
9670         exception and remove excess range and precision from return value.
9671         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9672         <math.h>.
9673         (__ieee754_atan2): Force underflow exception for results with
9674         small absolute value.
9675         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9676         <math_private.h>.
9677         (atan): Force underflow exception for results with small absolute
9678         value.
9679         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9680         (__atanf): Force underflow exception for results with small
9681         absolute value.
9682         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9683         <math.h>.
9684         (__atanl): Force underflow exception for results with small
9685         absolute value.
9686         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9687         (__atanl): Force underflow exception for results with small
9688         absolute value.
9689         * sysdeps/x86/fpu/bits/mathinline.h
9690         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9691         (__ieee754_atan2): Only define inline for long double.
9692         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9693         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9694         * math/auto-libm-test-in: Do not mark underflow exceptions as
9695         possibly missing for bug 15319.  Add more tests of atan2.
9696         * math/auto-libm-test-out: Regenerated.
9697         * math/libm-test.inc (casin_test_data): Do not mark underflow
9698         exceptions as possibly missing for bug 15319.
9699         (casinh_test_data): Likewise.
9700         * sysdeps/i386/fpu/libm-test-ulps: Update.
9702 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
9704         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9705         * sysdeps/mips/bits/endian.h: Fix comments.
9707 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9709         [BZ #17996]
9710         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9711         (hdestroy_r): Likewise.
9712         (hsearch_r): Likewise.
9713         (__hcreate_r): Declare and use libc_hidden_proto.
9714         (__hdestroy_r): Likewise.
9715         (__hsearch_r): Likewise.
9716         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9717         (hcreate): Call __hcreate_r instead of hcreate_r.
9718         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9719         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9720         as weak alias of __hcreate_r.
9721         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9722         __hdestroy_r.
9723         (hsearch_r): Rename to __hsearch_r and define as weak alias of
9724         __hsearch_r.
9725         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9726         Remove variable.
9727         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9728         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9729         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9730         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9732 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9734         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9735         arena_lock into a single arena_get.
9737 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
9739         * dl-reloc.c: Inlucde libc-internal.h.
9740         (_dl_try_allocate_static_tls): Call ALIGN_UP.
9741         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9742         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9743         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9744         (grow_heap): Likewise.
9745         * malloc/malloc.c: Include libc-internal.h.
9746         (do_check_malloc): Call powerof2.
9747         (sysmalloc): Use pagesize. Call ALIGN_UP.
9748         (systrim): Use pagesize.
9749         (mremap_chunk): Use pagesize. Call ALIGN_UP.
9750         (__libc_valloc): Use pagesize.
9751         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9753 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
9755         [BZ #17991]
9756         * include/sys/resource.h (__getrlimit64): Declare.  Use
9757         libc_hidden_proto.
9758         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9759         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
9760         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9761         getrlimit64.
9762         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9763         __getrlimit64.
9764         [!getrlimit64] (getrlimit64): Define as weak alias of
9765         __getrlimit64.  Use libc_hidden_weak.
9766         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9767         using __getrlimit64 not __new_getrlimit64.
9768         (__GI_getrlimit64): Likewise.
9769         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9770         Likewise.
9771         (__GI_getrlimit64): Likewise.
9772         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9774         (getrlimit): Add __getrlimit64 alias.
9775         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9776         Likewise.
9777         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9778         Remove variable.
9779         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9780         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9782 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9784         * libio/fileops.c: Add missing sys/mman.h
9785         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9787 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
9789         * manual/math.texi (Errors in Math Functions): Clarify goals
9790         regarding inexact and underflow exceptions.
9792 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
9794         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9795         * sysdeps/mips/memset.S: Ditto.
9797 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
9799         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9801 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9803         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9804         (__v1longjmp): Remove versioned symbol.
9805         (__v1siglongjmp): Remove alias and versioned symbol.
9806         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9807         (__v2siglongjmp): Likewise.
9809 2015-02-16  Torvald Riegel  <triegel@redhat.com>
9811         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9813 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
9815         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9817 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
9819         [BZ #17987]
9820         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9821         zero result does not depend on the sign resulting from
9822         subtraction.
9823         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9824         Likewise.
9825         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9826         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9827         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9828         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9829         * math/libm-test.inc (remquo_test_data): Add more tests.
9831 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
9833         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9834         Problem reported by J William Piggott.
9836 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
9838         [BZ #17978]
9839         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9840         products 4 * y and 2 * y where those would overflow.
9841         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9842         Likewise.
9843         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9844         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9845         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9846         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9847         * math/libm-test.inc (remquo_test_data): Add more tests.
9849         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9851         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9852         [defined _COMPILING_NEWLIB].
9853         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9854         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9856         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9857         [!defined __mips_isa_rev || __mips_isa_rev < 6].
9859 2015-02-16  Torvald Riegel  <triegel@redhat.com>
9861         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9862         acquired.
9864 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
9866         [BZ #17792]
9867         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9868         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9869         HOST_STACK_END_ADDR): Likewise.
9871 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
9873         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9874         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9875         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9877 2015-02-13  Roland McGrath  <roland@hack.frob.com>
9879         * sysdeps/generic/c++-types.data: New file.
9880         * sysdeps/generic/ld.abilist: New file.
9881         * sysdeps/generic/libBrokenLocale.abilist: New file.
9882         * sysdeps/generic/libanl.abilist: New file.
9883         * sysdeps/generic/libc.abilist: New file.
9884         * sysdeps/generic/libcrypt.abilist: New file.
9885         * sysdeps/generic/libdl.abilist: New file.
9886         * sysdeps/generic/libm.abilist: New file.
9887         * sysdeps/generic/libpthread.abilist: New file.
9888         * sysdeps/generic/libresolv.abilist: New file.
9889         * sysdeps/generic/librt.abilist: New file.
9891 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
9893         [BZ #17569]
9894         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9895         Compute absolute value of x as modified by fmod, not original
9896         value of x.
9897         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9898         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
9899         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
9900         RUN_TEST_ffI_f1_mod8.
9901         (remquo_test_data): Add more tests.
9903 2015-02-13  Roland McGrath  <roland@hack.frob.com>
9905         * sysdeps/init_array/pt-crti.S: New file.
9907 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
9909         [BZ #17967]
9910         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9911         __builtin_fmaf instead of relying on contraction of a * b + c.
9913 2015-02-12  J William Piggott  <elseifthen@gmx.com>
9915         [BZ #17969]
9916         * manual/time.texi: correct the zoneinfo path in the TZ Variable
9917         node.
9919 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
9921         [BZ #17964]
9922         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9923         __builtin_fma instead of relying on contraction of a * b + c.
9925 2015-02-12  Roland McGrath  <roland@hack.frob.com>
9927         * Makeconfig (ASFLAGS): Add -Werror=undef.
9928         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9929         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9930         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9932         * Makeconfig (after-link): New variable.
9933         (+link-pie, +link-pie-tests): Use it.
9934         (+link-static, +link-static-tests): Likewise.
9935         (+link, +link-tests): Likewise.
9936         * Makerules (build-module, build-module-asneeded): Likewise.
9937         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9938         Likewise.
9939         * elf/Makefile ($(objpfx)ld.so): Likewise.
9941 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
9943         [BZ #17965]
9944         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9945         both struct timeval and struct timespec.
9947 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
9949         [BZ #16560]
9950         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9951         and redefine.
9952         (__ieee754_exp2l): Do not multiply small fractional parts by
9953         M_LN2l.
9954         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9955         small argument.
9956         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9957         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9958         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9959         * math/auto-libm-test-in: Add more tests of exp2.
9960         * math/auto-libm-test-out: Regenerated.
9962 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9964         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9965         unaligned path.
9967 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9969         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9970         little endian.
9972 2015-02-12  Andreas Schwab  <schwab@suse.de>
9974         [BZ #15790]
9975         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9976         Filter out elision flags from value returned in kind.
9977         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9978         * nptl/tst-pthread-mutexattr.c: New file.
9980 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9982         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9983         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9984         into gnu-gnu, and update comment to refer to abi-tags.
9986 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
9988         [BZ #15467]
9989         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9990         (__sincos): Set errno to EDOM for infinite argument.
9991         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9992         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9993         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9994         (__sincosl): Set errno to EDOM for infinite argument.
9995         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9996         (__sincosl): Set errno to EDOM for infinite argument.
9997         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9998         (__sincosl): Set errno to EDOM for infinite argument.
9999         * math/libm-test.inc (sincos_test_data): Test errno setting.
10001 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
10003         * string/strxfrm_l.c: Remove #define STRCMP.
10004         * string/strcoll_l.c: Remove #define STRLEN.
10005         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
10006         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
10008 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
10010         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
10011         * sysdeps/mips/mips32/sfp-machine.h: ... here.
10012         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
10013         * sysdeps/mips/mips64/Makefile: ... here.
10014         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
10015         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
10016         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
10017         * sysdeps/mips/mips64/sfp-machine.h: ... here.
10018         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
10019         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
10020         * sysdeps/mips/mips64/n64/Implies: Likewise.
10022 2015-02-10  Roland McGrath  <roland@hack.frob.com>
10024         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
10025         <sys/time.h>, <string.h>, and <errno.h>.
10026         (dest_offset, dest_address, value, zero): Remove unused variables.
10027         (ldouble): Remove typedef.
10028         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
10029         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
10030         1).  Fix code style.
10031         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
10032         (check): Function removed.
10033         (CHECK): New macro.
10034         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
10035         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
10036         Don't call set_sigaction_FP and remove_sigaction_FP here.
10037         (ldouble_test): Just use 'long double' as macro argument, no need for
10038         the 'ldouble' typedef.
10039         (do_test): Set up SIGFPE handler at start, using plain signal rather
10040         than sigaction.  Fix code style.
10042 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
10044         [BZ #17949]
10045         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
10046         jump label.
10048 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10050         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
10051         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10053         * sysdeps/powerpc/configure.ac: Remove file.
10054         * sysdeps/powerpc/configure: Likewise.
10056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10057         [sysdep_routines]: Remove wordcopy-power6 object.
10058         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10059         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
10060         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
10061         (__memmove_ppc32): Likewise.
10062         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
10063         file.
10064         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
10065         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
10066         Remove preprocessor.
10068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10069         [sysdep_routines]: Remove wide chars objects.
10070         [wcsmbs]: New rule for wide char objects.
10072         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10073         Remove wordcopy-power6 obejct.
10074         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
10075         Use local call for wordcopy and memcpy symbols.
10076         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
10077         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
10078         implementation for loader.
10079         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
10081         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10082         Remove wordcopy-power7 object.
10083         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
10084         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
10085         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
10086         (_wordcopy_fwd_dest_aligned): Likewise.
10087         (_wordcopy_bwd_aligned): Likewise.
10088         (_wordcopy_bwd_dest_aligned): Likewise.
10090         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
10091         Rewrite to call __memmove_ppc instead of include default
10092         implementation.
10094         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10095         Remove wide chars objects.
10096         [wcsmbs]: New rule for wide char objects.
10098 2015-02-09  Andreas Schwab  <schwab@suse.de>
10100         [BZ #17912]
10101         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10102         in terms of __O_DIRECTORY.
10104 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10106         * time/getdate.c: Include <stdbool.h>.
10107         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
10108         call PTR_MANGLE.
10109         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
10110         PTR_DEMANGLE.
10112 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
10114         Add ersatz _Static_assert on older C hosts
10115         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
10116         pre-C11 C platform that is not known to support _Static_assert.
10118 2015-02-07  Richard Braun  <rbraun@sceen.net>
10120         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
10121         sigstate.
10122         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
10124 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10126         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10127         priority against unexistent AIO_PRIO_DELTA_MAX.
10128         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10129         instead of int.
10130         * misc/fchflags.c (fchflags): Likewise.
10131         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10132         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10133         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10134         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10135         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10136         Declare macros.
10137         [__USE_MISC] (chflags, fchflags): Declare functions.
10138         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10139         EINVAL when nfds is greater than FD_SETSIZE.
10140         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10141         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10142         45.
10143         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10144         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10145         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10146         MACH_RCV_TIMED_OUT.
10147         * hurd/hurd/signal.h (_hurd_self_sigstate,
10148         _hurd_critical_section_lock, _hurd_critical_section_unlock):
10149         Explicit casts from void *.
10150         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10151         * abi-tags: Rename gnu-gnu os into gnu.
10153         [BZ #4719]
10154         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10155         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10156         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10157         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10158         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10159         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10161         [BZ #17944]
10162         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10163         duplicates ADDR->sun_path with sockaddr LEN limitation.
10164         * sysdeps/mach/hurd/connect.c: Include <string.h>
10165         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10166         * sysdeps/mach/hurd/sendmsg.c: Likewise.
10167         * sysdeps/mach/hurd/sendto.c: Likewise.
10168         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10169         implementing it by hand.
10171 2015-02-06  Roland McGrath  <roland@hack.frob.com>
10173         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10174         Use sfi_breg on ldr.
10175         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10176         Likewise.
10178         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10179         it's defined.
10180         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10181         Test SIGSETXID only if it's defined.
10183         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10185         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10186         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
10188         * nptl/tst-align2.c: Moved ...
10189         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10190         * nptl/Makefile (tests): Remove tst-align2.
10191         * sysdeps/unix/sysv/linux/Makefile
10192         [$(subdir) = nptl] (tests): Add tst-align-clone.
10193         * nptl/tst-getpid1.c: Moved ...
10194         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10195         * nptl/tst-getpid2.c: Moved ...
10196         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10197         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10198         * sysdeps/unix/sysv/linux/Makefile
10199         [$(subdir) = nptl] (tests): ... here.
10200         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10201         * sysdeps/unix/sysv/linux/Makefile
10202         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10204         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10205         Drop trailing \n from perror argument.  Use return rather than exit.
10207         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10208         on [SA_SIGINFO].
10209         * nptl/tst-cancel21.c (do_test): Likewise.
10210         * debug/tst-backtrace6.c: Include <signal.h> first thing.
10211         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10212         [!SA_SIGINFO]: Make it a stub test.
10214         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10215         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10217         * posix/tst-getlogin.c: Move to ...
10218         * login/tst-getlogin.c: ... here.
10219         * posix/Makefile (tests): Move tst-getlogin to ...
10220         * login/Makefile (tests): ... here.
10222         * libio/tst-atime.c (do_test): Move local variables SV and E
10223         inside [ST_NOATIME] conditional.
10225         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10227         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10229         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10230         (wait_code): New function replaces macro.
10231         Call nanosleep rather than syscall.
10233         * nptl/pt-system.c: Rewritten.  Put everything under
10234         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10235         Use IFUNC to redirect when possible.
10237         * nptl/pt-longjmp.c: Rewritten.  Put everything under
10238         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10239         Use IFUNC to redirect when possible.
10241         * nptl/pt-fork.c: Rewritten.  Put everything under
10242         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10243         Use IFUNC to redirect when possible.
10244         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10246         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10247         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10248         unconditionally nowadays.  This included the only reference to
10249         __vdso_clock_gettime that appears outside libc proper.
10250         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10251         Remove version set (containing only __vdso_clock_gettime).
10252         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10253         Add attribute_hidden.
10254         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10255         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10256         libc_hidden_data_def.
10257         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10258         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10260         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10261         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10262         setrpcent, and getrpcport to ...
10263         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10264         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10265         getrpcbynumber_r, and getrpcent_r to ...
10266         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10267         * inet/getrpcbyname.c: Moved ...
10268         * sunrpc/getrpcbyname.c: ... here.
10269         * inet/getrpcbyname_r.c: Moved ...
10270         * sunrpc/getrpcbyname_r.c: ... here.
10271         * inet/getrpcbynumber.c: Moved ...
10272         * sunrpc/getrpcbynumber.c: ... here.
10273         * inet/getrpcbynumber_r.c: Moved ...
10274         * sunrpc/getrpcbynumber_r.c: ... here.
10275         * inet/getrpcent.c: Moved ...
10276         * sunrpc/getrpcent.c: ... here.
10277         * inet/getrpcent_r.c: Moved ...
10278         * sunrpc/getrpcent_r.c: ... here.
10279         * inet/Makefile (routines): Move those to ...
10280         * sunrpc/Makefile (routines): ... here.
10281         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10282         the $(subdirs) list.
10283         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
10284         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10285         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10286         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10288         * elf/Makefile (routines): Include $(all-dl-routines), not just
10289         $(dl-routines).
10290         (rtld-routines): Likewise.  Use = rather than :=.
10291         * sysdeps/aarch64/Makefile [$(subdir) = elf]
10292         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10293         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10294         * sysdeps/arm/Makefile: Likewise.
10295         * sysdeps/i386/Makefile: Likewise.
10296         * sysdeps/x86_64/Makefile: Likewise.
10297         * sysdeps/hppa/Makefile [$(subdir) = elf]
10298         (sysdep_routines, sysdep-rtld-routines): Don't add
10299         $(sysdep-dl-routines) to these.
10300         * sysdeps/ia64/Makefile: Likewise.
10301         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10302         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10303         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10304         Don't add dl-static to these; sysdep-dl-routines alone is enough.
10305         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10306         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10307         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10308         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10309         * sysdeps/powerpc/Makefile [$(subdir) = elf]
10310         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10311         these; sysdep-dl-routines alone is enough.
10313 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
10315         [BZ #17932]
10316         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10317         where multiplication results in zero and third argument is finite
10318         and nonzero.
10319         * math/auto-libm-test-in: Add more tests of fma.
10320         * math/auto-libm-test-out: Regenerated.
10322         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10323         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10324         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10325         (_FP_CMP_EQ): Likewise.
10326         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10328         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10329         extra argument CHECK_NAN.  Redefine as wrapper around
10330         _FP_EXTEND_CNAN.
10332 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
10334         * version.h (RELEASE): Set to "stable".
10335         (VERSION): Set to "2.21"
10336         * include/features.h (__GLIBC_MINOR__): Set to 21.
10338         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10340 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10341             Paul Eggert  <eggert@cs.ucla.edu>
10343         [BZ #16618]
10344         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10345         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10346         size in bytes. Store needed elements in wpmax. Use needed size
10347         in bytes for extend_alloca.
10349 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
10351         * manual/install.texi: Latest tested versions are GCC 4.9.2,
10352         binutls 2.25, and texinfo 5.2.
10353         * INSTALL: Regenerate.
10354         * sysdeps/nios2/configure: Regenerate.
10355         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10356         * manual/contrib.texi: Update.
10357         * po/be.po: Update.
10358         * po/bg.po: Update.
10359         * po/ca.po: Update.
10360         * po/cs.po: Update.
10361         * po/da.po: Update.
10362         * po/de.po: Update.
10363         * po/el.po: Update.
10364         * po/eo.po: Update.
10365         * po/es.po: Update.
10366         * po/fi.po: Update.
10367         * po/fr.po: Update.
10368         * po/gl.po: Update.
10369         * po/hr.po: Update.
10370         * po/hu.po: Update.
10371         * po/ia.po: Update.
10372         * po/id.po: Update.
10373         * po/it.po: Update.
10374         * po/ja.po: Update.
10375         * po/ko.po: Update.
10376         * po/lt.po: Update.
10377         * po/nb.po: Update.
10378         * po/nl.po: Update.
10379         * po/pl.po: Update.
10380         * po/pt_BR.po: Update.
10381         * po/ru.po: Update.
10382         * po/rw.po: Update.
10383         * po/sk.po: Update.
10384         * po/sl.po: Update.
10385         * po/sv.po: Update.
10386         * po/tr.po: Update.
10387         * po/uk.po: Update.
10388         * po/vi.po: Update.
10389         * po/zh_CN.po: Update.
10390         * po/zh_TW.po: Update.
10392         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10393         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10394         * sysdeps/hppa/dl-irel.h: Remove #warning.
10395         * sysdeps/hppa/entry.h: Provide prototype for
10396         __canonicalize_funcptr_for_compare and cast argument.
10397         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10398         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10399         * sysdeps/hppa/sotruss-lib.c: New file.
10400         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10401         (atomic_compare_and_exchange_val_acq): Use __typeof__.
10402         (atomic_compare_and_exchange_bool_acq): Likewise.
10403         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10404         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10406         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10407         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10408         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10410 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
10412         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10413         called function in non-PIC case.
10415 2015-01-31  David S. Miller  <davem@davemloft.net>
10417         * sysdeps/sparc/sparc32/bits/atomic.h
10418         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10419         unlock not after it.
10420         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10421         volatile register usage warnings from the compiler.
10423         * sysdeps/sparc/nptl/sem_init.c: Delete.
10424         * sysdeps/sparc/nptl/sem_post.c: Delete.
10425         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10426         * sysdeps/sparc/nptl/sem_wait.c: Delete.
10427         * sysdeps/sparc/sparc32/sem_init.c: New file.
10428         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10429         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10430         padding explicitly initialized.
10431         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10432         padding for in-semaphore spinlock.
10433         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10434         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10435         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10436         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10437         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10438         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10439         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10440         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10441         version.
10442         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10443         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10445 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10447         [BZ #17801]
10448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10449         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10450         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10451         New.
10452         (index_AVX_Fast_Unaligned_Load): Likewise.
10453         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10454         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10455         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10456         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10457         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10458         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10459         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10460         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10461         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10463 2015-01-29  Andreas Schwab  <schwab@suse.de>
10465         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10467 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
10469         [BZ #17892]
10470         * nscd/nscd_stat.c (send_stats): Initialize DATA.
10472 2015-01-28  Martin Sebor  <msebor@redhat.com>
10474         * math/README.libm-test: Clarify. Add "How to read the test output."
10476 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
10478         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10479         Define to 0.
10481 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
10483         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10484         (__HAVE_64B_ATOMICS): Define to 0.
10486 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10488         [BZ #17885]
10489         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10490         value to set as new flag.
10492         [BZ #16576]
10493         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10494         and use _ARCH_PPCSQ instead.
10495         (__ieee754_sqrt): Likewise.
10496         (__ieee754_sqrtf): Likewise.
10497         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10498         _ARCH_PPCSQ is defined.
10499         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10500         fsqrt instruction.
10501         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10502         _ARCH_PPCSQ is defined.
10503         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10504         fsqrts instruction.
10505         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10507 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10509         * iconv/loop.c: Suppress array out of bound warning caused by GCC
10510         bug (GCC BZ #64739).
10512 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
10514         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10515         Mark _retval as used.
10516         (lll_futex_wake_unlock): Likewise.
10517         (lll_futex_timed_wait_requeue_pi): Likewise.
10519         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10520         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10521         register variables.
10523         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10524         libm_hidden_def.
10526         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10527         (__bswap_64): Mark as __always_inline.
10529 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
10531         [BZ #15378]
10532         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10533         when none of the search directories exist.
10535 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10537         [BZ #17869]
10538         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10539         power8 in .machine directive.
10541         [BZ #17868]
10542         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10543         set dependency from opd value.
10545 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
10547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10548         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10549         architecture.
10551 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
10553         [BZ #17870]
10554         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10555         with uint64_t.
10556         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10557         (uint64_t) 1.
10558         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10559         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10560         Replace 1UL with (uint64_t) 1.
10561         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10562         int with uint64_t.
10564 2015-01-23  Roland McGrath  <roland@hack.frob.com>
10566         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10567         (if_freenameindex): Likewise.
10569         * resource/getrlimit64.c: Add missing libc_hidden_def.
10571 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
10573         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10574         __label__.
10575         (_FP_FMA): Likewise.
10576         (_FP_TO_INT_ROUND): Likewise.
10577         (_FP_FROM_INT): Likewise.
10579 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10581         [BZ #16418]
10582         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10583         Make code racy and cancel safe.
10585 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
10587         * sysdeps/arm/unwind-resume.h: Fix copyright year.
10588         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10589         attribution.
10591         * pwd/tst-getpw.c: Rewrite.
10593         [BZ #17702]
10594         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10595         (modules-names): Add moddummy1 and moddummy2.
10596         ($(objpfx)tst-rec-dlopen): Define.
10597         * dlfcn/moddummy1.c: New file.
10598         * dlfcn/moddummy2.c: New file.
10599         * dlfcn/tst-rec-dlopen.c: New file.
10600         * elf/dl-cache.c (_dl_load_cache_lookup):
10601         Return char*. Copy result with alloca/strcpy/strdup.
10602         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10603         returns char*. Free cached. If not saving realname
10604         free cached.
10605         * elf/dl-open.c (dl_open_worker): Do not assert that
10606         _r_debug->r_state is RT_CONSISTENT.
10607         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10608         returns char*.
10610 2015-01-21  Torvald Riegel  <triegel@redhat.com>
10611             Carlos O'Donell  <carlos@redhat.com>
10613         [BZ #12674]
10614         * nptl/sem_waitcommon.c: New file.
10615         * nptl/sem_wait.c: Include sem_waitcommon.c.
10616         (__sem_wait_cleanup, do_futex_wait): Remove.
10617         (__new_sem_wait): Adapt.
10618         (__new_sem_trywait): New function.
10619         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10620         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10621         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10622         (sem_timedwait): Adapt.
10623         * nptl/sem_post.c (__new_sem_post): Adapt.
10624         (futex_wake): New function.
10625         (__old_sem_post): Add release MO fence.
10626         * nptl/sem_open.c (sem_open): Adapt.
10627         * nptl/sem_init.c (__new_sem_init): Adapt.
10628         (futex_private_if_supported): New function.
10629         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10630         (__old_sem_getvalue): Add using previous code.
10631         * sysdeps/nptl/internaltypes.h: Adapt.
10632         * nptl/tst-sem13.c (do_test): Adapt.
10633         * nptl/tst-sem11.c (main): Adapt.
10634         * nptl/sem_trywait.c: Remove.
10635         * nptl/DESIGN-sem.txt: Remove.
10636         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10637         (gen-as-const-headers): Remove structsem.sym.
10638         * nptl/structsem.sym: Remove.
10639         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10640         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10641         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10642         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10643         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10644         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10645         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10646         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10647         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10648         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10649         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10650         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10651         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10652         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10653         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10654         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10655         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10656         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10657         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10658         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10659         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10660         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10662 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
10664         * INSTALL: Regenerated.
10666         * po/libc.pot: Regenerated.
10668 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
10669             Sandra Loosemore  <sandra@codesourcery.com>
10670             Andrew Jenner  <andrew@codesourcery.com>
10671             Joseph Myers  <joseph@codesourcery.com>
10672             Nathan Sidwell  <nathan@codesourcery.com>
10674         * NEWS: Mention new Nios II port.
10675         * sysdeps/nios2/Implies: New file.
10676         * sysdeps/nios2/Makefile: New file.
10677         * sysdeps/nios2/Subdirs: New file.
10678         * sysdeps/nios2/Versions: New file.
10679         * sysdeps/nios2/__longjmp.S: New file.
10680         * sysdeps/nios2/abort-instr.h: New file.
10681         * sysdeps/nios2/backtrace.c: New file.
10682         * sysdeps/nios2/bits/endian.h: New file.
10683         * sysdeps/nios2/bits/fenv.h: New file.
10684         * sysdeps/nios2/bits/link.h: New file.
10685         * sysdeps/nios2/bits/setjmp.h: New file.
10686         * sysdeps/nios2/bsd-_setjmp.S: New file.
10687         * sysdeps/nios2/bsd-setjmp.S: New file.
10688         * sysdeps/nios2/configure: New generated file.
10689         * sysdeps/nios2/configure.ac: New file.
10690         * sysdeps/nios2/crti.S: New file.
10691         * sysdeps/nios2/crtn.S: New file.
10692         * sysdeps/nios2/dl-init.c: New file.
10693         * sysdeps/nios2/dl-machine.h: New file.
10694         * sysdeps/nios2/dl-sysdep.h: New file.
10695         * sysdeps/nios2/dl-tls.h: New file.
10696         * sysdeps/nios2/dl-trampoline.S: New file.
10697         * sysdeps/nios2/gccframe.h: New file.
10698         * sysdeps/nios2/gmp-mparam.h: New file.
10699         * sysdeps/nios2/jmpbuf-offsets.h: New file.
10700         * sysdeps/nios2/jmpbuf-unwind.h: New file.
10701         * sysdeps/nios2/ldsodefs.h: New file.
10702         * sysdeps/nios2/libc-tls.c: New file.
10703         * sysdeps/nios2/libm-test-ulps: New file.
10704         * sysdeps/nios2/machine-gmon.h: New file.
10705         * sysdeps/nios2/math-tests.h: New file.
10706         * sysdeps/nios2/math_private.h: New file.
10707         * sysdeps/nios2/memusage.h: New file.
10708         * sysdeps/nios2/nptl/Makefile: New file.
10709         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10710         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10711         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10712         * sysdeps/nios2/nptl/pthreaddef.h: New file.
10713         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10714         * sysdeps/nios2/nptl/tls.h: New file.
10715         * sysdeps/nios2/preconfigure: New file.
10716         * sysdeps/nios2/s_fma.c: New file.
10717         * sysdeps/nios2/s_fmaf.c: New file.
10718         * sysdeps/nios2/setjmp.S: New file.
10719         * sysdeps/nios2/sfp-machine.h: New file.
10720         * sysdeps/nios2/sotruss-lib.c: New file.
10721         * sysdeps/nios2/stackguard-macros.h: New file.
10722         * sysdeps/nios2/stackinfo.h: New file.
10723         * sysdeps/nios2/start.S: New file.
10724         * sysdeps/nios2/sysdep.h: New file.
10725         * sysdeps/nios2/tls-macros.h: New file.
10726         * sysdeps/nios2/tst-audit.h: New file.
10727         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10728         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10729         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10730         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10731         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10732         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10733         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10734         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10735         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10736         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10737         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10738         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10739         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10740         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10741         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10742         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10743         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10744         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10745         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10746         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10747         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10748         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10749         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10750         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10751         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10752         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10753         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10754         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10755         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10756         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10757         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10758         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10759         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10760         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10761         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10762         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10763         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10764         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10765         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10766         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10767         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10768         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10769         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10770         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10772 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10774         [BZ #17844]
10775         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10776         (getutent): Use weak_alias in non SHARED case
10777         and default_symbol_version in SHARED case.
10778         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10779         (getutent_r, pututline): Likewise.
10780         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10781         (getutid): Likewise.
10782         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10783         (getutid_r): Likewise.
10784         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10785         (getutline): Likewise.
10786         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10787         (getutline_r): Likewise.
10788         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10789         (updwtmp): Likewise.
10791 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10793         [BZ #17848]
10794         * sysdeps/s390/s390-32/memcmp.S
10795         (memcmp_g5): Rename to __memcmp_g5.
10796         * sysdeps/s390/s390-32/memcpy.S
10797         (memcpy_g5): Rename to __memcpy_g5.
10798         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10799         (memcpy_mvcle) Rename to __memcpy_mvcle.
10800         * sysdeps/s390/s390-32/memset.S
10801         (memset_g5): Rename to __memset_g5.
10802         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10803         (IFUNC_RESOLVE): Prefix ifunc-resolve function
10804         and use prefixed functions.
10805         * sysdeps/s390/s390-32/multiarch/memcmp.S
10806         (memcmp_z196): Rename to __memcmp_z196.
10807         (memcmp_z10): Rename to __memcmp_z10.
10808         (memcmp): Set alias to __memcmp_g5.
10809         (bcmp): Set alias to __memcmp_g5.
10810         * sysdeps/s390/s390-32/multiarch/memcpy.S
10811         (memcpy_z196): Rename to __memcpy_z196.
10812         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10813         (memcpy_z10): Rename to __memcpy_z10.
10814         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10815         (memcpy): Set alias to __memcpy_g5.
10816         * sysdeps/s390/s390-32/multiarch/memset.S
10817         (memset_z196): Rename to __memset_z196.
10818         Jump to __memset_mvcle instead of memset_mvcle.
10819         (memset_z10): Rename to __memset_z10.
10820         Jump to __memset_mvcle instead of memset_mvcle.
10821         (memset_mvcle) Rename to __memset_mvcle.
10822         (memset): Set alias to __memset_g5.
10823         * sysdeps/s390/s390-64/memcmp.S
10824         (memcmp_z900): Rename to __memcmp_z900.
10825         * sysdeps/s390/s390-64/memcpy.S
10826         (memcpy_z900): Rename to __memcpy_z900.
10827         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10828         (memcpy_mvcle) Rename to __memcpy_mvcle.
10829         * sysdeps/s390/s390-64/memset.S
10830         (memset_z900): Rename to __memset_z900.
10831         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10832         (IFUNC_RESOLVE): Prefix ifunc-resolve function
10833         and use prefixed functions.
10834         * sysdeps/s390/s390-64/multiarch/memcmp.S
10835         (memcmp_z196): Rename to __memcmp_z196.
10836         (memcmp_z10): Rename to __memcmp_z10.
10837         (memcmp): Set alias to __memcmp_z900.
10838         (bcmp): Set alias to __memcmp_z900.
10839         * sysdeps/s390/s390-64/multiarch/memcpy.S
10840         (memcpy_z196): Rename to __memcpy_z196.
10841         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10842         (memcpy_z10): Rename to __memcpy_z10.
10843         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10844         (memcpy): Set alias to __memcpy_z900.
10845         * sysdeps/s390/s390-64/multiarch/memset.S
10846         (memset_z196): Rename to __memset_z196.
10847         Jump to __memset_mvcle instead of memset_mvcle.
10848         (memset_z10): Rename to __memset_z10.
10849         Jump to __memset_mvcle instead of memset_mvcle.
10850         (memset_mvcle) Rename to __memset_mvcle.
10851         (memset): Set alias to __memset_z900.
10853 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
10855         [BZ #17748]
10856         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10857         __fesetenv instead of fesetenv.
10859 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10861         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10862         macro.
10864 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10866         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10867         regression on LE.
10869         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10870         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10871         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10872         strncmp-power8 object.
10873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10874         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10875         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10876         * NEWS: Update.
10878 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10879             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10881         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10882         trailing byte check.
10884 2015-01-13  David S. Miller  <davem@davemloft.net>
10886         * include/signal.h (__sigreturn): Guard with __USE_MISC.
10888 2015-01-13  Roland McGrath  <roland@hack.frob.com>
10890         * login/logout.c (logout): Use memset rather than bzero.
10891         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10892         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10893         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10894         (_gethtbyaddr): Likewise.
10895         * locale/programs/simple-hash.c (bcopy): Macro removed.
10897 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10899         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10900         Add strcmp-power8 object.
10901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10902         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10903         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10904         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10905         __strcmp_power8 implementation.
10906         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10907         * NEWS: Update.
10909         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10910         Add strncpy-power8 and stpncpy-power8 objects.
10911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10912         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10913         implementations.
10914         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10915         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10916         __stpncpy_power8 implementation.
10917         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10918         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10919         __strncpy_power8 implementation.
10920         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10921         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10922         * NEWS: Update.
10924         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10925         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10926         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10928         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10929         strncat-power8 object.
10930         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10931         __strcat_power8 implementation.
10932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10933         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10934         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10935         optimized strcat for power8.
10937         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10938         strcpy-power8 and stpcpy-power8 objects.
10939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10940         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10941         implementations.
10942         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10943         multiarch stpcpy implementation for POWER8.
10944         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10945         multiarch strcpy implementation for POWER8.
10946         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10947         __strcpy_power8 function.
10948         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10949         stpcpy for POWER8.
10950         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10951         strcpy for POWER8.
10952         * NEWS: Update.
10954 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
10956         [BZ #16009]
10957         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10958         weights and rules. Use do_xfrm_cached if data fits in cache,
10959         do_xfrm otherwise.  Moved former main loop to...
10960         * (do_xfrm_cached): New function.
10961         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10962         find_idx, find_position and stack_push.
10963         * (find_idx): New function.
10964         * (find_position): Likewise.
10965         * localedata/sort-test.sh: Added test run for do_xfrm.
10966         * localedata/xfrm-test.c (main): Added command line option
10967         -nocache to run the test with strings that are too large for
10968         the STRXFRM cache.
10970 2015-01-13  Torvald Riegel  <triegel@redhat.com>
10972         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10973         variable to lll_futex_wake call, not the value itself.
10975 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
10977         [BZ #17803]
10978         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10979         twom64.  Adjust value to 0x1p-64L.
10980         (__scalblnl): Only return standard underflowing result for K <=
10981         -64 not K <= -63; adjust exponent for underflowing result by 64
10982         not 63.
10983         * math/libm-test.inc (scalbn_test_data): Add more tests.
10984         (scalbln_test_data): Likewise.
10986         [BZ #17834]
10987         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10988         0x1p63L.
10989         (__scalblnl): Get new exponent of adjusted subnormal value from ES
10990         not HX.
10991         * math/libm-test.inc (scalbn_test_data): Add more tests.
10992         (scalbln_test_data): Likewise.
10994 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10995             Stefani Seibold  <stefani@seibold.net>
10997         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10998         (sysdep_routines): Add dl-vdso here, ...
10999         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
11000         (sysdep_routines): ... not here.
11001         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
11002         fallback when vDSO is not presented.
11003         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11004         Define with libc_hidden_proto/libc_hidden_data_def definitions.
11005         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
11006         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
11007         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
11008         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
11009         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
11010         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
11011         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
11012         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
11013         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
11014         fallback configurable symbol when vDSO is not available.
11015         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
11016         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
11017         be able to redefine fallback symbol when vDSO is not available.
11018         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
11019         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
11021 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11023         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
11024         (TLS_INIT_TP): Add tm_capable initialization.
11025         (TLS_DEFINE_INIT_TP): Likewise.
11026         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
11027         TCB.
11028         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
11029         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
11030         calculation.
11031         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
11032         transactoion is lock elision is built and TCB tm_capable is set.
11033         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11035         (INTERNAL_SYSCALL_NCS): Likewise.
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11037         (INTERNAL_SYSCALL_NCS): Likewise.
11038         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
11040         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
11041         for powerpc.
11042         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11043         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
11044         and remove it for 32 bits case.
11045         [pthread_rwlock_t] (__rwelision): New field for lock elision.
11046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
11047         initialization.
11048         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
11049         Disable lock elision with rdlocks if elision is not available.
11051         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
11052         (sysdep_routines): Add lock elision objects.
11053         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11054         [pthread_mutex_t] (__spins): Rework to add lock elision field.
11055         [pthread_mutex_t] (__elision): Add field.
11056         [__PTHREAD_SPINS]: Adjust to init lock elision field.
11057         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
11058         elision definitions for powerpc.
11059         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
11060         implementation of lock elision for powerpc.
11061         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
11062         implementation of timed lock elision for powerpc.
11063         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
11064         implementation of trylock with lock elision for powerpc.
11065         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
11066         implementaion of unlock for lock elision for powerpc.
11067         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
11068         automatic enable lock elision for mutexes.
11069         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
11070         transaction execution definitions for powerpc.
11071         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
11072         definitions.
11073         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
11074         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
11075         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
11076         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
11077         * NEWS: Update.
11079 2015-01-09  Roland McGrath  <roland@hack.frob.com>
11081         * sysdeps/posix/shm-directory.c: Use <> rather than ""
11082         for #include of <shm-directory.h>.
11084 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
11086         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
11087         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
11089 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
11091         [BZ #17791]
11092         * NEWS: Mention bug fix.
11093         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
11094         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
11095         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
11097 2015-01-09  Torvald Riegel <triegel@redhat.com>
11099         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
11101 2015-01-09  Torvald Riegel <triegel@redhat.com>
11103         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
11105 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11107         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
11108         pointer and cast to uintptr_t.
11110 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11112         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
11113         removed.
11114         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
11116 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11118         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
11119         of 0.
11121 2015-01-08  Roland McGrath  <roland@hack.frob.com>
11123         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11124         <nptl/pthreadP.h> instead.
11125         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11127         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11128         already defined.
11129         [__SIGRTMIN] (init): Function removed.
11130         [__SIGRTMIN] (initialized): Variable removed.
11131         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11132         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11133         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11134         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11135         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11136         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11137         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11138         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11139         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11140         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11141         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11142         * sysdeps/nptl/allocrtsig.c: New file.
11143         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11144         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11145         * sysdeps/generic/testrtsig.h: File removed.
11147         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11148         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11150         * nptl/nptl-init.c (pthread_functions): Conditionalize
11151         .ptr__nptl_setxid initialization on [SIGSETXID].
11153         * sysdeps/nptl/sys/procfs.h: New file.
11154         * nptl_db/Makefile (headers): Add it.
11155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11157         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11158         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11159         * nptl/pthread_attr_setaffinity.c: Include it.
11160         * nptl/pthread_setattr_default_np.c: Likewise.
11161         * nptl/check-cpuset.h: New file.
11163 2015-01-08  Richard Henderson  <rth@redhat.com>
11165         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11166         (CFLAGS-tst-execstack-prog.c): Likewise.
11167         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11169 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
11170             Sandra Loosemore  <sandra@codesourcery.com>
11171             Andrew Jenner  <andrew@codesourcery.com>
11172             Joseph Myers  <joseph@codesourcery.com>
11173             Nathan Sidwell  <nathan@codesourcery.com>
11175         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11176         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11177         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11178         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11179         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11180         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11181         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11182         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11183         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11184         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11185         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11186         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11187         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11188         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11189         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11190         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11191         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11193 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11195         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11196         timespec struct member in syscall macro.
11197         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11198         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11199         first timeval struct member in syscall macro.
11200         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11202 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
11204         [BZ #17748]
11205         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11206         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11207         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11208         __feupdateenv and define as weak alias of __feupdateenv.  Use
11209         libm_hidden_weak.
11210         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11211         libm_hidden_def.
11212         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11213         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
11214         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11215         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11216         libm_hidden_def.
11217         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11218         __feupdateenv and define as weak alias of __feupdateenv.  Use
11219         libm_hidden_weak.
11220         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11221         libm_hidden_def.
11222         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11223         __feupdateenv and define as weak alias of __feupdateenv.  Use
11224         libm_hidden_weak.
11225         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11226         libm_hidden_def.
11227         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11228         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11229         (__feupdateenv): Likewise.
11230         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11231         __feupdateenv and define as weak alias of __feupdateenv.  Use
11232         libm_hidden_weak.
11233         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11234         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11235         libm_hidden_def.
11236         * sysdeps/tile/math_private.h (__feupdateenv): New inline
11237         function.
11238         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11239         libm_hidden_def.
11240         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11241         __feupdateenv instead of feupdateenv.
11242         (default_libc_feupdateenv_test): Likewise.
11243         (libc_feresetround_ctx): Likewise.
11245 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11247         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11248         prototype.
11250 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
11252         * posix/regcomp.c (parse_bracket_exp): Initialize type to
11253         COLL_SYM in a couple of places to avoid uninitialized variable
11254         wanings on tilegx gcc 4.8.2.
11256 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11258         * sysdeps/aarch64/strcpy.S: New file.
11259         * sysdeps/aarch64/stpcpy.S: New file.
11260         * NEWS: Updated.
11262 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11264         * sysdeps/aarch64/strrchr.S: New file.
11265         * NEWS: Updated.
11267 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
11269         [BZ #17658]
11270         * stdlib/setenv.c: Fix memory leak when setting large,
11271         duplicate string.
11273 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
11275         [BZ #17273]
11276         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11277         and tabs from buffer before parsing fstab entry.
11278         * misc/tst-mntent.c (main): Add test for mount entry with
11279         trailing spaces and tabs.
11281 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
11283         [BZ #17748]
11284         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
11285         * math/fesetround.c (fesetround): Rename to __fesetround and
11286         define as weak alias of __fesetround.  Use libm_hidden_weak.
11287         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11288         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11289         * sysdeps/arm/fesetround.c (fesetround): Likewise.
11290         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11291         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11292         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11293         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11294         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11295         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11296         __fesetround_inline.
11297         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11298         __fesetround_inline instead of __fesetround.
11299         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11300         __fesetround and define as weak alias of __fesetround.  Use
11301         libm_hidden_weak.  Call __fesetround_inline instead of
11302         __fesetround.
11303         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11304         __fesetround and define as weak alias of __fesetround.  Use
11305         libm_hidden_weak.
11306         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11307         Likewise.
11308         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11309         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11310         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11311         * sysdeps/tile/math_private.h (__fesetround): New inline function.
11312         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11313         __fesetround and define as weak alias of __fesetround.  Use
11314         libm_hidden_weak.
11315         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11316         __fesetround instead of fesetround.
11317         (default_libc_feholdexcept_setround): Likewise.
11318         (libc_feholdsetround_ctx): Likewise.
11319         (libc_feholdsetround_noex_ctx): Likewise.
11321         [BZ #17748]
11322         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11323         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11324         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11325         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11326         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11327         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11328         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11329         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11330         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11331         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11332         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11333         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11334         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11335         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11336         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11337         libm_hidden_def.
11338         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11339         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11340         Likewise.
11341         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11342         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11343         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11344         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11345         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11346         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11347         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11348         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11349         __fesetenv instead of fesetenv.
11350         (libc_feresetround_noex_ctx): Likewise.
11351         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11352         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11353         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11354         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11355         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11356         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11357         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11358         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11359         (__feupdateenv): Likewise.
11360         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11361         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11362         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11363         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11365 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11367         [BZ #17806]
11368         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11369         addresses have been freed.
11371 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11373         * resolv/res_init.c (__res_vinit): Improve comments about nserv
11374         and nservall.
11376 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
11378         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11379         Clean up check_pf allocation pattern. addresses
11381 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11383         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11384         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11385         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11386         * nptl/pthread_exit.c (__pthread_exit): Likewise.
11387         * nptl/pthread_join.c (pthread_join): Likewise.
11388         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11389         * sysdeps/posix/waitid.c (__waitid): Likewise.
11390         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11391         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11392         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11393         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11394         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11395         Likewise.
11396         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11397         (__libc_pread64): Likewise.
11398         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11399         (__libc_pwrite): Likewise.
11400         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11401         (__libc_pwrite64): Likewsie.
11402         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11403         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11404         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11405         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11406         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11407         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11408         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11410         Likewise.
11411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11412         (__libc_pread64): Likewise.
11413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11414         Likewise.
11415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11416         (__libc_pwrite64): Likewise.
11417         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11418         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11419         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11420         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11421         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11422         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11423         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11424         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11425         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11426         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11427         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11428         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11429         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11430         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11431         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11432         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11433         Likewise.
11435 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11437         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11438         (CFLAGS-test-double.c): Likewise.
11439         (CFLAGS-test-ldouble.c): Likewise.
11440         (CPPFLAGS-test-ifloat.c): Likewise.
11441         (CPPFLAGS-test-idouble.c): Likewise.
11442         (CPPFLAGS-test-ildoubl.c): Likewise.
11443         (CFLAGS-test-test-fenv.c): Remove variable.
11444         (CFLAGS-test-misc.c): Likewise.
11446 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
11448         [BZ #17797]
11449         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11450         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11451         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11452         CLOCKS_PER_SEC == 1000000.
11453         * time/clocktest.c (main): Replace %ld with %jd and cast to
11454         intmax_t.
11456 2015-01-05  Roland McGrath  <roland@hack.frob.com>
11458         * sysdeps/generic/unwind-resume.h: New file.
11459         * sysdeps/gnu/unwind-resume.c: Include it.
11460         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11461         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11462         argument list.
11463         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11464         global rather than static.
11465         (_Unwind_Resume): Update user.
11466         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11467         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
11468         rather than static.  Add __attribute__ ((cold)).
11469         (_Unwind_Resume, __gcc_personality_v0): Update callers.
11470         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11471         * sysdeps/arm/arm-unwind-resume.S: New file.
11472         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11473         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11474         * sysdeps/arm/Makefile [$(subdir) = csu]
11475         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11476         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11477         Add rt-arm-unwind-resume.
11478         [$(subdir) = nptl]
11479         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11480         Add pt-arm-unwind-resume.
11481         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11482         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11484 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11486         [BZ #17748]
11487         * include/fenv.h (__feholdexcept): Declare.  Use
11488         libm_hidden_proto.
11489         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11490         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
11491         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11492         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11493         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11494         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11495         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11496         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11497         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11498         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11499         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11500         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11501         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11502         (feholdexcept): Likewise.
11503         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11504         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11505         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11506         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11507         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11508         __feholdexcept instead of feholdexcept.
11509         (default_libc_feholdexcept_setround): Likewise.
11511 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11513         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11514         to avoid using stl/str to align destination.
11516 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11518         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11520 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11522         [BZ #17796]
11523         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11524         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11525         Define as weak alias not strong alias.
11527 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11529         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11530         bltzal with addiupc.
11531         (RTLD_START): Ditto.
11533 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
11535         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11536         for __vdso_* functions in declarations.
11537         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11538         definitions.
11539         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11540         INTERNAL_VSYSCALL): Use struct return types to check for error.
11542         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11543         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11544         function with cast from llround().
11545         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11546         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11547         Define.
11549 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11551         [BZ #17793]
11552         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11553         Define as weak alias not strong alias.
11555         [BZ #17635]
11556         * ctype/ctype-c99.c: New file.  isblank implementation moved from
11557         ...
11558         * ctype/ctype-extn.c: ... here.
11559         (__isblank_l): Move to ...
11560         * ctype/ctype-c99_l.c: ... here.  New file.
11561         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11562         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11563         Remove variable.
11564         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11565         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11566         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11567         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11568         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11570         [BZ #17777]
11571         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11572         (posix_fadvise64): Define as weak alias not strong alias.
11573         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11574         (posix_fallocate64): Likewise.
11575         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11576         Remove variable.
11577         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11578         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11579         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11580         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11581         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11583 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
11585         [BZ #16191]
11586         * NEWS: Mention bug fix.
11587         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11588         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11589         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11590         (HOST_STACK_END_ADDR): Likewise.
11592 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11594         [BZ #17748]
11595         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
11596         * math/fegetround.c (fegetround): Rename to __fegetround and
11597         define as weak alias of __fegetround.  Use libm_hidden_weak.
11598         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11599         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11600         * sysdeps/arm/fegetround.c (fegetround): Likewise.
11601         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11602         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11603         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11604         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11605         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11606         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11607         Undefine after rather than before function definition; use
11608         parentheses around function name in definition.
11609         (__fegetround): Also undefine macro after function definition.
11610         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11611         __fegetround and define as weak alias of __fegetround.  Use
11612         libm_hidden_weak.  Do not undefine as macro.
11613         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11614         Likewise.
11615         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11616         __fegetround and define as weak alias of __fegetround.  Use
11617         libm_hidden_weak.
11618         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11619         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11620         * sysdeps/tile/math_private.h (__fegetround): New inline function.
11621         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11622         __fegetround and define as weak alias of __fegetround.  Use
11623         libm_hidden_weak.
11624         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11625         __fegetround instead of fegetround.
11627         [BZ #17782]
11628         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11629         Condition macro definition on [__USE_MISC].
11631         [BZ #17781]
11632         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11633         (struct sigaction): Change type of sa_flags field to int.
11635         [BZ #17780]
11636         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11637         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11638         __glibc_reserved0.
11640         * nptl/version.c (banner): Use single year in copyright notice.
11642         * NEWS: Update copyright dates.
11643         * catgets/gencat.c (print_version): Likewise.
11644         * csu/version.c (banner): Likewise.
11645         * debug/catchsegv.sh: Likewise.
11646         * debug/pcprofiledump.c (print_version): Likewise.
11647         * debug/xtrace.sh (do_version): Likewise.
11648         * elf/ldconfig.c (print_version): Likewise.
11649         * elf/ldd.bash.in: Likewise.
11650         * elf/pldd.c (print_version): Likewise.
11651         * elf/sotruss.sh: Likewise.
11652         * elf/sprof.c (print_version): Likewise.
11653         * iconv/iconv_prog.c (print_version): Likewise.
11654         * iconv/iconvconfig.c (print_version): Likewise.
11655         * locale/programs/locale.c (print_version): Likewise.
11656         * locale/programs/localedef.c (print_version): Likewise.
11657         * login/programs/pt_chown.c (print_version): Likewise.
11658         * malloc/memusage.sh (do_version): Likewise.
11659         * malloc/memusagestat.c (print_version): Likewise.
11660         * malloc/mtrace.pl: Likewise.
11661         * manual/libc.texinfo: Likewise.
11662         * nptl/version.c (banner): Likewise.
11663         * nscd/nscd.c (print_version): Likewise.
11664         * nss/getent.c (print_version): Likewise.
11665         * nss/makedb.c (print_version): Likewise.
11666         * posix/getconf.c (main): Likewise.
11667         * scripts/test-installation.pl: Likewise.
11668         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11670 2015-01-02  Will Newton  <will.newton@linaro.org>
11672         * sysdeps/arm/armv7/configure: Removed.
11673         * sysdeps/arm/armv7/configure.ac: Likewise.
11675 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11677         * All files with FSF copyright notices: Update copyright dates
11678         using scripts/update-copyrights.
11679         * intl/plural.c: Regenerated.
11680         * locale/programs/charmap-kw.h: Likewise.
11681         * locale/programs/locfile-kw.h: Likewise.
11683 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11685         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11687 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11689         [BZ #17748]
11690         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11691         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11692         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11693         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11694         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11695         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11696         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11697         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11698         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11699         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11700         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11701         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11702         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11703         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11704         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11705         libm_hidden_def.
11706         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11707         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11708         Likewise.
11709         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11710         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11711         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11712         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11713         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11714         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11715         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11716         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11717         __fegetenv instead of fegetenv.
11718         (libc_feholdsetround_noex_ctx): Likewise.
11720 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11722         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11723         (Elf_MIPS_ABIFlags_v0): New structure.
11724         (EF_MIPS_FP64): Define.
11725         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11726         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11727         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11728         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11729         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11730         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11731         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11732         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11733         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11734         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11735         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11736         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11737         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11738         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11739         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11740         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11741         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11742         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11743         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11744         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11745         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11746         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11747         field.
11748         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11749         EF_MIPS_FP64.
11750         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11751         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11752         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11753         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11754         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11755         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11756         * sysdeps/mips/tst-abi-interlink.c: Likewise.
11757         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11758         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11759         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11760         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11761         record the current FP ABI extension.
11762         (mips-mode-switch): Define to show if kernel headers support mode
11763         switching.
11764         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11765         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11766         supported SYSV ABI version to 3.
11767         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11768         feature.
11770 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11771             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11773         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11774         path.
11775         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11777 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11779         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11780         __fegetround and redefine to call __fegetround.  Remove condition
11781         on [!__NO_MATH_INLINES].
11782         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11783         function.
11784         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11785         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11786         Remove macro.
11787         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11788         instead of <fenv_libc.h>.
11789         (__llrintl): Call fegetround instead of __fegetround.
11790         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11791         instead of <fenv_libc.h>.
11792         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11793         (__lrintl): Call fegetround instead of __fegetround.
11794         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11795         instead of <fenv_libc.h>.
11796         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11797         (__rintl): Call fegetround instead of __fegetround.
11799 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11801         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11802         arrays.
11804 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
11806         [BZ #17775]
11807         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11808         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11809         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11811 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11813         * sysdeps/i386/tls-macros.h: Include <features.h>.
11814         (TLS_LE): Use non-PIC version for GCC >= 5.0.
11815         (TLS_IE): Likewise.
11816         (TLS_LD): Likewise.
11817         (TLS_GD): Likewise.
11818         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11819         define for GCC >= 5.0.
11821 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
11823         * math/test-fenv.c (test_single_exception, set_single_exc,
11824         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11825         feexcp_mask_test, feenable_test, fe_single_test): Add
11826         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11827         case where they are not used.
11828         * math/libm-test.inc: Likewise.
11829         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11830         unused in the absence of FP rounding/exception support.
11831         * stdio-common/tst-printf-round.c: Likewise.
11832         * stdlib/tst-strtod-round.c: Likewise.
11833         * stdlib/tst-strtod-underflow.c: Likewise.
11835 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
11837         [BZ #17723]
11838         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11839         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11840         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11841         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11842         libm_hidden_weak.
11843         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11844         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11845         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11846         libm_hidden_def.
11847         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11848         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11849         libm_hidden_weak.
11850         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11851         Likewise.
11852         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11853         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11854         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11855         libm_hidden_weak.
11856         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11857         libm_hidden_def.
11858         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11859         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11860         (__feraiseexcept): Likewise.
11861         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11862         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11863         libm_hidden_weak.
11864         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11865         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11866         libm_hidden_def.
11867         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11868         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11869         Use libm_hidden_def.
11870         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11871         libm_hidden_def.
11872         (feraiseexcept): Define as weak not strong alias.  Use
11873         libm_hidden_weak.
11874         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11875         New inline function.  Factored out of ...
11876         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
11877         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11878         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11879         feraiseexcept.
11880         * math/w_acos.c (__acos): Likewise.
11881         * math/w_asin.c (__asin): Likewise.
11882         * math/w_ilogb.c (__ilogb): Likewise.
11883         * math/w_j0.c (y0): Likewise.
11884         * math/w_j1.c (y1): Likewise.
11885         * math/w_jn.c (yn): Likewise.
11886         * math/w_log.c (__log): Likewise.
11887         * math/w_log10.c (__log10): Likewise.
11888         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11889         * sysdeps/aarch64/fpu/math_private.h
11890         (libc_feupdateenv_test_aarch64): Likewise.
11891         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11892         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11893         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11894         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11895         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11896         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11897         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11898         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11899         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11900         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11902 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
11904         [BZ #17732]
11905         * io/test-utime.c (main): Replace %ld with %jd and cast to
11906         intmax_t.
11907         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11908         * nptl/tst-mutex5.c: Include <stdint.h>.
11909         (do_test): Replace %ld with %jd and cast to intmax_t.
11910         * posix/tst-regex.c (run_test): Likewise.
11911         (run_test_backwards): Likewise.
11912         * rt/tst-clock.c: Include <stdint.h>.
11913         (clock_test): Replace %ld with %jd and cast to intmax_t.
11914         * rt/tst-cpuclock1.c: Include <stdint.h>.
11915         (do_test): Replace %lu with %ju and cast to uintmax_t.
11916         * rt/tst-cpuclock2.c: Include <stdint.h>.
11917         (do_test): Replace %lu with %ju and cast to uintmax_t.
11918         * rt/tst-mqueue1.c: Include <stdint.h>.
11919         (check_attrs): Replace %ld with %jd and cast to intmax_t.
11920         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11921         intmax_t.
11922         * rt/tst-mqueue4.c (do_test): Likewise.
11923         * rt/tst-timer4.c: Include <stdint.h>.
11924         (check_ts): Replace %ld with %jd and cast to intmax_t.
11925         (do_test): Likewise.
11926         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11927         and cast to intmax_t.
11928         * sysdeps/pthread/tst-timer.c (main): Likewise.
11929         * time/clocktest.c (main): Likewise.
11930         * time/tst-posixtz.c (do_test): Likewise.
11931         * timezone/tst-timezone.c (main): Likewise.
11933 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11934             H.J. Lu  <hongjiu.lu@intel.com>
11936         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11937         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11938         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11939         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11940         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11941         version if bit_Fast_Unaligned_Load is set.
11942         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11943         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11944         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11945         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11946         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11947         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11948         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11949         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11950         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11951         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11952         to 4.
11953         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11954         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11955         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11956         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11958 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
11960         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11961         instead of #if to avoid a Wundef warning.
11962         * stdlib/tst-limits.c (do_test): Likewise.
11964         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11965         parallel other exception macros.
11966         (fegetenv): Convert from macro to extern inline so that it applies
11967         retroactively to inline functions already seen by the compiler.
11968         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11970         * posix/Makefile (before-compile): Use $(objpfx) for
11971         posix-conf-vars-def.h.
11973 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11975         * posix/getconf.c (main): Use size_t for type of I.
11976         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11977         NSPEC.
11979         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11980         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11981         * posix/posix-envs.def: Likewise.
11982         * sysdeps/posix/sysconf.c: Likewise.
11983         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11984         (specs): Remove array.
11985         * scripts/gen-posix-conf-vars.awk: Support generation of specs
11986         array.
11988         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11989         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11990         (__sysconf): Use CONF_IS_* macros.
11992         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11993         ($(objpfx)posix-conf-vars-def.h): New target.
11994         * posix/posix-conf-vars.list: New file.
11995         * posix/posix-conf-vars.h: New file.
11996         * posix/confstr.c: Include posix-conf-vars.h.
11997         (confstr): Use CONF_IS_* macros.
11998         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
11999         CONF_IS_* macros.
12000         * scripts/gen-posix-conf-vars.awk: New file.
12002 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
12004         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
12005         fegetround): Add no-op macros to avoid linknamespace issues.
12007         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
12008         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
12010         * sysdeps/unix/sysv/linux/tile/sysdep.h
12011         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
12012         assembly-specific section to avoid a redefinition warning.
12014         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
12015         long before casting to pointer to avoid a cast warning.
12017 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
12019         * sysdeps/tile/tilegx/Implies: New file.
12021 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
12023         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
12025 2014-12-23  Florian Weimer  <fweimer@redhat.com>
12027         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
12029 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12031         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
12032         not define.
12033         * sysdeps/unix/sysv/linux/utimes.c: Do not include
12034         <kernel-features.h>.
12035         (__utimes) [__NR_utimes]: Make code unconditional.
12036         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
12037         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12038         (__ASSUME_UTIMES): Do not undefine.
12039         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12040         (__ASSUME_UTIMES): Likewise.
12041         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12042         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
12043         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
12044         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
12046 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12048         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
12050 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
12052         [BZ #17747]
12053         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
12054         alias to weak alias for j0l, y0l.
12055         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
12056         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
12058         [BZ #17746]
12059         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
12060         conversion.
12062 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12064         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
12065         to zero if not already defined.
12067 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12069         [BZ #17724]
12070         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
12071         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
12072         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
12073         (char *) casts added.
12074         * sysdeps/ieee754/k_standardf.c: New file.
12075         * sysdeps/ieee754/k_standardl.c: Likewise.
12076         * math/Makefile (libm-support): Remove k_standard.
12077         (libm-calls): Add k_standard.
12079 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12081         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12082         Optimize to avoid an unnecessary FPCR read.
12084 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12086         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12087         Optimize to reduce FPCR/FPSR accesses.
12089 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12091         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
12092         Call libc_fetestexcept_aarch64.
12094 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12096         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
12097         Call libc_fesetround_aarch64.
12099 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12101         [BZ #17733]
12102         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
12103         (__bind): Do not define as weak alias.
12104         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
12105         define.
12106         (__getsockname): Do not define as weak alias.
12108 2014-12-22  Will Newton  <will.newton@linaro.org>
12110         * manual/install.texi: Document that we require bison 2.7
12111         or above.
12112         * INSTALL: Regenerate.
12113         * configure.ac: Use AC_CHECK_PROG_VER instead of
12114         AC_PATH_PROG when checking for bison and check for
12115         version 2.7 or above.
12116         * configure: Regenerate.
12118 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
12120         [BZ #17745]
12121         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
12122         * sysdeps/tile/ffsll.c (ffsll): To here.
12124         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12126 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12128         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12129         if not defined.
12130         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12131         definition.
12132         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12133         hidden ___tls_get_addr.
12134         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12135         hidden __tls_get_addr.
12136         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12137         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12138         Likewise.
12140 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12142         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12143         _dl_init call.
12145 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12147         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12148         from "call _dl_init@PLT".
12149         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12151 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
12153         * manual/search.texi: (Array Sort Function): Clarify stable sorting
12154         guarantees.
12156 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
12158         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12160 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12162         [BZ #17744]
12163         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12164         strnlen.
12166 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12168         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12169         of multu on MIPSr6.
12170         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12171         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12172         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12173         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12174         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12176 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12178         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12179         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12180         (PTR_SUBU): Use subu for mips32r6/mips64r6.
12181         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12182         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12183         mips32r6/mips64r6.
12184         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12186 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
12188         * string/strncat.c (STRNCAT): Simplify implementation.
12190 2014-12-19  David S. Miller  <davem@davemloft.net>
12192         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12193         access the quad as both a long double and as a series of 4 words.
12195         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12196         link_map->l_info array access.
12198 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12200         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12202         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12203         * math/atest-exp2.c (TIMEOUT): Likewise.
12204         * math/atest-sincos.c (TIMEOUT): Likewise.
12206 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12208         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12209         -Wno-error with -fno-builtin-lround.
12211 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12213         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12214         Contains futex constants and functions moved over from ...
12215         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
12216         <lowlevellock-futex.h>.
12217         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12218         (lll_timedwait_tid): Add comments and parentheses around macro
12219         arguments.
12221 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12223         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12224         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
12225         (__lll_private_flag): Remove.
12226         (lll_futex_wait): Likewise.
12227         (lll_futex_timed_wait): Likewise.
12228         (lll_futex_wake): Likewise.
12229         (lll_futex_requeue): Likewise.
12230         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12231         (__lll_timedwait_tid): Spell out argument names.
12232         (lll_timedwait_tid): Add comments and parentheses around macro
12233         arguments.
12234         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12235         LLL_SHARED and LLL_PRIVATE usable from assembly code.
12237 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12239         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12240         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12241         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12242         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12243         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12244         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12245         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12246         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12247         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12248         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12249         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12250         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12251         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12252         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12253         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12254         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12255         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12256         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12257         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12259 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12261         * sysdeps/x86_64/x32/Makefile: New file.
12263 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12265         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12266         1L with (mp_limb_t) 1.
12268 2014-12-17  Roland McGrath  <roland@hack.frob.com>
12270         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12271         * nptl/libc_pthread_init.c: ... here.
12272         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12273         * nptl/register-atfork.c: ... here.
12275         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12276         Use pthread_sigmask rather than INTERNAL_SYSCALL.
12277         Use assert_perror to check its return value.
12278         (__gai_create_helper_thread): Likewise.
12280         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12282         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12284 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
12286         [BZ #17725]
12287         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12288         __profil_counter.
12289         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12290         Likewise.
12291         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12292         Likewise.
12293         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12294         Likewise.
12295         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12296         (profil_counter): Likewise.
12297         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12298         (profil_counter): Likewise.
12299         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12300         Likewise.
12301         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12302         Likewise.
12303         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12304         (profil_counter): Likewise.
12305         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12306         Likewise.
12307         [!__profil_counter] (profil_counter): Define as weak alias of
12308         __profil_counter.
12309         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12310         (profil_counter): Rename to __profil_counter.
12311         [!__profil_counter] (profil_counter): Define as weak alias of
12312         __profil_counter.
12313         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12314         (profil_counter): Rename to __profil_counter.
12315         [!__profil_counter] (profil_counter): Define as weak alias of
12316         __profil_counter.
12317         * sysdeps/posix/profil.c: Update comment referring to
12318         profil_counter.
12319         (__profil): Use __profil_counter instead of profil_counter.
12320         * sysdeps/posix/sprofil.c (profil_counter): Rename to
12321         __profil_counter.  Use __profil_counter_ushort and
12322         __profil_counter_uint in definitions.
12323         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12324         instead of profil_counter_uint and profil_counter_ushort.
12326         [BZ #17722]
12327         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12328         define as weak alias of __inet_makeaddr.
12329         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12330         as weak alias of __inet_addr.
12331         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12332         as weak alias of __inet_pton.  Use libc_hidden_weak.
12333         * include/arpa/inet.h (__inet_pton): Declare.  Use
12334         libc_hidden_proto.
12335         (inet_makeaddr): Don't use libc_hidden_proto.
12336         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
12337         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12338         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
12339         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12340         Remove variable.
12341         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12342         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12344 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
12346         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12348 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12350         * stdio-common/bug-vfprintf-nargs.c (do_test):
12351         Cast value to intptr_t to avoid format warning
12352         for usage with PRIdPTR printing macro.
12354 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12356         * libio/tst-widetext.c (do_test):
12357         Use format type %td instead of %Zd for ptrdiff_t
12358         in order to avoid format warning.
12360 2014-12-17  Andreas Schwab  <schwab@suse.de>
12362         * nscd/mem.c (gc): Add size_t cast to match printf format.
12364 2014-12-16  Roland McGrath  <roland@hack.frob.com>
12366         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12367         (init): Apply PTR_MANGLE to pointers before storing them.
12368         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12369         before using them.
12371 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
12373         [BZ #17719]
12374         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12375         define as weak alias of __memrchr.
12376         (__memrchr): Do not define as strong alias of memrchr.
12377         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12378         Remove variable.
12379         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12380         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12381         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12383         [BZ #17717]
12384         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12385         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
12386         (if_indextoname): Rename to __if_indextoname and define as weak
12387         alias of __if_indextoname.  Use libc_hidden_weak.
12388         (if_freenameindex): Rename to __if_freenameindex and define as
12389         weak alias of __if_freenameindex.
12390         (if_nameindex): Rename to __if_nameindex and define as weak alias
12391         of __if_nameindex.
12392         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12393         __if_nametoindex and define as weak alias of __if_nametoindex.
12394         Use libc_hidden_weak.
12395         (if_freenameindex): Rename to __if_freenameindex and define as
12396         weak alias of __if_freenameindex.
12397         (if_nameindex): Rename to __if_nameindex and define as weak alias
12398         of __if_nameindex.
12399         (if_indextoname): Rename to __if_indextoname and define as weak
12400         alias of __if_indextoname.  Use libc_hidden_weak.
12401         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12402         __if_nametoindex and define as weak alias of __if_nametoindex.
12403         Use libc_hidden_weak.
12404         (if_freenameindex): Rename to __if_freenameindex and define as
12405         weak alias of __if_freenameindex.  Use libc_hidden_weak.
12406         (if_nameindex_netlink): Use __if_freenameindex instead of
12407         if_freenameindex.
12408         (if_nameindex): Rename to __if_nameindex and define as weak alias
12409         of __if_nameindex.  Use libc_hidden_weak.
12410         (if_indextoname): Rename to __if_indextoname and define as weak
12411         alias of __if_indextoname.  Use libc_hidden_weak.
12412         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12413         libc_hidden_proto.
12414         [!_ISOMAC] (__if_freenameindex): Likewise.
12415         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12416         if_nametoindex.
12417         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12418         variable.
12419         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12420         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12421         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12422         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12423         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12424         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12425         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12427         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12428         Remove variable.
12429         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12430         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12432 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12434         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12435         subscript above bounds'
12437         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12438         bounds.
12440 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
12442         * libio/tst-fopenloc.c: Use test-skeleton.c.
12444         * stdlib/tst-bsearch.c: Use test-skeleton.c.
12445         (entry): Rename to ITEM.
12446         (do_test, comp): Adjust.
12448         * stdio-common/tst-fseek.c: Use test-skeleton.c.
12450 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12452         * string/tester.c: Include <libc-internal.h>.
12453         (test_memset): Ignore -Wmemset-transposed-args.
12455 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12457         * misc/tst-mntent2.c (do_test): Fix warning.
12459 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12461         * elf/tst-unique4lib.cc(a): Mark as used.
12463 2014-12-16  Florian Weimer  <fweimer@redhat.com>
12465         [BZ #17630]
12466         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12467         names.
12469 2014-12-16  Allan McRae  <allan@archlinux.org>
12471         * stdio-common/Makefile (tests): Re-add bug26.
12473 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
12475         [BZ #17657]
12476         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12477         static array.
12479 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
12481         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12482         (__lll_lock_wait): Likewise.
12483         (__lll_timedlock_wait): Likewise.
12484         (__lll_timedwait_tid): Likewise.
12485         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12486         (__lll_robust_timedlock_wait): Likewise.
12487         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12488         (lll_cond_trylock): Likewise.
12489         (__lll_lock): Likewise.
12490         (__lll_robust_lock): Likewise.
12491         (__lll_cond_lock): Likewise.
12492         (lll_robust_cond_lock): Likewise.
12493         (__lll_timedlock): Likewise.
12494         (__lll_robust_timedlock): Likewise.
12495         (__lll_unlock): Likewise.
12496         (__lll_robust_unlock): Likewise.
12497         (lll_wait_tid): Likewise.
12498         (lll_timedwait_tid): Likewise.
12500 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12502         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12504 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12506         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12508 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12510         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12511         * stdio-common/tst-sprintf.c: Likewise.
12513 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12515         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12517 2014-12-15  Jeff Law  <law@redhat.com>
12519         [BZ #16617]
12520         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12521         on the heap.  (CVE-2012-3406)
12522         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12523         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
12524         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12526 2014-12-15  Will Newton  <will.newton@linaro.org>
12528         * manual/install.texi: Bump required version of texinfo
12529         to 4.7 from 4.5.
12530         * INSTALL: Regenerated.
12531         * configure.ac: Check for makeinfo version 4.7 and above.
12532         * configure: Regenerated.
12534 2014-12-12  Roland McGrath  <roland@hack.frob.com>
12536         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12537         PREFIX, string constant to insert between directory and name.
12538         * sysdeps/posix/shm_open.c: Update caller.
12539         * sysdeps/posix/shm_unlink.c: Likewise.
12540         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12541         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12542         (SEM_SHM_PREFIX): New macro.
12543         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12544         [$(have-thread-library) = no].
12545         * nptl/Makefile (libpthread-routines): Add shm-directory.
12546         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12547         * sysdeps/nptl/shm-directory.h: New file.
12548         * sysdeps/posix/shm-directory.c
12549         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12550         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12551         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12552         INTERNAL_SYSCALL.
12553         (__where_is_shmfs): Function removed.
12554         (mountpoint, defaultmount, defaultdir, __namedsem_once):
12555         Variables removed.
12556         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12557         Use SHM_GET_NAME.
12558         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
12560         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12561         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12562         unconditional for use inside libpthread.
12563         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12565 2014-12-12  Roland McGrath  <roland@hack.frob.com>
12567         * nptl/pthread_getaffinity.c: New file.
12568         * nptl/pthread_setaffinity.c: New file.
12569         * nptl/pthread_getname.c: New file.
12570         * nptl/pthread_setname.c: New file.
12572         * nptl/pthread_create.c (START_THREAD_DEFN)
12573         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12575 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12576             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12578         * resolv/res_send.c (send_vc): Disable warning resplen may
12579         be used uninitialized.
12581 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12583         * nptl/tst-mutex6.c
12584         (ATTR_NULL): New define checks ATTR against NULL.
12585         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12586         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12588 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
12590         [BZ #17581]
12591         * malloc/hooks.c
12592         (mem2mem_check): Revert my previous change.
12593         (malloc_check_get_size): Revert my previous change.
12594         (mem2chunk_check): Revert my previous change.
12596 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12598         * sysdeps/posix/shm-directory.c: New file.
12599         * sysdeps/posix/shm-directory.h: New file.
12600         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12601         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12602         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
12603         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12604         Transmute EPERM to EACCES.
12605         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12606         from ...
12607         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
12608         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12610 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12612         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12613         pointer and cast to uintptr_t.
12614         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12615         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12616         Add cast to avoid warning.
12617         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12619 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12621         * nptl/semaphore.h: Move to ...
12622         * sysdeps/pthread/semaphore.h: ... here.
12623         * Makefile (installed-headers): Change nptl/semaphore.h to
12624         sysdeps/pthread/semaphore.h.
12626 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12628         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12629         generated error format strings.
12631         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12632         -Wformat-extra-args warnings for scanf formats.
12633         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12634         test of zero-length format (duh).
12635         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12636         corner-case scanf format test.
12637         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12638         generated fprintf format string.
12639         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12640         corner-case sprintf format tests.
12641         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12642         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12643         -Wformat-extra-args warnings throughout.
12644         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12645         (CFLAGS-scanf4.c): Likewise.
12646         (CFLAGS-scanf7.c): Likewise.
12647         (CFLAGS-tst-sprintf.c): Likewise.
12648         (CFLAGS-tst-printf.c): Likewise.
12649         (CFLAGS-tst-printfsz.c): Likewise.
12651 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12653         * include/cpio.h: New file.
12654         * include/fmtmsg.h: Likewise.
12656         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
12657         corresponding format argument to size_t.
12658         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
12659         arguments.
12660         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
12661         corresponding format argument to size_t.
12662         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
12663         arguments.
12664         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
12665         corresponding format argument to size_t.
12666         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12667         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12668         (CFLAGS-tst-mbswcs2.c): Likewise.
12669         (CFLAGS-tst-mbswcs3.c): Likewise.
12670         (CFLAGS-tst-mbswcs4.c): Likewise.
12671         (CFLAGS-tst-mbswcs5.c): Likewise.
12672         (CFLAGS-tst-trans.c): Likewise
12674 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12676         * posix/regexbug1.c (main): Use "%s" format with regerror results,
12677         rather than assuming they won't contain any '%'s.
12679 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
12681         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12682         inhibit_loop_to_libcall to avoid recursive calls.
12683         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12684         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12686 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12688         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12689         prototype.
12691 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12693         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12694         integer value instead of boolean.
12696 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12698         * malloc/malloc.c: Fix powerof2 check.
12700 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12702         * locale/programs/locfile.h (maybe_swap_uint32):
12703         Remove inline and add unused attribute.
12705 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12707         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12708         Truncating assembler expression to a .long expression.
12710 2014-12-11  Andreas Schwab  <schwab@suse.de>
12712         * elf/rtld.c (struct map_args): Constify str member.
12713         (do_preload): Constify fname argument.
12715 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12717         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12718         constants definition.
12720 2014-12-11  Andreas Schwab  <schwab@suse.de>
12722         [BZ #16657]
12723         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12724         FORCE_ELISION instead of DO_ELISION.
12725         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12726         Remove.
12727         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12728         Likewise.
12730         * iconvdata/gconv-modules: Remove duplicate entry.
12732 2014-12-11  Will Newton  <will.newton@linaro.org>
12734         Merge gettext 0.19.3 into intl/.
12736         This involves a number of cosmetic changes to comments
12737         and ANSI function definitions and prototypes throughout
12738         all the files. The gettext copyright header is used but
12739         with the date ranges taken from the glibc copy.
12741         * NEWS: Add gettext merge to 2.21.
12742         * intl/bindtextdom.c: Switch to gettext copyright.
12743         Use ANSI definitions and prototypes.
12744         Use gl_* locking primitives rather than __libc_* ones.
12745         Use __builtin_expect rather than __glibc_likely/unlikely.
12746         * intl/dcgettext.c: Switch to gettext copyright.
12747         Use ANSI definitions and prototypes.
12748         * intl/dcigettext.c: Switch to gettext copyright.
12749         Use ANSI definitions and prototypes.
12750         (INTDIV0_RAISES_SIGFPE): New define.
12751         Use gl_* locking primitives rather than __libc_* ones.
12752         Include eval-plural.h instead of plural-eval.c.
12753         Use __builtin_expect rather than __glibc_likely/unlikely.
12754         * intl/dcngettext.c: Switch to gettext copyright.
12755         Use ANSI definitions and prototypes.
12756         * intl/dgettext.c: Likewise.
12757         * intl/dngettext.c: Likewise.
12758         * intl/plural-eval.c: Renamed to...
12759         * intl/eval-plural.h: ...this.
12760         * intl/explodename.c: Switch to gettext copyright.
12761         Use ANSI definitions and prototypes.
12762         (_nl_explode_name): Use strchr instead of __rawmemchr.
12763         * intl/finddomain.c: Switch to gettext copyright.
12764         Use ANSI definitions and prototypes.
12765         Use gl_* locking primitives rather than __libc_* ones.
12766         (_nl_find_domain): Use malloc rather than alloca for
12767         allocation of temporary locale name.
12768         * intl/gettext.c: Switch to gettext copyright.
12769         Use ANSI definitions and prototypes.
12770         * intl/gettextP.h: Switch to gettext copyright.
12771         Use ANSI definitions and prototypes.
12772         Use gl_* locking primitives rather than __libc_* ones.
12773         * intl/gmo.h: Switch to gettext copyright.
12774         (struct sysdep_string): Move struct segment_pair outside of
12775         struct definition.
12776         * intl/hash-string.c: Use ANSI definitions and prototypes.
12777         * intl/hash-string.h: Switch to gettext copyright.
12778         Use ANSI definitions and prototypes.
12779         * intl/l10nflist.c: Switch to gettext copyright.
12780         Use ANSI definitions and prototypes.
12781         (_nl_normalize_codeset): Avoid integer overflow.
12782         * intl/loadinfo.h: Switch to gettext copyright.
12783         Use ANSI definitions and prototypes.
12784         (LIBINTL_DLL_EXPORTED): New define.
12785         (PATH_SEPARATOR): New define.
12786         * intl/loadmsgcat.c: Switch to gettext copyright.
12787         * intl/localealias.c: Switch to gettext copyright.
12788         Use ANSI definitions and prototypes.
12789         (_nl_expand_alias): Use PATH_SEPARATOR.
12790         * intl/ngettext.c: Switch to gettext copyright.
12791         Use ANSI definitions and prototypes.
12792         * intl/plural-exp.c: Likewise.
12793         * intl/plural-exp.h: Switch to gettext copyright.
12794         Use ANSI definitions and prototypes.
12795         (struct expression): Move definition of enum operator outside
12796         of struct definition.
12797         * intl/plural.c: Regenerate.
12798         * intl/plural.y: Switch to gettext copyright.
12799         Use ANSI definitions and prototypes.
12800         Port to bison 3.0.
12801         * intl/textdomain.c: Switch to gettext copyright.
12802         Use ANSI definitions and prototypes.
12803         Use gl_* locking primitives rather than __libc_* ones.
12805 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
12807         * debug/warning-nop.c: Add used atrribute.
12809 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12811         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12813         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12814         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12815         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12817 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12818             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12820         [BZ #17634]
12821         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12822         Undefine after defining function.  Define as weak alias of
12823         __wcschr.  Use libc_hidden_weak.
12824         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
12825         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12826         (libc_hidden_def): Also define __GI___wcschr alias.
12827         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12828         __wcschr and define as weak alias of __wcschr.
12829         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12830         __wcschr.
12831         [!WCSCHR] (DEFAULT_WCSCHR): Define.
12832         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12833         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
12834         libc_hidden_weak.  Do not use libc_hidden_def.
12835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12836         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12837         __GI___wcschr alias.
12838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12839         [IS_IN (libc)] (wcschr): Define as macro expanding to
12840         __redirect_wcschr.
12841         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12842         [IS_IN (libc)] (__wcschr_power6): Likewise.
12843         [IS_IN (libc)] (__wcschr_power7): Likewise.
12844         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
12845         instead of wcschr.
12846         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12847         __libc_wcschr.
12848         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12849         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12850         __wcschr and define as weak alias of __wcschr.  Use
12851         libc_hidden_builtin_def.
12852         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12853         as weak alias of __wcschr.  Use libc_hidden_weak.
12854         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12855         wcschr.
12856         * time/era.c (_nl_init_era_entries): Likewise.
12857         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12858         variable.
12859         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12860         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12862 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12864         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12865         format for long int variable.
12867 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
12869         [BZ #10672]
12870         * manual/search.texi: (Array Sort Function): Remove claim how to make
12871         qsort stable.
12873 2014-12-10  Andreas Schwab  <schwab@suse.de>
12875         [BZ #12847]
12876         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12877         user-controlled locks.
12879 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
12881         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12882         register.
12884 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12886         * configure.ac (--disable-werror): New configure option.
12887         (enable_werror): New AC_SUBST.
12888         * configure: Regenerated.
12889         * config.make.in (enable-werror): New variable.
12890         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12891         -Wno-error=undef.
12892         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12893         * manual/install.texi (Configuring and compiling): Document
12894         --disable-werror.
12895         * INSTALL: Regenerated.
12896         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12897         (CFLAGS-tst-chk2.c): Likewise.
12898         (CFLAGS-tst-chk3.c): Likewise.
12899         (CFLAGS-tst-chk4.cc): Likewise.
12900         (CFLAGS-tst-chk5.cc): Likewise.
12901         (CFLAGS-tst-chk6.cc): Likewise.
12902         (CFLAGS-tst-lfschk1.c): Likewise.
12903         (CFLAGS-tst-lfschk2.c): Likewise.
12904         (CFLAGS-tst-lfschk3.c): Likewise.
12905         (CFLAGS-tst-lfschk4.cc): Likewise.
12906         (CFLAGS-tst-lfschk5.cc): Likewise.
12907         (CFLAGS-tst-lfschk6.cc): Likewise.
12909         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12910         (main): Disable -Wdeprecated-declarations around calls to
12911         register_printf_function.
12913         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12914         (do_test): Disable -Wdiv-by-zero around some calls to
12915         fwrite_unlocked and fread_unlocked.
12917         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12918         (DIAG_POP_NEEDS_COMMENT): Likewise.
12919         (_DIAG_STR1): Likewise.
12920         (_DIAG_STR): Likewise.
12921         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12922         * stdio-common/bug21.c: Include <libc-internal.h>.
12923         (do_test): Disable -Wformat around call to sscanf.
12924         * stdio-common/scanf14.c: Include <libc-internal.h>.
12925         (main): Disable -Wformat around some calls to scanf functions.
12927 2014-12-09  Torvald Riegel  <triegel@redhat.com>
12929         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12931 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12933         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12934         stack variable alignment.
12936 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
12938         [BZ #17682]
12939         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12940         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12941         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12942         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12943         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12944         __getrlimit instead of getrlimit.
12945         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12946         __gettimeofday instead of gettimeofday.
12947         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12948         Likewise.
12949         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12950         Likewise.
12951         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12952         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12953         Remove variable.
12954         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12955         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12957 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12959         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12960         for wide-character tests.
12962 2014-12-04  Roland McGrath  <roland@hack.frob.com>
12964         * io/openat64.c: #include <libc-internal.h>
12965         (__openat64): Prototypify.  Use ignore_value on MODE.
12966         * io/openat.c: Likewise.
12967         * misc/reboot.c: #include <libc-internal.h>
12968         (reboot): Prototypify.  Use ignore_value on HOWTO.
12969         * misc/ptrace.c: #include <libc-internal.h>
12970         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
12972 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
12974         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12975         XPG4, UNIX98 and XOPEN2K.
12976         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12977         Remove variable.
12978         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12980 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12982         * libio/fileops.c: Use ISO C style for function definitions.
12983         * libio/iofopen.c: Likewise.
12984         * libio/wfileops.c: Likewise.
12986         [BZ #17653]
12987         * libio/fileops.c (_IO_new_file_underflow): Unset cached
12988         offset on EOF.
12989         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12990         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12991         (fgets_func): Function pointer to fgets and fgetws.
12992         (do_ftell_test): Add test to verify ftell value after read
12993         EOF.
12994         (do_test): Set fgets_func.
12996         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12997         O_TRUNC flag for w and w+ modes.
12998         (do_rewind_test): Likewise.
12999         (do_ftell_test): Likewise.
13000         (do_write_test): Likewise.
13002         [BZ #17647]
13003         * libio/fileops.c (do_ftell): Seek only when there are
13004         unflushed writes.
13005         * libio/wfileops.c (do_ftell_wide): Likewise.
13006         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
13007         test case.
13008         (do_one_test): Call it.
13010 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
13012         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
13013         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
13014         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
13015         Remove variable.
13016         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13017         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13018         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13020 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13022         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
13023         Remove variable.
13024         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13026         [BZ #17668]
13027         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
13028         as weak alias of __getifaddrs.  Use libc_hidden_weak.
13029         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13030         __freeifaddrs.  Use libc_hidden_weak.
13031         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
13032         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
13033         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13034         __freeifaddrs.  Use libc_hidden_weak.
13035         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
13036         __getifaddrs and define as weak alias of __getifaddrs.  Use
13037         libc_hidden_weak.
13038         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13039         __freeifaddrs.  Use libc_hidden_weak.
13040         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
13041         Remove variable.
13042         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13043         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13045 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13047         [BZ #17601]
13048         * sysdeps/mips/start.S (__start): Use indirect jump to call
13049         __libc_start_main.
13051 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13053         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
13055         * nptl/tst-mutex1.c: Include <stdbool.h>.
13056         [!ATTR] (ATTR_NULL): New macro.
13057         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
13058         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
13059         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
13061         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
13062         to char *.
13064         [BZ #17665]
13065         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
13066         Change conditional to [__USE_MISC].
13068         [BZ #17664]
13069         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
13070         fgets_unlocked.
13071         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
13072         __fgets_unlocked.
13073         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
13074         fgets_unlocked.
13075         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
13076         Remove variable.
13077         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13078         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13079         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13080         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13081         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13082         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13083         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13084         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13085         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13087         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
13089 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13091         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13092         Remove strpbrk objects.
13093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13094         (__libc_ifunc_impl_list): Remove strpbrk implementation.
13095         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
13096         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
13097         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
13098         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
13100         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13101         Remove strcspn objects.
13102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13103         (__libc_ifunc_impl_list): Remove strcspn implementation.
13104         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
13105         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
13106         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
13107         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
13109         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13110         Remove strspn objetcs.
13111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13112         (__libc_ifunc_impl_list): Remove strspn implementation.
13113         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
13114         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13115         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
13116         * sysdeps/powerpc/powerpc64/strspn.S: New file.
13118 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
13120         [BZ #17581]
13121         * malloc/hooks.c
13122         (mem2mem_check): Add a terminator to the chain of checking blocks.
13123         (malloc_check_get_size): Use it here.
13124         (mem2chunk_check): Ditto.
13126 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13128         * sysdeps/powerpc/powerpc64/strtok.S: New file.
13129         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13131 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
13133         * bits/ioctl-types.h: Indent preprocessor directives correctly.
13135         * nptl/nptl-init.c: Include libc-internal.h.
13136         (__pthread_initialize_minimal_internal): Use ROUND_UP.
13138         * elf/ldconfig.c (search_dir): Expand comment.
13140 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
13142         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13143         variable.
13144         (linknamespace-symlist-stdlibs-tests): Likewise.
13145         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13146         instead of $(objpfx)symlist-stdlibs.
13147         (linknamespace-libs-isoc): New variable.
13148         (linknamespace-libs): Use $(linknamespace-libs-isoc).
13149         (linknamespace-libs-ISO): New variable.
13150         (linknamespace-libs-ISO99): Likewise.
13151         (linknamespace-libs-ISO11): Likewise.
13152         (linknamespace-libs-XPG3): Likewise.
13153         (linknamespace-libs-XPG4): Likewise.
13154         (linknamespace-libs-POSIX): Likewise.
13155         (linknamespace-libs-UNIX98): Likewise.
13156         (linknamespace-libs-XOPEN2K): Likewise.
13157         (linknamespace-libs-POSIX2008): Likewise.
13158         (linknamespace-libs-XOPEN2K8): Likewise.
13159         ($(objpfx)symlist-stdlibs): Replace by
13160         $(linknamespace-symlist-stdlibs-tests).  Use
13161         $(linknamespace-libs-$*) as set of libraries.
13162         ($(linknamespace-header-tests)): Update dependencies.  Use
13163         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13164         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13165         * conform/linknamespace.pl: Remove comment about considering
13166         definitions of symbols from irrelevant libraries.
13168 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13170         [BZ #13862]
13171         * elf/dl-tls.c: Include <atomic.h>.
13172         (oom): Remove #ifdef SHARED/#endif.
13173         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13174         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
13175         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13176         big enough.
13177         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13178         * nptl/Makefile (tests): Add tst-stack4.
13179         (modules-names): Add tst-stack4mod.
13180         ($(objpfx)tst-stack4): New.
13181         (tst-stack4mod.sos): Likewise.
13182         ($(objpfx)tst-stack4.out): Likewise.
13183         ($(tst-stack4mod.sos)): Likewise.
13184         (clean): Likewise.
13185         * nptl/tst-stack4.c: New file.
13186         * nptl/tst-stack4mod.c: Likewise.
13188 2014-11-27  J. Brown  <jb999@gmx.de>
13190         * sysdeps/x86/bits/string.h: Add recent CPUs.
13192 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13194         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13195         sigblock.
13197         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13198         feof.
13200         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13201         variable.
13203 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13205         * nscd/connections.c: Include libc-internal.h because of macro
13206         usage ignore_value.
13208 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13210         * string/bits/string3.h (__warn_memset_zero_len): Don't
13211         declare for gcc newer than 5.0.
13212         (memset): Don't test for zero-length __LEN for gcc newer than
13213         5.0.
13215 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13217         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13218         size_t for %zu format.
13220         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13221         difference, not %ju.
13223 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13225         * include/libc-internal.h (ignore_value): New macro.
13226         * nscd/connections.c (restart): Wrap calls to setuid and setgid
13227         with ignore_value.
13229         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13230         definition.
13232         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13233         pthread_cleanup_push to void *.
13235         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13236         Undefine.
13238         [BZ #16619]
13239         [BZ #16740]
13240         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13241         instead of 1L << 52.
13243         * libio/bug-rewind.c (do_test): Check fwscanf return values.
13244         * libio/bug-rewind2.c (do_test): Likewise.
13246         * debug/test-stpcpy_chk-ifunc.c: Remove file.
13247         * debug/test-strcpy_chk-ifunc.c: Likewise.
13248         * wcsmbs/test-wcschr-ifunc.c: Likewise.
13249         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13250         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13251         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13252         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13253         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13254         * Rules [$(multi-arch) = no] (tests): Do not filter out
13255         $(tests-ifunc).
13256         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13257         * debug/Makefile (tests-ifunc): Remove variable.
13258         (tests): Do not add $(tests-ifunc).
13259         * wcsmbs/Makefile (tests-ifunc): Remove variable.
13260         (tests): Do not add $(tests-ifunc).
13261         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13262         [TEST_IFUNC]: Remove conditionals.
13263         * string/test-string.h (TEST_IFUNC): Remove macro.
13264         [TEST_IFUNC]: Remove conditionals.
13266         * string/test-strchr.c [!WIDE] (L): New macro.
13267         [WIDE] (L): Likewise.
13268         (check1): Use CHAR instead of char.  Use L on string and character
13269         constants.
13271 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
13273         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13274         tests.
13275         * sysdeps/powerpc/bits/atomic.h
13276         (__arch_atomic_exchange_and_add_32_acq): Add definition.
13277         (__arch_atomic_exchange_and_add_32_rel): Likewise.
13278         (atomic_exchange_and_add_acq): Likewise.
13279         (atomic_exchange_and_add_rel): Likewise.
13280         * sysdeps/powerpc/powerpc32/bits/atomic.h
13281         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13282         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13283         * sysdeps/powerpc/powerpc64/bits/atomic.h
13284         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13285         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13287 2014-11-26  Torvald Riegel  <triegel@redhat.com>
13289         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13290         Change synchronization of __sched_fifo_min_prio and
13291         __sched_fifo_max_prio.
13292         * nptl/pthread_mutexattr_getprioceiling.c
13293         (pthread_mutexattr_getprioceiling): Likewise.
13294         * nptl/pthread_mutexattr_setprioceiling.c
13295         (pthread_mutexattr_setprioceiling): Likewise.
13296         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13297         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13298         Likewise.
13300 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13302         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13303         void.
13305 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13307         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13308         third argument const.
13310 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
13312         fnmatch: work around GCC compiler warning bug with uninit var
13313         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13314         This works around a bug with x86-64 GCC 4.9.2 and earlier
13315         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13316         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13317         used uninitialized in this function [-Wmaybe-uninitialized]".
13319 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13321         * posix/bug-regex31.c (main): Return RES not 0.
13323 2014-11-25  Anton Blanchard <anton@samba.org>
13325         * sysdeps/powerpc/bits/atomic.h
13326         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13328 2014-11-24  Sterling Augustine  <saugustine@google.com>
13330         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13332 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
13334         [BZ #17608]
13335         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13337 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
13339         [BZ #17633]
13340         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13341         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13342         variable.
13343         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13344         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13346 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13348         * string/strncpy.c (strncpy): Improve performance by using memset.
13350 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13352         * string/strcpy.c (strcpy):
13353         Improve performance by using strlen and memcpy.
13355 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
13357         * string/strcoll_l.c (get_next_seq): __always_inline.
13358         * string/strcoll_l.c (do_compare): __always_inline.
13360 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13362         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13363         defined.
13364         * include/mqueue.h: Likewise.
13365         * include/stdlib.h: Likewise.
13367         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13368         (get_null_defines): Adjust.
13369         * sunrpc/Makefile: Adjust comment.
13370         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13371         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13372         (CFLAGS-interp.c): Likewise.
13373         (CFLAGS-ldconfig.c): Likewise.
13374         (CPPFLAGS-.os): Likewise.
13375         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13376         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13377         * extra-modules.mk (extra-modules.mk): Likewise.
13378         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13379         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13380         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13381         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13382         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13383         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13384         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13385         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13386         * iconvdata/Makefile (CPPFLAGS): Likewise.
13387         (cpp-srcs-left): Add libof for all iconvdata routines.
13388         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13389         * include/assert.h: Likewise.
13390         * include/ctype.h: Likewise.
13391         * include/errno.h: Likewise.
13392         * include/libc-symbols.h: Likewise.
13393         * include/math.h: Likewise.
13394         * include/netdb.h: Likewise.
13395         * include/resolv.h: Likewise.
13396         * include/stdio.h: Likewise.
13397         * include/stdlib.h: Likewise.
13398         * include/string.h: Likewise.
13399         * include/sys/stat.h: Likewise.
13400         * include/wctype.h: Likewise.
13401         * intl/l10nflist.c: Likewise.
13402         * libidn/idn-stub.c: Likewise.
13403         * libio/libioP.h: Likewise.
13404         * nptl/libc_multiple_threads.c: Likewise.
13405         * nptl/pthreadP.h: Likewise.
13406         * posix/regex_internal.h: Likewise.
13407         * resolv/res_hconf.c: Likewise.
13408         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13409         * sysdeps/arm/memmove.S: Likewise.
13410         * sysdeps/arm/sysdep.h: Likewise.
13411         * sysdeps/generic/_itoa.h: Likewise.
13412         * sysdeps/generic/symbol-hacks.h: Likewise.
13413         * sysdeps/gnu/errlist.awk: Likewise.
13414         * sysdeps/gnu/errlist.c: Likewise.
13415         * sysdeps/i386/i586/memcpy.S: Likewise.
13416         * sysdeps/i386/i586/memset.S: Likewise.
13417         * sysdeps/i386/i686/memcpy.S: Likewise.
13418         * sysdeps/i386/i686/memmove.S: Likewise.
13419         * sysdeps/i386/i686/mempcpy.S: Likewise.
13420         * sysdeps/i386/i686/memset.S: Likewise.
13421         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13422         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13423         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13424         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13425         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13426         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13427         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13428         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13429         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13430         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13431         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13432         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13433         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13434         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13435         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13436         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13437         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13438         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13439         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13440         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13441         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13442         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13443         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13444         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13445         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13446         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13447         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13448         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13449         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13450         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13451         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13452         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13453         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13454         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13455         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13456         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13457         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13458         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13459         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13460         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13461         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13462         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13463         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13464         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13465         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13466         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13467         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13468         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13469         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13470         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13471         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13472         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13473         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13474         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13475         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13476         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13477         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13478         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13479         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13480         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13481         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13482         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13483         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13484         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13485         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13486         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13487         * sysdeps/posix/closedir.c: Likewise.
13488         * sysdeps/posix/opendir.c: Likewise.
13489         * sysdeps/posix/readdir.c: Likewise.
13490         * sysdeps/posix/rewinddir.c: Likewise.
13491         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13492         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13493         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13494         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13495         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13496         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13497         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13498         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13499         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13500         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13502         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13503         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13504         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13505         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13506         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13507         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13508         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13509         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13510         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13511         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13512         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13513         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13514         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13515         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13516         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13517         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13518         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13519         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13521         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13522         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13523         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13524         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13525         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13526         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13527         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13528         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13529         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13530         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13531         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13532         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13533         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13534         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13535         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13536         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13537         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13538         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13539         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13540         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13541         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13542         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13543         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13544         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13545         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13546         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13547         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13548         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13549         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13550         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13551         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13552         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13553         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13554         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13555         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13556         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13557         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13558         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13559         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13560         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13561         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13562         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13563         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13564         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13565         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13566         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13567         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13568         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13569         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13570         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13571         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13572         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13573         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13574         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13575         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13576         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13577         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13578         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13579         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13580         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13581         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13582         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13583         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13584         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13585         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13586         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13587         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13588         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13589         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13590         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13591         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13592         * sysdeps/unix/alpha/sysdep.S: Likewise.
13593         * sysdeps/unix/alpha/sysdep.h: Likewise.
13594         * sysdeps/unix/make-syscalls.sh: Likewise.
13595         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13596         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13597         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13598         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13599         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13600         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13601         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13602         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13603         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13604         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13605         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13606         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13607         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13608         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13609         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13610         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13611         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13612         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13613         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13614         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13615         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13616         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13617         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13618         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13619         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13620         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13621         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13624         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13625         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13626         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13627         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13628         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13629         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13630         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13631         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13632         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13633         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13634         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13635         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13636         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13637         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13638         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13639         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13640         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13642         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13643         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13644         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13645         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13646         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13647         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13648         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13649         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13650         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13651         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13652         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13653         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13654         * sysdeps/x86_64/memcpy.S: Likewise.
13655         * sysdeps/x86_64/memmove.c: Likewise.
13656         * sysdeps/x86_64/memset.S: Likewise.
13657         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13658         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13659         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13660         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13661         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13662         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13663         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13664         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13665         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13666         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13667         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13668         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13669         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13670         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13671         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13672         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13673         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13674         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13675         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13676         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13677         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13678         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13679         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13680         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13681         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13682         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13683         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13684         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13685         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13686         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13687         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13688         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13689         * sysdeps/x86_64/strcmp.S: Likewise.
13691         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13693         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13694         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13695         * elf/rtld-Rules: Likewise.
13696         * elf/setup-vdso.h: Likewise.
13697         * include/assert.h: Likewise.
13698         * include/bits/stdlib-float.h: Likewise.
13699         * include/errno.h: Likewise.
13700         * include/sys/stat.h: Likewise.
13701         * include/unistd.h: Likewise.
13702         * sysdeps/aarch64/setjmp.S: Likewise.
13703         * sysdeps/alpha/setjmp.S: Likewise.
13704         * sysdeps/arm/__longjmp.S: Likewise.
13705         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13706         * sysdeps/arm/setjmp.S: Likewise.
13707         * sysdeps/arm/sysdep.h: Likewise.
13708         * sysdeps/generic/_itoa.h: Likewise.
13709         * sysdeps/generic/dl-sysdep.h: Likewise.
13710         * sysdeps/generic/ldsodefs.h: Likewise.
13711         * sysdeps/i386/dl-tls.h: Likewise.
13712         * sysdeps/i386/setjmp.S: Likewise.
13713         * sysdeps/m68k/setjmp.c: Likewise.
13714         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13715         * sysdeps/mach/hurd/opendir.c: Likewise.
13716         * sysdeps/posix/getcwd.c: Likewise.
13717         * sysdeps/posix/opendir.c: Likewise.
13718         * sysdeps/posix/profil.c: Likewise.
13719         * sysdeps/powerpc/dl-procinfo.h: Likewise.
13720         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13721         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13722         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13723         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13724         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13725         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13726         * sysdeps/s390/dl-tls.h: Likewise.
13727         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13728         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13729         * sysdeps/sh/sh3/setjmp.S: Likewise.
13730         * sysdeps/sh/sh4/setjmp.S: Likewise.
13731         * sysdeps/unix/alpha/sysdep.h: Likewise.
13732         * sysdeps/unix/arm/sysdep.S: Likewise.
13733         * sysdeps/unix/i386/sysdep.S: Likewise.
13734         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13735         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13736         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13737         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13738         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13739         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13740         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13741         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13742         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13743         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13744         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13745         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13746         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13749         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13752         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13753         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13754         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13756         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13757         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13758         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13759         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13760         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13761         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13762         * sysdeps/x86_64/setjmp.S: Likewise.
13764         * include/math.h: Use IS_IN instead of IS_IN_libm.
13765         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13766         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13767         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13768         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13769         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13770         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13771         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13772         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13773         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13774         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13775         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13776         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13777         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13778         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13779         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13780         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13781         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13782         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13783         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13784         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13785         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13786         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13787         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13788         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13789         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13790         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13791         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13792         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13793         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13794         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13795         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13796         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13797         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13799         Likewise.
13800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13801         Likewise.
13802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13803         Likewise.
13804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13805         Likewise.
13806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13807         Likewise.
13808         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13809         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13810         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13811         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13812         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13813         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13819         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13820         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13821         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13822         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13823         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13824         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13825         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13826         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13827         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13828         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13829         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13830         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13831         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13832         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13834         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13836         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13837         * nptl/pthreadP.h: Likewise.
13838         * nptl_db/structs.def: Likewise.
13839         * sysdeps/arm/sysdep.h: Likewise.
13840         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13841         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13842         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13843         * sysdeps/unix/alpha/sysdep.h: Likewise.
13844         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13845         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13846         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13847         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13848         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13849         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13850         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13851         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13852         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13853         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13854         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13855         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13856         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13857         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13860         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13861         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13862         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13863         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13865         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13866         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13867         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13868         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13869         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13871         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13872         * nptl/pthreadP.h: Likewise.
13873         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13874         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13875         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13876         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13877         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13878         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13879         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13880         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13881         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13882         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13883         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13884         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13886         Likewise.
13887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13888         Likewise.
13889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13891         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13892         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13893         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13894         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13895         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13896         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13898         * dlfcn/dladdr.c: Use IS_IN.
13899         * dlfcn/dladdr1.c: Likewise.
13900         * dlfcn/dlclose.c: Likewise.
13901         * dlfcn/dlerror.c: Likewise.
13902         * dlfcn/dlinfo.c: Likewise.
13903         * dlfcn/dlmopen.c: Likewise.
13904         * dlfcn/dlopen.c: Likewise.
13905         * dlfcn/dlsym.c: Likewise.
13906         * dlfcn/dlvsym.c: Likewise.
13908         * include/ifaddrs.h: Use IS_IN.
13909         * inet/check_pf.c: Likewise.
13910         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13911         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13913         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13914         IS_IN_ldconfig.
13915         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13916         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13918         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13919         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13920         IS_IN (libc).
13922         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13924         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13925         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13926         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13927         * include/libc-symbols.h (IS_IN_LIB): New macro.
13928         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13929         * include/netdb.h: Likewise.
13930         * include/stap-probe.h: Remove all uses of IN_LIB.
13932         * Makeconfig (module-cppflags-real): Define MODULE_NAME
13933         instead of IN_MODULE.
13934         * include/libc-symbols.h (IN_MODULE): Define using
13935         MODULE_NAME.
13936         (PASTE_NAME, PASTE_NAME1): New macros.
13937         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13938         of IN_LIB.
13939         (STAP_PROBE_ASM): Likewise.
13941 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13943         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13944         __mach_init in dlopened libc.
13946 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
13948         * sysdeps/arm/preconfigure.ac: Delete EABI check.
13949         * sysdeps/arm/preconfigure: Regenerate.
13951 2014-11-21  Roland McGrath  <roland@hack.frob.com>
13953         * nptl/pthread_create.c (__pthread_create_2_1): Set
13954         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13955         when copying values from IATTR into PD.
13957 2014-11-21  Will Newton  <will.newton@linaro.org>
13958             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13960         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13961         Refactor inline-asm.  Also add comment.
13963         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13964         ElfW macro instead of hardcoded Elf64 types.
13965         (la_aarch64_gnu_pltenter): Likewise.
13966         * sysdeps/aarch64/dl-machine.h
13967         (elf_machine_runtime_setup): Use ElfW(Addr).
13969         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13970         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13971         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13972         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13973         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13974         (R_AARCH64_TLS_DTPMOD64): Rename to ..
13975         (R_AARCH64_TLS_DTPMOD): This.
13976         (R_AARCH64_TLS_DTPREL64): Rename to ...
13977         (R_AARCH64_TLS_DTPREL): This.
13978         (R_AARCH64_TLS_TPREL64): Rename to ...
13979         (R_AARCH64_TLS_TPREL): This.
13980         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13981         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13982         R_AARCH64_TLS_TPREL64.
13983         (elf_machine_rela): Likewise.
13985 2014-11-21  Torvald Riegel  <triegel@redhat.com>
13987         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13988         by setting it to 0.  64b atomics are not supported currently.
13990 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13992         [BZ #16469]
13993         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13994         search domain names.
13996 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13998         [BZ #16469]
13999         * NEWS: Update.
14000         * resolv/res_query.c (__libc_res_nquerydomain): Retain
14001         trailing dot.
14002         * posix/tst-getaddrinfo5.c: New.
14003         * posix/Makefile (tests): Add it.
14005 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14007         [BZ #14498]
14008         * NEWS: Fixed.
14009         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
14010         after parsing line but before break_if_match.
14011         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
14012         if there is a protocol mismatch.
14014 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
14016         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
14017         because the potential race is on the user-supplied stream.
14019 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14021         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
14022         string literal if not passed a buffer.
14023         * manual/job.texi (ctermid): Update reasoning, note deviation
14024         from posix, suggest mtasurace when not passed a buffer, for
14025         future non-preliminary safety notes.
14027 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14029         * manual/users.texi (cuserid): Fix MT-Safety note for the case
14030         of not passing it a buffer.
14031         Reported by Peng Haitao.
14033 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14035         * manual/Makefile ($(objpfx)stamp-summary): Require
14036         check-safety.sh to pass.
14037         * manual/check-safety.sh: Wish for verification that every
14038         @deftypefn and @deftypefun is followed by a @safety remark.
14040 2014-11-20  Roland McGrath  <roland@hack.frob.com>
14042         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
14044         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
14045         PTHREAD_CANCEL_ASYNCHRONOUS.
14046         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
14047         send SIGCANCEL.
14049         * nptl/default-sched.h: New file.
14050         * sysdeps/unix/sysv/linux/default-sched.h: New file.
14051         * nptl/pthread_create.c: Include it.
14052         (__pthread_create_2_1): Use collect_default_sched instead of making
14053         Linux syscalls here directly.
14055 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14057         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
14058         __pthread_once): Use C11 atomics.
14060 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14062         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
14064 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14066         * include/atomic.h (__atomic_link_error, __atomic_check_size,
14067         atomic_thread_fence_acquire, atomic_thread_fence_release,
14068         atomic_thread_fence_seq_cst, atomic_load_relaxed,
14069         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
14070         atomic_compare_exchange_weak_relaxed,
14071         atomic_compare_exchange_weak_acquire,
14072         atomic_compare_exchange_weak_release,
14073         atomic_exchange_acquire, atomic_exchange_release,
14074         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
14075         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
14076         atomic_fetch_and_acquire,
14077         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
14079 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14081         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
14082         USE_ATOMIC_COMPILER_BUILTINS): Define.
14083         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
14084         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14085         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
14086         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14087         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
14088         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14089         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
14090         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14091         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
14092         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14093         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
14094         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14095         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
14096         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14097         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
14098         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14099         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14100         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14101         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14102         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14103         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
14104         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14105         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14106         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14107         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
14108         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14109         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14110         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14111         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
14112         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14113         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
14114         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14115         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
14116         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14117         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14118         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14119         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
14120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14121         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
14122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14124 2014-11-19  Roland McGrath  <roland@hack.frob.com>
14126         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14127         the sched_priority value here.  It was already checked when the user
14128         called pthread_attr_setschedparam.
14130         * nptl/tst-bad-schedattr.c: New file.
14131         * nptl/Makefile (tests): Add it.
14133 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
14134             Florian Weimer  <fweimer@redhat.com>
14135             Joseph Myers  <joseph@codesourcery.com>
14136             Adam Conrad  <adconrad@0c3.net>
14137             Andreas Schwab  <schwab@suse.de>
14138             Brooks  <bmoses@google.com>
14140         [BZ #17625]
14141         * wordexp-test.c (__dso_handle): Add prototype.
14142         (__register_atfork): Likewise.
14143         (__app_register_atfork): New function.
14144         (registered_forks): New global.
14145         (register_fork): New function.
14146         (test_case): Add 3 new tests for WRDE_CMDSUB.
14147         (main): Call __app_register_atfork.
14148         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14149         fork count is non-zero fail the test.
14150         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14151         is set.
14152         (parse_dollars): Remove check for WRDE_NOCMD.
14153         (parse_dquote): Likewise.
14155 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14157         * Makeconfig (built-modules): List non-library modules to be
14158         built.
14159         (module-cppflags): Include libc-modules.h for
14160         everything except shlib-versions.v.i.
14161         (CPPFLAGS): Use it.
14162         (before-compile): Add libc-modules.h.
14163         ($(common-objpfx)libc-modules.h,
14164         $(common-objpfx)libc-modules.stmp): New targets.
14165         (common-generated): Add libc-modules.h and libc-modules.stmp.
14166         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14167         * include/libc-symbols.h: Don't include libc-modules.h.
14168         * include/libc-modules.h: Remove file.
14169         * scripts/gen-libc-modules.awk: New script to generate
14170         libc-modules.h.
14171         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14172         Depend on libc-modules.stmp.
14174         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14176         * Makeconfig (in-module): Get value of libof set for the
14177         translation unit.
14178         (CPPFLAGS): Use $(in-module).
14179         * Makerules: Don't suffix routine names for nonlib.
14180         * include/libc-modules.h: New file.
14181         * include/libc-symbols.h: Include libc-modules.h
14182         (IS_IN): New macro to replace IS_IN_* macros.
14183         * elf/Makefile: Set libof-* for each routine.
14184         * elf/rtld-Rules: Likewise.
14185         * extra-modules.mk: Likewise.
14186         * iconv/Makefile: Likewise.
14187         * iconvdata/Makefile: Likewise.
14188         * locale/Makefile: Likewise.
14189         * malloc/Makefile: Likewise.
14190         * nss/Makefile: Likewise.
14191         * sysdeps/gnu/Makefile: Likewise.
14192         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14193         * sysdeps/unix/sysv/linux/Makefile: Likewise.
14194         * sysdeps/s390/s390-64/Makefile: Likewise.
14195         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
14196         CPPFLAGS for nscd instead of nonlib.
14198 2014-11-18  Roland McGrath  <roland@hack.frob.com>
14200         * nptl/createthread.c: New file.
14202         * nptl/createthread.c: Moved ...
14203         * sysdeps/unix/sysv/linux/createthread.c: ... here.
14205         * nptl/createthread.c: Add proper top-line comment.
14206         (do_clone): Folded into ...
14207         (create_thread): ... here.  Take new arguments STOPPED_START and
14208         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
14209         increment __nptl_threads, do event-reporting logic, do
14210         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14211         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
14212         resource cleanup if sched_setaffinity or sched_setscheduler fails,
14213         just send SIGCANCEL.
14214         * nptl/pthread_create.c: Forward-declare create_thread before
14215         including createthread.c.
14216         (start_thread): Use new macro START_THREAD_DEFN to replace defining
14217         declaration, and new macro START_THREAD_SELF to replace argument.
14218         Remove return statement.
14219         (report_thread_creation): New function.
14220         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
14221         synchronization logic, and __nptl_nthreads increment here, around
14222         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
14223         PD->parent_cancelhandling here, before create_thread.  When
14224         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14225         __deallocate_stack, and ENOMEM translation here.
14227 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
14229         [BZ #17616]
14230         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14231         (mptwo): Rename to __mptwo.
14232         (__inv): Use __mptwo instead of mptwo.
14233         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14234         (mptwo): Rename to __mptwo.
14235         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14236         of mpone and __mptwo instead of mptwo.
14237         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14238         instead of mpone.
14239         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14240         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14241         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14242         of mpone and __mptwo instead of mptwo.
14243         (__mpranred): Use __mpone instead of mpone.
14244         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14245         variable.
14246         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14247         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14248         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14249         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14250         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14251         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14252         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14253         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14254         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14255         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14256         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14257         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14258         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14259         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14260         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14261         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14262         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14263         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14264         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14266 2014-11-18  Tom de Vries  <tom@codesoucery.com>
14268         * manual/signal.texi (Primitives Interrupted by Signals): In section,
14269         replace BSD Handler xref with BSD Signal Handling.
14271 2014-11-17  Richard Henderson  <rth@redhat.com>
14273         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14274         (_FP_PACK_RAW_2): Remove.
14275         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14276         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14277         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14278         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14279         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14280         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14281         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14282         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14283         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14284         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14285         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14286         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14287         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14288         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14289         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14290         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14292 2014-11-14  Roland McGrath  <roland@hack.frob.com>
14294         * signal/signal.h [__USE_MISC]
14295         (struct sigvec): Remove type.
14296         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14297         (sigvec): Remove declaration.
14298         * sysdeps/posix/sigvec.c: Moved ...
14299         * signal/sigvec.c: ... here, replacing old file.
14300         (struct sigvec): New type, copied from old signal.h definition.
14301         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14302         (__sigvec): Convert definition to prototype.
14303         (sigvec): Replace weak_alias with compat_symbol.
14304         * signal/Versions (libc: GLIBC_2.21): New version set.
14305         * include/signal.h: Remove __sigvec declaration.
14306         * sysdeps/unix/bsd/sigvec.c: Remove file.
14307         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14308         * manual/signal.texi (BSD Handler): Remove subsection.
14309         Move siginterrupt up to ...
14310         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
14311         (Blocking in BSD): Fold subsection into its parent.
14312         * NEWS: Mention sigvec removal.
14314 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14316         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14317         (DLA_FMS): Make definition conditional only on [__FMA4__].
14318         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14319         definition.
14321         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14322         Make definition conditional only on [PROF].
14323         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14324         definition.
14325         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14326         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14328         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14329         !__GNUC__].
14330         * include/signal.h (__sigpause): Move declaration above call to
14331         libc_hidden_proto.
14332         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14333         variable.
14334         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14335         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14337 2014-11-14  David S. Miller  <davem@davemloft.net>
14339         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14340         Define before including <string/memcpy.c> and <string/mempcpy.c>.
14342 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14344         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14345         * configure: Regenerated.
14346         * manual/install.texi (Tools for Compilation): Document a
14347         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14348         compiler verified to work.
14349         * INSTALL: Regenerated.
14351         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14352         redeclare with asm name.
14353         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14354         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14355         including <string.h>.
14356         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14357         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14358         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14359         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14360         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14361         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14362         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14364 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
14366         * stdlib/strtol.c (__strtol): Use prototype definition.
14368         [BZ #17594]
14369         * stdlib/strtol.c (SYM__): New macro.
14370         (SYM__1): Likewise.
14371         (__strtol): Likewise.
14372         (strtol): Rename to __strtol and define as weak alias of
14373         __strtol.  Use libc_hidden_weak.
14375 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14377         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14378         Use numbered labels in inline assembly.
14380 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14382         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14383         Add setjmp LIBC_PROBE.
14384         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14385         Likewise.
14386         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14387         Add longjmp, longjmp_target LIBC_PROBE.
14388         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14389         Likewise.
14391 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14393         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14394         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14395         to get rid of unused variable warning.
14397 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14399         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14400         Check for unwind_backtrace ==  NULL only in SHARED case.
14401         (__backchain_backtrace): Compile only in SHARED case.
14402         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14403         Likewise.
14404         (__backchain_backtrace): Declare as static.
14406 2014-11-12  Roland McGrath  <roland@hack.frob.com>
14408         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14409         (__libc_multiple_threads_ptr): Variable moved ...
14410         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14412 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
14414         * conform/GlibcConform.pm: New file.
14415         * conform/conformtest.pl: Use GlibcConform module.
14416         * conform/linknamespace.pl: New file.
14417         * conform/list-header-symbols.pl: Likewise.
14418         * conform/Makefile (linknamespace-symlists-base): New variable.
14419         (linknamespace-symlists-tests): Likewise.
14420         (linknamespace-header-base): Likewise.
14421         (linknamespace-header-tests): Likewise.
14422         (tests-special): Add new tests.
14423         ($(linknamespace-symlists-tests)): New rule.
14424         (linknamespace-libs): New variable.
14425         ($(objpfx)symlist-stdlibs): New rule.
14426         ($(linknamespace-header-tests)): Likewise.
14427         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14428         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14429         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14430         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14431         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14432         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14433         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14434         (test-xfail-ISO/math.h/linknamespace): Likewise.
14435         (test-xfail-ISO/signal.h/linknamespace): Likewise.
14436         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14437         (test-xfail-ISO/time.h/linknamespace): Likewise.
14438         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14439         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14440         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14441         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14442         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14443         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14444         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14445         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14446         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14447         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14448         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14449         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14450         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14451         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14452         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14453         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14454         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14455         (test-xfail-XPG3/search.h/linknamespace): Likewise.
14456         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14457         (test-xfail-XPG3/time.h/linknamespace): Likewise.
14458         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14459         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14460         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14461         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14462         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14463         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14464         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14465         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14466         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14467         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14468         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14469         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14470         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14471         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14472         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14473         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14474         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14475         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14476         (test-xfail-XPG4/time.h/linknamespace): Likewise.
14477         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14478         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14479         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14480         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14481         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14482         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14483         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14484         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14485         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14486         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14487         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14488         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14489         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14490         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14491         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14492         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14493         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14494         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14495         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14496         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14497         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14498         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14499         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14500         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14501         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14502         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14503         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14504         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14505         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14506         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14507         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14508         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14509         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14510         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14511         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14512         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14513         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14514         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14515         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14516         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14517         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14518         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14519         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14520         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14521         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14522         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14523         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14524         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14525         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14526         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14527         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14528         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14529         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14530         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14531         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14532         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14533         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14534         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14535         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14536         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14537         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14538         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14539         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14540         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14541         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14542         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14543         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14544         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14545         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14546         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14547         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14548         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14549         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14550         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14551         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14552         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14553         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14554         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14555         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14556         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14557         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14558         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14559         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14560         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14561         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14562         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14563         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14564         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14565         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14566         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14567         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14568         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14569         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14570         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14571         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14572         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14573         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14574         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14575         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14576         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14577         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14578         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14579         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14580         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14581         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14582         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14583         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14584         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14585         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14586         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14587         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14589         [BZ #17589]
14590         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14591         of fgets_unlocked.
14593         [BZ #17585]
14594         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14595         (memmem): Rename to __memmem and define as weak alias of
14596         __memmem.  Use libc_hidden_weak.
14597         (__memmem): Use libc_hidden_def.
14598         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
14599         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14600         memmem.
14602         [BZ #17582]
14603         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14604         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
14605         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14606         and define as weak alias of __fgets_unlocked.  Use
14607         libc_hidden_weak.
14608         (__fgets_unlocked): Use libc_hidden_def.
14609         * include/stdio.h (__fgets_unlocked): Declare.  Use
14610         libc_hidden_proto.
14611         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14612         __fgets_unlocked instead of fgets_unlocked.
14613         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14614         (GET_NPROCS_CONF_PARSER): Likewise.
14615         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14616         (GET_NPROCS_CONF_PARSER): Likewise.
14618         [BZ #17574]
14619         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14620         weak alias of __wmemset.  Use libc_hidden_weak.
14621         (__wmemset): Use libc_hidden_def.
14622         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
14623         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14624         of wmemset.
14626         [BZ #17573]
14627         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14628         with asm name __mempcpy.
14629         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14631         [BZ #17572]
14632         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14633         and define as weak alias of __rawmemchr.
14634         (__rawmemchr): Do not define as strong alias of rawmemchr.
14636         [BZ #17571]
14637         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14638         alias of __qsort_r.
14639         (qsort): Call __qsort_r instead of qsort_r.
14640         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14641         (__qsort_r): Declare.  Call libc_hidden_proto.
14642         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14643         instead of qsort_r.
14644         * nscd/gai.c (__qsort_r): Define to qsort_r.
14645         * posix/tst-rfc3484.c (__qsort_r): Likewise.
14646         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14647         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14649         [BZ #17570]
14650         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14651         define as weak alias of __malloc_info.
14653         [BZ #17584]
14654         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14655         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14656         (__rewinddir): Use libc_hidden_def.
14657         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14658         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14659         (__rewinddir): Use libc_hidden_def.
14660         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14661         weak alias of __rewinddir.  Don't use libc_hidden_def.
14662         (__rewinddir): Use libc_hidden_def.
14663         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14664         (__rewinddir): Use libc_hidden_proto.
14665         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14666         rewinddir.
14667         (__getcwd): Use __rewinddir instead of rewinddir.
14669         [BZ #17583]
14670         * libio/fileno.c (fileno): Rename to __fileno and define as weak
14671         alias of __fileno.  Use libc_hidden_weak.
14672         (__fileno): Use libc_hidden_def.
14673         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14674         * libio/ftello.c (ftello): Rename to __ftello and define as weak
14675         alias of __ftello.
14676         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14677         __ftello.
14678         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14679         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
14680         libc_hidden_def.
14681         (fread_unlocked): Don't use libc_hidden_ver.
14682         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14683         and define as weak alias of __fread_unlocked.  Don't use
14684         libc_hidden_def.
14685         (__fread_unlocked): Use libc_hidden_def.
14686         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
14687         (ftello): Don't use libc_hidden_proto.
14688         (__ftello): Declare.  Use libc_hidden_proto.
14689         (fread_unlocked): Don't use libc_hidden_proto.
14690         (__fread_unlocked): Declare.  Use libc_hidden_proto.
14691         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14692         and __ftello instead of fileno, fread_unlocked and ftello.
14694 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14696         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14697         GOT12.
14698         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14699         Likewise.
14700         (_dl_start_user): Likewise.
14701         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14703 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
14704             Siddhesh Poyarekar  <siddhesh@redhat.com>
14706         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14707         Move argv and envp down instead of moving argc up.
14708         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14710 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
14712         [BZ #17506]
14713         * test-skeleton.c (main): Return successful if one of
14714         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14715         * string/tst-strcoll-overflow.c: Define expected status.
14717 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
14719         [BZ #17475]
14720         * locale/iso-639.def: Define Bhili and Tulu language codes.
14722 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
14724         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14726 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
14728         [BZ #17555]
14729         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14731 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14733         * configure.ac: Updated check of minimal required version to
14734         2.22.
14735         * manual/install.texi (Tools for Compilation): Updated version
14736         number.
14737         * configure: Regenerated.
14738         * INSTALL: Likewise.
14740 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
14742         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14743         __tls_get_addr.
14745 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
14747         * include/sys/wait.h (__libc_waitpid): Remove declaration.
14748         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14749         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14750         libc_hidden_weak.
14751         (waitpid): Define as alias of __waitpid.
14752         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14753         __waitpid.
14754         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14755         libc_hidden_weak.
14756         (waitpid): Define as alias of __waitpid.
14757         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14758         __libc_waitpid alias.
14759         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14760         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14761         Likewise.
14762         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14763         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14764         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14765         alias.
14766         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14767         __waitpid.
14768         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14769         libc_hidden_weak.
14770         (waitpid): Define as alias of __waitpid.
14772 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
14774         * manual/llio.texi: Add comment that write safety has been
14775         fixed in Linux.
14777         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14778         (localplt-build-dso): Add elf/ld.so.
14779         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14780         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14781         and free for ld.so.
14782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14783         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14785         Likewise.
14786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14787         Likewise.
14788         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14789         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14790         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14791         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14792         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14793         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14794         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14795         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14796         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14797         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14798         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14800 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
14802         [BZ #14132]
14803         * include/libc-symbols.h (INTUSE): Remove macro.
14804         (INTDEF): Likewise.
14805         (INTVARDEF): Likewise.
14806         (_INTVARDEF): Likewise.
14807         (INTDEF2): Likewise.
14808         (INTVARDEF2): Likewise.
14809         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14810         rtld_hidden_def instead of INTVARDEF.
14811         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14812         (_dl_starting_up_internal): Remove declaration.
14813         (_dl_starting_up): Use rtld_hidden_proto.
14814         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14815         declaration.
14816         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14817         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14818         _dl_starting_up.
14819         * elf/dl-writev.h (_dl_writev): Likewise.
14820         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14821         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14822         _dl_starting_up_internal.
14824 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14826         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14827         test-skeleton.c.
14829 2014-11-05  Will Newton  <will.newton@linaro.org>
14831         * benchtests/Makefile: (bench-malloc): Add malloc thread
14832         scalability benchmark.
14833         * benchtests/bench-malloc-threads.c: New file.
14835 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
14837         * sysdeps/aarch64/strchrnul.S: New file.
14839 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14841         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14842         definition.
14843         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14844         Likwise.
14845         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14846         Likewise.
14847         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14848         Likewise.
14849         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14850         Likewise.
14851         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14852         Likewise.
14854 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
14856         * catgets/test-gencat.c: Use test-skeleton.c.
14857         * catgets/tst-catgets.c: Likewise.
14858         * csu/tst-empty.c: Likewise.
14859         * elf/tst-audit2.c: Likewise.
14860         * elf/tst-global1.c: Likewise.
14861         * elf/tst-pathopt.c: Likewise.
14862         * elf/tst-piemod1.c: Likewise.
14863         * elf/tst-tls10.c: Likewise.
14864         * elf/tst-tls11.c: Likewise.
14865         * elf/tst-tls12.c: Likewise.
14866         * gnulib/tst-gcc.c: Likewise.
14867         * iconvdata/tst-e2big.c: Likewise.
14868         * iconvdata/tst-loading.c: Likewise.
14869         * iconv/tst-iconv1.c: Likewise.
14870         * iconv/tst-iconv2.c: Likewise.
14871         * inet/test-inet6_opt.c: Likewise.
14872         * inet/tst-gethnm.c: Likewise.
14873         * inet/tst-network.c: Likewise.
14874         * inet/tst-ntoa.c: Likewise.
14875         * intl/tst-codeset.c: Likewise.
14876         * intl/tst-gettext2.c: Likewise.
14877         * intl/tst-gettext3.c: Likewise.
14878         * intl/tst-ngettext.c: Likewise.
14879         * intl/tst-translit.c: Likewise.
14880         * io/test-stat.c: Likewise.
14881         * libio/test-fmemopen.c: Likewise.
14882         * libio/tst-freopen.c: Likewise.
14883         * libio/tst-sscanf.c: Likewise.
14884         * libio/tst-ungetwc1.c: Likewise.
14885         * libio/tst-ungetwc2.c: Likewise.
14886         * libio/tst-widetext.c: Likewise.
14887         * localedata/tst-ctype.c: Likewise.
14888         * localedata/tst-digits.c: Likewise.
14889         * localedata/tst-leaks.c: Likewise.
14890         * localedata/tst-mbswcs1.c: Likewise.
14891         * localedata/tst-mbswcs2.c: Likewise.
14892         * localedata/tst-mbswcs3.c: Likewise.
14893         * localedata/tst-mbswcs4.c: Likewise.
14894         * localedata/tst-mbswcs5.c: Likewise.
14895         * localedata/tst-setlocale.c: Likewise.
14896         * localedata/tst-trans.c: Likewise.
14897         * localedata/tst-wctype.c: Likewise.
14898         * localedata/tst-xlocale1.c: Likewise.
14899         * login/tst-grantpt.c: Likewise.
14900         * malloc/tst-calloc.c: Likewise.
14901         * malloc/tst-malloc.c: Likewise.
14902         * malloc/tst-mallocstate.c: Likewise.
14903         * malloc/tst-mcheck.c: Likewise.
14904         * malloc/tst-mtrace.c: Likewise.
14905         * malloc/tst-obstack.c: Likewise.
14906         * math/atest-exp2.c: Likewise.
14907         * math/atest-exp.c: Likewise.
14908         * math/atest-sincos.c: Likewise.
14909         * math/test-matherr.c: Likewise.
14910         * math/test-misc.c: Likewise.
14911         * math/test-powl.c: Likewise.
14912         * math/tst-definitions.c: Likewise.
14913         * misc/tst-dirname.c: Likewise.
14914         * misc/tst-efgcvt.c: Likewise.
14915         * misc/tst-fdset.c: Likewise.
14916         * misc/tst-hsearch.c: Likewise.
14917         * misc/tst-mntent2.c: Likewise.
14918         * nptl/tst-sem7.c: Likewise.
14919         * nptl/tst-sem8.c: Likewise.
14920         * nptl/tst-sem9.c: Likewise.
14921         * nss/test-netdb.c: Likewise.
14922         * posix/tst-fnmatch.c: Likewise.
14923         * posix/tst-getlogin.c: Likewise.
14924         * posix/tst-gnuglob.c: Likewise.
14925         * posix/tst-mmap.c: Likewise.
14926         * pwd/tst-getpw.c: Likewise.
14927         * resolv/tst-inet_ntop.c: Likewise.
14928         * rt/tst-timer.c: Likewise.
14929         * stdio-common/test-fseek.c: Likewise.
14930         * stdio-common/test-popen.c: Likewise.
14931         * stdio-common/test-vfprintf.c: Likewise.
14932         * stdio-common/tst-cookie.c: Likewise.
14933         * stdio-common/tst-fileno.c: Likewise.
14934         * stdio-common/tst-gets.c: Likewise.
14935         * stdio-common/tst-obprintf.c: Likewise.
14936         * stdio-common/tst-perror.c: Likewise.
14937         * stdio-common/tst-sprintf2.c: Likewise.
14938         * stdio-common/tst-sprintf3.c: Likewise.
14939         * stdio-common/tst-sprintf.c: Likewise.
14940         * stdio-common/tst-swprintf.c: Likewise.
14941         * stdio-common/tst-tmpnam.c: Likewise.
14942         * stdio-common/tst-unbputc.c: Likewise.
14943         * stdio-common/tst-wc-printf.c: Likewise.
14944         * stdlib/tst-environ.c: Likewise.
14945         * stdlib/tst-fmtmsg.c: Likewise.
14946         * stdlib/tst-limits.c: Likewise.
14947         * stdlib/tst-rand48-2.c: Likewise.
14948         * stdlib/tst-rand48.c: Likewise.
14949         * stdlib/tst-random2.c: Likewise.
14950         * stdlib/tst-random.c: Likewise.
14951         * stdlib/tst-strtol.c: Likewise.
14952         * stdlib/tst-strtoll.c: Likewise.
14953         * stdlib/tst-tls-atexit.c: Likewise.
14954         * stdlib/tst-xpg-basename.c: Likewise.
14955         * string/test-ffs.c: Likewise.
14956         * string/tst-bswap.c: Likewise.
14957         * string/tst-inlcall.c: Likewise.
14958         * string/tst-strtok.c: Likewise.
14959         * string/tst-strxfrm.c: Likewise.
14960         * sysdeps/x86_64/tst-audit10.c: Likewise.
14961         * sysdeps/x86_64/tst-audit3.c: Likewise.
14962         * sysdeps/x86_64/tst-audit4.c: Likewise.
14963         * sysdeps/x86_64/tst-audit5.c: Likewise.
14964         * time/tst-ftime_l.c: Likewise.
14965         * time/tst-getdate.c: Likewise.
14966         * time/tst-mktime3.c: Likewise.
14967         * time/tst-mktime.c: Likewise.
14968         * time/tst-posixtz.c: Likewise.
14969         * time/tst-strptime2.c: Likewise.
14970         * time/tst-strptime3.c: Likewise.
14971         * wcsmbs/tst-btowc.c: Likewise.
14972         * wcsmbs/tst-mbrtowc.c: Likewise.
14973         * wcsmbs/tst-mbsrtowcs.c: Likewise.
14974         * wcsmbs/tst-wchar-h.c: Likewise.
14975         * wcsmbs/tst-wcpncpy.c: Likewise.
14976         * wcsmbs/tst-wcrtomb.c: Likewise.
14977         * wcsmbs/tst-wcsnlen.c: Likewise.
14978         * wcsmbs/tst-wcstof.c: Likewise.
14980 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
14982         [BZ #14132]
14983         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14984         INTDEF.
14985         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14986         declaration.
14987         (_dl_mcount): Use rtld_hidden_proto.
14988         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14989         _dl_mcount.
14990         * elf/rtld.c (_rtld_global_ro): Likewise.
14992         [BZ #14132]
14993         * elf/dl-init.c (_dl_init): Don't use INTDEF.
14994         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14995         of _dl_init_internal.
14996         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14997         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14998         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14999         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
15000         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
15001         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
15002         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
15003         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
15004         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
15005         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
15006         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
15007         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
15008         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15009         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15010         * sysdeps/tile/dl-start.S (_start): Likewise.
15011         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
15012         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
15014         [BZ #14132]
15015         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
15016         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
15017         (rtld_progname): Make macro definition unconditional.
15018         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
15019         INTDEF.
15020         (dlmopen_doit): Do not use INTUSE with _dl_argv.
15021         (dl_main): Likewise.
15022         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15023         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
15024         instead of _dl_argv_internal.
15025         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15026         __GI__dl_argv instead of INTUSE(_dl_argv).
15027         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
15028         __GI__dl_argv instead of _dl_argv_internal.
15030         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
15031         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
15032         macro.
15033         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
15034         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
15035         New macro.
15036         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
15037         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
15038         macro.
15039         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
15040         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
15042 2014-11-04  Andreas Schwab  <schwab@suse.de>
15044         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
15046 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15048         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
15049         mtvsrd instruction in binary form.
15051 2014-11-03  Andreas Schwab  <schwab@suse.de>
15053         [BZ #17522]
15054         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
15055         for less than MB_LEN_MAX use a local buffer of that size.
15056         * libio/tst-fputws.c: New file.
15057         * libio/Makefile (tests): Add tst-fputws.
15059 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
15061         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
15062         the size of the fpu_fr.fpu_dregs[] array.
15064 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
15066         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
15067         (__nanosleep): Do not define as alias.
15068         (nanosleep): Define as alias of __nanosleep.
15069         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
15070         __libc_nanosleep name.
15072 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15074         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
15075         install.texi in comment.
15077 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15079         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
15080         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
15081         ... add here and use lwsync or sync ...
15082         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
15083         ... and add here using lwsync.
15085 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15087         * elf/dl-machine-reject-phdr.h: New file.
15088         * elf/dl-load.c: #include that.
15089         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
15090         if that returned true.
15092 2014-10-31  Roland McGrath  <roland@hack.frob.com>
15094         [BZ #17496]
15095         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
15096         gen-as-const-headers chunk.  Add a big scare comment after the last
15097         safe place to touch before-compile.
15099 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15101         * manual/install.texi (Tools for Compilation): Update autoconf
15102         version requirements.
15103         * INSTALL: Regenerated.
15105         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
15106         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
15107         (__libc_pselect): Likewise.
15109         [BZ #14138]
15110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
15111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15115 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15117         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
15118         correct barrier instruction.
15119         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
15120         Likewise.
15121         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
15122         Likewise.
15124 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15126         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15127         after defining inlines.  Instead, just use parens to defeat macro
15128         expansion of __isctype in its declaration.
15130 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15132         * include/sys/uio.h (__libc_readv): Remove declaration.
15133         (__libc_writev): Likewise.
15134         * misc/readv.c (__libc_readv): Rename to __readv.
15135         (__readv): Do not define as alias.
15136         (readv): Define as alias of __readv.
15137         * misc/writev.c (__libc_writev): Rename to __writev.
15138         (__writev): Do not define as alias.
15139         (writev): Define as alias of __writev.
15140         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15141         (__readv): Do not define as alias.
15142         (readv): Define unconditionally as alias of __readv.
15143         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15144         (__writev): Do not define as alias.
15145         (writev): Define unconditionally as alias of __writev.
15146         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15147         name.
15148         (writev): Do not define __libc_writev name.
15150 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15152         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15153         (convert_charseq): New function, broken out of ...
15154         (use_from_charmap): ... here.  Call it.
15155         (use_to_charmap): Use convert_charseq and free instead of duplicating
15156         its code with a variable-length stack struct.
15158 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15160         * include/fcntl.h (__libc_creat): Remove declaration.
15161         * io/creat.c (__libc_creat): Rename to creat.
15162         (creat): Do not define as alias.
15163         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15164         of creat instead of __libc_creat.
15165         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15166         to creat.
15167         (creat): Do not define as alias.
15168         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15169         __libc_creat.
15170         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15171         __libc_creat name.
15172         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15173         Likewise.
15175 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
15177         * manual/llio.texi: Add comments discussing why write() may be
15178         considered MT-unsafe on Linux.
15180 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
15182         * dl-load.c (local_strdup): Remove.
15183         (expand_dynamic_string_token): Use __strdup.
15184         (decompose_rpath): Likewise.
15185         (_dl_map_object): Likewise.
15187 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
15189         [BZ #14132]
15190         * sysdeps/generic/unwind-dw2-fde.c
15191         (__register_frame_info_bases_internal): Do not declare.
15192         (__register_frame_info_table_bases_internal): Likewise.
15193         (__deregister_frame_info_bases_internal): Likewise.
15194         (__register_frame_info_bases): Declare and use hidden_proto before
15195         definition.  Use hidden_def instead of INTDEF.
15196         (__register_frame_info_table_bases): Likewise.
15197         (__deregister_frame_info_bases): Likewise.
15198         (__register_frame_info): Do not use INTUSE.
15199         (__register_frame): Likewise.
15200         (__register_frame_info_table): Likewise.
15201         (__register_frame_table): Likewise.
15202         (__deregister_frame_info): Likewise.
15203         (__deregister_frame): Likewise.
15205 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
15207         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15208         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15209         not undefine.
15210         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15211         Likewise.
15212         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15213         Likewise.
15215 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
15217         [BZ #14138]
15218         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15219         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15220         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15221         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15222         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15223         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15224         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15225         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15226         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15227         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15228         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15229         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15230         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15231         syscall.
15232         (setfsuid): Likewise.
15233         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15234         (setfsuid): Likewise.
15235         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15236         (setfsuid): Likewise.
15237         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15238         Likewise.
15239         (setfsuid): Likewise.
15240         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15241         (setfsuid): Likewise.
15242         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15243         Likewise.
15244         (setfsuid): Likewise.
15246 2014-10-27  Andreas Schwab  <schwab@suse.de>
15248         [BZ #17501]
15249         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15250         check for Slow_SSE4_2 feature bit.
15251         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15252         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15253         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15254         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
15256 2014-10-24  Roland McGrath  <roland@hack.frob.com>
15258         * configure.ac: Validate compiler version with a empirical test of
15259         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15260         $CC -v output.
15261         * configure: Regenerated.
15263         * inet/htons.c (htons): Prototypify.
15264         * inet/htonl.c (htonl): Likewise.
15266 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15268         * string/strncat.c (strncat): Improve performance by using strlen.
15270 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15272         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15274 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15276         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15277         Call libc_fetestexcept_aarch64.
15279 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15281         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15282         Call libc_feholdexcept_aarch64.
15284 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15286         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15287         Call get_rounding_mode.
15289 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15291         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15292         Simplify logic.
15294 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15296         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15297         Simplify logic.
15299 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
15301         [BZ #14138]
15302         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15303         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15304         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15305         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15306         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15307         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15308         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15309         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15310         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15311         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15312         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15313         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15314         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15315         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15316         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15317         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15318         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15319         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15320         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15321         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15322         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15323         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15324         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15325         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15326         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15327         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15328         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15329         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15330         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15331         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15332         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15333         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15334         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15335         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15336         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15337         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15338         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15339         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15340         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15341         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15342         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15343         syscall.
15344         (geteuid): Likewise.
15345         (getgid): Likewise.
15346         (getuid): Likewise.
15347         (getresgid): Likewise.
15348         (getresuid): Likewise.
15349         (getgroups): Likewise.
15350         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15351         (geteuid): Likewise.
15352         (getgid): Likewise.
15353         (getuid): Likewise.
15354         (getresgid): Likewise.
15355         (getresuid): Likewise.
15356         (getgroups): Likewise.
15357         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15358         (geteuid): Likewise.
15359         (getgid): Likewise.
15360         (getuid): Likewise.
15361         (getresgid): Likewise.
15362         (getresuid): Likewise.
15363         (getgroups): Likewise.
15364         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15365         Likewise.
15366         (geteuid): Likewise.
15367         (getgid): Likewise.
15368         (getuid): Likewise.
15369         (getresgid): Likewise.
15370         (getresuid): Likewise.
15371         (getgroups): Likewise.
15372         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15373         (geteuid): Likewise.
15374         (getgid): Likewise.
15375         (getuid): Likewise.
15376         (getresgid): Likewise.
15377         (getresuid): Likewise.
15378         (getgroups): Likewise.
15379         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15380         Likewise.
15381         (geteuid): Likewise.
15382         (getgid): Likewise.
15383         (getuid): Likewise.
15384         (getgroups): Likewise.
15386         [BZ #14138]
15387         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15388         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15389         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15390         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15391         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15392         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15393         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15394         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15395         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15396         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15397         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15398         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15399         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15400         __chown.
15401         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15402         (lchown): Likewise.
15403         (fchown): Likewise.
15404         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15405         Likewise.
15406         (lchown): Likewise.
15407         (fchown): Likewise.
15408         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15409         (lchown): Likewise.
15410         (fchown): Likewise.
15411         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15412         Likewise.
15413         (lchown): Likewise.
15414         (fchown): Likewise.
15416 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15418         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15419         Simplify logic.
15421 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15423         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15424         Cleanup logic.
15426 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15428         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15429         Remove unused include.
15431 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15433         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15434         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15435         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15436         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15438 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
15439             Helge Deller <deller@gmx.de>
15441         [BZ #17508]
15442         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15443         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15444         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15446 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
15448         [BZ #14132]
15449         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15450         Remove macro definition.
15451         (__ashrdi3_v_glibc20): Likewise.
15452         (__lshrdi3_v_glibc20): Likewise.
15453         (__cmpdi2_v_glibc20): Likewise.
15454         (__ucmpdi2_v_glibc20): Likewise.
15455         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15456         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15457         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15458         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15459         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15460         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15462 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15464         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15465         old GNU extension [0] syntax.
15466         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15467         alloca rather than an array member with variable length.
15468         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15469         * nscd/nscd.c (invalidate_db): New function, broken out of ...
15470         (parse_opt): ... here.  Likewise use alloca there.
15471         Validate the -i argument before checking for rootness.
15472         (send_shutdown): New function, broken out of ...
15473         (parse_opt): ... here.
15475 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15477         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15478         macro to get at the _rt_local_ro field.
15479         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15480         ([PIC] case) or _dl_hwcap ([!PIC] case).
15481         * sysdeps/arm/setjmp.S: Likewise.
15483         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15484         * sysdeps/arm/configure.ac: New check to define it.
15485         * sysdeps/arm/configure: Regenerated.
15486         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15487         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15488         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15489         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15490         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15491         Use move/movt pair instead of a load.
15492         (LDST_GLOBAL): Macro removed.
15493         (LDR_GLOBAL): New macro replaces it.
15494         (LDR_HIDDEN): New macro.
15495         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15496         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15498         * setjmp/tst-setjmp-static.c: New file.
15499         * setjmp/Makefile (tests): Add it.
15500         (tests-static): New variable.
15502 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
15504         [BZ #17485]
15505         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15507 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
15509         [BZ #14132]
15510         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15512 2014-10-21  Roland McGrath  <roland@hack.frob.com>
15514         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15516 2014-10-20  Roland McGrath  <roland@hack.frob.com>
15518         * io/fts.c (dirent_not_directory): New function.
15519         (fts_build): Call it.
15521 2014-10-20  Roland McGrath  <roland@hack.frob.com>
15523         * nptl/version.c (__nptl_main): Use normal __write rather than
15524         INTERNAL_SYSCALL.
15525         (banner): Update copyright years.
15527         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15528         gettimeofday.
15529         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15530         * nptl/pthread_cond_timedwait.c: Likewise.
15531         * nptl/pthread_mutex_timedlock.c: Likewise.
15532         * nptl/sem_timedwait.c: Likewise.
15534         * sysdeps/nptl/bits/libc-lock.h
15535         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15536         (__libc_lock_init_recursive): Return void, not 0.
15537         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15538         (__libc_rwlock_init): Likewise.
15539         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15541 2014-10-20  Torvald Riegel  <triegel@redhat.com>
15543         [BZ #15215]
15544         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15545         (__pthread_once_slow): ... here.
15546         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15547         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15549 2014-10-20  Torvald Riegel  <triegel@redhat.com>
15551         [BZ #15215]
15552         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15553         __PTHREAD_ONCE_FORK_GEN_INCR): New.
15554         * sysdeps/nptl/fork.c (__libc_fork): Use them.
15555         * nptl/pthread_once.c (__pthread_once): Likewise.
15556         Update comments.
15558 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
15560         [BZ #14138]
15561         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15562         name.
15563         (writev): Use __libc_writev as strong name.
15564         * sysdeps/unix/sysv/linux/readv.c: Remove file.
15565         * sysdeps/unix/sysv/linux/writev.c: Likewise.
15567 2014-10-17  Roland McGrath  <roland@hack.frob.com>
15569         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15571         * sysdeps/i386/nptl/tls.h
15572         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15573         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15574         New macros.
15575         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15576         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15577         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15578         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15579         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15580         Call CHECK_THREAD_SYSINFO instead of doing an assert.
15582         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15583         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15584         on [__NR_futex].
15585         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15586         broken out of ...
15587         (__pthread_mutex_init): ... here.  Call it.
15588         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15589         Conditionalize PI cases on [__NR_futex].
15590         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15591         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15592         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15594         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15595         conditional on [SIGSETXID].
15596         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15597         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15598         is defined.  Likewise for SIGSETXID.
15599         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15600         Conditionalize definitions on [SIGSETXID].
15601         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15602         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15603         unblocking on [SIGCANCEL].
15605         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15606         [__NR_set_robust_list].
15608 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15610         * string/strcoll_l.c (get_next_seq): Fix up formatting.
15611         (do_compare): Likewise.
15613 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
15615         [BZ #15884]
15616         * string/strcoll_l.c: Don't include stdio.h.
15617         (coll_seq): Remove members idxarr and rulearr.
15618         (get_next_seq_cached): Remove function.
15619         (get_next_seq): Likewise.
15620         (get_next_seq_nocache): Rename to get_next_seq.
15621         (do_compare): Remove function.
15622         (do_compare_nocache): Rename to do_compare.
15623         (STRCOLL): Remove weight and rules cache.
15625 2014-10-16  Roland McGrath  <roland@hack.frob.com>
15627         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15628         * sysdeps/arm/sfp-machine.h: ... to here.
15629         * sysdeps/arm/Implies: Remove arm/soft-fp.
15631 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
15633         * conform/data/sys/utsname.h-data (*_t): Allow.
15634         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15635         [POSIX] (WEXITED): Do not expect constant.
15636         [POSIX] (WSTOPPED): Likewise.
15637         [POSIX] (WNOHANG): Likewise.
15638         [POSIX] (WNOWAIT): Likewise.
15639         [POSIX] (siginfo_t): Do not expect type or elements.
15640         [POSIX] (pid_t): Do not expect type.
15641         [POSIX] (signal.h): Do not allow header.
15642         [POSIX] (sys/resource.h): Likewise.
15643         [POSIX] (si_*): Do not allow pattern.
15644         [POSIX] (W*): Likewise.
15645         [POSIX] (P_*): Likewise.
15646         [POSIX] (BUS_*): Likewise.
15647         [POSIX] (CLD_*): Likewise.
15648         [POSIX] (FPE_*): Likewise.
15649         [POSIX] (ILL_*): Likewise.
15650         [POSIX] (POLL_*): Likewise.
15651         [POSIX] (SEGV_*): Likewise.
15652         [POSIX] (SI_*): Likewise.
15653         [POSIX] (TRAP_*): Likewise.
15654         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15655         variable.
15657 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15659         [BZ #12926]
15660         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15661         infinite loop when __recvmsg returns 0.
15663 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
15665         * CANCEL-FCT-WAIVE: Remove file.
15666         * CANCEL-FILE-WAIVE: Likewise.
15668         [BZ #14132]
15669         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15670         instead of INTVARDEF.
15671         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15672         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15673         rtld_hidden_data_def instead of INTVARDEF.
15674         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15675         * elf/dl-deps.c (expand_dst): Likewise.
15676         * elf/dl-load.c (_dl_dst_count): Likewise.
15677         (_dl_dst_substitute): Likewise.
15678         (decompose_rpath): Likewise.
15679         (_dl_init_paths): Likewise.
15680         (open_path): Likewise.
15681         (_dl_map_object): Likewise.
15682         * elf/rtld.c (dl_main): Likewise.
15683         (process_dl_audit): Likewise.
15684         (process_envvars): Likewise.
15685         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15686         Remove declaration.
15687         (__libc_enable_secure): Use rtld_hidden_proto.
15689 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15691         * elf/dl-load.c
15692         (add_path): New function broken out of _dl_rtld_di_serinfo.
15693         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
15695 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
15697         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15698         parentheses around macro arguments.
15699         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15700         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15701         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15703         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15704         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15705         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15707         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15708         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15709         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15710         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15711         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15712         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15713         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15714         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15715         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15716         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15717         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15718         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15719         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15720         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15721         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15722         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15723         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15724         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15725         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15726         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15727         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15728         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15729         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15730         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15731         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15732         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15733         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15734         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15735         Likewise.
15736         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15737         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15738         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15739         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15741         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15742         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15743         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15744         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15745         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15746         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15747         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15748         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15749         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15750         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15751         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15752         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15753         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15754         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15755         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15756         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15757         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15758         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15759         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15760         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15761         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15762         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15763         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15764         (_FP_FRAC_SRS_1): Likewise.
15765         (_FP_FRAC_CLZ_1): Likewise.
15766         (_FP_MUL_MEAT_1_imm): Likewise.
15767         (_FP_MUL_MEAT_1_wide): Likewise.
15768         (_FP_MUL_MEAT_1_hard): Likewise.
15769         (_FP_SQRT_MEAT_1): Likewise.
15770         (_FP_FRAC_ASSEMBLE_1): Likewise.
15771         (_FP_FRAC_DISASSEMBLE_1): Likewise.
15772         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15773         (__FP_CLZ_2): Likewise.
15774         (_FP_MUL_MEAT_2_wide): Likewise.
15775         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15776         (_FP_MUL_MEAT_2_gmp): Likewise.
15777         (_FP_MUL_MEAT_2_120_240_double): Likewise.
15778         (_FP_SQRT_MEAT_2): Likewise.
15779         (_FP_FRAC_ASSEMBLE_2): Likewise.
15780         (_FP_FRAC_DISASSEMBLE_2): Likewise.
15781         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15782         (_FP_FRAC_CLZ_4): Likewise.
15783         (_FP_MUL_MEAT_4_wide): Likewise.
15784         (_FP_MUL_MEAT_4_gmp): Likewise.
15785         (_FP_SQRT_MEAT_4): Likewise.
15786         (_FP_FRAC_ASSEMBLE_4): Likewise.
15787         (_FP_FRAC_DISASSEMBLE_4): Likewise.
15788         * soft-fp/op-common.h (_FP_CMP): Likewise.
15789         (_FP_CMP_EQ): Likewise.
15790         (_FP_CMP_UNORD): Likewise.
15791         (_FP_TO_INT): Likewise.
15792         (_FP_FROM_INT): Likewise.
15793         [!__FP_CLZ] (__FP_CLZ): Likewise.
15794         (_FP_DIV_HELP_imm): Likewise.
15795         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15796         Likewise.
15797         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15798         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15799         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15800         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15801         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15802         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15803         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15804         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15805         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15806         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15807         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15808         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15809         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15810         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15811         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15812         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15813         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15814         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15815         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15816         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15817         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15818         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15819         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15820         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15821         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15822         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15823         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15824         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15825         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15826         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15827         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15828         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15829         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15830         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15831         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15832         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15833         (FP_UNPACK_RAW_SP): Likewise.
15834         (FP_PACK_RAW_S): Likewise.
15835         (FP_PACK_RAW_SP): Likewise.
15836         (FP_UNPACK_S): Likewise.
15837         (FP_UNPACK_SP): Likewise.
15838         (FP_UNPACK_SEMIRAW_S): Likewise.
15839         (FP_UNPACK_SEMIRAW_SP): Likewise.
15840         (FP_PACK_S): Likewise.
15841         (FP_PACK_SP): Likewise.
15842         (FP_PACK_SEMIRAW_S): Likewise.
15843         (FP_PACK_SEMIRAW_SP): Likewise.
15844         (_FP_SQRT_MEAT_S): Likewise.
15845         (FP_CMP_S): Likewise.
15846         (FP_CMP_EQ_S): Likewise.
15847         (FP_CMP_UNORD_S): Likewise.
15848         (FP_TO_INT_S): Likewise.
15849         (FP_FROM_INT_S): Likewise.
15851         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15853         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15854         (FP_EX_INVALID_IMZ): Likewise.
15855         (FP_EX_INVALID_IMZ_FMA): Likewise.
15856         (FP_EX_INVALID_ISI): Likewise.
15857         (FP_EX_INVALID_ZDZ): Likewise.
15858         (FP_EX_INVALID_IDI): Likewise.
15859         (FP_EX_INVALID_SQRT): Likewise.
15860         (FP_EX_INVALID_CVI): Likewise.
15861         (FP_EX_INVALID_VC): Likewise.
15862         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15863         "invalid" exceptions.
15864         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15865         (_FP_ADD_INTERNAL): Likewise.
15866         (_FP_MUL): Likewise.
15867         (_FP_FMA): Likewise.
15868         (_FP_DIV): Likewise.
15869         (_FP_CMP_CHECK_NAN): Likewise.
15870         (_FP_SQRT): Likewise.
15871         (_FP_TO_INT): Likewise.
15872         (FP_EXTEND): Likewise.
15874 2014-10-09  Allan McRae  <allan@archlinux.org>
15876         * po/fr.po: Update French translation from translation project.
15878 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
15880         [BZ #14132]
15881         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15882         of INTDEF.
15883         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15884         (__cxa_atexit): Use libc_hidden_proto.
15885         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15887         [BZ #14132]
15888         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15889         declaration.
15890         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15891         [!_ISOMAC] (__iswspace_l_internal): Likewise.
15892         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15893         [!_ISOMAC] (__iswctype_internal): Likewise.
15894         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15895         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15896         alias.
15897         (fcntl): Remove __fcntl_internal alias.
15898         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15899         __connect_internal alias.
15900         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15901         Likewise.
15903         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15904         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15905         FP_DENORM_ZERO.
15906         (_FP_CHECK_FLUSH_ZERO): New macro.
15907         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15908         (_FP_CMP): Likewise.
15909         (_FP_CMP_EQ): Likewise.
15910         (_FP_TO_INT): Do not set inexact for subnormal arguments if
15911         FP_DENORM_ZERO.
15912         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15913         (FP_TRUNC): Likewise.
15915         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15916         treated as invalid conversion, not as normal exponent.
15918         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15919         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
15920         (_FP_CMP_EQ): Likewise.
15921         (_FP_CMP_UNORD): Likewise.
15922         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15923         (FP_CMP_EQ_D): Likewise.
15924         (FP_CMP_UNORD_D): Likewise.
15925         * soft-fp/extended.h (FP_CMP_E): Likewise.
15926         (FP_CMP_EQ_E): Likewise.
15927         (FP_CMP_UNORD_E): Likewise.
15928         * soft-fp/quad.h (FP_CMP_Q): Likewise.
15929         (FP_CMP_EQ_Q): Likewise.
15930         (FP_CMP_UNORD_Q): Likewise.
15931         * soft-fp/single.h (FP_CMP_S): Likewise.
15932         (FP_CMP_EQ_S): Likewise.
15933         (FP_CMP_UNORD_S): Likewise.
15934         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15935         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15936         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15937         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15938         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15939         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15940         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15941         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15942         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15943         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15944         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15945         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15946         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15947         to FP_CMP_Q.
15948         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15949         FP_CMP_Q.
15950         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15951         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15952         FP_CMP_EQ_Q.
15953         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15954         FP_CMP_Q.
15955         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15956         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15957         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15958         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15959         FP_CMP_EQ_Q.
15960         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15961         FP_CMP_Q.
15962         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15963         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15964         FP_CMP_EQ_Q.
15965         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15966         FP_CMP_Q.
15967         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15968         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15969         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15970         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15971         FP_CMP_EQ_Q.
15973         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15974         a subnormal result, set the underflow exception if trapping on
15975         underflow is enabled.
15976         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15977         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15978         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15979         redefine to 0.
15980         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15981         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15982         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15983         * soft-fp/extendxftf2.c (__extendxftf2): Use
15984         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15986         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15987         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15988         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15989         FP_HANDLE_EXCEPTIONS.
15990         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15991         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15992         FP_HANDLE_EXCEPTIONS.
15993         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15994         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15995         FP_HANDLE_EXCEPTIONS.
15996         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15997         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15998         FP_HANDLE_EXCEPTIONS.
16000 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
16002         [BZ #14132]
16003         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
16004         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
16005         use INTUSE.
16006         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
16007         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
16008         Remove alias.
16009         (__adjtimex): Define using libc_hidden_ver.
16010         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
16011         Remove declaration.
16012         (ntp_gettime): Call __adjtimex directly.
16013         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
16014         Remove declaration.
16015         (ntp_gettimex): Call __adjtimex directly.
16016         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
16017         __adjtimex_internal alias.
16019 2014-10-08  Roland McGrath  <roland@hack.frob.com>
16021         [BZ #17460]
16022         * nscd/nscd.c (more_help): Rewrite list of tables collection
16023         using xstrdup and asprintf.
16025         * nscd/nscd_conf.c: Remove local xstrdup declaration.
16027 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16028             Roland McGrath  <roland@hack.frob.com>
16030         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
16031         (do_lookup_unique): ... local function 'enter' here; update callers.
16033 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
16035         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
16036         compat_symbol calls on [SHARED].
16037         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
16038         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
16039         Remove.
16040         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16041         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
16042         (oldsetrlimit): Remove.
16043         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16045         (lchown): New syscall entry.
16046         (oldsetrlimit): Remove.
16047         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16048         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
16049         (oldsetrlimit): Remove.
16050         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16052         [BZ #14138]
16053         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
16054         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
16055         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
16056         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
16057         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16058         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
16059         (fchown): Likewise.
16060         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
16061         (fchown): Likewise.
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
16063         Likewise.
16065 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16067         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
16068         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
16069         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
16070         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
16071         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
16072         Likewise.
16073         (__old_sem_post): Likewise.
16075 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
16077         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
16078         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
16079         HAVE_CLOCK_GETTIME_VSYSCALL macros.
16080         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
16081         Use INLINE_VSYSCALL macro.
16082         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
16083         __vdso_clock_gettime.
16084         * sysdeps/unix/sysv/linux/tile/init-first.c
16085         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
16086         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
16087         __vdso_clock_gettime.
16089         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
16090         to set up frame more cleanly.
16092         * sysdeps/tile/memcmp.c: New file.
16094         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
16096         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
16097         * sysdeps/tile/tilegx/strcasestr.c: New file.
16098         * sysdeps/tile/tilegx/strnlen.c: New file.
16099         * sysdeps/tile/tilegx/strstr.c: New file.
16101         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
16103 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
16105         * nptl/tst-setuid3.c: Write errors to stdout.
16107 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16109         * elf/dl-deps.c
16110         (preload): New functions broken out of _dl_map_object_deps.
16111         (_dl_map_object_deps):  Remove a nested function. Update call sites.
16113 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
16115         [BZ #14138]
16116         * sysdeps/unix/sysv/linux/execve.c: Remove file.
16117         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
16119 2014-10-01  Steve Ellcey  <sellcey@mips.com>
16121         * sysdeps/mips/strcmp.S: New.
16123 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
16125         [BZ #14138]
16126         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16127         (linkat): Likewise.
16128         (mkdirat): Likewise.
16129         (readlinkat): Likewise.
16130         (renameat): Likewise.
16131         (symlinkat): Likewise.
16132         (unlinkat): Likewise.
16133         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16134         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16135         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16136         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16137         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16138         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16139         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16141 2014-09-30  Will Newton  <will.newton@linaro.org>
16143         * math/math.h: Define long double math functions if
16144         _LIBC_TEST is defined.
16145         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16147         * localedata/Makefile: Move assignment to tests-special
16148         into an ifdef testing run-built-tests.
16149         * timezone/Makefile: Likewise.
16151 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
16153         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16154         with $(BASH) not $(SHELL).
16156 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
16157             Matthew LeGendre  <legendre1@llnl.gov>
16159         [BZ #17411]
16160         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16161         l_reloc_result.
16163 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16165         * stdio-common/printf_fp.c
16166         (hack_digit): New function, broken out of ...
16167         (__printf_fp): ... local function here.  Update call sites.
16168         hack_digit now takes an additional parameter that is a pointer
16169         to a struct of the referenced locals.  Those locals moved inside
16170         the struct and references updated.
16172 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
16174         * aclocal.m4: Require autoconf 2.69.
16175         * configure: Regenerated.
16176         * sysdeps/aarch64/configure: Likewise.
16177         * sysdeps/alpha/configure: Likewise.
16178         * sysdeps/arm/armv7/configure: Likewise.
16179         * sysdeps/arm/configure: Likewise.
16180         * sysdeps/ia64/configure: Likewise.
16181         * sysdeps/mach/configure: Likewise.
16182         * sysdeps/mips/configure: Likewise.
16183         * sysdeps/s390/configure: Likewise.
16184         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16187         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16188         file.
16189         * sysdeps/ia64/configure.ac: Likewise.
16191 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
16193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16194         specify symbol version for ld.so.  Do not include entry for
16195         libpthread.
16196         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16197         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16198         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16200         [BZ #14171]
16201         * Makeconfig [$(build-shared) = yes]
16202         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16203         makefiles.
16204         [$(build-shared) = yes && $(soversions.mk-done) = t]
16205         ($(common-objpfx)gnu/lib-names.h): Remove rule.
16206         [$(build-shared) = yes && $(soversions.mk-done) = t]
16207         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
16208         to Makerules.
16209         [$(build-shared) = yes && $(soversions.mk-done) = t]
16210         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16211         here.
16212         [$(build-shared) = yes && $(soversions.mk-done) = t]
16213         (common-generated): Don't append gnu/lib-names.h and
16214         gnu/lib-names.stmp here.
16215         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16216         (lib-names-h-abi): New variable.
16217         [$(build-shared) = yes && $(soversions.mk-done) = t]
16218         (lib-names-stmp-abi): Likewise.
16219         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16220         abi-variants] (before-compile): Append
16221         $(common-objpfx)$(lib-names-h-abi).
16222         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16223         abi-variants] (common-generated): Append gnu/lib-names.h.
16224         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16225         abi-variants] (install-others-nosubdir): Depend on
16226         $(inst_includedir)/$(lib-names-h-abi).
16227         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16228         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16229         [$(build-shared) = yes && $(soversions.mk-done) = t]
16230         ($(common-objpfx)$(lib-names-h-abi)): New rule.
16231         [$(build-shared) = yes && $(soversions.mk-done) = t]
16232         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16233         [$(build-shared) = yes && $(soversions.mk-done) = t]
16234         (common-generated): Append $(lib-names-h-abi) and
16235         $(lib-names-stmp-abi).
16236         * scripts/lib-names.awk: Do not handle multi being set.
16237         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16238         Remove variable.
16239         (abi-lp64_be-ld-soname): Likewise.
16240         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16241         Likewise.
16242         (abi-hard-ld-soname): Likewise.
16243         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16244         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16245         Remove variable.
16246         (abi-o32_hard-ld-soname): Likewise.
16247         (abi-o32_soft_2008-ld-soname): Likewise.
16248         (abi-o32_hard_2008-ld-soname): Likewise.
16249         (abi-n32_soft-ld-soname): Likewise.
16250         (abi-n32_hard-ld-soname): Likewise.
16251         (abi-n32_soft_2008-ld-soname): Likewise.
16252         (abi-n32_hard_2008-ld-soname): Likewise.
16253         (abi-n64_soft-ld-soname): Likewise.
16254         (abi-n64_hard-ld-soname): Likewise.
16255         (abi-n64_soft_2008-ld-soname): Likewise.
16256         (abi-n64_hard_2008-ld-soname): Likewise.
16257         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16258         Likewise.
16259         (abi-64-v2-ld-soname): Likewise.
16260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16261         ld.so entries.
16262         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16263         variable.
16264         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16265         entry.
16266         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16267         variable.
16268         (abi-64-ld-soname): Likewise.
16269         (abi-x32-ld-soname): Likewise.
16270         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16271         entry.
16272         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16274 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
16276         [BZ #14138]
16277         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16278         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16279         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16280         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16281         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16282         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16283         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16284         syscall entry for GLIBC_2.2 symbol version.
16285         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16286         Likewise.
16287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16288         (setrlimit): Likewise.
16289         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16290         Likewise.
16292 2014-09-23  Will Newton  <will.newton@linaro.org>
16294         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16295         _LINUX_ARM_SYSDEP_H include guard too.
16296         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16297         define.
16299 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16301         * sysdeps/unix/sysv/linux/eventfd.c:
16302         Make first argument unsigned.
16303         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16304         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16306 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
16308         * socket/recvmmsg.c (recvmmsg): Drop const argument.
16309         * socket/sys/socket.h: Likewise
16310         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16312 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16314         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16316 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
16318         * time/tst-ftime.c: New test.
16319         * time/Makefile (tests): Add tst-ftime.
16321 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
16323         * soft-fp/extended.h: Fix comment formatting.
16324         * soft-fp/op-1.h: Likewise.
16325         * soft-fp/op-2.h: Likewise.
16326         * soft-fp/op-4.h: Likewise.
16327         * soft-fp/op-8.h: Likewise.
16328         * soft-fp/op-common.h: Likewise.
16329         * soft-fp/soft-fp.h: Likewise.
16331         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16333 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
16335         [BZ #6652]
16336         * Makeconfig (soversions-default-setname): Remove variable.
16337         ($(common-objpfx)soversions.i): Don't pass default_setname to
16338         soversions.awk.
16339         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16340         oldest_abi to abi-versions.awk.
16341         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16342         * config.make.in (oldest-abi): Remove variable.
16343         * configure.ac (--enable-oldest-abi): Remove configure option.
16344         * configure: Regenerated.
16345         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16346         text.
16347         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16348         * scripts/soversions.awk: Do not handle default_setname variable.
16349         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16350         variable.
16351         * sysdeps/mach/hurd/configure: Regenerated.
16352         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16353         variable.
16354         * sysdeps/unix/sysv/linux/configure: Regenerated.
16356 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16358         * elf/Makefile (CFLAGS-interp.c): Remove.
16359         ($(elf-objpfx)runtime-linker.h): Generate header with linker
16360         path string.
16361         * elf/interp.c: Include generated runtime-linker.h
16363         * Makerules (lib%.so): Don't include $(+interp) in
16364         prerequisites.
16365         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16366         * dlfcn/eval.c: Remove file.
16368         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16369         macros.
16371         [BZ #17266]
16372         * misc/sys/cdefs.h: Define __extern_always_inline for clang
16373         4.2 and newer.
16375         [BZ #17370]
16376         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16378 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16379             Jakub Jelinek  <jakub@redhat.com>
16381         [BZ #17266]
16382         * libio/stdio.h: Check definition of __fortify_function
16383         instead of __extern_always_inline to include bits/stdio2.h.
16384         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16385         check if __extern_always_inline is defined.
16386         [__USE_MISC || __USE_XOPEN]: Likewise.
16387         [__USE_ISOC99] Likewise.
16388         * misc/sys/cdefs.h (__fortify_function): Define only if
16389         __extern_always_inline is defined.
16390         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16391         __extern_always_inline and __extern_inline only for g++-4.3
16392         and newer or a compatible gcc.
16394 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
16396         [BZ #17371]
16397         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16398         last change to handle zero prefix length.
16400 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16402         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16403         _SC_REGEX_VERSION.
16405         * posix/getconf.c (vars): Add _POSIX_IPV6 and
16406         _POSIX_RAW_SOCKETS.
16408 2014-09-13  Allan McRae  <allan@archlinux.org>
16410         * po/ru.po: Update Russian translation from translation project.
16412 2014-09-12  Roland McGrath  <roland@hack.frob.com>
16414         * locale/programs/locale.c (show_locale_vars): Inline local function
16415         into its sole call site.  Clean up some style nits.
16416         (print_item): New function, broken out of ...
16417         (show_info): ... local function here.  Clean up style nits.
16419         * locale/programs/ld-ctype.c (set_one_default): New function, broken
16420         out of ...
16421         (set_class_defaults): ... local function set_default here.
16422         Define set_default as a macro locally to pass constant parameters.
16423         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16424         rather than a shared local.
16426         * stdlib/rpmatch.c (try): New function, broken out of ...
16427         (rpmatch): ... local function here.  Also, prototypify definition.
16429 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
16431         * scripts/soversions.awk: Do not handle configuration names.
16432         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16433         vendor and os variables to soversions.awk.
16434         * configure.ac: Do not modify gnu-* host_os.
16435         * configure: Regenerated
16436         * shlib-versions: Remove first column with configuration names.
16437         * nptl/shlib-versions: Likewise.
16438         * nptl_db/shlib-versions: Likewise.
16439         * sysdeps/hppa/shlib-versions: Likewise.
16440         * sysdeps/m68k/shlib-versions: Likewise.
16441         * sysdeps/mach/hurd/shlib-versions: Likewise.
16442         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16443         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16444         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16445         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16446         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16447         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16448         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16449         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16451         Likewise.
16452         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16453         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16454         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16455         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16456         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16457         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16458         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16459         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16462         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16464         Regenerated.
16465         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16467         Condition symbol version definitions on [HAVE_ELFV2_ABI].
16469         * shlib-versions: Remove OS-specific entries.  Moved to files in
16470         sysdeps.
16471         * sysdeps/mach/hurd/shlib-versions: New file.
16472         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16474         * nptl/shlib-versions: Remove architecture-specific entries.
16475         Moved to files in sysdeps.
16476         * shlib-versions: Likewise.
16477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16478         file.
16479         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16480         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16481         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16482         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16484         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16485         (UDP_NO_CHECK6_RX): Likewise.
16487 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16489         * sysdeps/posix/sysconf.c (__sysconf): Spell
16490         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16492 2014-08-12  Florian Weimer  <fweimer@redhat.com>
16494         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16495         loading.
16496         * iconv/Versions (__gconv_transliterate): Export for use from
16497         gconv modules.
16498         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16499         (struct __gconv_trans_data, __gconv_trans_fct,
16500         __gconv_trans_context_fct, __gconv_trans_query_fct,
16501         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16502         definitions.
16503         (struct __gconv_step_data): Remove __trans member.
16504         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
16505         longer hidden.  Remove unused trans_data argument.
16506         * iconv/gconv_int.h (struct trans_struct): Remove definition.
16507         (__gconv_translit_find): Remove declaration.
16508         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
16509         prototype.
16510         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16511         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16512         trans_data argument.  Add hidden definition.
16513         (__gconv_translit_find): Remove.
16514         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16515         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16516         * iconv/skeleton.c: Remove transliteration initialization.
16517         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16518         __gconv_step_data initialization.
16519         * libio/iofwide.c (__libio_translit_): Remove.
16520         (_IO_fwide): Adjust struct __gconv_step_data initialization.
16521         * wcsmbs/btowc.c (__btowc): Likewise.
16522         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16523         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16524         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16525         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16526         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16527         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16528         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16529         * wcsmbs/wctob.c (wctob): Likewise.
16531 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16533         [BZ #16194]
16534         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16535         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
16536         register usage.
16537         * sysdeps/x86/Makefile: Adjust.
16539 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16540             Roland McGrath  <roland@hack.frob.com>
16542         * locale/weight.h: Add include guard.
16543         (findidx): Make static rather than auto; take new parameters
16544         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16545         * locale/weightwc.h: Likewise.
16546         * posix/fnmatch_loop.c
16547         (FCT): Change type of EXTRA from int32_t to wint_t.
16548         Don't include either header inside the function.
16549         Call FINDIDX rather than findidx, and pass new arguments.
16550         #undef FINDIDX at the end of the file.
16551         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16552         FINDIDX before including fnmatch_loop.c for the non-wide version.
16553         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16554         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16555         for the wide version.
16556         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16557         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16558         Pass new arguments to findidx.
16559         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16560         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16561         Don't #include it inside the function.  Pass new arguments to findidx.
16562         * posix/regex_internal.h
16563         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16564         (re_string_elem_size_at): Don't #include it inside the function.
16565         Pass new arguments to findidx.
16566         * string/strcoll_l.c: #include WEIGHT_H at top level.
16567         (get_next_seq): Don't #include it inside the function.
16568         Pass new arguments to findidx.
16569         (get_next_seq_nocache): Likewise.
16570         * string/strxfrm_l.c: #include WEIGHT_H at top level.
16571         (STRXFRM): Don't #include it inside the function.
16572         Pass new arguments to findidx.
16574 2014-09-11  Florian Weimer  <fweimer@redhat.com>
16576         [BZ #17344]
16577         * malloc/malloc.c (unlink): Turn asserts into a call to
16578         malloc_printerr.
16580 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
16582         [BZ #17370]
16583         * libio/wfileops (do_ftell_wide): Free OUT.
16585 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
16587         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16589 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16591         [BZ #17363]
16592         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16593         group if the current group is empty.
16595 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16597         * benchtests/bench-memset.c (test_main): Add more test from size
16598         from 32 to 512 bytes.
16599         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16600         Add POWER8 memset object.
16601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16602         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16603         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16604         implementation.
16605         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16606         Likewise.
16607         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16608         multiarch POWER8 memset optimization.
16609         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16610         POWER8 memset optimization.
16612         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16613         Remove bzero multiarch objects.
16614         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16615         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16616         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16617         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16618         Remove define.
16619         [__bzero]: Redefine to specific name.
16620         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16621         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16622         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16623         define.
16624         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16625         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16627 2014-09-10  Florian Weimer  <fweimer@redhat.com>
16629         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16630         warnings into errors.
16632         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16633         __cxa_thread_atexit_impl prototype.
16635 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16637         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16638         Fix capitalization of error message.
16640 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16642         * sysdeps/mips/preconfigure: Modify ABI tests.
16644 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
16646         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16648 2014-09-07  Roland McGrath  <roland@hack.frob.com>
16649             Carlos O'Donell  <carlos@systemhalted.org>
16651         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16652         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16653         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16654         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16655         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16656         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16657         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16658         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16659         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16660         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16661         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16662         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16663         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16664         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16665         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16666         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16667         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16668         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16669         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16670         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16671         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16672         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16673         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16674         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16675         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16676         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16677         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16678         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16679         Deconditionalize the code that was previously under [RESET_PID].
16680         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16681         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16682         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16683         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16684         include sysdep.h.
16686 2014-09-08  Allan McRae  <allan@archlinux.org>
16688         * version.h (RELEASE): Set to "development".
16689         (VERSION): Set to "2.20.90"
16691 2014-09-07  Allan McRae  <allan@archlinux.org
16693         * version.h (RELEASE): Set to "stable".
16694         (VERSION): Set to "2.20"
16695         * include/features.h (__GLIBC_MINOR__): Set to 20.
16697         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16698         Liebler.
16700         * po/ko.po: Update Korean translation from translation project.
16702 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
16704         [BZ #17354]
16705         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16706         macro for handling signed relocations.
16708 2014-09-03  Florian Weimer  <fweimer@redhat.com>
16710         [BZ #17325]
16711         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16712         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16713         assert.
16714         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16715         * iconvdata/ibm935.c (BODY): Likewise.
16716         * iconvdata/ibm937.c (BODY): Likewise.
16717         * iconvdata/ibm939.c (BODY): Likewise.
16718         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16719         assert.
16720         * iconvdata/Makefile (iconv-test.out): Pass module list to test
16721         script.
16722         * iconvdata/run-iconv-test.sh: New test loop for checking for
16723         decoder crashers.
16725 2014-09-02  Khem Raj  <raj.khem@gmail.com>
16727         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16728         libm_hidden_ver.
16730 2014-09-01  Allan McRae  <allan@archlinux.org>
16732         * po/eo.po: Update Esperanto translation from translation project.
16734         * po/ca.po: Update Catalan translation from translation project.
16736 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16738         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16739         __proc_dostop call.
16741 2014-08-27  Mark Wielaard  <mjw@redhat.com>
16743         [BZ #17319]
16744         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16745         to call set_thread_area instead of hand written asm.
16746         (__NR_set_thread_area): Removed define.
16747         (TLS_FLAG_WRITABLE): Likewise.
16748         (__ASSUME_SET_THREAD_AREA): Remove check.
16749         (TLS_EBX_ARG): Remove define.
16750         (TLS_LOAD_EBX): Likewise.
16752 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16754         Simplify atomicity of socket creation in bind.
16756         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16757         looking up the name after linking the file.
16759 2014-08-27  Allan McRae  <allan@archlinux.org>
16761         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16763 2014-08-26  Florian Weimer  <fweimer@redhat.com>
16765         [BZ #17187]
16766         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16767         trans_compare, open_translit, __gconv_translit_find):
16768         Remove module loading code.
16770 2014-08-26  Allan McRae  <allan@archlinux.org>
16772         * po/vi.po: Update Vietnamese translation from translation project.
16774         * po/uk.po: Update Ukrainian translation from translation project.
16776         * po/fr.po: Update French translation from translation project.
16778         * po/ru.po: Update Russian translation from translation project.
16780         * po/pl.po: Update Polish translation from translation project.
16782         * po/cs.po: Update Czech translation from translation project.
16784         * po/de.po: Update German translation from translation project.
16786         * po/bg.po: Update Bulgarian translation from translation project.
16788         * po/sv.po: Update Sweedish translation from translation project.
16790         * po/nl.po: Update Dutch translation from translation project.
16792         * po/es.po: Update Spanish translation from translation project.
16794 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16796         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16798         * catgets/Makefile (CPPFLAGS-gencat): Remove.
16799         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16800         (CPPFLAGS-iconvconfig): Likewise.
16801         * timezone/Makefile (CPPFLAGS-zic): Likewise.
16803         * include/libc-symbols.h: Remove unnecessary check for
16804         NOT_IN_libc.
16805         * nptl/pthreadP.h: Likewise.
16806         * sysdeps/aarch64/setjmp.S: Likewise.
16807         * sysdeps/alpha/setjmp.S: Likewise.
16808         * sysdeps/arm/sysdep.h: Likewise.
16809         * sysdeps/i386/setjmp.S: Likewise.
16810         * sysdeps/m68k/setjmp.c: Likewise.
16811         * sysdeps/posix/getcwd.c: Likewise.
16812         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16813         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16814         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16815         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16816         * sysdeps/sh/sh3/setjmp.S: Likewise.
16817         * sysdeps/sh/sh4/setjmp.S: Likewise.
16818         * sysdeps/unix/alpha/sysdep.h: Likewise.
16819         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16820         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16821         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16822         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16825         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16827         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16828         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16829         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16830         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16831         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16832         * sysdeps/x86_64/setjmp.S: Likewise.
16834 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
16836         [BZ #17263]
16837         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16838         <stdint.h>.
16839         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16840         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16842 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16844         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16846         [BZ #17262]
16847         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16848         and __x86_64__ when disabling x87 inline functions.
16850 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
16852         [BZ #17259]
16853         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16854         asm statement with __cpuid_count.
16856 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
16858         * configure.ac: Change __ehdr_start code to dereference the struct.
16859         Run readelf on the output to look for relocations.
16860         * configure: Regenerated.
16862 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
16864         [BZ #17261]
16865         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16866         value to 0.
16867         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16869 2014-08-12  Roland McGrath  <roland@hack.frob.com>
16871         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16873 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
16875         [BZ #16892]
16876         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16877         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16879 2014-08-12  Sean Anderson  <seanga2@gmail.com>
16881         * malloc/malloc.c: Fix typo in comment.
16883 2014-08-09  Allan McRae  <allan@archlinux.org>
16885         * Regenerate libc.po.
16887 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
16889         * intl/tst-gettext2.sh: Check every lang file for creation.
16891 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
16893         * sysdeps/aarch64/fpu/math_private.h
16894         (libc_feholdsetround_noex_aarch64_ctx): New function.
16896 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
16898         * sysdeps/arm/armv6/strcpy.S (strcpy):
16899         Fix performance issue in misaligned cases.
16901 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16903         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16904         Move definition from termios.h.
16905         (struct termio): Likewise.
16906         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16907         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16908         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16909         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16910         Likewise.
16911         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16912         Move definition to ioctl-types.h
16913         (struct termio): Likewise.
16914         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16915         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16916         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16917         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16918         Likewise.
16920 2014-08-05  Richard Henderson  <rth@redhat.com>
16922         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16923         exceptions.
16924         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16925         Add fraiseexcpt.
16926         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16927         Use __feraiseexcept.
16928         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16929         Protect libm symbols with IS_IN_libm.
16931         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16933 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
16935         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16937 2014-08-04  Will Newton  <will.newton@linaro.org>
16939         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16940         file.
16942 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
16944         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16945         variants for each function.
16947 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16949         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16950         appended ...
16951         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16952         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16953         appended ...
16954         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16955         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16956         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16957         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16958         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16959         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16960         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16961         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16962         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16963         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16964         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16965         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16966         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16967         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16968         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16969         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16970         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16971         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16972         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16973         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16974         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16975         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16976         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16977         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16978         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16979         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16980         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16981         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16982         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16983         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16984         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16985         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16986         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16987         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16988         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16989         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16990         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16991         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16992         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16993         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16994         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16995         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16996         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16997         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16998         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16999         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
17000         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
17001         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
17002         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
17003         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
17004         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
17005         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
17006         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
17007         Update #include.
17008         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
17009         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
17011 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17013         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
17014         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
17015         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
17016         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
17017         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
17018         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
17020 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17022         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
17023         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
17024         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17025         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
17027 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17029         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
17030         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
17031         (__libc_vfork): Define function under this name.
17032         (__vfork): Define as an alias.
17033         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
17034         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
17036 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17038         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
17039         that was previously under [RESET_PID].
17040         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
17042 2014-08-04  Andreas Schwab  <schwab@suse.de>
17044         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
17046 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
17048         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
17049         (main): Likewise.
17051 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17053         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
17055 2014-08-01  Richard Henderon  <rth@redhat.com>
17057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
17058         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
17059         typo in exact zero test.
17060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17061         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17062         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17064 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17066         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
17067         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
17068         * sysdeps/arm/sysdep.h: ... here.
17069         [!__ASSEMBLER__]: Include <stdint.h>.
17071 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17073         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
17074         (HAVE_WCTYPE_H): Likewise.
17075         (HAVE_ISWCTYPE): Likewise.
17076         (ENABLE_NLS): Likewise.
17077         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
17078         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
17080         * posix/regex_internal.c: Check if DEBUG is defined and is
17081         set.
17083         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
17084         (HAVE_MBSRTOWCS): Likewise.
17085         * posix/fnmatch.c: Include string.h unconditionally.
17087 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17089         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
17090         reversal.
17092 2014-07-31  Roland McGrath  <roland@hack.frob.com>
17094         * sysdeps/generic/safe-fatal.h: New file.
17095         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
17096         * nptl/forward.c: Include it.
17097         (__pthread_unwind): Use __safe_fatal as default action, rather
17098         than a bogus use of INTERNAL_SYSCALL that could never work.
17100         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
17101         * configure.ac (libc_cv_builtin_trap): New test.
17102         * configure: Regenerated.
17103         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
17104         (ABORT_INSTRUCTION): Define using __builtin_trap.
17106         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
17107         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
17108         * sysdeps/nptl/nptl-signals.h: New file.
17109         * nptl/pthreadP.h: Include <nptl-signals.h>.
17111 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17113         * sysdeps/s390/s390-64/utf16-utf32-z9.c
17114         (ONE_DIRECTION): Define.
17115         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17116         (ONE_DIRECTION): Define.
17117         * sysdeps/s390/s390-64/utf8-utf32-z9.c
17118         (ONE_DIRECTION): Define.
17120 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17122         * sysdeps/s390/Makefile: Delete file.
17123         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17124         * sysdeps/s390/__longjmp.c: Delete file.
17125         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17126         Remove fields __flags and __reserved.
17127         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17128         and add versioning.
17129         * sysdeps/s390/rtld-__longjmp.c: Delete file.
17130         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17131         * sysdeps/s390/rtld-setjmp.S: Likewise.
17132         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17133         * sysdeps/s390/s390-32/__longjmp.c: ... here.
17134         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17135         * sysdeps/s390/s390-32/setjmp.S: ... here.
17136         Add versioning.
17137         (__sigsetjmp): Remove setting __flags field.
17138         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17139         * sysdeps/s390/s390-64/__longjmp.c: ... here.
17140         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17141         * sysdeps/s390/s390-64/setjmp.S: ... here.
17142         Add versioning.
17143         (__sigsetjmp): Remove setting __flags field.
17144         * sysdeps/s390/setjmp.S: Delete file.
17145         * sysdeps/s390/sigjmp.c: Likewise.
17146         * sysdeps/s390/v1-longjmp.c: Likewise.
17147         * sysdeps/s390/v1-setjmp.h: Likewise.
17148         * sysdeps/s390/v1-sigjmp.c: Likewise.
17149         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17150         Remove v1-longjmp_chk.
17151         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17152         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17153         Include debug/longjmp_chk.c and add versioning.
17154         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17155         Include nptl/pt-longjmp.c and add versioning.
17156         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17157         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17158         Include __longjmp.c.
17159         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17160         Move to ...
17161         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17162         (__getcontext): Remove setting __flags field.
17163         Add versioning.
17164         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17165         Don't restore upper high grps.
17166         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17167         Likewise.
17168         (__swapcontext): Remove setting uc_flags field.
17169         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17170         Delete file.
17171         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17172         Include __longjmp.c.
17173         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17174         Move to ...
17175         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17176         (__getcontext): Remove setting __flags field.
17177         Add versioning.
17178         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17179         (__swapcontext): Remove setting uc_flags field.
17180         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17181         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17182         Remove fields uc_high_gprs and __reserved.
17183         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17184         New file with reverted content.
17185         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17186         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17187         Regenerated.
17188         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17189         Regenerated.
17191 2014-07-31  Andreas Schwab  <schwab@suse.de>
17193         * config.h.in (HAVE_IFUNC): Define to 0.
17194         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17195         definedness.
17197 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
17199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17200         memmove-avx-unaligned, memcpy-avx-unaligned and
17201         mempcpy-avx-unaligned.
17202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17203         Add tests for AVX memcpy functions.
17204         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17205         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17206         memcpy_chk.
17207         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17208         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17209         memmove_chk.
17210         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17211         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17212         mempcpy_chk.
17213         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17214         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17215         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17217 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17219         [BZ #17213]
17220         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17221         powerpc64le.
17223 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
17225         [BZ #16839]
17226         * manual/llio.texi: Add section about open file description locks.
17227         * manual/examples/ofdlocks.c: Example of open file description
17228         lock usage.
17229         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17230         F_OFD_SETLK, and F_OFD_SETLKW.
17232 2014-07-23  Allan McRae  <allan@archlinux.org>
17234         * po/es.po: Update Spanish translation from translation project.
17236 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
17238         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17240 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
17242         [BZ #17078]
17243         * sysdeps/arm/dl-machine.h (elf_machine_rela)
17244         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17245         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17247 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
17249         [BZ #17088]
17250         * math/fesetenv.c (__fesetenv)
17251         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17252         * math/feupdateenv.c (__feupdateenv)
17253         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17255         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17256         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17257         (__ASSUME_SOCKETCALL): Do not define.
17259         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17260         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17261         (__ASSUME_SOCKETCALL): Do not define.
17262         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17263         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17264         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17265         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17266         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17267         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17268         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17269         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17271         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17272         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17273         (__ASSUME_SOCKETCALL): Do not define.
17274         (__ASSUME_IPC64): Define unconditionally.
17275         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17276         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17277         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17278         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17279         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17280         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17281         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17282         Likewise.
17284         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17285         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17286         (__ASSUME_SOCKETCALL): Do not define.
17287         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17288         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17289         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17290         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17291         (__ASSUME_REQUEUE_PI): Define unconditionally.
17292         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17293         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17294         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17295         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17296         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17297         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17299         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17300         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17301         (__ASSUME_SOCKETCALL): Do not define.
17302         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17303         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17304         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17305         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17306         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17307         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17309         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17310         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17311         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17312         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17313         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17314         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17315         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17316         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17317         (__ASSUME_GETCPU_SYSCALL): Likewise.
17319         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17320         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
17321         cases for individual architectures.
17322         * sysdeps/gnu/configure: Regenerated.
17323         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17324         LIBC_SLIBDIR_RTLDDIR.
17325         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17326         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17327         LIBC_SLIBDIR_RTLDDIR.
17328         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17330         LIBC_SLIBDIR_RTLDDIR.
17331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17332         Regenerated.
17333         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17334         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17335         file.
17336         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17337         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17338         file.
17339         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17340         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17341         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17342         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17344         * sysdeps/aarch64/shlib-versions: Move to ...
17345         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17346         * sysdeps/alpha/shlib-versions: Move to ...
17347         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17348         * sysdeps/arm/shlib-versions: Move to ...
17349         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17350         * sysdeps/hppa/shlib-versions: Move all contents except for
17351         libgcc_s entry to ...
17352         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
17353         entry from ...
17354         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
17355         * sysdeps/ia64/shlib-versions: Move to ...
17356         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
17357         entry from ...
17358         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
17359         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17360         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17361         * sysdeps/microblaze/shlib-versions: Move to ...
17362         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17363         * sysdeps/mips/shlib-versions: Move to ...
17364         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
17365         entry from ...
17366         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
17367         * sysdeps/tile/shlib-versions: Move to ...
17368         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17369         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17370         from ...
17371         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
17372         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17373         entry from ...
17374         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
17376 2014-07-17  Will Newton  <will.newton@linaro.org>
17378         * sysdeps/arm/bits/atomic.h
17379         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17380         (__arch_compare_and_exchange_bool_16_int): Likewise.
17381         (__arch_compare_and_exchange_bool_64_int): Likewise.
17383         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17384         into an #else block.
17386 2014-07-16  Roland McGrath  <roland@hack.frob.com>
17388         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17389         just Linux configurations.  Test empirically that the compiler sets
17390         __ARM_EABI__, rather than using the tuple to decide.
17391         * sysdeps/arm/preconfigure: Regenerated.
17392         * sysdeps/unix/sysv/linux/arm/configure: File removed.
17393         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17394         contents appended ...
17395         * sysdeps/arm/configure.ac: ... here.
17396         * sysdeps/arm/configure: Regenerated.
17398 2014-07-15  Roland McGrath  <roland@hack.frob.com>
17400         * nptl/pthread_kill.c: New file.
17401         * nptl/pthread_sigmask.c: New file.
17402         * nptl/pthread_sigqueue.c: New file.
17404         * sysdeps/nptl/lowlevellock.h: New file.
17405         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17406         * sysdeps/nptl/lowlevellock-futex.h: New file.
17408         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17409         Remove dead declarations.
17411 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
17413         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17414         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17415         config-cflags-avx2.
17416         * sysdeps/x86_64/configure.ac: Likewise.
17417         * sysdeps/i386/configure: Regenerated.
17418         * sysdeps/x86_64/configure: Likewise.
17419         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17420         memset-avx2 only if config-cflags-avx2 is yes.
17421         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17422         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17423         defined.
17424         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17425         only if HAVE_AVX2_SUPPORT is defined.
17426         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17428 2014-07-14  Alan Modra  <amodra@gmail.com>
17430         [BZ #17153]
17431         * elf/elf.h (DT_PPC64_NUM): Correct value.
17432         * NEWS: Add to fixed bug list.
17434 2014-07-13  Jim Meyering  <meyering@fb.com>
17436         [BZ 17150]
17437         regex: don't deref NULL upon heap allocation failure
17438         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17439         failure in one more place.
17440         To trigger the segfault, configure grep -with-included-regex,
17441         build it, and run these commands:
17442         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17444 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
17446         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17448 2014-07-11  Richard Henderson  <rth@redhat.com>
17450         * sysdeps/aarch64/libm-test-ulps: Update.
17452 2014-07-10  Florian Weimer  <fweimer@redhat.com>
17454         [BZ #17135]
17455         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17456         * nptl/allocatestack.c (__nptl_setxid_error): New function.
17457         (__nptl_setxid): Initialize error member.  Call
17458         __nptl_setxid_error.
17459         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17460         * nptl/descr.h (struct xid_command): Add error member.
17461         * nptl/tst-setuid3.c: New file.
17462         * nptl/Makefile (tests): Add it.
17464 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17466         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17467         New define.
17468         (__lll_trylock): Use __lll_base_trylock.
17469         (__lll_cond_trylock): Likewise.
17471 2014-07-10  Roland McGrath  <roland@hack.frob.com>
17473         * nptl/pthread_create.c (start_thread): Use atomic_or and
17474         lll_futex_wake directly rather than lll_robust_dead.
17475         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17476         (lll_robust_dead): Macro removed.
17477         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17478         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17479         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17480         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17481         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17482         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17483         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17484         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17485         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17486         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17487         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17488         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17489         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17490         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17491         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17493         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17494         Use atomic_compare_and_exchange_val_acq directly rather than
17495         lll_robust_trylock.
17496         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17497         (__lll_robust_trylock, lll_robust_trylock): Removed.
17498         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17499         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17500         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17501         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17502         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17503         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17504         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17505         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17506         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17507         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17508         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17509         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17510         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17511         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17513 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17515         * manual/locale.texi (Locale Names): New section documenting
17516         locale name syntax.  Adjust menu and node chaining accordingly.
17517         (Choosing Locale): Reference Locale Names, Locale Categories.
17518         Mention setting LC_ALL=C.  Reflect that name syntax is now
17519         documented.
17520         (Locale Categories): New section title.  Reference Locale Names.
17521         LC_ALL is an environment variable, but not a category.
17522         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17523         description, now in Locale Name.  Reference that section.  Locale
17524         name syntax is now documented.
17526 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17528         [BZ #17137]
17529         * locale/findlocale.c (name_present, valid_locale_name): New
17530         functions.
17531         (_nl_find_locale): Use the loc_name variable to store name
17532         candidates.  Call name_present and valid_locale_name to check and
17533         validate locale names.  Return an error if the locale is invalid.
17535 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17537         * locale/setlocale.c (setlocale): Use strdup for allocating
17538         composite name copy.
17540 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17542         Sync up with gnulib.
17543         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17544         [!_LIBC && ENABLE_NLS]: Include gettext.h.
17545         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17546         and _GL_ARG_NONNULL.
17547         [USE_UNLOCKED_IO]: Include unlocked-io.h.
17548         [!_LIBC]: Include code for Windows and Cygwin.
17549         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17550         Include prototype for int strerror_r.
17551         [!_LIBC] (is_open): New function.
17552         (flush_stdout): New function.
17553         (print_errno_message): Use it.
17554         (error): Likewise.
17555         (error_at_line): Likewise.
17556         (error_tail) Add function attribute macros.  Use
17557         __builtin_expect.
17559         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17561         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17563         * io/ftw.c: Include sys/param.h unconditionally.
17565         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17567         [BZ #17125]
17568         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17569         libc_freeres_ptr.
17570         (freecache): New function to free CACHE on exit.
17572         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17573         initialization.
17575 2014-07-09  David S. Miller  <davem@davemloft.net>
17577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17579         * sysdeps/sparc/nptl/internaltypes.h: Delete.
17580         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17581         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17582         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17583         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17584         * sysdeps/sparc/nptl/sem_init.c: Likewise.
17585         * sysdeps/sparc/nptl/sem_post.c: Likewise.
17586         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17587         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17588         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17589         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17590         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17591         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17593 2014-07-09  Andreas Schwab  <schwab@suse.de>
17595         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17596         output.
17597         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17598         (do_test): Likewise.
17600         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17602 2014-07-09  Will Newton  <will.newton@linaro.org>
17604         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17605         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17606         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17607         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17608         * sysdeps/hppa/start.S (_start): Likewise.
17610 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
17612         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17614         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17615         defined.
17617 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17619         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17620         after checking that it is non-NULL.
17622         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17624 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17626         * sysdeps/powerpc/memmove.c: Remove file.
17627         * sysdeps/powerpc/powerpc32/power4/memcopy.h
17628         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17629         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17630         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17631         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17632         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17633         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17634         string memmove instead of removed powerpc one.
17636         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17637         [weak_alias]: Fix compiler warning due trailing data.
17638         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17639         [weak_alias]: Likewise.
17640         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17641         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17644         (__libc_ifunc_impl_list): Add memmove functions.
17646 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17648         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17649         Remove code.
17650         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17651         Likewise
17652         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17653         Likewise
17654         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17655         Likewise
17656         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17657         Likewise
17658         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17659         Likewise
17660         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17661         Likewise
17662         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17663         Likewise
17664         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17665         Likewise
17666         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17667         Likewise
17668         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17669         Likewise
17670         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17671         Likewise
17672         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17673         Likewise
17674         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17675         Likewise
17676         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17677         Likewise
17678         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17679         Likewise
17680         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17681         Likewise
17683 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17685         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17686         to avoid alignment traps in non-cacheable memory.
17687         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17690         multiarch objects.
17691         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17692         file: multiarch power7 memmove.
17693         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17694         multiarch default memmove.
17695         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17696         multiarch memove for powerpc32/power4.
17698         * string/bcopy.c: Use full path to include memmove.c.
17699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17700         multiarch objects.
17701         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17702         bcopy for powerpc64.
17703         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17704         bcopy for powerpc64.
17705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17706         and memmove implementations.
17707         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17708         optimized multiarch memmove for POWER7/powerpc64.
17709         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17710         default multiarch memmove for powerpc64.
17711         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17712         multiarch for powerpc64.
17713         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17714         for POWER7/powerpc64.
17715         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17716         memmove for POWER7/powerpc64.
17718         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17719         glibc default one.
17721         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17722         __ELF_NATIVE_CLASS equal to 64.
17724 2014-07-07  Roland McGrath  <roland@hack.frob.com>
17726         * sysdeps/nptl/lowlevellock.h: File removed.
17728         * NEWS: NPTL is no longer an add-on!
17729         * nptl/internaltypes.h: Moved ...
17730         * sysdeps/nptl/internaltypes.h: ... here.
17731         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17732         * sysdeps/nptl/fork.c: Likewise.
17733         * sysdeps/nptl/gai_misc.h: Likewise.
17734         * sysdeps/nptl/librt-cancellation.c: Likewise.
17735         * sysdeps/nptl/jmp-unwind.c: Likewise.
17736         * sysdeps/nptl/setxid.h: Likewise.
17737         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17738         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17739         * sysdeps/unix/sysv/linux/arm/Implies: New file.
17740         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17741         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17742         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17743         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17744         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17745         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17746         * sysdeps/unix/sysv/linux/mips/Implies: New file.
17747         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17748         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17749         * sysdeps/unix/sysv/linux/sh/Implies: New file.
17750         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17751         * sysdeps/unix/sysv/linux/tile/Implies: New file.
17752         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17753         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17754         * nptl/Makeconfig: Moved ...
17755         * sysdeps/nptl/Makeconfig: ... here.
17756         * nptl/configure: File removed.
17757         * nptl/ANNOUNCE: File removed.
17758         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17759         * sysdeps/unix/sysv/linux/configure: Regenerated.
17761         * nptl/Makefile (routines): Add libc_pthread_init,
17762         libc_multiple_threads, register-atfork and unregister-atfork.
17763         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17764         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17765         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17766         pthread-pi-defines.sym, structsem.sym.
17767         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17768         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17769         [$(subdir) = nptl] (tests): Add tst-setgetname.
17770         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17771         * sysdeps/unix/sysv/linux/sigaction.c: Just include
17772         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17773         [!LIBC_SIGACTION]: Remove aliases.
17774         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17775         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17776         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17777         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17778         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17779         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17780         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17781         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17782         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17783         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17784         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17785         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17786         __libc_allocate_rtsig_private.
17787         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17788         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17789         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17790         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17791         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17792         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17793         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17794         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17795         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17796         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17797         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17798         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17799         * nptl/internaltypes.h: ... here.
17800         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17801         * sysdeps/nptl/jmp-unwind.c: ... here.
17802         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17803         * nptl/libc-lowlevellock.c: ... here.
17804         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17805         * nptl/libc_multiple_threads.c: ... here.
17806         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17807         * nptl/libc_pthread_init.c: ... here.
17808         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17809         * nptl/lowlevelbarrier.sym: ... here.
17810         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17811         * nptl/lowlevelcond.sym: ... here.
17812         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17813         * nptl/lowlevellock.c: ... here.
17814         * nptl/lowlevellock.h: Moved ...
17815         * sysdeps/nptl/lowlevellock.h: ... here.
17816         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17817         * nptl/lowlevelrobustlock.c: ... here.
17818         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17819         * nptl/lowlevelrobustlock.sym: ... here.
17820         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17821         * nptl/lowlevelrwlock.sym: ... here.
17822         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17823         * nptl/pt-fork.c: ... here.
17824         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17825         * nptl/pthread-pi-defines.sym: ... here.
17826         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17827         * nptl/pthread_attr_getaffinity.c: ... here.
17828         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17829         * nptl/pthread_attr_setaffinity.c: ... here.
17830         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17831         * nptl/pthread_mutex_cond_lock.c: ... here.
17832         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17833         Update #include.
17834         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17835         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17836         * nptl/pthread_once.c: ... here, replacing old file.
17837         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17838         * nptl/pthread_yield.c: ... here.
17839         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17840         * nptl/register-atfork.c: ... here.
17841         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17842         * nptl/sem_post.c: ... here.
17843         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17844         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17845         * nptl/sem_timedwait.c: ... here.
17846         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17847         * nptl/sem_trywait.c: ... here.
17848         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17849         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17850         * nptl/sem_wait.c: ... here.
17851         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17852         * nptl/structsem.sym: ... here.
17853         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17854         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17855         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17856         * nptl/unregister-atfork.c: ... here.
17857         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17858         * nptl/unwindbuf.sym: ... here.
17859         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17860         * sysdeps/nptl/fork.c: ... here.
17861         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17862         * sysdeps/nptl/fork.h: ... here.
17863         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17864         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17865         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17866         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17867         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17868         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17869         * sysdeps/unix/sysv/linux/getpid.c: ... here.
17870         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17871         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17872         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17873         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17874         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17875         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17876         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17877         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17878         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17879         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17880         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17881         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17882         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17883         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17884         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17885         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17886         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17887         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17888         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17889         * sysdeps/unix/sysv/linux/raise.c: ... here.
17890         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17891         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17892         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17893         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17894         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17895         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17896         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17897         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17898         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17899         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17900         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17901         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17902         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17903         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17904         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17906 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17908         * sysdeps/generic/memcopy.h: Add comment for
17909         MEMCPY_OK_FOR_FWD_MEMMOVE.
17911 2014-07-04  Will Newton  <will.newton@linaro.org>
17913         * string/memchr.c: Merge from gnulib.
17914         [_LIBC]: Remove conditionals.
17915         (__ptr_t): Remove define.
17916         (LONG_MAX_32_BITS): Likewise.
17917         (LONG_MAX): Likewise.
17918         (MEMCHR): Use ANSI prototype and optimize algorithm.
17920         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17922 2014-07-03  Roland McGrath  <roland@hack.frob.com>
17924         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17925         (lll_futex_timed_wait_bitset): Fix syscall argument count.
17927         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17928         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17929         in a bare environment with no <stdlib.h> installed.
17930         * sysdeps/nptl/configure: Regenerated.
17932         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17934         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17935         AC_EGREP_CPP for kernel header checks, so they only succeed if
17936         including <linux/version.h> actually works right.
17937         * sysdeps/unix/sysv/linux/configure: Regenerated.
17939         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17940         value so it's not diagnosed as unused.
17942         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17943         thing) with "ifeq ($(subdir),rt)".
17945 2014-07-03  Richard Henderson  <rth@redhat.com>
17947         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17948         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17949         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17951         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17952         (math_force_eval): New.
17954         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17955         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17957         * sysdeps/alpha/fpu/s_round.c: Remove file.
17958         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17960         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17961         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17962         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17963         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17964         (_dl_start, print_statistics): Likewise.
17965         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17966         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17968         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17969         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17970         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17971         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17972         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17973         (HP_SMALL_TIMING_AVAIL): Define.
17974         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17975         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17976         (HP_SMALL_TIMING_AVAIL): Define.
17977         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17978         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17980         * sysdeps/aarch64/hp-timing.h: New file.
17982         * sysdeps/generic/hp-timing.h: Remove dead comment.
17983         * sysdeps/generic/hp-timing-common.h: New file.
17984         * sysdeps/alpha/hp-timing.h: Include it.
17985         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17986         * sysdeps/i386/i686/hp-timing.h: Likewise.
17987         * sysdeps/ia64/hp-timing.h: Likewise.
17988         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17989         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17991         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17992         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17993         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17994         (hp_timing_t): New.
17996         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17997         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17998         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17999         * elf/rtld.c (_dl_start_final): Likewise.
18000         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
18001         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18002         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18003         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18004         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18005         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18006         (HP_TIMING_DIFF_INIT): Remove.
18007         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18008         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18009         (HP_TIMING_DIFF_INIT): Remove.
18010         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18011         * sysdeps/i386/i686/hp-timing.c: Remove file.
18012         * sysdeps/x86_64/hp-timing.c: Remove file.
18013         * sysdeps/ia64/hp-timing.c: Remove file.
18014         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
18015         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
18016         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
18017         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
18019         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
18020         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
18021         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
18022         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18023         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18024         (HP_TIMING_ACCUM): Remove.
18025         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18026         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
18027         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18029         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
18030         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
18031         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
18032         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
18033         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
18034         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18035         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
18036         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18038         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
18040 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
18042         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
18044 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18046         Sync up with gettext.
18047         * intl/loadmsgcat.c: Define O_BINARY if not defined.
18048         [_MSC_VER]: Include malloc.h
18049         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
18050         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
18051         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
18052         TEMP_FAILURE_RETRY.  Cast return of alloca.
18053         [!_LIBC] Call gl_rwlock_init.
18054         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
18056 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18058         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
18059         before checking its value.
18061 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18063         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
18065         * debug/memcpy_chk.c: Don't include pagecopy.h.
18066         * debug/mempcpy_chk.c: Likewise.
18067         * string/memcpy.c: Likewise.
18068         * string/memmove.c: Likewise.
18069         * sysdeps/powerpc/memmove.c: Likewise.
18070         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
18071         definition of PAGE_COPY_FWD_MAYBE here...
18072         * sysdeps/generic/pagecopy.h: ... from here.
18073         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
18075 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18076             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18078         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
18079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
18080         optimizations.
18081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18082         (__libc_ifunc_impl_list): Likewise.
18083         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
18084         multiarch strcat for PPC64.
18085         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
18086         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
18088 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18090         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
18092 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18094         * intl/loadmsgcat.c: Remove declaration of
18095         get_sysdep_segment_value.
18096         (get_sysdep_segment_value): Use ISO C style.
18097         (_nl_load_domain): Use ISO C style.  Get rid of redundant
18098         semicolon.  Fix typo and formatting in comment.
18099         (_nl_unload_domain): Use ISO C style.
18101         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
18103 2014-07-02  Will Newton  <will.newton@linaro.org>
18105         * malloc/obstack.c: Merge from gnulib master.
18106         [HAVE_CONFIG_H]: Remove conditional code.
18107         [!_LIBC]: Include config.h.
18108         [!ELIDE_CODE]: Don't include inttypes.h, include
18109         stdint.h unconditionally.
18110         (print_and_abort): Mark as _Noreturn.
18111         (_obstack_allocated_p): Mark as __attribute_pure__.
18112         (obstack_free): Rename to __obstack_free.
18113         [!__attribute__]: Remove conditional code.
18114         * malloc/obstack.h: Merge from gnulib master.
18115         [__cplusplus]: Move conditional down.
18116         [!__attribute_pure__]: Define __attribute_pure__ here
18117         if it is not already defined.
18118         (_obstack_memory_used): Mark as __attribute_pure__.
18119         [!__obstack_free]: Define as obstack_free.
18120         [__GNUC__]: Remove check for ancient NeXT gcc.
18122 2014-07-02  Will Newton  <will.newton@linaro.org>
18123             Paul Eggert  <eggert@cs.ucla.edu>
18125         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18127 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18129         * resolv/gethnamaddr.c: Add comment warning that the file is
18130         not maintained.
18132 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
18134         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18135         entries.
18137         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18138         entry for aio_cancel and aio_cancel64.
18139         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18140         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18141         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18142         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18143         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18144         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18145         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18146         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18147         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18148         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18149         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18150         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18151         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18153 2014-07-01  Roland McGrath  <roland@hack.frob.com>
18155         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18156         * nptl/pthread_mutex_lock.c: Likewise.
18157         * nptl/pthread_mutex_timedlock.c: Likewise.
18158         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18160 2014-07-01  Richard henderson  <rth@redhat.com>
18162         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18163         (__isnan, __isnanl): Remove.
18164         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18166         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18168 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18170         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18172 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18174         * resolv/nss_dns/dns-host.c (getanswer_r)
18175         [MULTI_PTRS_ARE_ALIASES]: Remove code.
18177 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
18179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18180         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18181         undefine.
18182         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18183         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18185 2014-07-01  Roland McGrath <roland@hack.frob.com>
18187         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18188         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18190         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18191         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18193         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18194         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18195         ... here.
18196         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18197         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18199         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18200         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18201         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18202         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18204         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18205         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18206         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18207         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18208         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18209         Moved ...
18210         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18211         ... here.
18212         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18213         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18214         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18215         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18216         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18217         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18218         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18219         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18220         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18221         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18222         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18223         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18224         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18225         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18226         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18227         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18228         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18229         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18230         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18231         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18232         ... here.
18233         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18234         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18235         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18236         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18237         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18238         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18239         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18240         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18242 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
18244         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18245         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18246         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18247         Add sysdep.
18249 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18253 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18255         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18256         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18258         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18260         * sysdeps/arm/libm-test-ulps: Regenerated.
18262 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18263             Roland McGrath <roland@hack.frob.com>
18265         * test-skeleton.c (signal_handler): Kill the whole process group
18266         before killing the child individually.
18267         (main): Report any failure on `setpgid'.
18269 2014-06-30  Roland McGrath  <roland@hack.frob.com>
18271         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18272         from _TLS_H to _ARM_NPTL_TLS_H.
18273         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18274         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18276 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18278         [BZ #16539]
18279         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18280         (__expm1l): Return argument unchanged when small but not
18281         subnormal.
18283         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18284         include macro name.
18285         (_FP_UNPACK_RAW_1_P): Likewise.
18286         (_FP_PACK_RAW_1): Likewise.
18287         (_FP_PACK_RAW_1_P): Likewise.
18288         (_FP_MUL_MEAT_1_wide): Likewise.
18289         (_FP_MUL_MEAT_DW_1_hard): Likewise.
18290         (_FP_MUL_MEAT_1_hard): Likewise.
18291         (_FP_DIV_MEAT_1_imm): Likewise.
18292         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18293         (_FP_DIV_MEAT_1_udiv): Likewise.
18294         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18295         (_FP_UNPACK_RAW_2): Likewise.
18296         (_FP_UNPACK_RAW_2_P): Likewise.
18297         (_FP_PACK_RAW_2): Likewise.
18298         (_FP_PACK_RAW_2_P): Likewise.
18299         (_FP_MUL_MEAT_DW_2_wide): Likewise.
18300         (_FP_MUL_MEAT_2_wide): Likewise.
18301         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18302         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18303         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18304         (_FP_MUL_MEAT_2_gmp): Likewise.
18305         (_FP_DIV_MEAT_2_udiv): Likewise.
18306         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18307         (_FP_FRAC_SRL_4): Likewise.
18308         (_FP_FRAC_SRST_4): Likewise.
18309         (_FP_FRAC_SRS_4): Likewise.
18310         (_FP_UNPACK_RAW_4): Likewise.
18311         (_FP_UNPACK_RAW_4_P): Likewise.
18312         (_FP_PACK_RAW_4): Likewise.
18313         (_FP_PACK_RAW_4_P): Likewise.
18314         (_FP_MUL_MEAT_DW_4_wide): Likewise.
18315         (_FP_MUL_MEAT_4_wide): Likewise.
18316         (_FP_MUL_MEAT_4_gmp): Likewise.
18317         (umul_ppppmnnn): Likewise.
18318         (_FP_DIV_MEAT_4_udiv): Likewise.
18319         (__FP_FRAC_ADD_4): Likewise.
18320         (__FP_FRAC_SUB_3): Likewise.
18321         (__FP_FRAC_SUB_4): Likewise.
18322         (__FP_FRAC_DEC_3): Likewise.
18323         (__FP_FRAC_DEC_4): Likewise.
18324         (__FP_FRAC_ADDI_4): Likewise.
18325         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18326         (_FP_FRAC_SRL_8): Likewise.
18327         (_FP_FRAC_SRS_8): Likewise.
18329         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18330         include macro name.
18331         (FP_UNPACK_RAW_EP): Likewise.
18332         (FP_PACK_RAW_E): Likewise.
18333         (FP_PACK_RAW_EP): Likewise.
18334         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18335         (_FP_ISSIGNAN): Likewise.
18336         (_FP_ADD_INTERNAL): Likewise.
18337         (_FP_FMA): Likewise.
18338         (_FP_CMP): Likewise.
18339         (_FP_SQRT): Likewise.
18340         (_FP_TO_INT): Likewise.
18341         (_FP_FROM_INT): Likewise.
18342         (FP_EXTEND): Likewise.
18343         (_FP_DIV_MEAT_N_loop): Likewise.
18345 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18347         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18348         throughout.
18350 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
18352         [BZ #17097]
18353         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18354         result with correct sign in case of exponents that produce
18355         overflow except for X very close to 1.
18357 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
18359         mktime: merge #if/#ifdef usage from glibc
18360         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18361         as that works with both Glibc's and Gnulib's style.
18362         See thread starting at Siddhesh Poyarekar's bug report at:
18363         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18365 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18367         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18368         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18369         * sysdeps/tile/tilegx/memmove.c: Remove file.
18371 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18373         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18374         abi-name definition.
18375         * scripts/soversions.awk: Do not handle or generate ABI lines.
18376         * shlib-versions: Remove ABI entries.
18377         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18378         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18380 2014-06-27  Roland McGrath  <roland@hack.frob.com>
18382         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18383         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18384         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18385         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18387         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18388         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18389         Moved ...
18390         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18391         ... here.
18392         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18393         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18394         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18395         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18396         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18397         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18398         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18399         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18400         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18401         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18402         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18403         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18404         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18405         Moved ...
18406         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18407         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18408         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18409         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18410         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18412         Moved ...
18413         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18414         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18415         Moved ...
18416         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18418         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18420         Moved ...
18421         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18423         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18425         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18427         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18429         Moved ...
18430         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18432         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18433         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18434         Moved ...
18435         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18436         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18437         Moved ...
18438         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18439         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18440         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18441         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18442         Moved ...
18443         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18444         ... here.
18445         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18446         Identical file removed.
18447         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18448         Moved ...
18449         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18450         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18451         Identical file removed.
18452         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18453         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18455         Moved ...
18456         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18457         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18458         Identical file removed.
18459         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18460         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18461         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18462         Identical file removed.
18463         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18464         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18465         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18466         Identical file removed.
18467         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18468         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18469         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18470         Identical file removed.
18471         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18472         Moved ...
18473         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18474         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18475         Identical file removed.
18476         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18477         Moved ...
18478         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18479         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18480         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18481         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18482         Identical file removed.
18483         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18484         Moved ...
18485         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18486         ... here.
18487         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18488         Identical file removed.
18489         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18490         Moved ...
18491         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18492         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18493         Identical file removed.
18494         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18495         Moved ...
18496         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18497         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18498         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18499         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18500         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18501         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18502         Moved ...
18503         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18504         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18505         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18507         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18508         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18509         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18510         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18511         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18513 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
18515         [BZ #17092]
18516         * nscd/nscd.c (monitor_child): Return exit status of child
18517         instead of return value from wait syscall.
18519 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18521         * configure.ac (libc_commonpagesize): Remove variable.
18522         (libc_relro_required): Likewise.
18523         (libc_cv_z_relro): Remove configure test.
18524         * configure: Regenerated.
18525         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18526         variable.
18527         (libc_relro_required): Likewise.
18528         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18529         (libc_relro_required): Likewise.
18530         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18531         (libc_relro_required): Likewise.
18532         * sysdeps/arm/preconfigure: Regenerated.
18533         * sysdeps/ia64/preconfigure: Remove file.
18534         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18535         variable.
18536         (libc_relro_required): Likewise.
18538         [BZ #16561]
18539         [BZ #16562]
18540         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18541         (__ieee754_yn): Set FE_TONEAREST mode internally and then
18542         recompute overflowing results in original rounding mode.
18543         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18544         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18545         recompute overflowing results in original rounding mode.
18546         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18547         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18548         recompute overflowing results in original rounding mode.
18549         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18550         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18551         recompute overflowing results in original rounding mode.
18552         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18553         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18554         recompute overflowing results in original rounding mode.
18555         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18556         (libc_feholdsetround_ctx): New macro.
18557         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18558         * sysdeps/i386/fpu/libm-test-ulps: Update.
18559         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18561 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18563         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18564         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18565         corresponding .cpsetup call.
18567 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18569         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18570         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18571         * sysdeps/arm/Makefile [$(subdir) = csu]
18572         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18573         (static-only-routines): Add aeabi_read_tp here.
18574         (shared-only-routines): Add libc-aeabi_read_tp here.
18575         (CFLAGS-libc-start.c): Add -fexceptions here.
18576         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18577         (sysdep_routines, static-only-routines, shared-only-routines):
18578         Don't add to these here.
18579         (CFLAGS-libc-start.c): Likewise.
18581         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18582         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18583         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18584         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18585         * sysdeps/arm/Makefile [$(subdir) = rt]
18586         (librt-sysdep_routines, librt-shared-only-routines):
18587         Append rt-aeabi_unwind_cpp_pr1 here.
18588         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18589         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18590         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18591         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18592         Append nptl-aeabi_unwind_cpp_pr1 here.
18593         (tests): Filter out tst-cleanupx4 here.
18594         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18595         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18596         Don't do those here.
18598 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18600         * scripts/list-sources.sh: Do not handle ports specially.
18602 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18604         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18605         * sysdeps/arm/feupdateenv.c: Likewise.
18607         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18609 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18611         * manual/texinfo.tex: Update to version 2014-05-05.10 with
18612         trailing whitespace removed.
18613         * scripts/config.guess: Update to version 2014-03-23.
18614         * scripts/config.sub: Update to version 2014-05-01
18615         * scripts/install-sh: Update to version 2013-12-25.23.
18616         * scripts/move-if-change: Update from gnulib.
18618 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18620         * debug/memmove_chk.c: Remove pagecopy.h include.
18622 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
18624         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
18625         identical to gnulib mktime.
18627 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18629         * configure.ac: Do not test for machine being rs6000.  Do not test
18630         for powerpc*-*soft.
18631         * configure: Regenerated.
18633         [BZ #11505]
18634         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18635         test.
18636         * configure: Regenerated.
18637         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18638         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18639         Remove configure test.
18640         * sysdeps/arm/configure: Regenerated.
18641         * sysdeps/nptl/configure.ac: Do not check
18642         libc_cv_asm_cfi_directives.
18643         * sysdeps/nptl/configure: Regenerated.
18644         * sysdeps/x86_64/nptl/configure.ac: Remove file.
18645         * sysdeps/x86_64/nptl/configure: Remove generated file.
18646         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18647         unconditional.
18648         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18650 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18652         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18653         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18654         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18655         it is defined.
18657         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18658         instead of whether it is defined.
18659         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18660         * sysdeps/hppa/dl-machine.h: Likewise.
18661         * sysdeps/ia64/dl-machine.h: Likewise.
18662         * sysdeps/m68k/dl-machine.h: Likewise.
18663         * sysdeps/microblaze/dl-machine.h: Likewise.
18664         * sysdeps/mips/dl-machine.: Likewise.
18665         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18666         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18667         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18668         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18669         * sysdeps/sh/dl-machine.h: Likewise.
18670         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18671         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18672         * sysdeps/tile/dl-machine.h: Likewise.
18673         * sysdeps/x86_64/dl-machine.h: Likewise.
18675         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18676         code.
18677         (verify_persistent_db): Likewise.
18679 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18682         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18684         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18686         Moved ...
18687         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18688         ... here.
18689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18690         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18692         Identical file removed.
18693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18694         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18696         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18698         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18700         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18702         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18704         Moved ...
18705         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18707         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18709         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18711         Moved ...
18712         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18714         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18716         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18718         Identical file removed.
18719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18720         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18722         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18724         Moved ...
18725         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18726         ... here.
18727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18728         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18730         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18732         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18734         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18736         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18738         Moved ...
18739         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18741         Moved ...
18742         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18744         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18746         Moved ...
18747         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18749         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18751         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18752         folded into ...
18753         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18754         * sysdeps/unix/sysv/linux/s390/Versions
18755         (libpthread: GLIBC_2.19): New version set.
18756         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18757         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18758         (librt: GLIBC_2.3.3): New version set.
18759         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18760         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18761         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18762         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18763         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18764         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18765         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18766         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18767         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18768         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18769         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18770         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18771         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18772         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18773         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18774         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18775         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18776         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18777         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18778         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18779         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18780         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18781         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18782         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18783         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18784         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18785         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18786         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18787         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18788         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18789         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18790         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18791         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18792         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18793         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18794         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18795         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18796         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18797         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18798         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18799         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18800         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18801         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18802         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18803         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18805         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18806         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18807         (__libc_vfork): Define the function under this name.
18808         [!NOT_IN_libc] (__vfork): Make this an alias.
18809         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18810         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18811         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18812         (__libc_vfork): Define the function under this name.
18813         [!NOT_IN_libc] (__vfork): Make this an alias.
18814         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18815         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18816         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18817         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18818         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18819         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18821         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18822         code that was previously under [RESET_PID].
18823         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18824         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18825         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18827         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18828         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18829         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18830         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18831         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18832         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18833         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18834         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18835         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18836         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18837         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18838         Moved ...
18839         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18840         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18841         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18842         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18843         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18844         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18845         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18846         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18847         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18848         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18849         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18850         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18851         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18852         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18853         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18854         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18855         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18856         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18857         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18858         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18859         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18860         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18861         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18862         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18863         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18864         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18865         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18866         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18867         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18869 2014-06-25  Roland McGrath  <roland@hack.frob.com>
18871         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18872         that was previously under [RESET_PID].
18873         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18875 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
18877         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18878         not undefine and redefine.
18879         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18880         [O_CLOEXEC]: Make code unconditional.
18881         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18882         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18883         <kernel-features.h>.
18884         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18885         conditional variable definition.
18886         (shm_open) [O_CLOEXEC]: Make code unconditional.
18887         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18888         code.
18890         * configure.ac (USE_REGPARMS): Don't define here.
18891         * configure: Regenerated.
18892         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18893         * sysdeps/i386/configure: Regenerated.
18895         * nptl/createthread.c: Don't include kernel-features.h.
18896         * nptl/pthread_cancel.c: Likewise.
18897         * nptl/pthread_condattr_setclock.c: Likewise.
18898         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18899         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18900         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18901         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18902         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18903         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18904         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18905         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18906         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18907         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18908         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18909         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18910         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18911         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18912         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18913         * nscd/gai.c: Likewise.
18914         * nss/nss_db/db-open.c: Likewise.
18915         * sysdeps/generic/ldsodefs.h: Likewise.
18916         * sysdeps/sh/nptl/tls.h: Likewise.
18917         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18918         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18919         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18920         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18921         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18922         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18923         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18924         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18925         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18926         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18927         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18928         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18929         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18930         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18931         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18932         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18933         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18934         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18935         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18936         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18937         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18938         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18939         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18940         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18941         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18942         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18943         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18944         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18945         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18946         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18947         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18948         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18949         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18950         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18951         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18952         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18953         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18954         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18955         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18956         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18957         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18958         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18959         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18960         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18961         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18962         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18963         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18964         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18965         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18966         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18967         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18968         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18969         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18970         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18971         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18972         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18973         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18974         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18997         * sysdeps/unix/sysv/linux/pread.c: Likewise.
18998         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18999         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
19000         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
19001         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
19002         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
19003         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
19004         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
19005         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
19006         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19007         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
19008         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19009         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
19010         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
19011         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
19012         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
19013         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19014         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
19015         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
19016         * sysdeps/unix/sysv/linux/system.c: Likewise.
19017         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
19018         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19019         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19020         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19021         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19022         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19023         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19025         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
19026         * configure: Regenerated.
19027         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
19029         * configure.ac (base_machine): Do not set specially for particular
19030         machines here.
19031         * configure: Regenerated.
19032         * sysdeps/powerpc/preconfigure: Move machine and base_machine
19033         settings from configure.ac.
19034         * sysdeps/i386/preconfigure: New file.
19035         * sysdeps/s390/preconfigure: Likewise.
19036         * sysdeps/sh/preconfigure: Likewise.
19037         * sysdeps/sparc/preconfigure: Likewise.
19039 2014-06-25  Roland McGrath  <roland@hack.frob.com>
19041         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
19042         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
19043         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
19044         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
19045         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
19046         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
19047         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
19048         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
19049         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
19050         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
19051         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
19052         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
19053         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
19054         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
19055         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
19056         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
19057         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
19058         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
19059         * sysdeps/sparc/sparc64/Makefile: ... appended here.
19061         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
19062         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
19063         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
19064         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
19065         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
19066         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
19067         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
19068         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
19069         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
19070         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
19071         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
19072         * sysdeps/sparc/sparc32/sem_post.c: ... here.
19073         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
19074         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
19075         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
19076         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
19077         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
19078         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
19079         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
19080         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
19081         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
19082         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
19083         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
19084         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
19085         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
19086         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
19087         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
19088         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
19089         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
19090         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
19091         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
19092         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
19093         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
19094         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
19095         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
19096         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
19097         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
19098         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
19100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
19101         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
19102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
19103         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
19104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19105         Moved ...
19106         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
19107         ... here.
19108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
19109         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
19110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
19111         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
19112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
19113         Moved ...
19114         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
19115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
19116         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
19117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
19118         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
19119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
19120         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
19121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19122         Moved ...
19123         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19125         Moved ...
19126         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19128         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19130         Moved ...
19131         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19133         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19135         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19137         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19139         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19141         Moved ...
19142         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19143         ... here.
19144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19145         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19147         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19149         Moved ...
19150         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19152         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19154         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19156         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19158         Moved ...
19159         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19161         Moved ...
19162         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19164         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19166         Moved ...
19167         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19169         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19171         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19173 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19175         * timezone/checktab.awk: Update from tzcode 2014e.
19176         * timezone/private.h: Likewise.
19177         * timezone/tzfile.h: Likewise.
19178         * timezone/zdump.c: Likewise.
19179         * timezone/zic.c: Likewise.
19181         * sysdeps/unix/sysv/linux/kernel-features.h
19182         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19183         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19184         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19185         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19186         Remove conditional code.
19188 2014-06-25  Will Newton  <will.newton@linaro.org>
19190         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19191         (_dl_arm_cap_flags): Add HWCAP2 values.
19192         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19193         (_DL_HWCAP_COUNT): Increase to 37.
19194         (_DL_HWCAP_LAST): New define.
19195         (_DL_HWCAP2_LAST): New define.
19196         (_dl_procinfo): Add support for printing
19197         AT_HWCAP2 entries.
19198         (_dl_string_hwcap): Use _dl_hwcap_string.
19200 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19204 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19206         * README: Do not mention ports directory.
19208         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19209         Remove macro.
19210         * sysdeps/unix/sysv/linux/futimes.c: Do not include
19211         <kernel-features.h>.
19212         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19213         conditional variable definition.
19214         (__futimes): Update comment.
19215         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19216         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19218         [BZ #16560]
19219         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19220         arguments close to 0.
19221         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19222         Likewise.
19223         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19224         Likewise.
19225         * math/auto-libm-test-in: Add more tests of exp10.
19226         * math/auto-libm-test-out: Regenerated.
19227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19229         * sysdeps/unix/sysv/linux/kernel-features.h
19230         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19231         * sysdeps/unix/sysv/linux/readv.c: Do not include
19232         <kernel-features.h>.
19233         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19234         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19235         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19236         unconditional.
19237         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19238         conditional code.
19239         * sysdeps/unix/sysv/linux/writev.c: Do not include
19240         <kernel-features.h>.
19241         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19242         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19243         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19244         unconditional.
19245         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19246         conditional code.
19248 2014-06-25  Will Newton  <will.newton@linaro.org>
19250         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19251         comment changes throughout the file.  Remove checks
19252         for HAVE_*_H definitions that are not required.
19253         (__gen_tempname): Call abort if an unknown kind value is
19254         passed.
19256 2014-06-25  Andreas Schwab  <schwab@suse.de>
19258         [BZ #17086]
19259         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19260         scalbln, scalblnf, scalblnl in libc.
19262 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19264         [BZ #17086]
19265         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19266         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19267         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19269 2014-06-24  Roland McGrath  <roland@hack.frob.com>
19271         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19272         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19273         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19274         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19275         Update #include.
19276         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19277         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19278         Update #include.
19279         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19280         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19281         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19282         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19283         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19284         * sysdeps/x86/bits/pthreadtypes.h: ... here.
19285         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19286         * sysdeps/x86/bits/semaphore.h: ... here.
19287         * sysdeps/x86/nptl/elide.h: Moved ...
19288         * sysdeps/x86/elide.h: ... here.
19289         * sysdeps/x86_64/nptl/Implies: File removed.
19290         * sysdeps/i386/nptl/Implies: File removed.
19292 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
19294         [BZ #16539]
19295         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19296         return the argument for normal arguments with exponent below -64.
19297         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19298         Likewise.
19299         * math/auto-libm-test-in: Add another test of expm1.
19300         * math/auto-libm-test-out: Regenerated.
19302         [BZ #16287]
19303         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19304         calling __erfcl for arguments at least 16.
19305         * math/auto-libm-test-in: Add more tests of erf.
19306         * math/auto-libm-test-out: Regenerated.
19308         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19309         individual architectures.
19310         * sysdeps/unix/sysv/linux/configure: Regenerated.
19311         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19312         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19313         * sysdeps/unix/sysv/linux/powerpc/configure.ac
19314         (ldd_rewrite_script): Define variable.
19315         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19317         file.
19318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19319         generated file.
19320         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19321         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19322         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19323         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19324         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19325         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19326         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19327         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19329 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19331         [BZ #17084]
19332         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19333         Rename member __data.d to __data.__elision_data.
19335 2014-06-24  Wilco  <wdijkstr@arm.com>
19337         * NEWS: Add 16918 to fixed bug list.
19339 2014-06-24  Wilco  <wdijkstr@arm.com>
19341         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19343 2014-06-24  Wilco  <wdijkstr@arm.com>
19345         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19346         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19347         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19348         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19349         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19350         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19351         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19352         Use _FPU_MASK_RM.
19354 2014-06-24  Wilco  <wdijkstr@arm.com>
19356         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19358 2014-06-24  Wilco  <wdijkstr@arm.com>
19360         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19361         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19362         * sysdeps/arm/fesetround.c (fesetround): Remove space.
19363         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19365 2014-06-24  Wilco  <wdijkstr@arm.com>
19367         [BZ #16918]
19368         * sysdeps/arm/feupdateenv.c (feupdateenv):
19369         Rewrite to reduce FPSCR accesses and fix return value.
19371 2014-06-24  Wilco  <wdijkstr@arm.com>
19373         * sysdeps/arm/fclrexcpt.c (feclearexcept):
19374         Optimize to avoid unnecessary FPSCR writes.
19375         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19376         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19377         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19378         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19380 2014-06-24  Wilco  <wdijkstr@arm.com>
19382         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19383         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19384         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19385         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19386         Call libc_fetestexcept_vfp.
19387         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19388         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19389         __SOFTFP__ ifdef so that they can be built for softfp.
19391 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19393         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19394         argument type signed char.
19396         * Makerules (check-abi): Dump diff of symlist if the test
19397         fails.
19399 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19401         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19402         using abort.
19404         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19405         Remove unused variable ST.
19407 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19409         [BZ #16354]
19410         [BZ #17061]
19411         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19412         small arguments before calling __expm1.
19413         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19414         small arguments before calling __expm1f.
19415         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19416         small arguments before calling __expm1l.
19417         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19418         Likewise.
19419         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19420         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
19421         spurious underflow for some cosh tests.
19422         * math/auto-libm-test-out: Regenerated.
19423         * sysdeps/i386/fpu/libm-test-ulps: Update.
19425         [BZ #17050]
19426         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19427         (__ieee754_y1): Set errno if return value overflows.
19428         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19429         (__ieee754_y1f): Set errno if return value overflows.
19430         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19431         (__ieee754_y1l): Set errno if return value overflows.
19432         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19433         (__ieee754_y1l): Set errno if return value overflows.
19434         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19435         * math/auto-libm-test-out: Regenerated.
19437         * math/gen-auto-libm-tests.c: Document use of
19438         ignore-zero-inf-sign.
19439         (input_flag_type): Add value flag_ignore_zero_inf_sign.
19440         (input_flags): Add ignore-zero-inf-sign.
19441         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19442         * math/gen-libm-test.pl (generate_testfile): Handle
19443         ignore-zero-inf-sign.
19444         * math/auto-libm-test-in: Mark some cpow tests with
19445         ignore-zero-inf-sign and some with xfail-rounding.
19446         * math/auto-libm-test-out: Regenerated.
19447         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19448         * sysdeps/i386/fpu/libm-test-ulps: Update.
19449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19451         [BZ #16315]
19452         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19453         overflowing or underflowing operations take place with sign of
19454         result.
19455         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19456         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19457         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19458         (__ieee754_pow): Recompute overflowing and underflowing results in
19459         original rounding mode.
19460         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19461         (__powl_helper): Allow negative argument X and scale negated value
19462         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
19463         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19464         overflowing or underflowing operations take place with sign of
19465         result.
19466         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19467         Include <math.h>.
19468         * math/auto-libm-test-in: Add more tests of pow.
19469         * math/auto-libm-test-out: Regenerated.
19470         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19471         (pow_tonearest_test_data): Remove.
19472         (pow_test_tonearest): Likewise.
19473         (pow_towardzero_test_data): Likewise.
19474         (pow_test_towardzero): Likewise.
19475         (pow_downward_test_data): Likewise.
19476         (pow_test_downward): Likewise.
19477         (pow_upward_test_data): Likewise.
19478         (pow_test_upward): Likewise.
19479         (main): Don't call removed functions.
19480         * sysdeps/i386/fpu/libm-test-ulps: Update.
19481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19483 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19486         Moved ...
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19489         Moved ...
19490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19492         Moved ...
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19495         Moved ...
19496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19498         File removed.
19499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19500         File removed.
19501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19502         File removed.
19503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19504         File removed.
19505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19506         File removed.
19507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19508         File removed.
19509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19510         File removed.
19511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19512         File removed.
19513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19514         File removed.
19515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19516         File removed.
19517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19518         File removed.
19519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19520         File removed.
19521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19522         Moved ...
19523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19525         Moved ...
19526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19527         ... here.
19528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19529         Moved ...
19530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19532         Moved ...
19533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19535         Moved ...
19536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19538         Moved ...
19539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19541         Moved ...
19542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19544         Moved ...
19545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19547         Moved ...
19548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19551         ... here.
19552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19553         Moved ...
19554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19556         Moved ...
19557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19558         ... here.
19559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19560         Moved ...
19561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19562         ... here.
19563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19564         Moved ...
19565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19566         ... here.
19567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19568         Moved ...
19569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19571         Moved ...
19572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19576         Moved ...
19577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19578         ... here.
19579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19580         Moved ...
19581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19582         ... here.
19583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19584         Moved ...
19585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19587         Moved ...
19588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19590         Moved ...
19591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19593         Moved ...
19594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19596         Moved ...
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19598         ... here.
19599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19600         Moved ...
19601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19603         Moved ...
19604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19606         Moved ...
19607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19609         Moved ...
19610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19614         Moved ...
19615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19617         Moved ...
19618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19620         Moved ...
19621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19622         ... here.
19623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19624         Moved ...
19625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19626         ... here.
19627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19628         Moved ...
19629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19630         ... here.
19631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19632         Moved ...
19633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19635         Moved ...
19636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19638         Moved ...
19639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19641         Moved ...
19642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19643         ... here.
19644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19645         Moved ...
19646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19647         ... here.
19648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19649         Moved ...
19650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19651         ... here.
19652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19653         Moved ...
19654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19656         Moved ...
19657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19659 2014-06-23  Will Newton  <will.newton@linaro.org>
19660             Wilco  <wdijkstr@arm.com>
19662         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19663         implementation.  Include get-rounding-mode.h.
19664         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19665         [!libc_feholdsetround_noex_ctx]: Define
19666         libc_feholdsetround_noex_ctx.
19667         [!libc_feholdsetround_noexf_ctx]: Define
19668         libc_feholdsetround_noexf_ctx.
19669         [!libc_feholdsetround_noexl_ctx]: Define
19670         libc_feholdsetround_noexl_ctx.
19671         (libc_feholdsetround_ctx): New function.
19672         (libc_feresetround_ctx): New function.
19673         (libc_feholdsetround_noex_ctx): New function.
19674         (libc_feresetround_noex_ctx): New function.
19676 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19678         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19679         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19680         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19681         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19682         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19683         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19685         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19686         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19687         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19688         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19689         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19690         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19691         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19692         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19693         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19694         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19695         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19696         Moved ...
19697         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19698         ... here.
19699         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19700         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19701         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19702         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19703         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19704         Moved ...
19705         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19706         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19707         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19708         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19709         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19710         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19711         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19712         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19713         Moved ...
19714         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19715         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19716         Moved ...
19717         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19718         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19719         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19721         Moved ...
19722         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19723         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19724         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19725         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19726         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19727         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19728         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19729         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19730         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19731         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19732         Moved ...
19733         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19734         ... here.
19735         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19736         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19737         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19738         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19739         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19740         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19741         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19742         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19743         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19744         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19745         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19746         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19747         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19748         Moved ...
19749         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19750         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19751         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19752         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19753         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19754         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19755         Moved ...
19756         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19757         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19758         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19759         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19760         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19762         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19763         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19764         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19765         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19766         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19767         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19768         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19769         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19770         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19771         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19772         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19773         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19774         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19775         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19776         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19777         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19778         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19779         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19780         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19781         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19782         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19783         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19784         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19785         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19786         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19787         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19788         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19789         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19791 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19793         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19794         (FALLOC_FL_COLLAPSE_RANGE): New macro.
19795         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19796         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19797         (IPV6_PMTUDISC_INTERFACE): Likewise.
19798         (IPV6_PMTUDISC_OMIT): Likewise.
19800 2014-06-23  Andreas Schwab  <schwab@suse.de>
19802         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19803         Remove unused errout label.
19805 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19807         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19808         macro: hardware supports Vector Crypto instructions.
19810 2014-06-23  Will Newton  <will.newton@linaro.org>
19812         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19813         rather than __builtin_expect.
19815         * elf/dl-lookup.c (undefined_msg): Remove variable.
19816         (_dl_lookup_symbol_x): Replace undefined_msg with string
19817         literal.
19819         * elf/dl-lookup.c (do_lookup_unique): New function.
19820         (do_lookup_x): Move STB_GNU_UNIQUE handling code
19821         to a separate function.
19823 2014-06-23  Andreas Schwab  <schwab@suse.de>
19825         [BZ #17079]
19826         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19827         before reading the next line.
19829 2014-06-23  Will Newton  <will.newton@linaro.org>
19831         * test-skeleton.c (signal_handler): Use printf and %m
19832         rather than perror.  Use printf rather than fprintf to
19833         stderr.  Use puts rather than fputs to stderr.
19834         (main): Likewise.
19836 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
19838         * nscd/nscd.c (thread_info_t): Remove typedef.
19839         (thread_info): Remove variable.
19841 2014-06-21  Allan McRae  <allan@archlinux.org>
19843         * NEWS: Mention CVE-2014-4043.
19845 2014-06-20  Roland McGrath  <roland@hack.frob.com>
19847         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19848         * nptl/smp.h: ... here.
19850         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19852         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19853         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19854         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19855         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19857         * nptl/allocatestack.c: Include <stack-aliasing.h>.
19858         * nptl/stack-aliasing.h: New file.
19859         * sysdeps/i386/i686/stack-aliasing.h: New file.
19860         * sysdeps/i386/i686/nptl/Makefile: File removed.
19861         * sysdeps/x86_64/stack-aliasing.h: New file.
19862         * sysdeps/x86_64/nptl/Makefile
19863         (CFLAGS-pthread_create.c): Variable removed.
19865         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19866         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19867         old file.
19868         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19869         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19870         old file.
19872 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
19874         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19875         (__ASSUME_SIGFRAME_V2): Remove macro.
19876         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19877         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19878         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19879         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19880         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19881         Declare as function.  Remove conditional macro definitions.
19882         (__default_rt_sa_restorer): Likewise.
19883         (__default_sa_restorer_v1): Remove declaration.
19884         (__default_sa_restorer_v2): Likewise.
19885         (__default_rt_sa_restorer_v1): Likewise.
19886         (__default_rt_sa_restorer_v2): Likewise.
19887         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19888         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19889         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19891 2014-06-20  Roland McGrath  <roland@hack.frob.com>
19893         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19894         (libpthread-routines): Add sysdep.
19895         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19896         * sysdeps/unix/sysv/linux/sparc/Versions
19897         (libpthread: GLIBC_2.3.3): New version set.
19898         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19899         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19900         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19901         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19902         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
19903         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19904         Moved ...
19905         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19906         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19907         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19908         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19909         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19910         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19911         * sysdeps/sparc/nptl/sem_init.c: ... here.
19912         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19913         * sysdeps/sparc/nptl/sem_post.c: ... here.
19914         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19915         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19916         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19917         * sysdeps/sparc/nptl/sem_wait.c: ... here.
19918         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19919         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19920         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19921         (libpthread-routines): Add cpu_relax.
19922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19923         File removed.
19924         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19925         (librt: GLIBC_2.3.3): New version set.
19926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19927         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19928         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19929         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19932         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19934         Moved ...
19935         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19937         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19939         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19941         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19943         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19945         Moved ...
19946         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19947         Update #include.
19948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19949         Moved ...
19950         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19951         Update #include.
19952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19953         Moved ...
19954         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19955         Update #include.
19956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19957         Moved ...
19958         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19959         Update #include.
19960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19961         Moved ...
19962         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19963         Update #include.
19964         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19965         Moved ...
19966         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19967         Update #include.
19968         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19969         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19971         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19972         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19973         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19975         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19977         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19979         Moved ...
19980         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19982         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19984         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19986 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
19988         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19989         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19990         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19991         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19992         * nscd/nscd.c: Likewise.
19993         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19994         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19995         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19996         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19998         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19999         <kernel-features.h>.
20000         (init_mq_netlink): Remove conditional have_sock_cloexec
20001         definitions.  Remove code conditional on have_sock_cloexec < 0.
20002         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
20003         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
20004         * sysdeps/unix/sysv/linux/opensock.c: Do not include
20005         <kernel-features.h>.
20006         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
20007         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
20009 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20011         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20012         Add tests for memset_chk and memset.
20014         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
20015         with AVX2_Usable.
20017 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20019         [BZ #16046]
20020         * elf/tst-dl-iter-static.c: New file.
20021         * elf/Makefile (tests-static): Add tst-dl-iter-static.
20023         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
20024         error.
20026 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20028         * sysdeps/unix/sysv/linux/kernel-features.h
20029         (__ASSUME_F_GETOWN_EX): Remove macro.
20030         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
20031         <kernel-features.h>.
20032         (miss_F_GETOWN_EX): Remove variable or macro.
20033         (do_fcntl): Do not check miss_F_GETOWN_EX.
20034         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
20036         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
20037         Remove macro.
20038         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
20039         [!__ASSUME_AT_RANDOM]: Remove conditional code.
20040         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
20042         * sysdeps/unix/sysv/linux/kernel-features.h
20043         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
20044         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
20045         [ADJ_OFFSET_SS_READ]: Make code unconditional.
20046         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
20048 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20050         [BZ #17075]
20051         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
20052         Fix calculation of the symbol's value.
20053         * sysdeps/arm/tst-armtlsdescloc.c: New file.
20054         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
20055         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
20056         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
20057         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
20058         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
20059         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
20060         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
20061         (modules-names): Add `tst-armtlsdescmod',
20062         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
20063         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
20064         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20065         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
20066         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
20067         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20068         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
20069         ($(objpfx)tst-armtlsdescloc): New dependency.
20070         ($(objpfx)tst-armtlsdescextnow): Likewise.
20071         ($(objpfx)tst-armtlsdescextlazy): Likewise.
20072         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
20073         TLS scheme support.
20074         * sysdeps/arm/configure: Regenerate.
20076 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20078         * include/fcntl.h (__atfct_seterrno): Remove prototype.
20079         (__atfct_seterrno_2): Likewise.
20080         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
20081         <kernel-features.h>.
20082         (__ASSUME_ATFCTS): Do not undefine and redefine.
20083         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
20084         (__have_atfcts): Remove conditional definition.
20085         (__fxstatat([__NR_fstatat64]: Make code unconditional.
20086         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
20087         unreachable if [__ASSUME_ATFCTS].
20088         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
20089         not undefine and redefine.
20090         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
20091         <kernel-features.h>.
20092         (faccessat) [__NR_faccessat]: Make code unconditional.
20093         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
20094         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
20095         <kernel-features.h>.
20096         (fchmodat) [__NR_fchmodat]: Make code unconditional.
20097         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20098         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
20099         <kernel-features.h>.
20100         (fchownat) [__NR_fchownat]: Make code unconditional.
20101         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
20102         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
20103         <kernel-features.h>.
20104         (futimesat) [__NR_futimesat]: Make code unconditional.
20105         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
20106         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20107         <kernel-features.h>.
20108         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20109         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20110         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20111         <kernel-features.h>.
20112         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
20113         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20114         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
20115         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20116         <kernel-features.h>.
20117         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
20118         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20119         * sysdeps/unix/sysv/linux/linkat.c: Do not include
20120         <kernel-features.h>.
20121         (linkat) [__NR_linkat]: Make code unconditional.
20122         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20123         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20124         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20125         <kernel-features.h>.
20126         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20127         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20128         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20129         <kernel-features.h>.
20130         (mkdirat) [__NR_mkdirat]: Make code unconditional.
20131         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20132         * sysdeps/unix/sysv/linux/openat.c: Do not include
20133         <kernel-features.h>.
20134         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20135         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20136         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20137         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20138         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20139         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20140         <kernel-features.h>.
20141         (readlinkat) [__NR_readlinkat]: Make code unconditional.
20142         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
20143         result of INLINE_SYSCALL directly, not via int variable.
20144         * sysdeps/unix/sysv/linux/renameat.c: Do not include
20145         <kernel-features.h>.
20146         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20147         (renameat) [__NR_renameat]: Make code unconditional.
20148         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20149         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20150         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20151         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20152         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20153         (__ASSUME_ATFCTS): Do not undefine and redefine.
20154         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20155         <kernel-features.h>.
20156         (symlinkat) [__NR_symlinkat]: Make code unconditional.
20157         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20158         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20159         <kernel-features.h>.
20160         (unlinkat) [__NR_unlinkat]: Make code unconditional.
20161         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20162         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20163         (__ASSUME_ATFCTS): Do not undefine and redefine.
20164         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20165         <kernel-features.h>.
20166         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20167         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20168         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20169         <kernel-features.h>.
20170         (__xmknodat) [__NR_mknodat]: Make code unconditional.
20171         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20173 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20175         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20177 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
20179         [BZ #17069]
20180         * posix/regcomp.c (parse_reg_exp): Deallocate partially
20181         constructed tree before returning error.
20182         * posix/bug-regexp36.c: Expand test case.
20184 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20186         [BZ #6803]
20187         * math/libm-test.inc (scalbln_test_date):
20188         Add errno expectations.
20189         * math/w_scalblnf.c: New File.
20190         Add wrapper which checks for setting errno to ERANGE.
20191         Add weak_alias for corresponding scalbln function.
20192         * math/w_scalbln.c: Likewise.
20193         * math/w_scalblnl.c: Likewise.
20194         * math/Makefile (libm-calls): Add w_scalbln.
20195         * sysdeps/ieee754/flt-32/s_scalblnf.c:
20196         Remove weak_alias for corresponding scalbln function.
20197         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20198         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20199         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20200         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20201         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20202         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20203         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20204         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20205         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20206         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20207         Remove long_double_symbol for scalblnl function in libm, libc.
20208         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20209         Add wrapper which checks for setting errno to ERANGE.
20210         Add long_double_symbol for scalblnl function in libm, libc.
20211         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20212         Remove long_double_symbol for scalblnl in libm.
20213         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20214         Add wrapper which checks for setting errno to ERANGE.
20215         Add long_double_symbol for scalblnl function in libm.
20216         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20217         Do not use wrapper because of own implementation.
20219 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
20221         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20222         3 bytes for __pad1 for x32.
20223         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20225 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
20226             H.J. Lu  <hongjiu.lu@intel.com>
20228         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20229         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20230         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20231         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20232         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20234 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
20236         [BZ #17069]
20237         * posix/regcomp.c (parse_expression): Deallocate partially
20238         constructed tree before returning error.
20239         * posix/Makefile.c (tests): Add bug-regex36.
20240         (generated): Add bug-regex36.mtrace.
20241         (tests-special): Add $(objpfx)bug-regex36-mem.out
20242         (bug-regex36-ENV): New variable.
20243         ($(objpfx)bug-regex36-mem.out): New rule.
20244         * posix/bug-regex36.c: New file.
20246 2014-06-19  Will Newton  <will.newton@linaro.org>
20248         * malloc/malloc.c (systrim): If extra is zero then return
20249         early.
20251 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20253         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20255 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
20257         * sysdeps/aarch64/strchr.S: New file.
20259 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20261         [BZ #17022]
20262         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20263         from arguments -2 or below.
20264         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20265         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20267 2014-06-18  Andreas Schwab  <schwab@suse.de>
20269         [BZ #17062]
20270         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20271         of a bracket expr not to run off the end of the string.
20272         * posix/Makefile (tests): Add tst-fnmatch3.
20273         * posix/tst-fnmatch3.c: New file.
20275 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20277         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20278         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20279         [$(cross-compiling) = no]: Likewise.
20280         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20281         [$(cross-compiling) = no]: Likewise.
20283 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20285         [BZ #17031]
20286         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20287         double, adjusted for any remainder from the high double.
20288         * math/libm-test.inc (nearbyint): Add tests.
20289         (rint): Likewise.
20291 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20293         * nptl/sysdeps/powerpc/Makefile: Moved ...
20294         * sysdeps/powerpc/nptl/Makefile: ... here.
20295         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20296         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20297         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20298         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20299         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20300         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20301         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20302         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20303         * nptl/sysdeps/powerpc/tls.h: Moved ...
20304         * sysdeps/powerpc/nptl/tls.h: ... here.
20306 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
20308         [BZ #16681]
20309         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20310         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20311         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20312         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20313         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20314         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20315         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20316         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20317         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20319 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
20321         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20323 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
20325         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20326         defined operator.
20328         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20329         $TIMEOUTFACTOR.
20331 2014-06-16  Florian Weimer  <fweimer@redhat.com>
20333         [BZ #17058]
20334         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20335         non-executed part of the test.
20337 2014-06-16  Andreas Schwab  <schwab@suse.de>
20339         * string/bits/string2.h (strdup, strndup): Update feature guard.
20341 2014-06-14  David S. Miller  <davem@davemloft.net>
20343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20345 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
20347         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20348         that was previously under [RESET_PID].
20349         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20351         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20352         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20353         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20354         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20355         (__libc_vfork): New strong alias.
20356         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20358 2014-06-14 Andi Kleen  <ak@linux.intel.com>
20360         * sysdeps/generic/elide.h: New file.
20362 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20364         * Makefile (installed-headers): Adjust path of pthread.h header.
20366 2014-06-13  Roland McGrath  <roland@hack.frob.com>
20368         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20369         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20370         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20371         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20373         * nptl/sysdeps/s390/Makefile: Moved ...
20374         * sysdeps/s390/nptl/Makefile: ... here.
20375         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20376         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20377         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20378         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20379         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20380         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20381         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20382         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20383         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20384         * sysdeps/s390/nptl/pthreaddef.h: ... here.
20385         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20386         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20387         * nptl/sysdeps/s390/tls.h: Moved ...
20388         * sysdeps/s390/nptl/tls.h: ... here.
20390         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20391         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20393 2014-06-13  David S. Miller  <davem@davemloft.net>
20395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20398         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20402         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20403         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20404         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20405         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20406         Remove RESET_PID cpp guards.
20407         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20408         Remove RESET_PID cpp guards.
20409         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20411 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
20413         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20414         __sp to uintptr_t.
20416 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20418         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20419         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20420         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20421         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20422         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20423         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20424         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20425         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20426         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20427         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20428         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20429         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20430         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20431         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20432         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20433         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20434         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20435         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20436         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20437         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20439         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20440         (pthread_rwlock_rdlock): Add elision.
20441         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20442         (pthread_rwlock_wrlock): Add elision.
20443         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20444         (pthread_rwlock_trywrlock): Add elision.
20445         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20446         (pthread_rwlock_tryrdlock): Add elision.
20447         * nptl/pthread_rwlock_unlock.c: Include elide.h.
20448         (pthread_rwlock_tryrdlock): Add elision unlock.
20449         * nptl/sysdeps/pthread/pthread.h:
20450         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20451         (PTHREAD_RWLOCK_INITIALIZER,
20452         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20453         Handle new elision field.
20454         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20455         * sysdeps/arm/nptl/bits/pthreadtypes.h
20456         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20457         * sysdeps/sh/nptl/bits/pthreadtypes.h
20458         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20459         * sysdeps/tile/nptl/bits/pthreadtypes.h
20460         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20461         * sysdeps/a/nptl/bits/pthreadtypes.h
20462         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20463         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20464         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20465         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20466         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20467         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20468         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20469         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20470         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20471         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20472         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20473         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20474         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20475         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20476         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20477         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20478         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20479         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20480         (elision_init): Set try_xbegin to zero when no RTM.
20481         * sysdeps/x86/nptl/bits/pthreadtypes.h
20482         (pthread_rwlock_t): Change __pad1 to __rwelision.
20483         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20485 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20487         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20488         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20489         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20490         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20492 2014-06-13  Meador Inge  <meadori@codesourcery.com>
20494         [BZ #16996]
20495         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20496         that the cached result has been set before returning it.
20498 2014-06-12  Roland McGrath  <roland@hack.frob.com>
20500         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20501         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20502         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20503         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20504         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20505         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20507         * nptl/sysdeps/sparc/Makefile: Moved ...
20508         * sysdeps/sparc/nptl/Makefile: ... here.
20509         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20510         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20511         * nptl/sysdeps/sparc/tls.h: Moved ...
20512         * sysdeps/sparc/nptl/tls.h: ... here.
20513         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20514         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20515         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20516         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20517         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20518         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20519         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20520         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20521         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20522         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20523         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20524         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20525         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20526         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20527         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20528         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20529         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20530         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20531         Update #include.
20532         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20533         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20534         Update #include.
20535         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20536         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20537         Update #include.
20538         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20539         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20540         Update #include.
20542         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20544         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20545         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20547         * sysdeps/pthread/posix-timer.h: Include <list.h>.
20548         (struct list_links): Type removed.
20549         (struct thread_node, struct timer_node): Replace struct list_links
20550         with struct list_head.
20551         (list_unlink_ip): Likewise.
20552         * sysdeps/pthread/timer_routines.c
20553         (timer_free_list, thread_free_list, thread_active_list): Likewise.
20554         (list_append, list_insbefore): Likewise.
20555         (list_init): Function removed.
20556         (thread_init, init_module): Use INIT_LIST_HEAD instead.
20557         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20558         * sysdeps/pthread/Makefile: ... here, new file.
20560         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20561         * sysdeps/nptl/Implies: ... here.
20562         * sysdeps/unix/sysv/linux/Implies: Add nptl.
20563         * nptl/sysdeps/pthread/list.h: Moved ...
20564         * include/list.h: ... here.
20565         * nptl/sysdeps/pthread/createthread.c: Moved ...
20566         * nptl/createthread.c: ... here.
20567         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20568         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20569         * nptl/pt-longjmp.c: ... here.
20570         * nptl/sysdeps/pthread/Makefile: Moved ...
20571         * sysdeps/nptl/Makefile: ... here.
20572         * nptl/sysdeps/pthread/Subdirs: Moved ...
20573         * sysdeps/nptl/Subdirs: ... here.
20574         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20575         * sysdeps/nptl/aio_misc.h: ... here.
20576         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20577         * sysdeps/nptl/bits/libc-lock.h: ... here.
20578         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20579         * sysdeps/nptl/bits/libc-lockP.h: ... here.
20580         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20581         * sysdeps/nptl/bits/stdio-lock.h: ... here.
20582         * nptl/sysdeps/pthread/configure: Moved ...
20583         * sysdeps/nptl/configure: ... here.
20584         * nptl/sysdeps/pthread/configure.ac: Moved ...
20585         * sysdeps/nptl/configure.ac: ... here.
20586         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20587         * sysdeps/nptl/gai_misc.h: ... here.
20588         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20589         * sysdeps/nptl/librt-cancellation.c: ... here.
20590         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20591         * sysdeps/nptl/malloc-machine.h: ... here.
20592         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20593         * sysdeps/nptl/pthread-functions.h: ... here.
20594         * nptl/sysdeps/pthread/pthread.h: Moved ...
20595         * sysdeps/nptl/pthread.h: ... here.
20596         * nptl/sysdeps/pthread/setxid.h: Moved ...
20597         * sysdeps/nptl/setxid.h: ... here.
20598         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20599         * sysdeps/nptl/sigfillset.c: ... here.
20600         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20601         * sysdeps/nptl/tcb-offsets.h: ... here.
20602         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20603         * sysdeps/nptl/tst-mqueue8x.c: ... here.
20604         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20605         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20606         * nptl/sysdeps/pthread/allocalim.h: Moved ...
20607         * sysdeps/pthread/allocalim.h: ... here.
20608         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20609         * sysdeps/pthread/bits/sigthread.h: ... here.
20610         * nptl/sysdeps/pthread/flockfile.c: Moved ...
20611         * sysdeps/pthread/flockfile.c: ... here.
20612         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20613         * sysdeps/pthread/ftrylockfile.c: ... here.
20614         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20615         * sysdeps/pthread/funlockfile.c: ... here.
20616         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20617         * sysdeps/pthread/posix-timer.h: ... here.
20618         * nptl/sysdeps/pthread/timer_create.c: Moved ...
20619         * sysdeps/pthread/timer_create.c: ... here.
20620         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20621         * sysdeps/pthread/timer_delete.c: ... here.
20622         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20623         * sysdeps/pthread/timer_getoverr.c: ... here.
20624         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20625         * sysdeps/pthread/timer_gettime.c: ... here.
20626         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20627         * sysdeps/pthread/timer_routines.c: ... here.
20628         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20629         * sysdeps/pthread/timer_settime.c: ... here.
20630         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20631         * sysdeps/pthread/tst-timer.c: ... here.
20632         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20633         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20635         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20636         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20638         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20639         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20640         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20641         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20642         Update #include target.
20643         * nptl/sysdeps/i386/i686/Makefile: Moved ...
20644         * sysdeps/i386/i686/nptl/Makefile: ... here.
20645         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20646         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20647         Update #include target.
20648         * nptl/sysdeps/i386/i686/tls.h: Moved ...
20649         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
20650         * nptl/sysdeps/i386/Makefile: Moved ...
20651         * sysdeps/i386/nptl/Makefile: ... here.
20652         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20653         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20654         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20655         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20656         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20657         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20658         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20659         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20660         * sysdeps/i386/nptl/pthreaddef.h: ... here.
20661         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20662         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20663         * nptl/sysdeps/i386/tls.h: Moved ...
20664         * sysdeps/i386/nptl/tls.h: ... here.
20666         * sysdeps/sh/Makefile [$(subdir) = csu]
20667         (gen-as-const-headers): Add tcb-offsets.sym.
20668         * nptl/sysdeps/sh/Makefile: File removed.
20669         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20670         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20671         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20672         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20673         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20674         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20675         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20676         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20677         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20678         * sysdeps/sh/nptl/pthreaddef.h: ... here.
20679         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20680         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20681         * nptl/sysdeps/sh/tls.h: Moved ...
20682         * sysdeps/sh/nptl/tls.h: ... here.
20683         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20684         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20685         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20686         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20687         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20688         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20689         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20690         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20691         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20692         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20693         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20694         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20695         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20696         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20697         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20698         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20699         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20700         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20701         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20702         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20703         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20704         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20705         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20706         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20707         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20708         Moved ...
20709         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20710         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20711         Moved ...
20712         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20713         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20714         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20715         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20716         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20717         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20718         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20719         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20720         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20721         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20722         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20723         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20724         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20725         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20726         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20727         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20728         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20729         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20730         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20732 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20734         * posix/spawn_faction_addopen.c: Include string.h.
20736 2014-06-11  Roland McGrath  <roland@hack.frob.com>
20738         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20739         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20740         * nptl/sysdeps/x86_64/Makefile: Moved ...
20741         * sysdeps/x86_64/nptl/Makefile: ... here.
20742         * nptl/sysdeps/x86_64/configure: Moved ...
20743         * sysdeps/x86_64/nptl/configure: ... here.
20744         * nptl/sysdeps/x86_64/configure.ac: Moved ...
20745         * sysdeps/x86_64/nptl/configure.ac: ... here.
20746         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20747         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20748         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20749         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20750         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20751         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20752         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20753         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20754         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20755         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20756         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20757         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20758         * nptl/sysdeps/x86_64/tls.h: Moved ...
20759         * sysdeps/x86_64/nptl/tls.h: ... here.
20760         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20761         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20762         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20763         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20765         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20767 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20771 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
20773         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20774         type.
20775         [POSIX] (off_t): Likewise.
20776         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20777         [POSIX] (S_ISBLK): Require macro.
20778         [POSIX] (S_ISCHR): Likewise.
20779         [POSIX] (S_ISDIR): Likewise.
20780         [POSIX] (S_ISFIFO): Likewise.
20781         [POSIX] (S_ISREG): Likewise.
20782         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20783         optional-macro.
20784         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20785         type.
20786         [POSIX] (time_t): Likewise.
20787         [POSIX] (timer_t): Likewise.
20789 2014-06-11  Florian Weimer  <fweimer@redhat.com>
20791         [BZ #17048]
20792         * posix/spawn_int.h (struct __spawn_action): Make the path string
20793         non-const to support deallocation.
20794         * posix/spawn_faction_addopen.c
20795         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20796         * posix/spawn_faction_destroy.c
20797         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
20798         path in all spawn_do_open actions.
20799         * posix/tst-spawn.c (do_test): Exercise the copy operation in
20800         posix_spawn_file_actions_addopen.
20802 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
20804         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20805         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20806         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20807         conditional code always true.
20808         (__libc_vfork): New alias.
20810 2014-06-11  Roland McGrath  <roland@hack.frob.com>
20812         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20813         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20815         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20817         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20818         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20820         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20821         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20823         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20824         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20826 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20828         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20829         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20830         multiarch strcmp for PPC64.
20831         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20832         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20834         multiarch optimizations.
20835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20836         (__libc_ifunc_impl_list): Likewise.
20838 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20840         * benchtests/scripts/validate_benchout.py: New script.
20841         * benchtests/Makefile (bench-func): Call it.
20842         * benchtests/scripts/benchout.schema.json: New file.
20844 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
20846         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20847         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20848         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20849         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20850         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20851         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20852         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20853         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20854         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20855         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20856         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20857         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20858         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20859         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20860         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20861         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20863         Moved ...
20864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20865         ... here.
20866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20867         Moved ...
20868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20870         Moved ...
20871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20872         ... here.
20873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20874         Moved ...
20875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20876         ... here.
20877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20878         Moved ...
20879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20881         Moved ...
20882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20883         ... here.
20884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20885         Moved ...
20886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20887         ... here.
20888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20889         Moved ...
20890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20892         Moved ...
20893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20894         ... here.
20895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20896         Moved ...
20897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20898         ... here.
20899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20900         Moved ...
20901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20902         ... here.
20903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20904         Moved ...
20905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20907         Moved ...
20908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20909         ... here.
20910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20911         Moved ...
20912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20913         ... here.
20914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20915         Moved ...
20916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20917         ... here.
20918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20919         Moved ...
20920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20922         Moved ...
20923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20924         ... here.
20925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20926         Moved ...
20927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20928         ... here.
20929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20930         Moved ...
20931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20933         Moved ...
20934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20935         ... here.
20936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20937         Moved ...
20938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20940         Moved ...
20941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20943         Moved ...
20944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20945         ... here.
20946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20947         Moved ...
20948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20949         ... here.
20950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20951         Moved ...
20952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20953         ... here.
20954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20955         Moved ...
20956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20958         Moved ...
20959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20960         ... here.
20961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20962         Moved ...
20963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20964         ... here.
20965         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20966         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20967         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20968         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20969         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20970         Moved ...
20971         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20972         ... here.
20973         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20974         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20975         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20976         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20977         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20978         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20979         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20980         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20981         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20982         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20983         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20984         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20985         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20986         Moved ...
20987         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20988         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20989         Moved ...
20990         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20991         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20992         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20993         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20994         Moved ...
20995         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20996         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20997         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20998         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20999         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
21000         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
21001         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
21003 2014-06-10  Wilco  <wdijkstr@arm.com>
21005         * math/test-fenv-return.c: New file.
21006         * math/Makefile: Add new test test-fenv-return.
21008 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
21010         [BZ #17042]
21011         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
21012         when x - 1 is zero.
21013         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
21014         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
21015         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
21016         0.0L for an argument of 1.0L.
21017         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21018         Likewise.
21019         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
21020         value when x - 1 is zero.
21021         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
21022         * sysdeps/i386/fpu/libm-test-ulps: Update.
21023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21025 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
21027         [BZ #15119]
21028         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
21030 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21032         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
21033         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
21035 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21037         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21038         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
21040         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21041         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
21043         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21044         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
21046         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21047         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
21049         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
21050         if not already defined.
21051         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
21052         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
21053         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
21054         (TLS_INIT_TP): Use it.
21055         (TLS_DEFINE_INIT_TP): New macro.
21056         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
21058 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
21060         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
21061         constant.
21062         [POSIX] (IXANY): Likewise.
21063         [POSIX] (OLCUC): Likewise.
21064         [POSIX || POSIX2008] (CBAUD): Do not allow.
21065         [POSIX || POSIX2008] (DEFECHO): Likewise.
21066         [POSIX || POSIX2008] (ECHOCTL): Likewise.
21067         [POSIX || POSIX2008] (ECHOKE): Likewise.
21068         [POSIX || POSIX2008] (ECHOPRT): Likewise.
21069         [POSIX || POSIX2008] (EXTA): Likewise.
21070         [POSIX || POSIX2008] (EXTB): Likewise.
21071         [POSIX || POSIX2008] (FLUSHO): Likewise.
21072         [POSIX || POSIX2008] (LOBLK): Likewise.
21073         [POSIX || POSIX2008] (PENDIN): Likewise.
21074         [POSIX || POSIX2008] (SWTCH): Likewise.
21075         [POSIX || POSIX2008] (VDISCARD): Likewise.
21076         [POSIX || POSIX2008] (VDSUSP): Likewise.
21077         [POSIX || POSIX2008] (VLNEXT): Likewise.
21078         [POSIX || POSIX2008] (VREPRINT): Likewise.
21079         [POSIX || POSIX2008] (VSTATUS): Likewise.
21080         [POSIX || POSIX2008] (VWERASE): Likewise.
21081         (B*): Change to B[0123456789]*.
21082         * conform/data/time.h-data [POSIX || UNIX98]
21083         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
21084         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21085         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
21086         [POSIX] (tm_*): Do not allow.
21088 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
21090         * Makefile (install): Don't set LANGUAGE.
21091         * Makefile.in (install): Likewise.
21092         * assert/Makefile (test-assert-ENV): Remove variable.
21093         (test-assert-perr-ENV): Likewise.
21094         * elf/Makefile (neededtest4-ENV): Likewise.
21095         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21096         [$(cross-compiling) = no]: Don't set LANGUAGE.
21097         * io/ftwtest-sh (LANG): Remove variable.
21098         * libio/Makefile (tst-widetext-ENV): Likewise.
21099         * manual/install.texi (Running make install): Don't refer to
21100         environment settings for make install.
21101         * INSTALL: Regenerated.
21102         * nptl/tst-tls6.sh: Don't set LANG.
21103         * posix/globtest.sh (LANG): Remove variable.
21104         * string/Makefile (tester-ENV): Likewise.
21105         (inl-tester-ENV): Likewise.
21106         (noinl-tester-ENV): Likewise.
21107         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21108         [$(cross-compiling) = no]: Don't set LANGUAGE.
21109         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
21110         without explicit environment settings.
21112 2014-06-06  Roland McGrath  <roland@hack.frob.com>
21114         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
21115         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
21116         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
21117         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
21119 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
21121         * crypt/crypt-private.h [DOS]: Add some includes taken from the
21122         other files in the crypt directory.
21123         * crypt/crypt.c: Remove duplicate includes.
21124         * crypt/crypt-entry.c: Likewise.
21125         * crypt/crypt_util.c: Likewise.
21127 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
21129         * Makeconfig (run-program-env): New variable.
21130         (run-program-prefix-before-env): Likewise.
21131         (run-program-prefix-after-env): Likewise.
21132         (run-program-prefix): Define in terms of new variables.
21133         (built-program-cmd-before-env): New variable.
21134         (built-program-cmd-after-env): Likewise.
21135         (built-program-cmd): Define in terms of new variables.
21136         (test-program-prefix-before-env): New variable.
21137         (test-program-prefix-after-env): Likewise.
21138         (test-program-prefix): Define in terms of new variables.
21139         (test-program-cmd-before-env): New variable.
21140         (test-program-cmd-after-env): Likewise.
21141         (test-program-cmd): Define in terms of new variables.
21142         * Rules (make-test-out): Use $(run-program-env).
21143         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21144         (help): Do not mention environment variables.  Mention
21145         --timeoutfactor option.
21146         (timeoutfactor): New variable.
21147         (blacklist_exports): Remove function.
21148         (exports): Remove variable.
21149         (command): Do not include ${exports}.
21150         * manual/install.texi (Configuring and compiling): Do not mention
21151         test wrappers preserving environment variables.  Mention that last
21152         assignment to a variable must take precedence.
21153         * INSTALL: Regenerated.
21154         * benchtests/Makefile (run-bench): Use $(run-program-env).
21155         * catgets/Makefile ($(objpfx)test1.cat): Use
21156         $(built-program-cmd-before-env), $(run-program-env) and
21157         $(built-program-cmd-after-env).
21158         ($(objpfx)test2.cat): Do not specify environment variables
21159         explicitly.
21160         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21161         $(run-program-env) and $(built-program-cmd-after-env).
21162         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21163         $(run-program-env) and $(test-program-cmd-after-env).
21164         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21165         explicitly.
21166         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21167         run_program_env and test_program_cmd_after_env arguments.
21168         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21169         * elf/tst-pathopt.sh: Use run_program_env argument.
21170         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21171         $(test-wrapper-env) and $(run-program-env).
21172         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21173         run_program_env arguments.
21174         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21175         * intl/Makefile ($(objpfx)tst-gettext.out): Use
21176         $(test-program-prefix-before-env), $(run-program-env) and
21177         $(test-program-prefix-after-env).
21178         ($(objpfx)tst-gettext2.out): Likewise.
21179         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21180         run_program_env and test_program_prefix_after_env arguments.
21181         * intl/tst-gettext2.sh: Likewise.
21182         * intl/tst-gettext4.sh: Do not set environment variables
21183         explicitly.
21184         * intl/tst-gettext6.sh: Likewise.
21185         * intl/tst-translit.sh: Likewise.
21186         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21187         $(test-program-prefix-before-env), $(run-program-env) and
21188         $(test-program-prefix-after-env).
21189         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21190         run_program_env and test_program_prefix_after_env arguments.
21191         * math/Makefile (run-regen-ulps): Use $(run-program-env).
21192         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21193         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
21194         explicitly with each use of ${test_wrapper_env}.
21195         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21196         $(test-program-prefix-before-env), $(run-program-env) and
21197         $(test-program-prefix-after-env).
21198         * posix/tst-getconf.sh: Do not set environment variables
21199         explicitly.
21200         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21201         run_program_env and test_program_prefix_after_env arguments.
21202         * stdio-common/tst-printf.sh: Do not set environment variables
21203         explicitly.
21204         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21205         $(test-program-prefix-before-env), $(run-program-env) and
21206         $(test-program-prefix-after-env).
21207         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21208         run_program_env and test_program_prefix_after_env arguments.
21209         Split $test calls into $test_pre and $test.
21210         * timezone/Makefile (build-testdata): Use
21211         $(built-program-cmd-before-env), $(run-program-env) and
21212         $(built-program-cmd-after-env).
21214 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21216         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21217         strlen for non SHARED builds.
21219 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21221         * nptl/allocatestack.c (check_list): Inlined function...
21222         (__reclaim_stacks): ... here.
21224 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21226         [BZ #15698]
21227         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21228         memory overrun.
21230 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
21232         * Rules (make-test-out): Include
21233         LOCPATH=$(common-objpfx)localedata in default environment.
21234         * debug/Makefile (tst-chk1-ENV): Remove variable.
21235         (tst-chk2-ENV): Likewise.
21236         (tst-chk3-ENV): Likewise.
21237         (tst-chk4-ENV): Likewise.
21238         (tst-chk5-ENV): Likewise.
21239         (tst-chk6-ENV): Likewise.
21240         (tst-lfschk1-ENV): Likewise.
21241         (tst-lfschk2-ENV): Likewise.
21242         (tst-lfschk3-ENV): Likewise.
21243         (tst-lfschk4-ENV): Likewise.
21244         (tst-lfschk5-ENV): Likewise.
21245         (tst-lfschk6-ENV): Likewise.
21246         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21247         (tst-iconv7-ENV): Likewise.
21248         * intl/Makefile (LOCPATH-ENV): Likewise.
21249         (tst-codeset-ENV): Likewise.
21250         (tst-gettext3-ENV): Likewise.
21251         (tst-gettext5-ENV): Likewise.
21252         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21253         (tst-fopenloc-ENV): Likewise.
21254         (tst-fgetws-ENV): Remove variable.
21255         (tst-ungetwc1-ENV): Likewise.
21256         (tst-ungetwc2-ENV): Likewise.
21257         (bug-ungetwc2-ENV): Likewise.
21258         (tst-swscanf-ENV): Likewise.
21259         (bug-ftell-ENV): Likewise.
21260         (tst-fgetwc-ENV): Likewise.
21261         (tst-fseek-ENV): Likewise.
21262         (tst-ftell-partial-wide-ENV): Likewise.
21263         (tst-ftell-active-handler-ENV): Likewise.
21264         (tst-ftell-append-ENV): Likewise.
21265         * posix/Makefile (tst-fnmatch-ENV): Likewise.
21266         (tst-regexloc-ENV): Likewise.
21267         (bug-regex1-ENV): Likewise.
21268         (tst-regex-ENV): Likewise.
21269         (tst-regex2-ENV): Likewise.
21270         (bug-regex5-ENV): Likewise.
21271         (bug-regex6-ENV): Likewise.
21272         (bug-regex17-ENV): Likewise.
21273         (bug-regex18-ENV): Likewise.
21274         (bug-regex19-ENV): Likewise.
21275         (bug-regex20-ENV): Likewise.
21276         (bug-regex22-ENV): Likewise.
21277         (bug-regex23-ENV): Likewise.
21278         (bug-regex25-ENV): Likewise.
21279         (bug-regex26-ENV): Likewise.
21280         (bug-regex30-ENV): Likewise.
21281         (bug-regex32-ENV): Likewise.
21282         (bug-regex33-ENV): Likewise.
21283         (bug-regex34-ENV): Likewise.
21284         (bug-regex35-ENV): Likewise.
21285         (tst-rxspencer-ENV): Likewise.
21286         (tst-rxspencer-no-utf8-ENV): Likewise.
21287         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21288         (tst-sscanf-ENV): Likewise.
21289         (tst-swprintf-ENV): Likewise.
21290         (tst-swscanf-ENV): Likewise.
21291         (test-vfprintf-ENV): Likewise.
21292         (scanf13-ENV): Likewise.
21293         (bug14-ENV): Likewise.
21294         (tst-grouping-ENV): Likewise.
21295         * stdlib/Makefile (tst-strtod-ENV): Likewise.
21296         (tst-strtod3-ENV): Likewise.
21297         (tst-strtod4-ENV): Likewise.
21298         (tst-strtod5-ENV): Likewise.
21299         (testmb2-ENV): Likewise./
21300         * string/Makefile (tst-strxfrm-ENV): Likewise.
21301         (tst-strxfrm2-ENV): Likewise.
21302         (bug-strcoll1-ENV): Likewise.
21303         (test-strcasecmp-ENV): Likewise.
21304         (test-strncasecmp-ENV): Likewise.
21305         * time/Makefile (tst-strptime-ENV): Likewise.
21306         (tst-ftime_l-ENV): Likewise.
21307         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21308         (tst-mbrtowc-ENV): Likewise.
21309         (tst-wcrtomb-ENV): Likewise.
21310         (tst-mbrtowc2-ENV): Likewise.
21311         (tst-c16c32-1-ENV): Likewise.
21312         (tst-mbsnrtowcs-ENV): Likewise.
21314 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21316         * manual/resource.texi (How to get information about the memory
21317         subsystem?): Fix typo.
21318         Reported by Peon de la Parra Ivan <peon@keba.com>
21320 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
21322         [BZ #16882]
21323         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21324         (pthread_spin_lock): Branch out of spin loop to proper location.
21325         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21326         (pthread_spin_lock): Likewise.
21328         * nptl/tst-spin4.c: New test.
21329         * nptl/Makefile (tests): Add tst-spin4.
21331 2014-06-03  Andreas Schwab  <schwab@suse.de>
21333         [BZ #15946]
21334         * resolv/res_send.c (send_dg): Reload file descriptor after
21335         calling reopen.
21337 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
21339         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21341 2014-06-03  Richard Henderson  <rth@redhat.com>
21343         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21344         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21345         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21346         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
21347         in the SAVE_PID block.
21348         (__libc_vfork): New alias.
21349         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21351         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21352         child in registers, not on the stack.  Remove RESET_PID conditionals.
21353         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21355 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21357         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21359 2014-06-03  Wilco  <wdijkstr@arm.com>
21361         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21362         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21363         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21364         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21365         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21366         Likewise.
21368 2014-06-03  Wilco  <wdijkstr@arm.com>
21370         * sysdeps/aarch64/fpu/math_private.h
21371         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21372         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21373         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21374         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21375         Fix declarations.
21377 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21379         * crypt/crypt-private.h: Include ufc-crypt.h.
21380         (__b64_from_24bit): Declare extern.
21381         * crypt/crypt_util.c(__b64_from_24bit): New function.
21382         (b64t): New static const variable.
21383         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21384         (b64t): Remove variable.
21385         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21386         * crypt/sha256-crypt.c: Include crypt-private.h.
21387         (b64t): Remove variable.
21388         (__sha256_crypt_r): Remove b64_from_24bit and replace
21389         with __b64_from_24bit.
21390         * crypt/sha512-crypt.c: Likewise.
21392 2014-06-02  Roland McGrath  <roland@hack.frob.com>
21394         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21395         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21396         Label the code __libc_vfork rather than __vfork.
21397         [!NOT_IN_libc] (vfork): Define as weak alias.
21398         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21399         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21400         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21402 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21404         * malloc/malloc.c (malloc_info): Fix format specifier for
21405         n_mmaps.
21407 2014-06-02  Wilco  <wdijkstr@arm.com>
21409         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21410         FPCR write.
21412 2014-06-02  Wilco  <wdijkstr@arm.com>
21414         [BZ #17009]
21415         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21416         Rewrite to reduce FPCR/FPSR accesses.
21418 2014-06-01  David S. Miller  <davem@davemloft.net>
21420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21422 2014-05-31  David S. Miller  <davem@davemloft.net>
21424         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21425         to occur in round to nearest mode when |x| >= 2.0
21427 2014-05-30  Richard Henderson  <rth@twiddle.net>
21429         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21430         (PSEUDO_RET_NOERRNO): Remove.
21431         (ret): Don't redefine.
21432         (ret_NOERRNO): Define in terms of ret.
21433         (ret_ERRVAL): Likewise.
21435         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21436         use of PSEUDO_RET; perform the error check directly.
21438 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
21440         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21441         with __int128_t.
21443 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21445         * malloc/malloc (malloc_info): Fix formatting.
21447 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21448             Roland McGrath  <roland@hack.frob.com>
21450         * malloc/malloc (malloc_info): Also print mmapped statistics.
21452 2014-05-30  Roland McGrath  <roland@hack.frob.com>
21454         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21455         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21457 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
21459         * malloc/malloc.c (malloc_info): Inline mi_arena.
21461 2014-05-29  Richard Henderson  <rth@twiddle.net>
21463         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21464         Remove comma before expanding ASM_ARGS_##nr.
21465         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21466         Make _x0 a strict output; make _x8 a strict input; adjust expansion
21467         of ASM_ARGS_##nr.
21468         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21469         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21470         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21471         (ASM_ARGS_1): Add leading comma.
21473         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21474         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21475         to __errno_location.
21476         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21477         Remove the expected plt for __errno_location.
21479         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21480         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21481         call to __read_tp.
21483         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21484         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
21485         it and break it down.
21486         (DOCARGS_0, DOCARGS_1): Do nothing.
21487         (DOCARGS_2): Update to store into the new stack frame.
21488         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21489         (UNDOCARGS_1): Update to restore from the new stack frame.
21490         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21491         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21493         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21494         (SINGLE_THREAD_P): New parameter for result regno.
21495         (PSEUDO): Update to match; use cbz instead of beq.
21497         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21498         Use ENTRY to define the _nocancel entry point.  Share the syscall
21499         and syscall error check paths with the cancel path.
21500         (PSEUDO_END): New.
21502         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21503         whitespace; tabs before and after asm mnemonics.
21505 2014-05-29  Eric Wong  <normalperson@yhbt.net>
21507         [BZ #15132]
21508         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21509         Call fstat64 or stat64 internally, depending on arguments passed.
21510         Replace stat buffer argument with file descriptor argument.
21511         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21512         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21513         Pass fd to __internal_statvfs instead of calling fstat64.
21514         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21515         Pass fd to __internal_statvfs64 instead of calling fstat64.
21516         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21517         Pass -1 to __internal_statvfs instead of calling stat64.
21518         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21519         Pass -1 to __internal_statvfs64 instead of calling stat64.
21521 2014-05-28  Roland McGrath  <roland@hack.frob.com>
21523         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21524         that was previously under [RESET_PID].
21525         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21527         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21528         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21530 2014-05-27  Roland McGrath  <roland@hack.frob.com>
21532         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21534         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21535         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21537 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
21539         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21541 2014-05-27  Andreas Schwab  <schwab@suse.de>
21543         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21544         TLS_INIT_TP macro.
21545         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21546         * elf/rtld.c (init_tls, dl_main): Likewise.
21547         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21548         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21549         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21550         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21551         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21552         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21553         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21554         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21555         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21556         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21557         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21558         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21559         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21560         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21561         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21562         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21563         * sysdeps/generic/tls.h: Update description.
21565 2014-05-27  Will Newton  <will.newton@linaro.org>
21567         [BZ #16990]
21568         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21569         and restore r2 rather than just restoring.
21571 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21573         [BZ #16724]
21574         * libio/tst-ftell-append.c: New test case.
21575         * libio/Makefile (tests): Add test case.
21576         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21577         append mode.
21578         * libio/wfileops.c (do_ftell_wide): Likewise.
21580 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21584         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21585         ...
21586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21588         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21589         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21590         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21591         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21592         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21593         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21595         Moved ...
21596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21598         Moved ...
21599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21600         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21601         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21602         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21603         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21604         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21605         ...
21606         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21607         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21608         Moved ...
21609         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21610         here.
21611         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21612         ...
21613         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21614         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21615         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21617         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21618         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21619         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21620         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21622         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21623         merge into ...
21624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21626         ...
21627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21629         ...
21630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21632         Moved ...
21633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21634         here.
21635         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21636         Moved ...
21637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21639         Moved ...
21640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21643         conditional [RESET_PID].
21644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21646         removed.
21647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21648         removed.
21650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21651         <tcb-offsets.h>.
21652         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21653         (__libc_vfork): New strong alias.
21654         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21655         removed.
21656         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21657         Removed.
21659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21660         <tcb-offsets.h>.
21661         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21662         (__libc_vfork): New strong alias.
21663         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21664         removed.
21665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21666         removed.
21668 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
21670         * malloc/malloc.c (mi_arena): New function.
21671         (malloc_info): Remove nested function mi_arena. Call non-nosted
21672         function mi_arena.
21674 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21676         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21677         by insrwi.
21678         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21679         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21680         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21681         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21682         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21683         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21684         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21686 2014-05-26  Andreas Schwab  <schwab@suse.de>
21688         [BZ #16984]
21689         * locale/programs/repertoire.c (repertoire_read): Add slash
21690         between I18NPATH element and file name.
21691         * locale/programs/locfile.c (locfile_read): Likewise.
21693 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21695         * nptl/pthread_mutexattr_settype.c
21696         (__pthread_mutexattr_settype):
21697         Disable lock elision for PTHREAD_MUTEX_NORMAL.
21699 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21701         * nptl/tst-mutex5 (do_test):
21702         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21704 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21706         * benchtests/README: Document 'init' directive.
21707         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21708         BENCH_INIT.
21709         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21710         (parse_file): Recognize 'init' directive.
21712 2014-05-26  Kyle McMartin  <kyle@redhat.com>
21714         [BZ #16796]
21715         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21716         alignment of struct pthread.
21718 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21720         [BZ #16878]
21721         * nscd/netgroupcache.c (addgetnetgrentX): Look for
21722         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21723         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21724         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21726 2014-05-25  Richard Henderson  <rth@twiddle.net>
21728         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21729         (SINGLE_THREAD_P_PIC): Remove.
21730         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21731         (SINGLE_THREAD_P_PIC): Remove.
21733         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21734         branch to syscall error ...
21735         (PSEUDO): ... here.
21736         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21737         from __local_syscall_error to .Lsyscall_error.
21738         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21739         (SYSCALL_ERROR): Update label name.
21741         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21742         Do not use DOARGS/UNDOARGS.
21743         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21744         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21745         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21746         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21747         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21749         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21750         block comment.
21752         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21753         define if !NOT_IN_libc.
21754         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21755         define with non-default symbol versions.
21757 2014-05-23  Richard Henderson  <rth@twiddle.net>
21759         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21760         (vfork, __vfork): Define via compat_symbol.
21762         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21763         [!HAVE_IFUNC] (vfork_compat): Remove.
21764         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21766 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
21768         [BZ #16978]
21769         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21770         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21771         variable.
21773 2014-05-23  Richard Henderson  <rth@twiddle.net>
21775         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21776         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21777         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21778         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21780         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21781         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21782         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21783         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21784         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21785         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21786         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21787         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21788         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21789         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21790         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21791         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21792         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21793         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21794         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21795         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21796         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21797         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21798         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21799         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21800         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21801         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21802         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21803         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21804         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21805         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21806         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21807         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21808         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21809         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21810         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21811         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21812         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21813         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21814         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21815         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21816         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21817         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21818         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21819         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21820         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21821         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21822         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21823         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21824         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21825         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21826         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21827         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21828         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21829         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21830         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21831         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21832         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21833         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21834         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21835         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21837         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21838         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21839         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
21840         before exiting on error.
21841         (__libc_vfork): New strong alias.
21842         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21843         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21845         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21846         that was previously under [RESET_PID].
21847         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21849         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21851 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
21853         [BZ #16977]
21854         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21855         value when x - 1 is zero.
21856         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21857         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21858         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21859         0.0L for an argument of 1.0L.
21860         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21861         Likewise.
21862         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21863         value when x - 1 is zero.
21864         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21865         * sysdeps/i386/fpu/libm-test-ulps: Update.
21866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21868 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21870         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21871         alphasort and versionsort.
21873 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21875         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21876         macro.
21877         [copysignf]: Likewise.
21879 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21881         * crypt/md5-crypt.c: Fix formatting.
21883 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21885         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21886         (b64_from_24bit): New function.
21888 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21890         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21891         libc_hidden_builtin_def to ifunc.
21892         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21893         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21895 2014-05-21  Roland McGrath  <roland@hack.frob.com>
21897         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21898         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21900 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
21902         * nscd/Depend (linuxthreads): Remove.
21903         (nptl): Add.
21904         * resolv/Depend (linuxthreads): Remove.
21905         * rt/Depend (linuxthreads): Remove.
21907         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21908         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21909         $(common-objpfx)elf/.
21910         (link-libc-before-gnulib): Likewise.
21911         (elfobjdir): Remove variable.
21912         * Makefile (install): Use $(elf-objpfx) instead of
21913         $(common-objpfx)elf/.
21914         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21915         $(elfobjdir)/.
21916         (link-libc-deps): Likewise.
21917         ($(common-objpfx)libc.so): Likewise.
21918         ($(common-objpfx)linkobj/libc.so): Likewise.
21919         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21920         instead of $(common-objpfx)elf/.
21921         (symbolic-link-list): Likewise.
21922         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21923         [$(cross-compiling) = no]: Likewise.
21924         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21925         $(elfobjdir)/.
21926         (static-gnulib-arch): Likewise.
21927         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21928         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21929         $(common-objpfx)elf/.
21931 2014-05-21  Richard Henderson  <rth@redhat.com>
21933         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21934         (SINGLE_THREAD_P): Use the correct width load.  Fold
21935         into the ldr offset.
21937         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21938         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21940 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
21942         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21943         (libgcc_s_resume): Use __attribute_used__.
21944         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21945         Likewise.
21947 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21949         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21950         optimization when used with float constants.
21952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21954 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
21956         [BZ #16915]
21957         * locale/nl_langinfo_l.c: Make direct reference to every
21958         _nl_current_CATEGORY symbol.
21959         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21960         (tests-static): Add tst-langinfo-static.
21961         (tests-special): Add tst-langinfo-static.out.
21962         ($(objpfx)tst-langinfo.out): Redirect output.
21963         ($(objpfx)tst-langinfo-static.out): New.
21964         * localedata/tst-langinfo.sh: Send output to stdout.
21965         * localedata/tst-langinfo-static.c: New file.
21967         [BZ #16965]
21968         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21969         when the shift amount is modulo the limb size.
21971 2014-05-20  Richard Henderson  <rth@redhat.com>
21973         [BZ #16967]
21974         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21975         Change type of sa_flags from unsigned int to int.
21977         [BZ #16966]
21978         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21980         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21982 2014-05-20  Will Newton  <will.newton@linaro.org>
21984         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21985         Test the return value of the system call in the nocancel case.
21987 2014-05-20  Will Newton  <will.newton@linaro.org>
21988             Yvan Roux  <yvan.roux@linaro.org>
21990         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21991         #include of asm/ptrace.h.
21992         (PTRACE_GET_THREAD_AREA): Remove #undef.
21993         (PTRACE_GETHBPREGS): Likewise.
21994         (PTRACE_SETHBPREGS): Likewise.
21995         (struct user_regs_struct): New structure.
21996         (struct user_fpsimd_struct): New structure.
21997         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21998         #include of asm/ptrace.h and second #include of sys/user.h.
21999         (PTRACE_GET_THREAD_AREA): Remove #undef.
22000         (PTRACE_GETHBPREGS): Likewise.
22001         (PTRACE_SETHBPREGS): Likewise.
22002         (ELF_NGREG): Use new struct user_regs_struct.
22003         (elf_fpregset_t): Use new struct user_fpsimd_struct.
22005 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22007         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
22008         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
22010 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
22012         [BZ #16958]
22013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
22014         membar to avoid block loads/stores to overlap previous stores.
22016 2014-05-17  Richard Henderson  <rth@redhat.com>
22018         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
22019         Create the __##syscall_name##_nocancel entry point.
22020         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
22021         Remove; let the sysdep-cancel.h code create it.
22023 2014-05-17  David S. Miller  <davem@davemloft.net>
22025         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
22026         Protect with __USE_GNU.
22027         (TIOCSET_TEMPT): Likewise.
22028         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22029         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
22030         these are already provided in bits/ioctl-types.h
22032 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22034         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
22035         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
22037         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
22038         Use wait4 regardless of [__NR_waitpid].
22040 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22042         PR libgcc/60166
22043         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22044         (_FP_NANSIGN_Q): Set the quiet bit.
22046 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
22048         * benchtests/Makefile
22049         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
22050         not $(common-objpfx)math/libm.so.
22051         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
22052         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
22053         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
22054         $(common-objpfx)dlfcn/libdl.so.
22055         ($(objpfx)tst-audit8): Depend on $(libm), not
22056         $(common-objpfx)math/libm.so.
22057         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
22058         not $(common-objpfx)dlfcn/libdl.so.
22059         * math/Makefile
22060         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22061         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
22062         [$(build-shared) = yes].
22063         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
22064         $(common-objpfx)nptl/libpthread.so.
22065         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
22066         $(common-objpfx)math/libm.so$(libm.so-version) or
22067         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
22068         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
22069         $(common-objpfx)dlfcn/libdl.so.
22070         * setjmp/Makefile (link-libm): Remove variable.
22071         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
22072         * stdio-common/Makefile (link-libm): Remove variable.
22073         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
22074         * stdlib/Makefile (link-libm): Remove variable.
22075         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
22076         ($(objpfx)tst-strtod-round): Likewise.
22077         ($(objpfx)tst-tininess): Likewise.
22078         ($(objpfx)tst-strtod-underflow): Likewise.
22079         ($(objpfx)tst-strtod6): Likewise.
22080         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
22081         $(libdl), not $(common-objpfx)nptl/libpthread.so and
22082         $(common-objpfx)dlfcn/libdl.so.
22084 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22086         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
22087         BSD terminal modes definitions.
22089 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22091         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
22092         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
22094         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
22095         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
22096         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
22097         Don't do #include_next.
22098         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
22099         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
22100         Don't do #include_next.
22101         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
22102         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
22103         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
22104         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
22106 2014-05-16  Allan McRae  <allan@archlinux.org>
22108         * po/sv.po: Update Swedish translation from translation project.
22110         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
22111         in sed expression.
22113 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
22115         [BZ #16917]
22116         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
22117         errno if the TIOCGPTN ioctl fails with an error different than
22118         EINVAL.
22119         * login/tst-ptsname.c: New file.
22120         * login/Makefile (tests): Add tst-ptsname.
22122         [BZ #16943]
22123         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22124         and prlimit64.
22126 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22128         [BZ #16849]
22129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22130         herrno to return EAI_AGAIN.
22132 2014-05-14  Roland McGrath  <roland@hack.frob.com>
22134         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22135         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22136         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22137         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22138         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22139         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22140         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22141         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22142         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22143         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22144         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22145         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22146         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22147         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22148         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22149         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22150         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22151         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22152         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22153         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22154         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22155         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22156         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22157         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22158         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22159         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22160         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22161         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22162         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22163         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22165         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22167         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22169         Moved ...
22170         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22172         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22174         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22176         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22178         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22180         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22182         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22184         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22186         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22188         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22190         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22192         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22194         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22196         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22198         Moved ...
22199         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22201         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22203         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22205         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22207         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22209         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22211         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22213         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22215         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22217         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22219         Moved ...
22220         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22222         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22224         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22225         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22226         (libpthread-sysdep_routines): Add elision-related stuff here instead.
22227         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22228         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22229         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22230         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22231         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22232         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22233         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22234         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22235         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22236         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22237         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22238         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22239         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22240         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22241         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22242         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22243         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22244         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22245         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22246         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22247         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22248         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22249         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22250         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22251         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22252         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22253         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22254         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22256         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22257         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22259         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22260         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22261         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22262         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22263         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22264         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22265         Moved ...
22266         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22267         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22268         Moved ...
22269         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22270         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22271         Moved ...
22272         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22273         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22274         Moved ...
22275         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22276         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22277         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22278         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22279         Moved ...
22280         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22281         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22282         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22283         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22284         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22285         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22286         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22287         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22288         Moved ...
22289         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22290         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22291         Moved ...
22292         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22293         ... here.
22294         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22295         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22296         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22297         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22298         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22299         Moved ...
22300         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22301         ... here.
22302         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22303         Moved ...
22304         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22305         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22306         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22307         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22308         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22309         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22310         Moved ...
22311         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22312         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22313         Moved ...
22314         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22315         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22316         Moved ...
22317         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22318         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22319         Moved ...
22320         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22321         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22322         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22323         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22324         Moved ...
22325         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22326         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22327         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22328         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22329         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22330         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22331         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22332         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22333         Moved ...
22334         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22335         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22336         Moved ...
22337         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22338         ... here.
22339         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22340         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22341         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22342         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22343         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22344         Moved ...
22345         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22346         ... here.
22347         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22348         Moved ...
22349         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22350         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22351         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22352         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22353         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22354         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22355         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22356         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22357         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22358         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22359         Moved ...
22360         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22361         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22362         Moved ...
22363         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22364         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22365         Moved ...
22366         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22367         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22368         Moved ...
22369         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22370         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22371         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22372         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22373         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22374         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22375         Moved ...
22376         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22377         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22378         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22379         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22380         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22381         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22382         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22383         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22384         Moved ...
22385         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22386         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22387         Moved ...
22388         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22389         ... here.
22390         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22391         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22392         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22393         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22394         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22395         Moved ...
22396         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22397         ... here.
22398         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22399         Moved ...
22400         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22401         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22402         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22403         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22404         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22405         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22406         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22407         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22408         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22409         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22410         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22412         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22413         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22415         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22416         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22418         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22419         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22420         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22421         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22422         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22423         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22424         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22425         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22426         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22427         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22428         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22429         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22430         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22431         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22432         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22433         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22434         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22435         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22436         Moved ...
22437         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22438         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22439         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22440         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22441         Moved ...
22442         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22443         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22444         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22445         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22446         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22447         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22448         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22449         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22450         Moved ...
22451         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22453         Moved ...
22454         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22455         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22456         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22457         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22458         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22459         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22460         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22461         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22462         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22463         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22464         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22465         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22466         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22467         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22468         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22469         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22470         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22472         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22473         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22474         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22475         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22476         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22478         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22479         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22480         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22481         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22482         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22483         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22484         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22485         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22486         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22487         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22489         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22490         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22492         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22493         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22494         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22495         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22496         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22497         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22498         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22499         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22500         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22501         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22502         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22503         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22504         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22505         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22506         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22507         Update #include.
22508         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22509         Likewise.
22510         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22511         Likewise.
22512         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22513         Likewise.
22514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22515         Likewise.
22516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22517         Likewise.
22518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22519         Likewise.
22520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22521         Likewise.
22522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22523         Likewise.
22524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22525         Likewise.
22526         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22527         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22528         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22529         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22530         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22531         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22532         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22533         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22534         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22535         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22536         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22537         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22538         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22539         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
22540         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
22542         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22543         that was previously under [RESET_PID].
22544         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22545         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22546         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22548         * sysdeps/i386/nptl/Implies: New file.
22549         * sysdeps/x86_64/nptl/Implies: New file.
22550         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22551         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22552         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22553         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22555         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22556         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22557         (__libc_vfork): New strong alias.
22558         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22559         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22561         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22562         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22563         (__libc_vfork): New strong alias.
22564         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22565         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22567         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22568         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22569         (__libc_vfork): New strong alias.
22570         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22571         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22572         * nptl/pt-vfork.c: New file.
22573         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22574         (libpthread: GLIBC_2.20): New version set (empty).
22576 2014-05-14  Will Newton  <will.newton@linaro.org>
22578         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22579         rather than #if.
22581 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22583         [BZ #16564]
22584         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22585         arguments with exponent 65 or above.
22586         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22587         arguments 0x1p113L or above.
22588         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22589         to arguments 0x1p107L or above.
22590         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22591         positive arguments with exponent 65 or above.
22592         * math/auto-libm-test-in: Add more tests of log1p.
22593         * math/auto-libm-test-out: Regenerated.
22595         [BZ #16928]
22596         * math/s_cacos.c (__cacos): Ensure zero real part of result from
22597         non-finite arguments is +0.
22598         * math/s_cacosf.c (__cacosf): Likewise.
22599         * math/s_cacosl.c (__cacosl): Likewise.
22600         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22601         * sysdeps/i386/fpu/libm-test-ulps: Update.
22602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22604         [BZ #16927]
22605         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22606         value.
22607         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22608         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22609         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22610         for explicit high bit of mantissa when testing for argument equal
22611         to 1.
22612         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22613         * sysdeps/i386/fpu/libm-test-ulps: Update.
22614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22616         [BZ #16516]
22617         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22618         (__erf): Scale by 16 instead of 8 in potentially underflowing
22619         case.  Ensure exception if result actually underflows.
22620         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22621         (__erff): Scale by 16 instead of 8 in potentially underflowing
22622         case.  Ensure exception if result actually underflows.
22623         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22624         (efx8): Remove variable.
22625         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22626         case.  Ensure exception if result actually underflows.
22627         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22628         (efx8): Remove variable.
22629         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22630         case.  Ensure exception if result actually underflows.
22631         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22632         (efx8): Remove variable.
22633         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22634         case.  Ensure exception if result actually underflows.
22635         * math/auto-libm-test-in: Add more tests of erf.
22636         * math/auto-libm-test-out: Regenerated.
22638 2014-05-14  Andreas Schwab  <schwab@suse.de>
22640         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22641         Remove code conditionalized on USE___THREAD.
22643         * config.h.in (HAVE_PT_CHOWN): Define as 0.
22644         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22645         not definedness.
22647 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22649         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22650         Define unconditionally.
22651         (__ASSUME_O_CLOEXEC): Likewise.
22652         (__ASSUME_SOCK_CLOEXEC): Likewise.
22653         (__ASSUME_IN_NONBLOCK): Likewise.
22654         (__ASSUME_PIPE2): Likewise.
22655         (__ASSUME_EVENTFD2): Likewise.
22656         (__ASSUME_SIGNALFD4): Likewise.
22657         (__ASSUME_DUP3): Likewise.
22658         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22659         (__ASSUME_DUP3): Do not define.
22660         (__ASSUME_EVENTFD2): Likewise.
22661         (__ASSUME_IN_NONBLOCK): Likewise.
22662         (__ASSUME_O_CLOEXEC): Likewise.
22663         (__ASSUME_PIPE2): Likewise.
22664         (__ASSUME_SIGNALFD4): Likewise.
22665         (__ASSUME_SOCK_CLOEXEC): Likewise.
22666         (__ASSUME_UTIMES): Undefine.
22667         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22668         (__ASSUME_UTIMES): Do not define.
22669         (__ASSUME_O_CLOEXEC): Likewise.
22670         (__ASSUME_SOCK_CLOEXEC): Likewise.
22671         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22672         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22673         0x020621].
22674         (__ASSUME_PIPE2): Likewise.
22675         (__ASSUME_EVENTFD2): Likewise.
22676         (__ASSUME_SIGNALFD4): Likewise.
22677         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22678         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22679         Do not define.
22680         (__ASSUME_EVENTFD2): Likewise.
22681         (__ASSUME_SIGNALFD4): Likewise.
22682         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22683         (__ASSUME_32BITUIDS): Likewise.
22684         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22685         (__ASSUME_IPC64): Likewise.
22686         (__ASSUME_ST_INO_64_BIT): Likewise.
22687         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22688         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22689         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22690         (__ASSUME_UTIMES): Do not define.
22691         (__ASSUME_PSELECT): Likewise.
22692         (__ASSUME_PPOLL): Likewise.
22693         (__ASSUME_O_CLOEXEC): Likewise.
22694         (__ASSUME_SOCK_CLOEXEC): Likewise.
22695         (__ASSUME_IN_NONBLOCK): Likewise.
22696         (__ASSUME_PIPE2): Likewise.
22697         (__ASSUME_EVENTFD2): Likewise.
22698         (__ASSUME_SIGNALFD4): Likewise.
22699         (__ASSUME_DUP3): Likewise.
22700         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22701         (__ASSUME_UTIMES): Likewise.
22702         (__ASSUME_O_CLOEXEC): Likewise.
22703         (__ASSUME_SOCK_CLOEXEC): Likewise.
22704         (__ASSUME_IN_NONBLOCK): Likewise.
22705         (__ASSUME_PIPE2): Likewise.
22706         (__ASSUME_EVENTFD2): Likewise.
22707         (__ASSUME_SIGNALFD4): Likewise.
22708         (__ASSUME_DUP3): Likewise.
22709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22710         (__ASSUME_UTIMES): Likewise.
22711         (__ASSUME_O_CLOEXEC): Likewise.
22712         (__ASSUME_SOCK_CLOEXEC): Likewise.
22713         (__ASSUME_IN_NONBLOCK): Likewise.
22714         (__ASSUME_PIPE2): Likewise.
22715         (__ASSUME_EVENTFD2): Likewise.
22716         (__ASSUME_SIGNALFD4): Likewise.
22717         (__ASSUME_DUP3): Likewise.
22718         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22719         Likewise.
22720         (__ASSUME_UTIMES): Likewise.
22721         (__ASSUME_EVENTFD2): Likewise.
22722         (__ASSUME_SIGNALFD4): Likewise.
22723         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22724         (__ASSUME_O_CLOEXEC): Likewise.
22725         (__ASSUME_SOCK_CLOEXEC): Likewise.
22726         (__ASSUME_IN_NONBLOCK): Likewise.
22727         (__ASSUME_PIPE2): Likewise.
22728         (__ASSUME_EVENTFD2): Likewise.
22729         (__ASSUME_SIGNALFD4): Likewise.
22730         (__ASSUME_DUP3): Likewise.
22731         (__ASSUME_UTIMES): Undefine.
22733         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22734         feclearexcept.  Remove symbol versioning code.
22735         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
22736         symbol versioning code.
22737         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
22738         symbol versioning code.
22739         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22740         feupdateenv.  Remove symbol versioning code.
22741         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22742         fegetexceptflag.  Remove symbol versioning code.
22743         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22744         fesetexceptflag.  Remove symbol versioning code.
22745         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22746         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
22747         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22748         (__posix_fadvise64_l32): Remove prototype.
22749         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22750         code.
22752 2014-05-13  Roland McGrath  <roland@hack.frob.com>
22754         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22755         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22756         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22757         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22759 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
22761         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22762         current working directory
22764 2014-05-13  Roland McGrath  <roland@hack.frob.com>
22766         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22767         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22768         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22769         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22770         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22771         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22772         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22773         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22774         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22775         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22776         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22777         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22778         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22779         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22780         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22781         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22782         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22783         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22784         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22785         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22786         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22787         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22788         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22789         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22790         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22791         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22792         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22793         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22794         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22795         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22796         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22797         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22798         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22799         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22800         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22801         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22802         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22803         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22804         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22805         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22806         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22807         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22809         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22810         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22812         * sysdeps/unix/sysv/linux/arm/Makefile
22813         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22814         Add rt-aeabi_unwind_cpp_pr1.
22815         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22816         Add nptl-aeabi_unwind_cpp_pr1.
22817         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22818         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22819         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22820         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22821         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22822         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22824         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22825         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22826         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22827         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22829         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22830         Deconditionalize the code that was previously under [RESET_PID].
22831         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22833         * sysdeps/generic/exit-thread.h: New file.
22834         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22835         * include/unistd.h (__exit_thread): Remove declaration.
22836         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22837         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22838         * csu/libc-start.c: Include <exit-thread.h>.
22839         (LIBC_START_MAIN): Pass no argument to __exit_thread.
22840         * nptl/pthread_create.c: Include <exit-thread.h>.
22841         (start_thread): Call __exit_thread in place of __exit_thread_inline.
22842         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22843         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22844         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22845         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22846         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22847         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22848         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22849         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22850         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22851         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22852         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22853         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22854         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22855         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22856         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22857         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22859 2014-05-13  Andreas Schwab  <schwab@suse.de>
22861         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22863 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
22865         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22866         (__ASSUME_UTIMES): Do not condition on kernel version.
22867         (__ASSUME_PSELECT): Define unconditionally.
22868         (__ASSUME_PPOLL): Likewise.
22869         (__ASSUME_ATFCTS): Likewise.
22870         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22871         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22872         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22873         (__ASSUME_UTIMENSAT): Define unconditionally.
22874         (__ASSUME_PRIVATE_FUTEX): Likewise.
22875         (__ASSUME_FALLOCATE): Likewise.
22876         (__ASSUME_O_CLOEXEC): Likewise.
22877         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22878         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22879         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22880         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22881         (__ASSUME_IN_NONBLOCK): Likewise.
22882         (__ASSUME_PIPE2): Likewise.
22883         (__ASSUME_EVENTFD2): Likewise.
22884         (__ASSUME_SIGNALFD4): Likewise.
22885         (__ASSUME_DUP3): Likewise.
22886         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22887         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22888         (__ASSUME_AT_RANDOM): Likewise.
22889         (__ASSUME_PREADV): Likewise.
22890         (__ASSUME_PWRITEV): Likewise.
22891         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22892         (__ASSUME_F_GETOWN_EX): Define unconditionally.
22893         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22894         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22895         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22896         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22897         (__ASSUME_O_CLOEXEC): Define unconditionally.
22898         (__ASSUME_PSELECT): Do not undefine conditionally.
22899         (__ASSUME_PPOLL): Likewise.
22900         (__ASSUME_ATFCTS): Likewise.
22901         (__ASSUME_SET_ROBUST_LIST): Likewise.
22902         (__ASSUME_UTIMENSAT): Likewise.
22903         (__ASSUME_FDATASYNC): Define unconditionally.
22904         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22905         (__ASSUME_SIGFRAME_V2): Likewise.
22906         )__ASSUME_EVENTFD2): Likewise.
22907         (__ASSUME_SIGNALFD4): Likewise.
22908         (__ASSUME_PSELECT): Do not undefine conditionally.
22909         (__ASSUME_PPOLL): Likewise.
22910         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22911         (__ASSUME_PSELECT): Define unconditionally.
22912         (__ASSUME_PPOLL): Likewise.
22913         (__ASSUME_O_CLOEXEC): Likewise.
22914         (__ASSUME_SOCK_CLOEXEC): Likewise.
22915         (__ASSUME_IN_NONBLOCK): Likewise.
22916         (__ASSUME_PIPE2): Likewise.
22917         (__ASSUME_EVENTFD2): Likewise.
22918         (__ASSUME_SIGNALFD4): Likewise.
22919         (__ASSUME_DUP3): Likewise.
22920         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22921         (__ASSUME_O_CLOEXEC): Likewise.
22922         (__ASSUME_SOCK_CLOEXEC): Likewise.
22923         (__ASSUME_IN_NONBLOCK): Likewise.
22924         (__ASSUME_PIPE2): Likewise.
22925         (__ASSUME_EVENTFD2): Likewise.
22926         (__ASSUME_SIGNALFD4): Likewise.
22927         (__ASSUME_DUP3): Likewise.
22928         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22929         (__ASSUME_EVENTFD2): Likewise.
22930         (__ASSUME_SIGNALFD4): Likewise.
22931         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22933 2014-05-12  Andreas Schwab  <schwab@suse.de>
22935         [BZ #16932]
22936         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22937         (_nss_nis_gethostbyname4_r): Return error if item length is larger
22938         than maximum RPC packet size.
22939         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22940         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22941         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22942         (_nss_nis_getservbyport_r): Likewise.
22944 2014-05-12  Will Newton  <will.newton@linaro.org>
22946         * malloc/Makefile (tests): Add tst-mallopt.
22947         * malloc/tst-mallopt.c: New file.
22949 2014-05-09  Roland McGrath  <roland@hack.frob.com>
22951         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22952         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22954 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22956         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22957         (tst-tlsmod6.so): Likewise.
22959 2014-05-09  Roland McGrath  <roland@hack.frob.com>
22961         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22963 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
22965         [BZ #16064]
22966         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22967         and <dl-procinfo.h>.
22968         (__fegetenv): Save SSE state in envp->__eip if supported.
22969         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22970         envp->__eip if supported.
22971         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22972         and <dl-procinfo.h>.
22973         (__fesetenv): Always set __eip, __cs_selector, __opcode,
22974         __data_offset and __data_selector in environment to 0.  Set SSE
22975         state if supported.
22976         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22977         test-fenv-sse.
22978         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22979         -mfpmath=sse.
22980         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22982 2014-05-09  Will Newton  <will.newton@linaro.org>
22984         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22985         and libc_relro_required for ARM.
22986         * sysdeps/arm/preconfigure: Regenerate.
22988 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
22989             Stefan Liebler  <stli@linux.vnet.ibm.com>
22991         * config.make.in (enable-lock-elision): New Makefile variable.
22992         * configure.ac: Likewise.
22993         * configure: Regenerate.
22994         * sysdeps/s390/configure.ac:
22995         Add check for gcc transactions support.
22996         * sysdeps/s390/configure: Regenerate.
22997         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22998         Build elision files if enabled.
22999         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
23000         Add lock elision support for s390.
23001         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23002         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
23003         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
23004         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23005         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
23006         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23007         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23008         Likewise.
23009         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
23010         Likewise.
23011         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
23012         Likewise.
23013         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
23014         Likewise.
23015         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
23016         (__lll_timedlock_elision, __lll_lock_elision)
23017         (__lll_unlock_elision, __lll_trylock_elision)
23018         (lll_timedlock_elision, lll_lock_elision)
23019         (lll_unlock_elision, lll_trylock_elision): Add.
23020         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23021         (pthread_mutex_t): Add lock elision support for s390.
23023 2014-05-14  Wilco  <wdijkstr@arm.com>
23025         * sysdeps/arm/fclrexcpt.c: Cleanup.
23026         * sysdeps/arm/fedisblxcpt.c: Cleanup.
23027         * sysdeps/arm/feenablxcpt.c: Cleanup.
23028         * sysdeps/arm/fegetenv.c: Cleanup.
23029         * sysdeps/arm/fegetexcept.c: Cleanup.
23030         * sysdeps/arm/fegetround.c: Cleanup.
23031         * sysdeps/arm/feholdexcpt.c: Cleanup.
23032         * sysdeps/arm/fesetenv.c: Cleanup.
23033         * sysdeps/arm/fesetround.c: Cleanup.
23034         * sysdeps/arm/feupdateenv.c: Cleanup.
23035         * sysdeps/arm/fgetexcptflg.c: Cleanup.
23036         * sysdeps/arm/fraiseexcpt.c: Cleanup.
23037         * sysdeps/arm/fsetexcptflg.c: Cleanup.
23038         * sysdeps/arm/ftestexcept.c: Cleanup.
23039         * sysdeps/arm/get-rounding-mode.h: Cleanup.
23040         * sysdeps/arm/setfpucw.c: Cleanup.
23042 2014-05-09  Will Newton  <will.newton@linaro.org>
23044         * sysdeps/arm/armv7/strcmp.S: New file.
23045         * NEWS: Mention addition of ARMv7 optimized strcmp.
23047 2014-05-08  Roland McGrath  <roland@hack.frob.com>
23049         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
23050         look for %.ac rather than %.in.
23052         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
23053         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
23054         * sysdeps/mach/hurd/configure: Regenerated.
23055         * sysdeps/unix/sysv/linux/configure: Regenerated.
23057         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
23059 2014-05-07  Steve Ellcey  <sellcey@mips.com>
23061         [BZ# 16922]
23062         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
23063         (LONG_SUB): Ditto.
23064         (PTR_SUB): Ditto.
23066 2014-05-07  Andreas Schwab  <schwab@suse.de>
23068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
23069         when skipping over non-matching result from nscd.
23071 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
23073         [BZ #16876]
23074         * nptl/sockperf.c (client): Check socket return value.
23076         [BZ #16877]
23077         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
23078         nscd security class.
23080 2014-05-06  Roland McGrath  <roland@hack.frob.com>
23082         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
23083         * sysdeps/arm/unwind.h: ... here.
23085 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
23087         [BZ# 16916]
23088         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
23089         Define.
23091 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23093         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
23094         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
23095         multiarch strncpy for PPC64.
23096         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
23097         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
23098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
23099         multiarch optimizations.
23100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23101         (__libc_ifunc_impl_list): Likewise.
23102         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
23103         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
23104         multiarch stpncpy for PPC64.
23105         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
23106         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
23108 2014-05-06  Andreas Schwab  <schwab@suse.de>
23110         [BZ #16912]
23111         * gmon/mcount.c (_MCOUNT_DECL): Use
23112         atomic_compare_and_exchange_bool_acq instead of
23113         catomic_compare_and_exchange_bool_acq.
23115 2014-05-05  Roland McGrath  <roland@hack.frob.com>
23117         * elf/Makefile (others, install-bin): Remove pldd.
23118         (pldd-modules): Variable removed.
23119         ($(objpfx)pldd): Target removed.
23120         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
23121         (others, install-bin): Append pldd here.
23122         ($(objpfx)pldd): New target.
23124         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23125         to 0, so the first #if test emitted later doesn't see it undefined.
23126         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23127         * sysdeps/gnu/errlist.c: Regenerated.
23129 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23131         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23132         [libc_hidden_builtin_def]: Define to empty value.
23133         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23134         [libc_hidden_builtin_def]: Likewise.
23135         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23136         [libc_hidden_builtin_def]: Likewise.
23137         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23138         [libc_hidden_builtin_def]: Likewise.
23139         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23140         __redirect_memcpy and define ifunc as default hidden symbol.
23141         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23142         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23144 2014-05-04  Adam Conrad  <adconrad@0c3.net>
23146         * locale/iso-4217.def: Reintroduce XDR currency.
23148 2014-05-04  Allan McRae  <allan@archlinux.org>
23150         * po/eo.po: Update Esperanto translation from translation project.
23152 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
23154         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23155         and FEATURE_INDEX_MAX to 1.
23156         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23158 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23160         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23161         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23162         * iconvdata/big5.c (ONE_DIRECTION): Define.
23163         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23164         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23165         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23166         * iconvdata/cp932.c (ONE_DIRECTION): Define.
23167         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23168         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23169         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23170         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23171         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23172         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23173         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23174         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23175         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23176         * iconvdata/gbk.c (ONE_DIRECTION): Define.
23177         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23178         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23179         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23180         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23181         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23182         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23183         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23184         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23185         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23186         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23187         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23188         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23189         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23190         * iconvdata/iso646.c (ONE_DIRECTION): Define.
23191         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23192         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23193         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23194         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23195         * iconvdata/johab.c (ONE_DIRECTION): Define.
23196         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23197         * iconvdata/sjis.c (ONE_DIRECTION): Define.
23198         * iconvdata/t.61.c (ONE_DIRECTION): Define.
23199         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23200         * iconvdata/tscii.c (ONE_DIRECTION): Define.
23201         * iconvdata/uhc.c (ONE_DIRECTION): Define.
23202         * iconvdata/unicode.c (ONE_DIRECTION): Define.
23203         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23204         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23205         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23207 2014-05-01  Roland McGrath  <roland@hack.frob.com>
23209         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23210         (_IO_JUMPS_OFFSET): Define to 0.
23212         * nptl/sysdeps/pthread/bits/libc-lock.h
23213         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23214         (__libc_lock_define_initialized_recursive): Always define using
23215         initializer.  Modern compilers treat uninitialized (implicit zero) and
23216         explicit zero initializers the same (i.e. put the datum in bss).
23218 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23220         * nscd/nscd-client.h: Include <string.h>.
23222 2014-05-01  David S. Miller  <davem@davemloft.net>
23224         [BZ #16885]
23225         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23226         multiple zero bytes exist at the end of a string.
23227         Reported by Aurelien Jarno <aurelien@aurel32.net>
23229         * string/test-strcmp.c (check): Add explicit test for situations where
23230         there are multiple zero bytes after the first.
23232 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23234         [BZ #16890]
23235         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23236         when compiling wprintf.
23237         * stdio-common/tstdiomisc.c (t3): New function.
23238         (main): Call it.
23240 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23242         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23243         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23244         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23245         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23247 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23249         * stdlib/longlong.h: Updated from GCC.
23251 2014-05-01  Will Newton  <will.newton@linaro.org>
23252             Bernard Ogden  <bernie.ogden@linaro.org>
23254         * NEWS: Update fixed bug list.
23256         [BZ #15119]
23257         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23259 2014-04-30  David S. Miller  <davem@davemloft.net>
23261         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23262         (libc_feholdexcept_setround_sparc_ctx): New function.
23263         (libc_fesetenv_sparc_ctx): Likewise.
23264         (libc_feupdateenv_sparc_ctx): Likewise.
23265         (libc_feholdsetround_sparc_ctx): Likewise.
23266         (libc_feholdexcept_setround_ctx): Define.
23267         (libc_feholdexcept_setroundf_ctx): Likewise.
23268         (libc_feholdexcept_setroundl_ctx): Likewise.
23269         (libc_fesetenv_ctx): Likewise.
23270         (libc_fesetenvf_ctx): Likewise.
23271         (libc_fesetenvl_ctx): Likewise.
23272         (libc_feupdateenv_ctx): Likewise.
23273         (libc_feupdateenvf_ctx): Likewise.
23274         (libc_feupdateenvl_ctx): Likewise.
23275         (libc_feresetround_ctx): Likewise.
23276         (libc_feresetroundf_ctx): Likewise.
23277         (libc_feresetroundl_ctx): Likewise.
23278         (libc_feholdsetround_ctx): Likewise.
23279         (libc_feholdsetroundf_ctx): Likewise.
23280         (libc_feholdsetroundl_ctx): Likewise.
23282         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23283         with __USE_GNU instead of XOPEN cpp guards.
23285         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23286         0.
23288         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23289         with XOPEN cpp guards.
23291 2014-04-30  Julian Brown  <julian@codesourcery.com>
23293         [BZ #16888]
23294         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23295         handling.
23297 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
23299         [BZ #9894]
23300         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23301         Change to 2.6.32.
23302         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23303         * sysdeps/unix/sysv/linux/configure: Regenerated.
23304         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23305         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23306         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23307         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23308         * README: Update reference to required Linux kernel version.
23309         * manual/install.texi (Linux): Update reference to required Linux
23310         kernel headers version.
23311         * INSTALL: Regenerated.
23313         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23314         header inclusion.
23315         [POSIX] (limits.h): Likewise.
23316         [POSIX] (math.h): Likewise.
23317         [POSIX] (sys/wait.h): Likewise.
23318         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23319         function.
23320         [POSIX] (stddef.h): Do not allow header inclusion.
23322 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23324         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23326 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
23328         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23329         Return immediately after lll_futex_wake.
23331 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23333         [BZ #16791]
23334         * nscd/nscd-client.h (datahead_init_common): Initialize entire
23335         structure.
23336         (datahead_init_pos): Call datahead_init_common early.
23337         (datahead_init_neg): Likewise.
23339         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23340         datahead_init_neg): New functions.
23341         * nscd/aicache.c (addhstaiX): Use them.
23342         * nscd/grpcache.c (cache_addgr): Likewise.
23343         * nscd/hstcache.c (cache_addhst): Likewise.
23344         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23345         * nscd/netgroupcache.c (do_notfound): Likewise.
23346         (addgetnetgrentX): Likewise.
23347         (addinnetgrX): Likewise.
23348         * nscd/pwdcache.c (cache_addpw): Likewise.
23349         * nscd/servicescache.c (cache_addserv): Likewise.
23351 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23352             Atsushi Onoe  <atsushi@onoe.org>
23354         [BZ #14308]
23355         [BZ #12994]
23356         [BZ #13651]
23357         * resolv/res_query.c (__libc_res_nsearch): Return if at least
23358         one response is valid.
23359         * resolv/res_send.c (send_dg): Check for validity of other
23360         response if the current response is a referral.
23362 2014-04-29  Steve Ellcey  <sellcey@mips.com>
23364         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23366 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
23368         [BZ #16823]
23369         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23370         Always divide by positive zero when computing -Inf result.
23371         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23372         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23374 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23376         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23377         FPSCR if value do not change.
23378         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23379         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23380         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23381         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23382         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23383         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23384         function.
23386 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
23388         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23389         * sysdeps/unix/sysv/linux/hppa: Move directory from
23390         ports/systeps/unix/sysv/linux/hppa.
23391         * README: Update listing for hppa-*-linux-gnu.
23393 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
23395         [BZ #16754]
23396         * manual/stdio.texi (Hook functions): Fix types of stream hook
23397         functions.
23398         [BZ #16854]
23399         * socket/sys/socket.h: Fix typo in comment.
23401 2014-04-28  Wilco  <wdijkstr@arm.com>
23403         * sysdeps/arm/fenv_private.h: New file.
23404         * sysdeps/arm/math_private.h: New file.
23405         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23407 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
23409         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23410         with __int128_t.
23411         (La_x86_64_retval): Likewise.
23413 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
23415         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23416         fpsr if value didn't change.
23417         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23418         to fpcr if value didn't change.
23419         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23420         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23421         fpsr or fpcr if value didn't change.
23422         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23423         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23424         fpcr if value didn't change.
23425         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23426         to fpsr if value didn't change.
23428 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23430         * nptl/tst-sem3.c: Use test-skeleton.c
23431         (main): Rename to do_test.  Use return instead of
23432         exit.
23433         * nptl/tst-sem4.c: Use test-skeleton.c
23434         (main): Rename to do_test.
23436 2014-04-22  David S. Miller  <davem@davemloft.net>
23438         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23439         (struct sigaction): New struct member __glibc_reserved0, change
23440         type of sa_flags to int.
23442 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
23444         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23445         (COUNT_LEADING_ZEROS_0): Define for AArch64.
23447 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23449         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23450         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23452 2014-04-22  Will Newton  <will.newton@linaro.org>
23453             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
23455         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23456         (__longjmp): Add longjmp and longjmp_target SystemTap
23457         probes.
23458         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23459         (__sigsetjmp): Add setjmp SystemTap probe.
23461 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
23463         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23464         match manual order.
23466 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23468         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23470         * sysdeps/powerpc/fpu/fenv_private.h
23471         (libc_feholdexcept_setroundl_ctx): Define to
23472         libc_feholdexcept_setround_ppc_ctx.
23473         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23474         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23475         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23476         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23478 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23480         * sysdeps/aarch64/math-tests.h: New file.
23482 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
23484         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23485         New.
23486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23487         Check and set bit_AVX2_Usable.
23488         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23489         macro.
23490         (bit_AVX2): Likewise.
23491         (index_AVX2_Usable): Likewise.
23492         (CPUID_AVX2): Likewise.
23493         (HAS_AVX2): Likewise.
23495 2014-04-17  Will Newton  <will.newton@linaro.org>
23497         * manual/setjmp.texi (System V contexts): Add note that
23498         calling setcontext on a context created by a call to a
23499         signal handler is undefined.  Update text to note that
23500         setcontext from a signal handler is possible but not
23501         recommended.
23503         [BZ #16629]
23504         * stdlib/tst-setcontext.c: Include signal.h.
23505         (main): Check that the signal stack before and
23506         after swapcontext is the same.
23508         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23509         Re-implement to restore registers in user code and avoid
23510         rt_sigreturn system call.
23512 2014-04-17  Wilco  <wdijkstr@arm.com>
23514         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23515         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23516         * math/test-fenv.c: Skip exception trap tests on targets which only
23517         support non-stop mode.
23519 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23520             Wilco Dijkstra  <wilco.dijkstra@arm.com>
23522         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23523         (libc_feholdsetround_aarch64_ctx)
23524         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23525         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23526         (libc_feresetround_ctx, libc_feresetroundf_ctx)
23527         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23528         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23529         (libc_feresetround_noexl_ctx): Define.
23531 2014-04-16  Richard Henderson  <rth@redhat.com>
23533         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23535         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23536         unwind tables.
23538         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23539         const from the non-libc, non-ldso copy.
23541         * sysdeps/alpha/libm-test-ulps: Regenerate.
23543 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
23544             Wilco Dijkstra  <wilco.dijkstra@arm.com>
23546         * sysdeps/aarch64/fpu/math_private.h: New file.
23548 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23550         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23552 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
23554         [BZ #16275]
23555         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23556         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23558         Intel MPX bound registers before _dl_profile_fixup.
23559         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23560         registers after _dl_profile_fixup.  Save and restore bound
23561         registers bnd0/bnd1 when calling _dl_call_pltexit.
23562         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23563         (LR_BND_OFFSET): Likewise.
23564         (LRV_BND0_OFFSET): Likewise.
23565         (LRV_BND1_OFFSET): Likewise.
23567 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23569         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23570         to...
23571         * sysdeps/mach/hurd/i386/tls.h: ... here.
23572         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23573         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23574         fields.
23576 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23578         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23580 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23582         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23584 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23586         [BZ #14770]
23587         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23588         * sysdeps/s390/configure: Regenerate.
23590         [BZ #16824]
23591         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23592         Set round-to-nearest internally to reduce error accumulation.
23594 2014-04-16  Alan Modra  <amodra@gmail.com>
23596         [BZ #16740]
23597         [BZ #16619]
23598         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23599         * math/libm-test.inc (frexp_test_data): Add tests.
23600         * NEWS: Update fixed bug list.
23602 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23604         * benchtests/Makefile: Depend on libraries in build directory.
23605         (bench-math): Separate out math tests.
23606         (bench-pthread): Separate out pthread tests.
23607         (bench): Include math and pthread tests.
23609 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
23611         [BZ #16831]
23612         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23613         _dl_debug_initialize.
23615         * configure.ac: Remove SELinux header check.
23616         * configure: Regenerate.
23617         * nscd/selinux.c (perms): Array of const char* to permission names.
23618         (nscd_request_avc_has_perm): Call security_deny_unknown to find
23619         default policy. Call string_to_security_class and string_to_av_perm to
23620         translate strings. Enforce default policy and call avs_has_perm with
23621         results of translated strings.
23623 2014-04-13  David S. Miller  <davem@davemloft.net>
23625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23627 2014-04-12  Allan McRae  <allan@archlinux.org>
23629         [BZ #16838]
23630         * manual/string.texi (Collation Functions): Fix qsort argument
23631         order in example.
23632         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23634 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
23636         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23637         Make the test a no-op if there are no exceptions defined.
23639 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23641         * elf/Makefile (tests): make tst-dlopen-aout conditional on
23642         enable-hardcoded-path-in-tests
23644 2014-04-11  Will Newton  <will.newton@linaro.org>
23646         * benchtests/Makefile (extra-objs): Add json-lib.o.
23647         (bench-func): Tidy up JSON output.
23648         * benchtests/bench-skeleton.c: Include json-lib.h.
23649         (main): Use JSON library functions to do output of
23650         benchmark results.
23651         * benchtests/bench-timing-type.c (main): Output the
23652         timing type simply, leaving formatting to the user.
23653         * benchtests/json-lib.c: New file.
23654         * benchtests/json-lib.h: Likewise.
23656 2014-04-11  Torvald Riegel  <triegel@redhat.com>
23658         [BZ #15215]
23659         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23660         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
23661         memory barriers.  Add comments.
23662         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23663         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23664         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23665         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23666         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23667         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23669 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23671         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23672         * sysdeps/s390/s390-64/configure.ac: ... this ...
23673         * sysdeps/s390/configure.ac: ... to here.
23674         * sysdeps/s390/s390-32/configure: Delete file.
23675         * sysdeps/s390/s390-64/configure: Delete file.
23676         * sysdeps/s390/configure: Regenerate.
23678 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
23680         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23682 2014-04-11  Will Newton  <will.newton@linaro.org>
23684         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23685         to zero if it is not defined elsewhere.  (mtrim): Test
23686         the value of MALLOC_DEBUG with #if rather than #ifdef.
23688 2014-04-10 Torvald Riegel  <triegel@redhat.com>
23690         * benchtests/pthread_once-inputs: New file.
23691         * benchtests/pthread_once-source.c: New file.
23692         * benchtests/README: Update documentation.
23694 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23695             H.J. Lu  <hongjiu.lu@intel.com>
23697         [BZ #16275]
23698         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23699         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23700         * sysdeps/x86_64/configure: Regenerated.
23701         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23702         macro.
23703         (REGISTER_SAVE_RAX): Likewise.
23704         (REGISTER_SAVE_RCX): Likewise.
23705         (REGISTER_SAVE_RDX): Likewise.
23706         (REGISTER_SAVE_RSI): Likewise.
23707         (REGISTER_SAVE_RDI): Likewise.
23708         (REGISTER_SAVE_R8): Likewise.
23709         (REGISTER_SAVE_R9): Likewise.
23710         (REGISTER_SAVE_BND0): Likewise.
23711         (REGISTER_SAVE_BND1): Likewise.
23712         (REGISTER_SAVE_BND2): Likewise.
23713         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
23714         bound registers when calling _dl_fixup.
23716 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23718         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23719         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23720         of its definition.
23721         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23722         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23723         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23724         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23725         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23726         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23727         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23729 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
23731         [BZ #15514]
23732         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23733         pathconf(_PC_NAME_MAX).
23735 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23737         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23738         Remove macro usage.
23739         (__PTHREAD_SPINS): Move definition to ...
23740         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23741         (__PTHREAD_SPINS): ... here.
23742         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23743         (__PTHREAD_SPIN): Likewise.
23744         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23745         (__PTHREAD_SPIN): Likewise.
23746         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23747         (__PTHREAD_SPIN): Likewise.
23748         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23749         (__PTHREAD_SPIN): Likewise.
23750         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23751         (__PTHREAD_SPIN): Likewise.
23752         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23753         (__PTHREAD_SPIN): Likewise.
23754         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23755         (__PTHREAD_SPIN): Likewise.
23756         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23757         (__PTHREAD_SPIN): Likewise.
23758         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23759         (__PTHREAD_SPIN): Likewise.
23760         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23761         (__PTHREAD_SPIN): Likewise.
23762         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23763         (__PTHREAD_SPIN): Likewise.
23764         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23765         (__PTHREAD_SPIN): Likewise.
23767         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23768         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23769         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23770         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23771         imply folder.
23772         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23773         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23774         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23775         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23776         correct imply path.
23777         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23778         strlen symbol for non multi-arch builds.
23779         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23780         missing hidden_def and weak_alias.
23782 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
23784         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23786 2014-04-07  Will Newton  <will.newton@linaro.org>
23788         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23789         and contents.  [!_LIBC] Remove #ifndef and contents.
23790         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
23791         * string/memccpy.c (__memccpy): Use ANSI prototype.
23792         * string/memfrob.c (memfrob): Likewise.
23793         * string/strcoll.c (STRCOLL): Likewise.
23794         * string/strlen.c (strlen): Likewise.
23795         * string/strtok.c (STRTOK): Likewise.
23796         * string/strcat.c: Remove unused #include of memcopy.h.
23797         (strcat): Use ANSI prototype.
23798         * string/strchr.c: Remove unused #include of memcopy.h.
23799         (strchr): Use ANSI prototype.
23800         * string/strcmp.c: Remove unused #include of memcopy.h.
23801         (strcmp): Use ANSI prototype.
23802         * string/strcpy.c: Remove unused #include of memcopy.h.
23803         (strcpy): Use ANSI prototype.
23805 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23807         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23808         * config.make.in (config-extra-cppflags): Set it from
23809         libc_extra_cppflags.
23810         * configure.ac (libc_extra_cflags): Make it accumulate over
23811         configure fragments.
23812         (libc_extra_cppflags): New flag.
23813         * configure. Regenerate.
23814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23815         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23816         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23819         [BZ #16815]
23820         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23821         result for FE_DOWNWARD rounding mode.
23822         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23823         Likewise.
23824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23826 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
23828         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23829         in function argument name.
23831 2014-04-03  David Svoboda  <svoboda@cert.org>
23833         [BZ #5666]
23834         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23835         explicitly.
23837 2014-04-03  Roland McGrath  <roland@hack.frob.com>
23839         * elf/dl-unmap-segments.h: New file.
23840         * sysdeps/generic/ldsodefs.h
23841         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23842         * elf/dl-close.c: Include <dl-unmap-segments.h>.
23843         * elf/dl-fptr.c: Likewise.
23844         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23845         * sysdeps/aarch64/tlsdesc.c: Likewise.
23846         * sysdeps/arm/tlsdesc.c: Likewise.
23847         * sysdeps/i386/tlsdesc.c: Likewise.
23848         * sysdeps/tile/dl-runtime.c: Likewise.
23849         * sysdeps/x86_64/tlsdesc.c: Likewise.
23850         * elf/dl-load.h: New file.
23851         * elf/dl-load.c: Include it.
23852         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23853         Macros moved to dl-load.h.
23854         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23855         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23856         Use _dl_unmap_segments in place of __munmap.
23857         Break out segment-mapping loop into ...
23858         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23860 2014-04-03  Will Newton  <will.newton@linaro.org>
23862         * elf/dl-lookup.c (do_lookup_x): Remove comment
23863         referring to nested function and move variable
23864         declarations down to before first use.
23866 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
23868         [BZ #16799]
23869         [BZ #16800]
23870         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23871         with 0 numerator.
23872         * math/s_catanf.c (__catanf): Likewise.
23873         * math/s_catanh.c (__catanh): Likewise.
23874         * math/s_catanhf.c (__catanhf): Likewise.
23875         * math/s_catanhl.c (__catanhl): Likewise.
23876         * math/s_catanl.c (__catanl): Likewise.
23877         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23878         by positive zero when computing -Inf result.
23879         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23880         (catanh_test): Likewise.
23881         * sysdeps/i386/fpu/libm-test-ulps: Update.
23882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23884         [BZ #16789]
23885         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23886         instead of using underflowing value in computing result.
23887         * math/s_clog10.c (__clog10): Likewise.
23888         * math/s_clog10f.c (__clog10f): Likewise.
23889         * math/s_clog10l.c (__clog10l): Likewise.
23890         * math/s_clogf.c (__clogf): Likewise.
23891         * math/s_clogl.c (__clogl): Likewise.
23892         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23893         (clog10_test): Likewise.
23894         * sysdeps/i386/fpu/libm-test-ulps: Update.
23895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23897 2014-04-02  Alan Modra  <amodra@gmail.com>
23899         [BZ #16739]
23900         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23901         output when value is near a power of two.  Use int64_t for lx and
23902         remove casts.  Use decimal rather than hex exponent constants.
23903         Don't use long double multiplication when double will suffice.
23904         * math/libm-test.inc (nextafter_test_data): Add tests.
23905         * NEWS: Add 16739 and 16786 to bug list.
23907         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23909         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23911 2014-04-01  Will Newton  <will.newton@linaro.org>
23913         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23914         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
23916 2014-04-01  Florian Weimer  <fweimer@redhat.com>
23918         [BZ #13347]
23919         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23920         * nptl/tst-setuid2.c: New file.
23921         * nptl/Makefile (xtests): Add tst-setuid2.
23923 2014-04-01  Alan Modra  <amodra@gmail.com>
23925         [BZ #16786]
23926         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23928 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
23930         [BZ #6803]
23931         [BZ #6804]
23932         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23933         set errno as appropriate.
23934         * math/w_scalbf.c (__scalbf): Likewise.
23935         * math/w_scalbl.c (__scalbl): Likewise.
23936         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23937         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23938         * math/libm-test.inc (scalb_test_data): Add errno expectations.
23939         Add more NaN tests.
23941         [BZ #16349]
23942         * math/w_atan2.c: Include <errno.h>.
23943         (__atan2): Set errno for result underflowing to zero.
23944         * math/w_atan2f.c: Include <errno.h>.
23945         (__atan2f): Set errno for result underflowing to zero.
23946         * math/w_atan2l.c: Include <errno.h>.
23947         (__atan2l): Set errno for result underflowing to zero.
23948         * math/auto-libm-test-in: Don't allow missing errno for some atan2
23949         tests.
23950         * math/auto-libm-test-out: Regenerated.
23952 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23954         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23955         Encode instruction correctly in little endian.
23956         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23957         Likewise.
23958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23959         Likewise.
23960         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23961         Likewise.
23962         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23963         Likewise.
23965 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
23967         [BZ #9894]
23968         * sysdeps/unix/sysv/linux/kernel-features.h
23969         [__sparc__ && !__arch64__ && !__sparc_v9__]
23970         (__ASSUME_SET_ROBUST_LIST): Do not define.
23971         [__sparc__ && !__arch64__ && !__sparc_v9__]
23972         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23973         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23974         Likewise.
23975         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23976         (__ASSUME_FUTEX_LOCK_PI): Undefine.
23977         (__ASSUME_REQUEUE_PI): Likewise.
23978         (__ASSUME_SET_ROBUST_LIST): Likewise.
23979         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23980         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23981         Undefine.
23982         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23983         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23984         Likewise.
23985         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23986         Likewise.
23987         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23988         Likewise.
23989         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23990         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23991         Undefine.
23992         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23993         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23994         Likewise.
23996         [BZ #16648]
23997         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23998         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23999         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
24001 2014-03-31  Will Newton  <will.newton@linaro.org>
24003         * benchtests/Makefile (bench): Add ffs and ffsll to list
24004         of tests.
24005         * benchtests/ffs-inputs: New file.
24006         * benchtests/ffsll-inputs: Likewise.
24008 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
24010         [BZ #16770]
24011         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
24012         too large before casting to int.
24013         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
24014         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
24015         * math/libm-test.inc (scalb_test_data): Add more tests.
24017 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24019         * benchtests/Makefile (DETAILED_OPT): New make option.
24020         (bench-func): Run benchmark program with -d if DETAILED_OPT is
24021         set.
24022         * benchtests/bench-skeleton.c: Include stdbool.h.
24023         (main): Store and print timings per input.
24024         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
24025         member to each argument value.
24026         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
24027         (_print_arg_data): Initialize per-input timing to 0.
24029         * benchtests/Makefile (timing-type): New binary.
24030         (bench-clean): Also remove bench-timing-type.
24031         (bench): New target for timing-type.
24032         (bench-func): Print output in JSON format.
24033         * benchtests/bench-skeleton.c (main): Print output in JSON
24034         format.
24035         * benchtests/bench-timing-type.c: New file.
24036         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
24037         (TIMING_PRINT_STATS): Remove.
24038         * benchtests/scripts/bench.py (_print_arg_data): Store variant
24039         name separately.
24041         * benchtests/bench-modf.c: Remove.
24042         * benchtests/modf-inputs: New inputs file.
24044 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
24046         [BZ #16362]
24047         * math/s_clog10.c (M_PI_LOG10E): New macro.
24048         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
24049         imaginary parts are 0.
24050         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
24051         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
24052         imaginary parts are 0.
24053         * math/s_clog10l.c (M_PI_LOG10El): New macro.
24054         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
24055         imaginary parts are 0.
24056         * math/libm-test.inc (clog10_test_data): Update expected results
24057         for when real and imaginary parts are 0.
24059 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
24061         * elf/dl-load.c: Finish conversion of __builtin_expect into
24062         __glibc_{un}likely.
24064 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
24066         [BZ #16348]
24067         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
24068         1+x for argument with exponent below -67.
24069         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
24070         Likewise.
24071         * math/auto-libm-test-in: Add more tests of exp.
24072         * math/auto-libm-test-out: Regenerated.
24074 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24076         [BZ #16759]
24077         * inet/getnetgrent_r.c (get_nonempty_val): New function.
24078         (nscd_getnetgrent): Use it.
24080         [BZ #16760]
24081         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
24082         of stpcpy.
24084 2014-03-27  Andi Kleen  <ak@linux.intel.com>
24086         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
24087         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24088         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24089         (lll_robust_unlock): Remove out of line section. Use cfi
24090         intrinsics.
24091         (LLL_STUB_UNWIND_INFO*): Remove.
24092         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
24093         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24094         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24095         (lll_robust_unlock): Remove out of line section. Use cfi
24096         intrinsics.
24097         (LLL_STUB_UNWIND_INFO*): Remove.
24099 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24101         [BZ #16758]
24102         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
24103         blank values.
24105 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24107         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
24109 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
24111         [BZ #16198]
24112         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
24113         fnstenv.
24114         * math/test-fenv-preserve.c: New file.
24115         * math/Makefile (tests): Add test-fenv-preserve.
24117 2014-03-26  Will Newton <will.newton@linaro.org>
24119         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
24121 2014-03-25  Roland McGrath  <roland@hack.frob.com>
24123         * scripts/versionlist.awk: Partition the version sets and emit all
24124         GLIBC_* (sorted) before all others (sorted).
24126 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24128         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24129         GLIBC_2.2.5 version.
24131 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24133         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24134         calls.
24136         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24137         previous change.
24139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24141 2014-03-25  Andreas Schwab  <schwab@suse.de>
24143         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24144         label to be used after in6ailist is initialized.
24146 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24148         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24149         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24151 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24153         [BZ #16357]
24154         [BZ #16599]
24155         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24156         min_plus_half.
24157         (fp_formats): Update initializers.
24158         (init_fp_formats): Initialize new field.
24159         (output_for_one_input_case): Allow underflow for results up to
24160         min_plus_half.
24161         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24162         * math/auto-libm-test-in: Don't mark some underflows from asin and
24163         atanh as spurious.
24164         * math/auto-libm-test-out: Regenerated.
24165         * sysdeps/i386/fpu/libm-test-ulps: Update.
24166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24168 2014-03-25  Andreas Schwab  <schwab@suse.de>
24170         * libio/Makefile (tst-ftell-partial-wide-ENV)
24171         (tst-ftell-active-handler-ENV): Define.
24173 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
24175         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24177 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24179         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24181 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24183         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24184         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24185         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24187 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24189         [BZ #16634]
24190         * elf/dl-load.c (open_verify): Add mode parameter.
24191         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24192         (open_path): Change from boolean 'secure' to complete flag 'mode'
24193         (_dl_map_object): Adjust.
24194         * elf/Makefile (tests): Add tst-dlopen-aout.
24195         * elf/tst-dlopen-aout.c: New test.
24197 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
24199         [BZ #16714]
24200         * sysdeps/unix/sysv/linux/s390/bits/stat.h
24201         (struct stat): Rename member pad0 to __glibc_reserved0.
24203         [BZ #16712]
24204         * sysdeps/s390/s390-32/bits/wordsize.h
24205         (__WORDSIZE32_SIZE_ULONG): New define.
24206         * sysdeps/s390/s390-64/bits/wordsize.h
24207         (__WORDSIZE32_SIZE_ULONG): Likewise.
24208         * sysdeps/generic/stdint.h (SIZE_MAX):
24209         Define as UL if __WORDSIZE32_SIZE_ULONG.
24211         [BZ #16713]
24212         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24213         (__glibc_reserved0): New variable.
24214         (sa_flags): Change type to int.
24216         * posix/Makefile (before-compile): Use += before-compile instead
24217         of a :=.
24219         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24220         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24222 2014-03-20  Andreas Schwab  <schwab@suse.de>
24224         [BZ #16743]
24225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24226         non-matching result from nscd.
24228 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24230         * scripts/bench.py: Moved to ...
24231         * benchtests/scripts/bench.py: ... here.
24232         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24234 2014-03-24  Andreas Schwab  <schwab@suse.de>
24236         [BZ #16002]
24237         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24238         alloca_account and account alloca use for struct in6ailist.
24240 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24242         [BZ #16284]
24243         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24244         rounding mode to recompute results that overflow to infinity or
24245         underflow to zero.
24246         * math/auto-libm-test-in: Don't mark tests as expected to fail for
24247         bug 16284.
24248         * math/auto-libm-test-out: Regenerated.
24249         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24250         (ccosh_test): Likewise.
24251         (csin_test_data): Use plus_oflow.
24252         (csin_test): Use ALL_RM_TEST.
24253         (csinh_test_data): Use plus_oflow.
24254         (csinh_test): Use ALL_RM_TEST.
24255         * sysdeps/i386/fpu/libm-test-ulps: Update.
24256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24258 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
24260         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24261         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24262         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24264         [BZ #16731]
24265         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24266         when x - 1 is zero.
24267         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24268         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24269         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24270         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24271         argument is 1.
24272         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24273         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24274         zero.
24275         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24276         * sysdeps/i386/fpu/libm-test-ulps: Update.
24277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24279 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24281         * scripts/bench.pl: Remove file.
24282         * scripts/bench.py: New benchmark script.
24283         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24284         * benchtests/README: Mention python dependency.
24285         * scripts/pylintrc: New file.
24286         * scripts/pylint: New file.
24288         * bits/mathdef.h: Use #ifdef instead of #if.
24289         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24290         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24291         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24292         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24293         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24294         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24296 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24297             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24299         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24301         and strpbrk-ppc64 objects.
24302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24303         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24304         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24305         multiarch strpbrk for POWER7.
24306         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24307         multiarch strpbrk for PPC64.
24308         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24309         ifunc selector.
24310         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24311         strpbrk for POWER7.
24313 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24315         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24316         (atan_test): Likewise.
24317         (atanh_test_data): Use NO_TEST_INLINE for two tests.
24318         (atanh_test): Use ALL_RM_TEST.
24319         (atan2_test_data): Likewise.
24320         (cabs_test): Likewise.
24321         (cacosh_test): Likewise.
24322         (carg_test): Likewise.
24323         (casin_test): Likewise.
24324         (casinh_test): Likewise.
24325         (cbrt_test): Likewise.
24326         (csqrt_test): Likewise.
24327         (erf_test): Likewise.
24328         (erfc_test): Likewise.
24329         (pow10_test): Likewise.
24330         (exp2_test): Likewise.
24331         (hypot_test): Likewise.
24332         (j0_test): Likewise.
24333         (j1_test): Likewise.
24334         (lgamma_test): Likewise.
24335         (gamma_test): Likewise.
24336         (sincos_test): Likewise.
24337         (tanh_test): Likewise.
24338         (y0_test): Likewise.
24339         (y1_test): Likewise.
24340         * sysdeps/i386/fpu/libm-test-ulps: Update.
24341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24343 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24345         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24347         and strcspn-ppc64 objects.
24348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24349         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24350         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24351         multiarch strcspn for POWER7.
24352         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24353         multiarch strcspn for PPC64.
24354         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24355         ifunc selector.
24356         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24357         strcspn for POWER7.
24359 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24361         * math/gen-libm-test.pl (generate_testfile): Expect only function
24362         name as argument to AUTO_TESTS_* and pass results for all rounding
24363         modes to parse_args.
24364         (parse_auto_input): Separate inputs of automatic tests from
24365         outputs before storing in %auto_tests.
24366         * math/libm-test.inc (acos_test_data): Update call to
24367         AUTO_TESTS_f_f.
24368         (acos_test): Use ALL_RM_TEST.
24369         (acos_tonearest_test_data): Remove.
24370         (acos_test_tonearest): Likewise.
24371         (acos_towardzero_test_data): Likewise.
24372         (acos_test_towardzero): Likewise.
24373         (acos_downward_test_data): Likewise.
24374         (acos_test_downward): Likewise.
24375         (acos_upward_test_data): Likewise.
24376         (acos_test_upward): Likewise.
24377         (acosh_test_data): Update call to AUTO_TESTS_f_f.
24378         (asin_test_data): Likewise.
24379         (asin_test): Use ALL_RM_TEST.
24380         (asin_tonearest_test_data): Remove.
24381         (asin_test_tonearest): Likewise.
24382         (asin_towardzero_test_data): Likewise.
24383         (asin_test_towardzero): Likewise.
24384         (asin_downward_test_data): Likewise.
24385         (asin_test_downward): Likewise.
24386         (asin_upward_test_data): Likewise.
24387         (asin_test_upward): Likewise.
24388         (asinh_test_data): Update call to AUTO_TESTS_f_f.
24389         (atan_test_data): Likewise.
24390         (atanh_test_data): Likewise.
24391         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24392         (cabs_test_data): Update call to AUTO_TESTS_c_f.
24393         (carg_test_data): Likewise.
24394         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24395         (ccos_test_data): Update call to AUTO_TESTS_c_c.
24396         (ccosh_test_data): Likewise.
24397         (cexp_test_data): Likewise.
24398         (clog_test_data): Likewise.
24399         (clog10_test_data): Likewise.
24400         (cos_test_data): Update call to AUTO_TESTS_f_f.
24401         (cos_test): Use ALL_RM_TEST.
24402         (cos_tonearest_test_data): Remove.
24403         (cos_test_tonearest): Likewise.
24404         (cos_towardzero_test_data): Likewise.
24405         (cos_test_towardzero): Likewise.
24406         (cos_downward_test_data): Likewise.
24407         (cos_test_downward): Likewise.
24408         (cos_upward_test_data): Likewise.
24409         (cos_test_upward): Likewise.
24410         (cosh_test_data): Update call to AUTO_TESTS_f_f.
24411         (cosh_test): Use ALL_RM_TEST.
24412         (cosh_tonearest_test_data): Remove.
24413         (cosh_test_tonearest): Likewise.
24414         (cosh_towardzero_test_data): Likewise.
24415         (cosh_test_towardzero): Likewise.
24416         (cosh_downward_test_data): Likewise.
24417         (cosh_test_downward): Likewise.
24418         (cosh_upward_test_data): Likewise.
24419         (cosh_test_upward): Likewise.
24420         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24421         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24422         (ctan_test_data): Likewise.
24423         (ctan_test): Use ALL_RM_TEST.
24424         (ctan_tonearest_test_data): Remove.
24425         (ctan_test_tonearest): Likewise.
24426         (ctan_towardzero_test_data): Likewise.
24427         (ctan_test_towardzero): Likewise.
24428         (ctan_downward_test_data): Likewise.
24429         (ctan_test_downward): Likewise.
24430         (ctan_upward_test_data): Likewise.
24431         (ctan_test_upward): Likewise.
24432         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24433         (ctanh_test): Use ALL_RM_TEST.
24434         (ctanh_tonearest_test_data): Remove.
24435         (ctanh_test_tonearest): Likewise.
24436         (ctanh_towardzero_test_data): Likewise.
24437         (ctanh_test_towardzero): Likewise.
24438         (ctanh_downward_test_data): Likewise.
24439         (ctanh_test_downward): Likewise.
24440         (ctanh_upward_test_data): Likewise.
24441         (ctanh_test_upward): Likewise.
24442         (erf_test_data): Update call to AUTO_TESTS_f_f.
24443         (erfc_test_data): Likewise.
24444         (exp_test_data): Likewise.
24445         (exp_test): Use ALL_RM_TEST.
24446         (exp_tonearest_test_data): Remove.
24447         (exp_test_tonearest): Likewise.
24448         (exp_towardzero_test_data): Likewise.
24449         (exp_test_towardzero): Likewise.
24450         (exp_downward_test_data): Likewise.
24451         (exp_test_downward): Likewise.
24452         (exp_upward_test_data): Likewise.
24453         (exp_test_upward): Likewise.
24454         (exp10_test_data): Update call to AUTO_TESTS_f_f.
24455         (exp10_test): Use ALL_RM_TEST.
24456         (exp10_tonearest_test_data): Remove.
24457         (exp10_test_tonearest): Likewise.
24458         (exp10_towardzero_test_data): Likewise.
24459         (exp10_test_towardzero): Likewise.
24460         (exp10_downward_test_data): Likewise.
24461         (exp10_test_downward): Likewise.
24462         (exp10_upward_test_data): Likewise.
24463         (exp10_test_upward): Likewise.
24464         (exp2_test_data): Update call to AUTO_TESTS_f_f.
24465         (expm1_test_data): Likewise.
24466         (expm1_test): Use ALL_RM_TEST.
24467         (expm1_tonearest_test_data): Remove.
24468         (expm1_test_tonearest): Likewise.
24469         (expm1_towardzero_test_data): Likewise.
24470         (expm1_test_towardzero): Likewise.
24471         (expm1_downward_test_data): Likewise.
24472         (expm1_test_downward): Likewise.
24473         (expm1_upward_test_data): Likewise.
24474         (expm1_test_upward): Likewise.
24475         (fma_test_data): Update call to AUTO_TESTS_fff_f.
24476         (fma_test): Use ALL_RM_TEST.
24477         (fma_towardzero_test_data): Remove.
24478         (fma_test_towardzero): Likewise.
24479         (fma_downward_test_data): Likewise.
24480         (fma_test_downward): Likewise.
24481         (fma_upward_test_data): Likewise.
24482         (fma_test_upward): Likewise.
24483         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24484         (j0_test_data): Update call to AUTO_TESTS_f_f.
24485         (j1_test_data): Likewise.
24486         (jn_test_data): Update call to AUTO_TESTS_if_f.
24487         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24488         (log_test_data): Update call to AUTO_TESTS_f_f.
24489         (log10_test_data): Likewise.
24490         (log1p_test_data): Likewise.
24491         (log2_test_data): Likewise.
24492         (pow_test_data): Update call to AUTO_TESTS_ff_f.
24493         (pow_tonearest_test_data): Likewise.
24494         (sin_test_data): Update call to AUTO_TESTS_f_f.
24495         (sin_test): Use ALL_RM_TEST.
24496         (sin_tonearest_test_data): Remove.
24497         (sin_test_tonearest): Likewise.
24498         (sin_towardzero_test_data): Likewise.
24499         (sin_test_towardzero): Likewise.
24500         (sin_downward_test_data): Likewise.
24501         (sin_test_downward): Likewise.
24502         (sin_upward_test_data): Likewise.
24503         (sin_test_upward): Likewise.
24504         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24505         (sinh_test_data): Update call to AUTO_TESTS_f_f.
24506         (sinh_test): Use ALL_RM_TEST.
24507         (sinh_tonearest_test_data): Remove.
24508         (sinh_test_tonearest): Likewise.
24509         (sinh_towardzero_test_data): Likewise.
24510         (sinh_test_towardzero): Likewise.
24511         (sinh_downward_test_data): Likewise.
24512         (sinh_test_downward): Likewise.
24513         (sinh_upward_test_data): Likewise.
24514         (sinh_test_upward): Likewise.
24515         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24516         (sqrt_test): Use ALL_RM_TEST.
24517         (sqrt_tonearest_test_data): Remove.
24518         (sqrt_test_tonearest): Likewise.
24519         (sqrt_towardzero_test_data): Likewise.
24520         (sqrt_test_towardzero): Likewise.
24521         (sqrt_downward_test_data): Likewise.
24522         (sqrt_test_downward): Likewise.
24523         (sqrt_upward_test_data): Likewise.
24524         (sqrt_test_upward): Likewise.
24525         (tan_test_data): Update call to AUTO_TESTS_f_f.
24526         (tan_test): Use ALL_RM_TEST.
24527         (tan_tonearest_test_data): Remove.
24528         (tan_test_tonearest): Likewise.
24529         (tan_towardzero_test_data): Likewise.
24530         (tan_test_towardzero): Likewise.
24531         (tan_downward_test_data): Likewise.
24532         (tan_test_downward): Likewise.
24533         (tan_upward_test_data): Likewise.
24534         (tan_test_upward): Likewise.
24535         (tanh_test_data): Update call to AUTO_TESTS_f_f.
24536         (tgamma_test_data): Likewise.
24537         (y0_test_data): Likewise.
24538         (y1_test_data): Likewise.
24539         (yn_test_data): Update call to AUTO_TESTS_if_f.
24540         (main): Do not call removed functions.
24542 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
24544         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24545         (ldexp_test_data): Remove.
24546         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
24547         scalbn_test_data.
24548         (scalb_test): Use ALL_RM_TEST.
24550 2014-03-19  Andreas Schwab  <schwab@suse.de>
24552         * nscd/nscd.service: Also invalidate netgroup cache on reload.
24554 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
24556         [BZ #16649]
24557         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24558         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24559         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24560         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24561         (__ASSUME_PREADV): Undefine.
24562         (__ASSUME_PWRITEV): Likewise.
24564 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24566         * bits/mman-linux.h: Add comment about non-Linux use.
24567         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24568         bits/mman-linux.h resting place.
24570         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24571         * bits/mman-linux.h: ... here.
24573 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24575         * conform/conformtest.pl: Add standard definition when calling C
24576         preprocessor on data files.
24577         (checknamespace): Remove unused variable.
24579 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24581         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24582         minus_oflow, plus_uflow and minus_uflow in expected results.
24583         * math/libm-test.inc (scalbn_test_data): Add more tests of
24584         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
24585         minus_uflow.
24586         (scalbn_test): Use ALL_RM_TEST.
24587         (scalbln_test_data): Add more tests of negative arguments.  Use
24588         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24589         (scalbln_test): Use ALL_RM_TEST.
24591 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24593         * scripts/abilist.awk: Ignore symbols marked with .hidden.
24595 2014-03-18  Will Newton  <will.newton@linaro.org>
24597         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24598         inaccurate comment.
24600 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24602         * Makerules [!subdir] (check-abi): Exit with error status if a
24603         test failed.
24605 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24607         * math/libm-test.inc (nearbyint_test_data): Include all tests used
24608         for rint.  Include results for all rounding modes.
24609         (nearbyint_test): Use ALL_RM_TEST.
24610         (rint_test_data): Include all tests used for nearbyint.
24612 2014-03-17  Will Newton  <will.newton@linaro.org>
24614         * nptl/sysdeps/pthread/pthread.h: Revert previous
24615         change.
24617         * sysdeps/generic/ldsodefs.h: Revert previous
24618         change.
24620         * libio/genops.c: Revert previous change.
24621         * libio/libioP.h: Likewise.
24622         * stdio-common/vfprintf.c: Likewise.
24624         * sysdeps/generic/math_private.h: Revert previous
24625         change.
24627         * sysdeps/generic/math_private.h: Check whether
24628         HAVE_RM_CTX is defined with #ifdef rather
24629         than #if.
24631         * argp/argp-fmtstream.h: Check whether
24632         __STRICT_ANSI__ is defined with #ifdef rather
24633         than #if.
24634         * argp/argp.h: Likewise.
24636         * libio/genops.c: Check whether
24637         _IO_JUMPS_OFFSET is defined with #ifdef rather
24638         than #if.
24639         * libio/libioP.h: Likewise.
24640         * stdio-common/vfprintf.c: Likewise.
24642         * sysdeps/generic/ldsodefs.h: Check whether
24643         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24644         than #if.
24646         * nptl/sysdeps/pthread/pthread.h: Check
24647         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24648         its value.
24650 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24652         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24653         setting O_APPEND.
24654         * libio/tst-ftell-active-handler.c (do_append_test): Add a
24655         test case.
24657         [BZ #16680]
24658         * libio/fileops.c (_IO_file_open): Seek to end of file but
24659         don't cache the offset.
24660         (get_file_offset): Remove function.
24661         (do_ftell): Use cached offset when available.
24662         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24663         don't cache the offset.
24664         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24665         case.
24666         (do_one_test): Call it.
24667         (do_ftell_test): Fix up expected old offset for a+ mode.
24668         * libio/wfileops.c (do_ftell_wide): Used cached offset when
24669         available.
24671         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24672         up test status with function return status.
24673         (do_write_test): Likewise.
24674         (do_append_test): Likewise.
24676         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24677         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24678         Remove.
24680 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24682         * math/gen-libm-test.pl (parse_args): Handle results specified for
24683         each rounding mode separately.
24684         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24685         tests and results from lrint_tonearest_test_data,
24686         lrint_towardzero_test_data, lrint_downward_test_data and
24687         lrint_upward_test_data.
24688         (lrint_test): Use ALL_RM_TEST.
24689         (lrint_tonearest_test_data): Remove.
24690         (lrint_test_tonearest): Likewise.
24691         (lrint_towardzero_test_data): Likewise.
24692         (lrint_test_towardzero): Likewise.
24693         (lrint_downward_test_data): Likewise.
24694         (lrint_test_downward): Likewise.
24695         (lrint_upward_test_data): Likewise.
24696         (lrint_test_upward): Likewise.
24697         (llrint_test_data): Merge in per-rounding-mode tests and results
24698         from llrint_tonearest_test_data, llrint_towardzero_test_data,
24699         llrint_downward_test_data and llrint_upward_test_data.
24700         (llrint_test): Use ALL_RM_TEST.
24701         (llrint_tonearest_test_data): Remove.
24702         (llrint_test_tonearest): Likewise.
24703         (llrint_towardzero_test_data): Likewise.
24704         (llrint_test_towardzero): Likewise.
24705         (llrint_downward_test_data): Likewise.
24706         (llrint_test_downward): Likewise.
24707         (llrint_upward_test_data): Likewise.
24708         (llrint_test_upward): Likewise.
24709         (rint_test_data): Merge in per-rounding-mode tests and results
24710         from rint_tonearest_test_data, rint_towardzero_test_data,
24711         rint_downward_test_data and rint_upward_test_data.  Add
24712         per-rounding-mode results for tests not in those arrays.
24713         (rint_test): Use ALL_RM_TEST.
24714         (rint_tonearest_test_data): Remove.
24715         (rint_test_tonearest): Likewise.
24716         (rint_towardzero_test_data): Likewise.
24717         (rint_test_towardzero): Likewise.
24718         (rint_downward_test_data): Likewise.
24719         (rint_test_downward): Likewise.
24720         (rint_upward_test_data): Likewise.
24721         (rint_test_upward): Likewise.
24722         (main): Don't call removed functions.
24724 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24726         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24727         "Compiled on ..." crapola.  It is anti-useful.
24729 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
24731         * scripts/evaluate-test.sh: Handle fourth argument to determine
24732         whether test run should stop on failure.
24733         * Makeconfig (stop-on-test-failure): New variable.
24734         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24735         $(stop-on-test-failure).
24736         * Makefile (tests): Give a summary of results from testing and
24737         exit with failure status if they include an ERROR or FAIL.
24738         (xtests): Likewise.
24739         * manual/install.texi (Configuring and compiling): Mention
24740         stop-on-test-failure=y.
24741         * INSTALL: Regenerated.
24743 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24745         * scripts/versionlist.awk: New file.
24746         * Makerules [$(build-shared) = yes]
24747         (postclean-generated): Add Versions.def, not Versions.def.v and
24748         Versions.def.v.i.
24749         ($(common-objpfx)Versions.def.v.i): Target removed.
24750         ($(common-objpfx)Versions.def): New target.
24751         ($(common-objpfx)Versions.all): Depend on that rather that
24752         $(common-objpfx)Versions.def.v.
24753         * Versions.def: File removed.
24755         * Makeconfig (+gccwarn): Add -Wundef.
24756         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24757         a dl-sysdep.h breaking its contract.
24758         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24759         * include/stackinfo.h: New file.
24760         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24761         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24762         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24763         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24764         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24765         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24766         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24767         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24768         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24769         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24770         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24771         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24772         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24773         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24774         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24776 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24778         [BZ #16707]
24779         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24780         implementation.
24781         * math/libm-test.inc (round_test_data): Add more tests.
24783         [BZ #16706]
24784         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24785         implementation.
24786         * math/libm-test.inc (nearbyint_test_data): Add more tests.
24788         [BZ #16701]
24789         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24790         implementation.
24791         * math/libm-test.inc (ceil_test_data): Add more tests.
24793         * math/libm-test.inc (trunc_test_data): Add more tests related to
24794         BZ#16414.
24796 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24798         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24799         with #if rather than #ifdef.
24800         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24802 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
24804         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24805         first.  Disable AVX-512 GCC support if assembler doesn't support
24806         it.
24807         * sysdeps/x86_64/configure: Regenerated.
24809 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
24811         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24812         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24813         (__old_pthread_attr_setstack): Likewise.
24814         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24815         [!_STACK_GROWS_DOWN]: Likewise.
24817 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
24819         * config.make.in (have-bash2): Delete.
24820         * configure.ac (libc_cv_have_bash2): Delete.
24821         * configure: Regenerate.
24822         * elf/Makefile (common-ldd-rewrite): Rename to ...
24823         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
24824         (sh-ldd-rewrite): Delete.
24825         (bash-ldd-rewrite): Delete.
24826         (have-bash2): Delete checks.
24827         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24828         ldd-rewrite.
24830         * config.make.in (have-ksh): Delete.
24831         (KSH): Delete.
24832         * configure.ac (libc_cv_have_ksh): Delete.
24833         * configure: Regenerate.
24835         * elf/Makefile: Delete $(have-ksh) check.
24836         ($(objpfx)sotruss): Change KSH to BASH.
24837         * elf/sotruss.ksh: Rename to ...
24838         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
24839         function style to match POSIX.  Drop ksh vim mode setting.
24841         * manual/time.texi (Specifying the Time Zone with TZ): Change
24842         Tuesday to Thursday.
24844         * debug/tst-longjmp_chk2.c: Update header comment.
24845         (stackoverflow_handler): Add comment.  Call assert on pass value.
24847 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
24849         [BZ #16194]
24850         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24851         (HAVE_AVX512_ASM_SUPPORT): Likewise.
24852         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24853         (La_x86_64_vector): Add zmm.
24854         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24855         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24856         ($(objpfx)tst-audit10): New target.
24857         ($(objpfx)tst-audit10.out): Likewise.
24858         (tst-audit10-ENV): New.
24859         (AVX512-CFLAGS): Likewise.
24860         (CFLAGS-tst-audit10.c): Likewise.
24861         (CFLAGS-tst-auditmod10a.c): Likewise.
24862         (CFLAGS-tst-auditmod10b.c): Likewise.
24863         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24864         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24865         * sysdeps/x86_64/configure: Regenerated.
24866         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24867         AVX-512 zmm register support.
24868         (_dl_x86_64_save_sse): Likewise.
24869         (_dl_x86_64_restore_sse): Likewise.
24870         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24871         size vector registers.
24872         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24873         (ZMM_SIZE): Likewise.
24874         * sysdeps/x86_64/tst-audit10.c: New file.
24875         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24876         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24878 2014-03-13  Roland McGrath  <roland@hack.frob.com>
24880         * configure.ac (HAVE_EHDR_START): New check.
24881         * configure: Regenerated.
24882         * config.h.in (HAVE_EHDR_START): New #undef.
24883         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24884         assuming the lowest-addressed segment maps the start of the file.
24886 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
24888         * INSTALL: Regenerated.
24890 2014-03-13  Will Newton  <will.newton@linaro.org>
24892         * manual/setjmp.texi (System V contexts): Improve
24893         clarity and grammar of documentation.
24895 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24897         [BZ #16381]
24898         * elf/Makefile (tests): Add tst-pie2.
24899         (tests-pie): Add tst-pie2.
24900         * elf/tst-pie2.c: New file.
24901         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24902         for ET_EXEC.
24903         * elf/rtld.c (map_doit): Load executable as lt_executable.
24904         (dl_main): Likewise.
24906 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
24908         [BZ #16642]
24909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24910         (__ASSUME_PSELECT): Undefine.
24912 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24914         [BZ #16689]
24915         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24916         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24917         static build.
24918         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24919         selector for static builds.
24921 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24923         [BZ #16695]
24924         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24925         key in the buffer.
24927 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24929         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24930         IFUNC selector for static builds.
24932 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
24934         * sysdeps/mips/math_private.h [__mips_hard_float]
24935         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24936         libc_feresetround_mips_ctx.
24937         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24938         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24939         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24941         [BZ #16677]
24942         * math/s_nextafter.c (__nextafter): Do not return value from
24943         overflowing computation.
24944         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24945         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24946         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24947         Likewise.
24948         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24949         Likewise.
24950         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24951         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24953 2014-03-11  Roland McGrath  <roland@hack.frob.com>
24955         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24956         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24957         Move sfi_sp use from the load-multiple (that no longer sets sp) to
24958         the new mov targetting sp.
24960 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24962         [BZ #16683]
24963         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24964         Define it for static builds as well.
24965         (NO_BZERO_IMPL): Likewise.
24967 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24969         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24970         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24971         multiarch strspn for PPC64.
24972         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24973         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24975         (__libc_ifunc_impl_list): Likewise.
24976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24977         multiarch optimizations
24978         * string/strspn.c (strspn): Using macro to redefine symbol name.
24980 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24981             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24983         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24984         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24985         multiarch strncat for PPC64.
24986         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24987         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24989         (__libc_ifunc_impl_list): Likewise.
24990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24991         multiarch optimizations
24993 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24995         [BZ #16639]
24996         * nscd/nscd.service: Make service type forking.
24998 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25000         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
25001         sign in non default rounding modes.
25002         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
25004 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
25006         * math/libm-test.inc (ALL_RM_TEST): New macro.
25007         (ceil_test): Use ALL_RM_TEST.
25008         (cimag_test): Likewise.
25009         (conj_test): Likewise.
25010         (copysign_test): Likewise.
25011         (cproj_test): Likewise.
25012         (creal_test): Likewise.
25013         (fabs_test): Likewise.
25014         (floor_test): Likewise.
25015         (fmax_test): Likewise.
25016         (fmin_test): Likewise.
25017         (fmod_test): Likewise.
25018         (fpclassify_test): Likewise.
25019         (frexp_test): Likewise.
25020         (ilogb_test): Likewise.
25021         (isfinite_test): Likewise.
25022         (finite_test): Likewise.
25023         (isgreater_test): Likewise.
25024         (isgreaterequal_test): Likewise.
25025         (isinf_test): Likewise.
25026         (isless_test): Likewise.
25027         (islessequal_test): Likewise.
25028         (islessgreater_test): Likewise.
25029         (isnan_test): Likewise.
25030         (isnormal_test): Likewise.
25031         (issignaling_test): Likewise.
25032         (isunordered_test): Likewise.
25033         (logb_test): Likewise.
25034         (logb_downward_test_data): Remove.
25035         (logb_test_downward): Likewise.
25036         (lround_test): Use ALL_RM_TEST.
25037         (llround_test): Likewise.
25038         (modf_test): Likewise.
25039         (nexttoward_test): Likewise.
25040         (remainder_test): Likewise.
25041         (drem_test): Likewise.
25042         (remainder_tonearest_test_data): Likewise.
25043         (remainder_test_tonearest): Likewise.
25044         (drem_test_tonearest): Likewise.
25045         (remainder_towardzero_test_data): Likewise.
25046         (remainder_test_towardzero): Likewise.
25047         (drem_test_towardzero): Likewise.
25048         (remainder_downward_test_data): Likewise.
25049         (remainder_test_downward): Likewise.
25050         (drem_test_downward): Likewise.
25051         (remainder_upward_test_data): Likewise.
25052         (remainder_test_upward): Likewise.
25053         (drem_test_upward): Likewise.
25054         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
25055         (round_test): Use ALL_RM_TEST.
25056         (signbit_test): Likewise.
25057         (trunc_test): Likewise.
25058         (significand_test): Likewise.
25059         (main): Don't call removed functions.
25061 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25063         [BZ #16674]
25064         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
25065         || __USE_XOPEN2K8].
25066         (ILL_ILLOPN): Likewise.
25067         (ILL_ILLADR): Likewise.
25068         (ILL_ILLTRP): Likewise.
25069         (ILL_PRVOPC): Likewise.
25070         (ILL_PRVREG): Likewise.
25071         (ILL_COPROC): Likewise.
25072         (ILL_BADSTK): Likewise.
25073         (FPE_INTDIV): Likewise.
25074         (FPE_INTOVF): Likewise.
25075         (FPE_FLTDIV): Likewise.
25076         (FPE_FLTOVF): Likewise.
25077         (FPE_FLTUND): Likewise.
25078         (FPE_FLTRES): Likewise.
25079         (FPE_FLTINV): Likewise.
25080         (FPE_FLTSUB): Likewise.
25081         (SEGV_MAPERR): Likewise.
25082         (SEGV_ACCERR): Likewise.
25083         (BUS_ADRALN): Likewise.
25084         (BUS_ADRERR): Likewise.
25085         (BUS_OBJERR): Likewise.
25086         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25087         (TRAP_TRACE): Likewise.
25088         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25089         __USE_XOPEN2K8].
25090         (CLD_KILLED): Likewise.
25091         (CLD_DUMPED): Likewise.
25092         (CLD_TRAPPED): Likewise.
25093         (CLD_STOPPED): Likewise.
25094         (CLD_CONTINUED): Likewise.
25095         (POLL_IN): Likewise.
25096         (POLL_OUT): Likewise.
25097         (POLL_MSG): Likewise.
25098         (POLL_ERR): Likewise.
25099         (POLL_PRI): Likewise.
25100         (POLL_HUP): Likewise.
25101         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
25102         Likewise.
25103         (ILL_ILLOPN): Likewise.
25104         (ILL_ILLADR): Likewise.
25105         (ILL_ILLTRP): Likewise.
25106         (ILL_PRVOPC): Likewise.
25107         (ILL_PRVREG): Likewise.
25108         (ILL_COPROC): Likewise.
25109         (ILL_BADSTK): Likewise.
25110         (FPE_INTDIV): Likewise.
25111         (FPE_INTOVF): Likewise.
25112         (FPE_FLTDIV): Likewise.
25113         (FPE_FLTOVF): Likewise.
25114         (FPE_FLTUND): Likewise.
25115         (FPE_FLTRES): Likewise.
25116         (FPE_FLTINV): Likewise.
25117         (FPE_FLTSUB): Likewise.
25118         (SEGV_MAPERR): Likewise.
25119         (SEGV_ACCERR): Likewise.
25120         (BUS_ADRALN): Likewise.
25121         (BUS_ADRERR): Likewise.
25122         (BUS_OBJERR): Likewise.
25123         (BUS_MCEERR_AR): Likewise.
25124         (BUS_MCEERR_AO): Likewise.
25125         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25126         (TRAP_TRACE): Likewise.
25127         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25128         __USE_XOPEN2K8].
25129         (CLD_KILLED): Likewise.
25130         (CLD_DUMPED): Likewise.
25131         (CLD_TRAPPED): Likewise.
25132         (CLD_STOPPED): Likewise.
25133         (CLD_CONTINUED): Likewise.
25134         (POLL_IN): Likewise.
25135         (POLL_OUT): Likewise.
25136         (POLL_MSG): Likewise.
25137         (POLL_ERR): Likewise.
25138         (POLL_PRI): Likewise.
25139         (POLL_HUP): Likewise.
25140         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25141         (ILL_ILLOPN): Likewise.
25142         (ILL_ILLADR): Likewise.
25143         (ILL_ILLTRP): Likewise.
25144         (ILL_PRVOPC): Likewise.
25145         (ILL_PRVREG): Likewise.
25146         (ILL_COPROC): Likewise.
25147         (ILL_BADSTK): Likewise.
25148         (FPE_INTDIV): Likewise.
25149         (FPE_INTOVF): Likewise.
25150         (FPE_FLTDIV): Likewise.
25151         (FPE_FLTOVF): Likewise.
25152         (FPE_FLTUND): Likewise.
25153         (FPE_FLTRES): Likewise.
25154         (FPE_FLTINV): Likewise.
25155         (FPE_FLTSUB): Likewise.
25156         (SEGV_MAPERR): Likewise.
25157         (SEGV_ACCERR): Likewise.
25158         (BUS_ADRALN): Likewise.
25159         (BUS_ADRERR): Likewise.
25160         (BUS_OBJERR): Likewise.
25161         (BUS_MCEERR_AR): Likewise.
25162         (BUS_MCEERR_AO): Likewise.
25163         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25164         (TRAP_TRACE): Likewise.
25165         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25166         __USE_XOPEN2K8].
25167         (CLD_KILLED): Likewise.
25168         (CLD_DUMPED): Likewise.
25169         (CLD_TRAPPED): Likewise.
25170         (CLD_STOPPED): Likewise.
25171         (CLD_CONTINUED): Likewise.
25172         (POLL_IN): Likewise.
25173         (POLL_OUT): Likewise.
25174         (POLL_MSG): Likewise.
25175         (POLL_ERR): Likewise.
25176         (POLL_PRI): Likewise.
25177         (POLL_HUP): Likewise.
25178         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25179         Likewise.
25180         (ILL_ILLOPN): Likewise.
25181         (ILL_ILLADR): Likewise.
25182         (ILL_ILLTRP): Likewise.
25183         (ILL_PRVOPC): Likewise.
25184         (ILL_PRVREG): Likewise.
25185         (ILL_COPROC): Likewise.
25186         (ILL_BADSTK): Likewise.
25187         (ILL_BADIADDR): Likewise.
25188         (ILL_BREAK): Likewise.
25189         (FPE_INTDIV): Likewise.
25190         (FPE_INTOVF): Likewise.
25191         (FPE_FLTDIV): Likewise.
25192         (FPE_FLTOVF): Likewise.
25193         (FPE_FLTUND): Likewise.
25194         (FPE_FLTRES): Likewise.
25195         (FPE_FLTINV): Likewise.
25196         (FPE_FLTSUB): Likewise.
25197         (FPE_DECOVF): Likewise.
25198         (FPE_DECDIV): Likewise.
25199         (FPE_DECERR): Likewise.
25200         (FPE_INVASC): Likewise.
25201         (FPE_INVDEC): Likewise.
25202         (SEGV_MAPERR): Likewise.
25203         (SEGV_ACCERR): Likewise.
25204         (SEGV_PSTKOVF): Likewise.
25205         (BUS_ADRALN): Likewise.
25206         (BUS_ADRERR): Likewise.
25207         (BUS_OBJERR): Likewise.
25208         (BUS_MCEERR_AR): Likewise.
25209         (BUS_MCEERR_AO): Likewise.
25210         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25211         (TRAP_TRACE): Likewise.
25212         (TRAP_BRANCH): Likewise.
25213         (TRAP_HWBKPT): Likewise.
25214         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25215         __USE_XOPEN2K8].
25216         (CLD_KILLED): Likewise.
25217         (CLD_DUMPED): Likewise.
25218         (CLD_TRAPPED): Likewise.
25219         (CLD_STOPPED): Likewise.
25220         (CLD_CONTINUED): Likewise.
25221         (POLL_IN): Likewise.
25222         (POLL_OUT): Likewise.
25223         (POLL_MSG): Likewise.
25224         (POLL_ERR): Likewise.
25225         (POLL_PRI): Likewise.
25226         (POLL_HUP): Likewise.
25227         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25228         (ILL_ILLOPN): Likewise.
25229         (ILL_ILLADR): Likewise.
25230         (ILL_ILLTRP): Likewise.
25231         (ILL_PRVOPC): Likewise.
25232         (ILL_PRVREG): Likewise.
25233         (ILL_COPROC): Likewise.
25234         (ILL_BADSTK): Likewise.
25235         (FPE_INTDIV): Likewise.
25236         (FPE_INTOVF): Likewise.
25237         (FPE_FLTDIV): Likewise.
25238         (FPE_FLTOVF): Likewise.
25239         (FPE_FLTUND): Likewise.
25240         (FPE_FLTRES): Likewise.
25241         (FPE_FLTINV): Likewise.
25242         (FPE_FLTSUB): Likewise.
25243         (SEGV_MAPERR): Likewise.
25244         (SEGV_ACCERR): Likewise.
25245         (BUS_ADRALN): Likewise.
25246         (BUS_ADRERR): Likewise.
25247         (BUS_OBJERR): Likewise.
25248         (BUS_MCEERR_AR): Likewise.
25249         (BUS_MCEERR_AO): Likewise.
25250         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25251         (TRAP_TRACE): Likewise.
25252         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25253         __USE_XOPEN2K8].
25254         (CLD_KILLED): Likewise.
25255         (CLD_DUMPED): Likewise.
25256         (CLD_TRAPPED): Likewise.
25257         (CLD_STOPPED): Likewise.
25258         (CLD_CONTINUED): Likewise.
25259         (POLL_IN): Likewise.
25260         (POLL_OUT): Likewise.
25261         (POLL_MSG): Likewise.
25262         (POLL_ERR): Likewise.
25263         (POLL_PRI): Likewise.
25264         (POLL_HUP): Likewise.
25265         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25266         (ILL_ILLOPN): Likewise.
25267         (ILL_ILLADR): Likewise.
25268         (ILL_ILLTRP): Likewise.
25269         (ILL_PRVOPC): Likewise.
25270         (ILL_PRVREG): Likewise.
25271         (ILL_COPROC): Likewise.
25272         (ILL_BADSTK): Likewise.
25273         (FPE_INTDIV): Likewise.
25274         (FPE_INTOVF): Likewise.
25275         (FPE_FLTDIV): Likewise.
25276         (FPE_FLTOVF): Likewise.
25277         (FPE_FLTUND): Likewise.
25278         (FPE_FLTRES): Likewise.
25279         (FPE_FLTINV): Likewise.
25280         (FPE_FLTSUB): Likewise.
25281         (SEGV_MAPERR): Likewise.
25282         (SEGV_ACCERR): Likewise.
25283         (BUS_ADRALN): Likewise.
25284         (BUS_ADRERR): Likewise.
25285         (BUS_OBJERR): Likewise.
25286         (BUS_MCEERR_AR): Likewise.
25287         (BUS_MCEERR_AO): Likewise.
25288         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25289         (TRAP_TRACE): Likewise.
25290         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25291         __USE_XOPEN2K8].
25292         (CLD_KILLED): Likewise.
25293         (CLD_DUMPED): Likewise.
25294         (CLD_TRAPPED): Likewise.
25295         (CLD_STOPPED): Likewise.
25296         (CLD_CONTINUED): Likewise.
25297         (POLL_IN): Likewise.
25298         (POLL_OUT): Likewise.
25299         (POLL_MSG): Likewise.
25300         (POLL_ERR): Likewise.
25301         (POLL_PRI): Likewise.
25302         (POLL_HUP): Likewise.
25303         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25304         (ILL_ILLOPN): Likewise.
25305         (ILL_ILLADR): Likewise.
25306         (ILL_ILLTRP): Likewise.
25307         (ILL_PRVOPC): Likewise.
25308         (ILL_PRVREG): Likewise.
25309         (ILL_COPROC): Likewise.
25310         (ILL_BADSTK): Likewise.
25311         (FPE_INTDIV): Likewise.
25312         (FPE_INTOVF): Likewise.
25313         (FPE_FLTDIV): Likewise.
25314         (FPE_FLTOVF): Likewise.
25315         (FPE_FLTUND): Likewise.
25316         (FPE_FLTRES): Likewise.
25317         (FPE_FLTINV): Likewise.
25318         (FPE_FLTSUB): Likewise.
25319         (SEGV_MAPERR): Likewise.
25320         (SEGV_ACCERR): Likewise.
25321         (BUS_ADRALN): Likewise.
25322         (BUS_ADRERR): Likewise.
25323         (BUS_OBJERR): Likewise.
25324         (BUS_MCEERR_AR): Likewise.
25325         (BUS_MCEERR_AO): Likewise.
25326         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25327         (TRAP_TRACE): Likewise.
25328         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25329         __USE_XOPEN2K8].
25330         (CLD_KILLED): Likewise.
25331         (CLD_DUMPED): Likewise.
25332         (CLD_TRAPPED): Likewise.
25333         (CLD_STOPPED): Likewise.
25334         (CLD_CONTINUED): Likewise.
25335         (POLL_IN): Likewise.
25336         (POLL_OUT): Likewise.
25337         (POLL_MSG): Likewise.
25338         (POLL_ERR): Likewise.
25339         (POLL_PRI): Likewise.
25340         (POLL_HUP): Likewise.
25341         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25342         (ILL_ILLOPN): Likewise.
25343         (ILL_ILLADR): Likewise.
25344         (ILL_ILLTRP): Likewise.
25345         (ILL_PRVOPC): Likewise.
25346         (ILL_PRVREG): Likewise.
25347         (ILL_COPROC): Likewise.
25348         (ILL_BADSTK): Likewise.
25349         (ILL_DBLFLT): Likewise.
25350         (ILL_HARDWALL): Likewise.
25351         (FPE_INTDIV): Likewise.
25352         (FPE_INTOVF): Likewise.
25353         (FPE_FLTDIV): Likewise.
25354         (FPE_FLTOVF): Likewise.
25355         (FPE_FLTUND): Likewise.
25356         (FPE_FLTRES): Likewise.
25357         (FPE_FLTINV): Likewise.
25358         (FPE_FLTSUB): Likewise.
25359         (SEGV_MAPERR): Likewise.
25360         (SEGV_ACCERR): Likewise.
25361         (BUS_ADRALN): Likewise.
25362         (BUS_ADRERR): Likewise.
25363         (BUS_OBJERR): Likewise.
25364         (BUS_MCEERR_AR): Likewise.
25365         (BUS_MCEERR_AO): Likewise.
25366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25367         (TRAP_TRACE): Likewise.
25368         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25369         __USE_XOPEN2K8].
25370         (CLD_KILLED): Likewise.
25371         (CLD_DUMPED): Likewise.
25372         (CLD_TRAPPED): Likewise.
25373         (CLD_STOPPED): Likewise.
25374         (CLD_CONTINUED): Likewise.
25375         (POLL_IN): Likewise.
25376         (POLL_OUT): Likewise.
25377         (POLL_MSG): Likewise.
25378         (POLL_ERR): Likewise.
25379         (POLL_PRI): Likewise.
25380         (POLL_HUP): Likewise.
25381         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25382         (ILL_ILLOPN): Likewise.
25383         (ILL_ILLADR): Likewise.
25384         (ILL_ILLTRP): Likewise.
25385         (ILL_PRVOPC): Likewise.
25386         (ILL_PRVREG): Likewise.
25387         (ILL_COPROC): Likewise.
25388         (ILL_BADSTK): Likewise.
25389         (FPE_INTDIV): Likewise.
25390         (FPE_INTOVF): Likewise.
25391         (FPE_FLTDIV): Likewise.
25392         (FPE_FLTOVF): Likewise.
25393         (FPE_FLTUND): Likewise.
25394         (FPE_FLTRES): Likewise.
25395         (FPE_FLTINV): Likewise.
25396         (FPE_FLTSUB): Likewise.
25397         (SEGV_MAPERR): Likewise.
25398         (SEGV_ACCERR): Likewise.
25399         (BUS_ADRALN): Likewise.
25400         (BUS_ADRERR): Likewise.
25401         (BUS_OBJERR): Likewise.
25402         (BUS_MCEERR_AR): Likewise.
25403         (BUS_MCEERR_AO): Likewise.
25404         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25405         (TRAP_TRACE): Likewise.
25406         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25407         __USE_XOPEN2K8].
25408         (CLD_KILLED): Likewise.
25409         (CLD_DUMPED): Likewise.
25410         (CLD_TRAPPED): Likewise.
25411         (CLD_STOPPED): Likewise.
25412         (CLD_CONTINUED): Likewise.
25413         (POLL_IN): Likewise.
25414         (POLL_OUT): Likewise.
25415         (POLL_MSG): Likewise.
25416         (POLL_ERR): Likewise.
25417         (POLL_PRI): Likewise.
25418         (POLL_HUP): Likewise.
25419         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25420         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25422         [BZ #16670]
25423         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25424         before #include of <time.h>.
25425         [!__USE_XOPEN2K] (__need_timespec): Likewise.
25426         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25427         (test-xfail-UNIX98/sched.h/conform): Likewise.
25429 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25431         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25432         error absence of trapping exception support.
25433         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25435 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25437         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25438         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25439         * timezone/Makefile (testdata): Move definition above include of
25440         Rules.
25441         (test-zones): New variable.
25442         (tests-special): Add zone files.
25443         (build-testdata): Use $(evaluate-test).
25445         * elf/Makefile (tests-special): Rename tests to end with .out.
25446         ($(objpfx)noload-mem): Likewise.
25447         ($(objpfx)tst-leaks1-mem): Likewise.
25448         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25449         * iconv/Makefile (xtests-special): Change test-iconvconfig to
25450         $(objpfx)test-iconvconfig.out.
25451         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
25452         set -e inside subshell and redirect output to file.
25453         * iconvdata/Makefile (generated): Rename tests to end with .out.
25454         Correct type.
25455         (tests-special): Rename tests to end with .out.
25456         ($(objpfx)mtrace-tst-loading): Likewise.
25457         * intl/Makefile (generated): Likewise.
25458         (tests-special): Likewise.
25459         ($(objpfx)mtrace-tst-gettext): Likewise.
25460         * misc/Makefile (generated): Likewise.
25461         (tests-special): Likewise.
25462         ($(objpfx)tst-error1-mem): Likewise.
25463         * nptl/Makefile (tests-special): Likewise.
25464         ($(objpfx)tst-stack3-mem): Likewise.
25465         (generated): Likewise.
25466         * posix/Makefile (generated): Likewise.
25467         (tests-special): Likewise.
25468         (xtests-special): Likewise.
25469         ($(objpfx)tst-fnmatch-mem): Likewise.
25470         ($(objpfx)bug-regex2-mem): Likewise.
25471         ($(objpfx)bug-regex14-mem): Likewise.
25472         ($(objpfx)bug-regex21-mem): Likewise.
25473         ($(objpfx)bug-regex31-mem): Likewise.
25474         ($(objpfx)tst-vfork3-mem): Likewise.
25475         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25476         ($(objpfx)tst-pcre-mem): Likewise.
25477         ($(objpfx)tst-boost-mem): Likewise.
25478         ($(objpfx)bug-ga2-mem): Likewise.
25479         ($(objpfx)bug-glob2-mem): Likewise.
25480         * resolv/Makefile (generate): Likewise.
25481         (tests-special): Likewise.
25482         (xtests-special): Likewise.
25483         (generated): Likewise.
25484         ($(objpfx)mtrace-tst-leaks): Likewise.
25485         ($(objpfx)mtrace-tst-leaks2): Likewise.
25487         * scripts/merge-test-results.sh: New file.
25488         * Makefile (tests-special-notdir): New variable.
25489         (tests): Run merge-test-results.sh.
25490         (xtests): Likewise.
25491         * Rules (tests-special-notdir): New variable.
25492         (xtests-special-notdir): Likewise.
25493         (tests): Run merge-test-results.sh
25494         (xtests): Likewise.
25496         * Makeconfig (test-xfail-name): New variable.
25497         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25498         compute variable name for expected failures.
25499         * conform/Makefile (conformtest-headers-data): New variable.
25500         (conformtest-standards): Likewise.
25501         (conformtest-headers-ISO): Likewise.
25502         (conformtest-headers-ISO99): Likewise.
25503         (conformtest-headers-ISO11): Likewise.
25504         (conformtest-headers-POSIX): Likewise.
25505         (conformtest-headers-XPG3): Likewise.
25506         (conformtest-headers-XPG4): Likewise.
25507         (conformtest-headers-UNIX98): Likewise.
25508         (conformtest-headers-XOPEN2K): Likewise.
25509         (conformtest-headers-POSIX2008): Likewise.
25510         (conformtest-headers-XOPEN2K8): Likewise.
25511         (conformtest-header-list-base): Likewise.
25512         (conformtest-header-list-tests): Likewise.
25513         (conformtest-header-base): Likewise.
25514         (conformtest-header-tests): Likewise.
25515         (tests-special): Add $(conformtest-header-list-tests).  If
25516         [$(fast-check) && !$(cross-compiling)], add
25517         $(conformtest-header-tests) instead of
25518         $(objpfx)run-conformtest.out.
25519         (generated): Add $(conformtest-header-list-base).  If
25520         [$(fast-check) && !$(cross-compiling)], add
25521         $(conformtest-header-base).  Remove previous setting.
25522         ($(conformtest-header-list-tests)): New target.
25523         (test-xfail-run-conformtest): Remove variable.
25524         ($(objpfx)run-conformtest.out): Remove target.
25525         (test-xfail-ISO11/complex.h/conform): New variable.
25526         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25527         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25528         (test-xfail-XPG3/varargs.h/conform): Likewise.
25529         (test-xfail-XPG4/varargs.h/conform): Likewise.
25530         (test-xfail-UNIX98/varargs.h/conform): Likewise.
25531         (test-xfail-XPG4/ndbm.h/conform): Likewise.
25532         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25533         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25534         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25535         (test-xfail-XPG3/fcntl.h/conform): Likewise.
25536         (test-xfail-XPG3/ftw.h/conform): Likewise.
25537         (test-xfail-XPG3/grp.h/conform): Likewise.
25538         (test-xfail-XPG3/langinfo.h/conform): Likewise.
25539         (test-xfail-XPG3/limits.h/conform): Likewise.
25540         (test-xfail-XPG3/pwd.h/conform): Likewise.
25541         (test-xfail-XPG3/search.h/conform): Likewise.
25542         (test-xfail-XPG3/signal.h/conform): Likewise.
25543         (test-xfail-XPG3/stdio.h/conform): Likewise.
25544         (test-xfail-XPG3/stdlib.h/conform): Likewise.
25545         (test-xfail-XPG3/string.h/conform): Likewise.
25546         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25547         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25548         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25549         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25550         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25551         (test-xfail-XPG3/sys/types.h/conform): Likewise.
25552         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25553         (test-xfail-XPG3/termios.h/conform): Likewise.
25554         (test-xfail-XPG3/time.h/conform): Likewise.
25555         (test-xfail-XPG3/unistd.h/conform): Likewise.
25556         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25557         (test-xfail-XPG4/fcntl.h/conform): Likewise.
25558         (test-xfail-XPG4/langinfo.h/conform): Likewise.
25559         (test-xfail-XPG4/netdb.h/conform): Likewise.
25560         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25561         (test-xfail-XPG4/signal.h/conform): Likewise.
25562         (test-xfail-XPG4/stdio.h/conform): Likewise.
25563         (test-xfail-XPG4/stdlib.h/conform): Likewise.
25564         (test-xfail-XPG4/stropts.h/conform): Likewise.
25565         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25566         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25567         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25568         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25569         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25570         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25571         (test-xfail-XPG4/sys/time.h/conform): Likewise.
25572         (test-xfail-XPG4/sys/types.h/conform): Likewise.
25573         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25574         (test-xfail-XPG4/termios.h/conform): Likewise.
25575         (test-xfail-XPG4/ucontext.h/conform): Likewise.
25576         (test-xfail-XPG4/unistd.h/conform): Likewise.
25577         (test-xfail-XPG4/utmpx.h/conform): Likewise.
25578         (test-xfail-POSIX/sched.h/conform): Likewise.
25579         (test-xfail-POSIX/signal.h/conform): Likewise.
25580         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25581         (test-xfail-POSIX/tar.h/conform): Likewise.
25582         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25583         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25584         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25585         (test-xfail-UNIX98/netdb.h/conform): Likewise.
25586         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25587         (test-xfail-UNIX98/sched.h/conform): Likewise.
25588         (test-xfail-UNIX98/signal.h/conform): Likewise.
25589         (test-xfail-UNIX98/stdio.h/conform): Likewise.
25590         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25591         (test-xfail-UNIX98/stropts.h/conform): Likewise.
25592         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25593         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25594         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25595         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25596         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25597         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25598         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25599         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25600         (test-xfail-UNIX98/unistd.h/conform): Likewise.
25601         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25602         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25603         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25604         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25605         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25606         (test-xfail-XOPEN2K/math.h/conform): Likewise.
25607         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25608         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25609         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25610         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25611         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25612         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25613         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25614         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25615         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25616         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25617         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25618         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25619         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25620         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25621         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25622         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25623         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25624         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25625         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25626         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25627         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25628         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25629         (test-xfail-POSIX2008/signal.h/conform): Likewise.
25630         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25631         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25632         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25633         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25634         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25635         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25636         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25637         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25638         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25639         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25640         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25641         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25642         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25643         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25644         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25645         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25646         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25647         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25648         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25649         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25650         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25651         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25652         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25653         (conformtest-cc-flags): Likewise.
25654         ($(conformtest-header-tests): New target.
25655         * conform/check-header-lists.sh: New file.
25656         * conform/run-conformtest.sh: Remove.
25658         * conform/conformtest.pl: Allow ' and \ in values given for
25659         constants.
25660         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25661         inclusion.
25662         [POSIX] (sys/types.h): Likewise.
25663         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25664         inclusion.
25665         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25666         inclusion.
25667         * conform/data/signal.h-data (SIGIO): Remove expectation.
25668         [XPG3] (SIGBUS): Do not expect.
25669         [POSIX || XPG3] (SIGPOLL): Likewise.
25670         [POSIX || XPG3] (SIGPROF): Likewise.
25671         [POSIX || XPG3] (SIGSYS): Likewise.
25672         [XPG3] (SIGTRAP): Likewise.
25673         [POSIX || XPG3] (SIGURG): Likewise.
25674         [POSIX || XPG3] (SIGVTALRM): Likewise.
25675         [POSIX || XPG3] (SIGXCPU): Likewise.
25676         [POSIX || XPG3] (SIGXFSZ): Likewise.
25677         [POSIX] (SA_SIGINFO): Expect.
25678         [XPG3] (siginfo_t): Do not expect type or contents.
25679         [POSIX] (si_pid): Do not expect element.
25680         [POSIX] (si_uid): Likewise.
25681         [POSIX] (si_addr): Likewise.
25682         [POSIX] (si_status): Likewise.
25683         [POSIX] (si_band): Likewise.
25684         [XPG4] (si_value): Likewise.
25685         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25686         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25687         [POSIX || XPG3] (ILL_ILLADR): Likewise.
25688         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25689         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25690         [POSIX || XPG3] (ILL_PRVREG): Likewise.
25691         [POSIX || XPG3] (ILL_COPROC): Likewise.
25692         [POSIX || XPG3] (ILL_BADSTK): Likewise.
25693         [POSIX || XPG3] (FPE_INTDIV): Likewise.
25694         [POSIX || XPG3] (FPE_INTOVF): Likewise.
25695         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25696         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25697         [POSIX || XPG3] (FPE_FLTUND): Likewise.
25698         [POSIX || XPG3] (FPE_FLTRES): Likewise.
25699         [POSIX || XPG3] (FPE_FLTINV): Likewise.
25700         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25701         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25702         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25703         [POSIX || XPG3] (BUS_ADRALN): Likewise.
25704         [POSIX || XPG3] (BUS_ADRERR): Likewise.
25705         [POSIX || XPG3] (BUS_OBJERR): Likewise.
25706         [POSIX || XPG3] (CLD_EXITED): Likewise.
25707         [POSIX || XPG3] (CLD_KILLED): Likewise.
25708         [POSIX || XPG3] (CLD_DUMPED): Likewise.
25709         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25710         [POSIX || XPG3] (CLD_STOPPED): Likewise.
25711         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25712         [POSIX || XPG3] (POLL_IN): Likewise.
25713         [POSIX || XPG3] (POLL_OUT): Likewise.
25714         [POSIX || XPG3] (POLL_MSG): Likewise.
25715         [POSIX || XPG3] (POLL_ERR): Likewise.
25716         [POSIX || XPG3] (POLL_PRI): Likewise.
25717         [POSIX || XPG3] (POLL_HUP): Likewise.
25718         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25719         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25720         (SIG*): Do not allow.
25721         [XPG3] (si_*): Likewise.
25722         [XPG3] (SI_*): Likewise.
25723         [XPG3 || XPG4] (sigev_*): Likewise.
25724         [XPG3 || XPG4] (SIGEV_*): Likewise.
25725         [XPG3 || XPG4] (sival_*): Likewise.
25726         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25727         [POSIX || XPG3] (BUS_*): Likewise.
25728         [POSIX || XPG3] (CLD_*): Likewise.
25729         [POSIX || XPG3] (FPE_*): Likewise.
25730         [POSIX || XPG3] (ILL_*): Likewise.
25731         [POSIX || XPG3] (POLL_*): Likewise.
25732         [POSIX || XPG3] (SEGV_*): Likewise.
25733         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25734         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25735         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25736         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25737         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25738         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25739         Specify type and value.
25740         (TVERSLEN): Likewise.
25741         (REGTYPE): Likewise.
25742         (AREGTYPE): Likewise.
25743         (LNKTYPE): Likewise.
25744         (SYMTYPE): Likewise.
25745         (CHRTYPE): Likewise.
25746         (BLKTYPE): Likewise.
25747         (DIRTYPE): Likewise.
25748         (FIFOTYPE): Likewise.
25749         (CONTTYPE): Likewise.
25750         (TSUID): Likewise.
25751         (TSGID): Likewise.
25752         (TSVTX): Likewise.
25753         (TUREAD): Likewise.
25754         (TUWRITE): Likewise.
25755         (TUEXEC): Likewise.
25756         (TGREAD): Likewise.
25757         (TGWRITE): Likewise.
25758         (TGEXEC): Likewise.
25759         (TOREAD): Likewise.
25760         (TOWRITE): Likewise.
25761         (TOEXEC): Likewise.
25762         [POSIX] (TSVTX): Expect constant.
25764 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
25766         * Makefile (tests): Change dependencies to ....
25767         (tests-special): ... additions to this variable.
25768         (tests): Depend on $(tests-special).
25769         * Makerules (check-abi-list): New variable.
25770         (check-abi): Depend on $(check-abi-list).
25771         [$(subdir) = elf] (tests-special): Add
25772         $(objpfx)check-abi-libc.out.
25773         [$(build-shared) = yes && subdir] (tests-special): Add
25774         $(check-abi-list).
25775         [$(build-shared) = yes && subdir] (tests): Do not depend on
25776         check-abi.
25777         * Rules (tests): Depend on $(tests-special).
25778         (xtests): Depend on $(xtests-special).
25779         * catgets/Makefile (tests): Change dependencies to ....
25780         (tests-special): ... additions to this variable.
25781         * conform/Makefile (tests): Change dependencies to ....
25782         (tests-special): ... additions to this variable.
25783         * elf/Makefile (tests): Change dependencies to ....
25784         (tests-special): ... additions to this variable.
25785         * grp/Makefile (tests): Change dependencies to ....
25786         (tests-special): ... additions to this variable.
25787         * iconv/Makefile (xtests): Change dependencies to ....
25788         (xtests-special): ... additions to this variable.
25789         * iconvdata/Makefile (tests): Change dependencies to ....
25790         (tests-special): ... additions to this variable.
25791         * intl/Makefile (tests): Change dependencies to ....
25792         (tests-special): ... additions to this variable.  Also add
25793         $(objpfx)tst-gettext.out.
25794         * io/Makefile (tests): Change dependencies to ....
25795         (tests-special): ... additions to this variable.
25796         * libio/Makefile (tests): Change dependencies to ....
25797         (tests-special): ... additions to this variable.
25798         * malloc/Makefile (tests): Change dependencies to ....
25799         (tests-special): ... additions to this variable.
25800         * misc/Makefile (tests): Change dependencies to ....
25801         (tests-special): ... additions to this variable.
25802         * nptl/Makefile (tests): Change dependencies to ....
25803         (tests-special): ... additions to this variable.
25804         * nptl_db/Makefile (tests): Change dependencies to ....
25805         (tests-special): ... additions to this variable.
25806         * posix/Makefile (tests): Change dependencies to ....
25807         (tests-special): ... additions to this variable.
25808         (xtests): Change dependencies to ....
25809         (xtests-special): ... additions to this variable.
25810         * resolv/Makefile (tests): Change dependencies to ....
25811         (tests-special): ... additions to this variable.
25812         (xtests): Change dependencies to ....
25813         (xtests-special): ... additions to this variable.
25814         * stdio-common/Makefile (tests): Change dependencies to ....
25815         (tests-special): ... additions to this variable.
25816         (do-tst-unbputc): Remove target.
25817         (do-tst-printf): Likewise.
25818         * stdlib/Makefile (tests): Change dependencies to ....
25819         (tests-special): ... additions to this variable.
25820         * string/Makefile (tests): Change dependencies to ....
25821         (tests-special): ... additions to this variable.
25822         * sysdeps/x86/Makefile (tests): Change dependencies to ....
25823         (tests-special): ... additions to this variable.
25825         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25826         whole file.
25827         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25828         whole file.
25829         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25830         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25832         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25833         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25834         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25835         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25836         * conform/data/libgen.h-data [XPG3]: Likewise.
25837         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25838         * conform/data/ndbm.h-data [XPG3]: Likewise.
25839         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25840         * conform/data/netdb.h-data [XPG3]: Likewise.
25841         * conform/data/netinet/in.h-data [XPG3]: Likewise.
25842         * conform/data/poll.h-data [XPG3]: Likewise.
25843         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25844         * conform/data/strings.h-data [XPG3]: Likewise.
25845         * conform/data/stropts.h-data [XPG3]: Likewise.
25846         * conform/data/sys/mman.h-data [XPG3]: Likewise.
25847         * conform/data/sys/resource.h-data [XPG3]: Likewise.
25848         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25849         Likewise.
25850         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25851         * conform/data/sys/time.h-data [XPG3]: Likewise.
25852         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25853         * conform/data/sys/uio.h-data [XPG3]: Likewise.
25854         * conform/data/sys/un.h-data [XPG3]: Likewise.
25855         * conform/data/syslog.h-data [XPG3]: Likewise.
25856         * conform/data/ucontext.h-data [XPG3]: Likewise.
25857         * conform/data/utmpx.h-data [XPG3]: Likewise.
25858         * conform/data/varargs.h-data [UNIX98]: Enable file.
25860         * manual/Makefile (INSTALL_INFO): Remove variable setting.
25862         * math/libm-test.inc (struct test_f_f_data): Move expected results
25863         into structure for each rounding mode.
25864         (struct test_ff_f_data): Likewise.
25865         (struct test_ff_f_data_nexttoward): Likewise.
25866         (struct test_fi_f_data): Likewise.
25867         (struct test_fl_f_data): Likewise.
25868         (struct test_if_f_data): Likewise.
25869         (struct test_fff_f_data): Likewise.
25870         (struct test_c_f_data): Likewise.
25871         (struct test_f_f1_data): Likewise.
25872         (struct test_fF_f1_data): Likewise.
25873         (struct test_ffI_f1_data): Likewise.
25874         (struct test_c_c_data): Likewise.
25875         (struct test_cc_c_data): Likewise.
25876         (struct test_f_i_data): Likewise.
25877         (struct test_ff_i_data): Likewise.
25878         (struct test_f_l_data): Likewise.
25879         (struct test_f_L_data): Likewise.
25880         (struct test_fFF_11_data): Likewise.
25881         (RM_): New macro.
25882         (RM_FE_DOWNWARD): Likewise.
25883         (RM_FE_TONEAREST): Likewise.
25884         (RM_FE_TOWARDZERO): Likewise.
25885         (RM_FE_UPWARD): Likewise.
25886         (RUN_TEST_LOOP_f_f): Update references to expected results.
25887         (RUN_TEST_LOOP_2_f): Likewise.
25888         (RUN_TEST_LOOP_fff_f): Likewise.
25889         (RUN_TEST_LOOP_c_f): Likewise.
25890         (RUN_TEST_LOOP_f_f1): Likewise.
25891         (RUN_TEST_LOOP_fF_f1): Likewise.
25892         (RUN_TEST_LOOP_fI_f1): Likewise.
25893         (RUN_TEST_LOOP_ffI_f1): Likewise.
25894         (RUN_TEST_LOOP_c_c): Likewise.
25895         (RUN_TEST_LOOP_cc_c): Likewise.
25896         (RUN_TEST_LOOP_f_i): Likewise.
25897         (RUN_TEST_LOOP_f_i_tg): Likewise.
25898         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25899         (RUN_TEST_LOOP_f_b): Likewise.
25900         (RUN_TEST_LOOP_f_b_tg): Likewise.
25901         (RUN_TEST_LOOP_f_l): Likewise.
25902         (RUN_TEST_LOOP_f_L): Likewise.
25903         (RUN_TEST_LOOP_fFF_11): Likewise.
25904         * math/gen-libm-test.pl (parse_args): Output four copies of
25905         expected results for each test.
25907         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25908         (__ASSUME_UTIMES): Remove.
25909         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25910         (__ASSUME_UTIMES): Likewise.
25912         * math/gen-auto-libm-tests.c: Update comment on output format.
25913         (output_for_one_input_case): Generate before-rounding and
25914         after-rounding information as conditions on output flags not
25915         floating-point format.
25916         * math/auto-libm-test-out: Regenerated.
25917         * math/gen-libm-test.pl (cond_value): New function.
25918         (or_cond_value): Use cond_value.
25919         (generate_testfile): Handle conditional exceptions.
25921 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
25923         * math/libm-test.inc (max_valid_error): New variable.
25924         (init_max_error): Take new argument specifying whether function
25925         results are exactly determined.  Set max_valid_error and bound
25926         other variables for errors based on this argument.
25927         (set_max_error): Do not record results above max_valid_error.
25928         (check_float_internal): Only accept errors of up to 0.5ulps if
25929         also at most max_valid_error.
25930         (START): Take new argument EXACT and pass it to init_max_error.
25931         (acos_test): Update call to START.
25932         (acos_test_tonearest): Likewise.
25933         (acos_test_towardzero): Likewise.
25934         (acos_test_downward): Likewise.
25935         (acos_test_upward): Likewise.
25936         (acosh_test): Likewise.
25937         (asin_test): Likewise.
25938         (asin_test_tonearest): Likewise.
25939         (asin_test_towardzero): Likewise.
25940         (asin_test_downward): Likewise.
25941         (asin_test_upward): Likewise.
25942         (asinh_test): Likewise.
25943         (atan_test): Likewise.
25944         (atanh_test): Likewise.
25945         (atan2_test): Likewise.
25946         (cabs_test): Likewise.
25947         (cacos_test): Likewise.
25948         (cacosh_test): Likewise.
25949         (carg_test): Likewise.
25950         (casin_test): Likewise.
25951         (casinh_test): Likewise.
25952         (catan_test): Likewise.
25953         (catanh_test): Likewise.
25954         (cbrt_test): Likewise.
25955         (ccos_test): Likewise.
25956         (ccosh_test): Likewise.
25957         (ceil_test): Likewise.
25958         (cexp_test): Likewise.
25959         (cimag_test): Likewise.
25960         (clog_test): Likewise.
25961         (clog10_test): Likewise.
25962         (conj_test): Likewise.
25963         (copysign_test): Likewise.
25964         (cos_test): Likewise.
25965         (cos_test_tonearest): Likewise.
25966         (cos_test_towardzero): Likewise.
25967         (cos_test_downward): Likewise.
25968         (cos_test_upward): Likewise.
25969         (cosh_test): Likewise.
25970         (cosh_test_tonearest): Likewise.
25971         (cosh_test_towardzero): Likewise.
25972         (cosh_test_downward): Likewise.
25973         (cosh_test_upward): Likewise.
25974         (cpow_test): Likewise.
25975         (cproj_test): Likewise.
25976         (creal_test): Likewise.
25977         (csin_test): Likewise.
25978         (csinh_test): Likewise.
25979         (csqrt_test): Likewise.
25980         (ctan_test): Likewise.
25981         (ctan_test_tonearest): Likewise.
25982         (ctan_test_towardzero): Likewise.
25983         (ctan_test_downward): Likewise.
25984         (ctan_test_upward): Likewise.
25985         (ctanh_test): Likewise.
25986         (ctanh_test_tonearest): Likewise.
25987         (ctanh_test_towardzero): Likewise.
25988         (ctanh_test_downward): Likewise.
25989         (ctanh_test_upward): Likewise.
25990         (erf_test): Likewise.
25991         (erfc_test): Likewise.
25992         (exp_test): Likewise.
25993         (exp_test_tonearest): Likewise.
25994         (exp_test_towardzero): Likewise.
25995         (exp_test_downward): Likewise.
25996         (exp_test_upward): Likewise.
25997         (exp10_test): Likewise.
25998         (exp10_test_tonearest): Likewise.
25999         (exp10_test_towardzero): Likewise.
26000         (exp10_test_downward): Likewise.
26001         (exp10_test_upward): Likewise.
26002         (pow10_test): Likewise.
26003         (exp2_test): Likewise.
26004         (expm1_test): Likewise.
26005         (expm1_test_tonearest): Likewise.
26006         (expm1_test_towardzero): Likewise.
26007         (expm1_test_downward): Likewise.
26008         (expm1_test_upward): Likewise.
26009         (fabs_test): Likewise.
26010         (fdim_test): Likewise.
26011         (floor_test): Likewise.
26012         (fma_test): Likewise.
26013         (fma_test_towardzero): Likewise.
26014         (fma_test_downward): Likewise.
26015         (fma_test_upward): Likewise.
26016         (fmax_test): Likewise.
26017         (fmin_test): Likewise.
26018         (fmod_test): Likewise.
26019         (fpclassify_test): Likewise.
26020         (frexp_test): Likewise.
26021         (hypot_test): Likewise.
26022         (ilogb_test): Likewise.
26023         (isfinite_test): Likewise.
26024         (finite_test): Likewise.
26025         (isgreater_test): Likewise.
26026         (isgreaterequal_test): Likewise.
26027         (isinf_test): Likewise.
26028         (isless_test): Likewise.
26029         (islessequal_test): Likewise.
26030         (islessgreater_test): Likewise.
26031         (isnan_test): Likewise.
26032         (isnormal_test): Likewise.
26033         (issignaling_test): Likewise.
26034         (isunordered_test): Likewise.
26035         (j0_test): Likewise.
26036         (j1_test): Likewise.
26037         (jn_test): Likewise.
26038         (ldexp_test): Likewise.
26039         (lgamma_test): Likewise.
26040         (gamma_test): Likewise.
26041         (lrint_test): Likewise.
26042         (lrint_test_tonearest): Likewise.
26043         (lrint_test_towardzero): Likewise.
26044         (lrint_test_downward): Likewise.
26045         (lrint_test_upward): Likewise.
26046         (llrint_test): Likewise.
26047         (llrint_test_tonearest): Likewise.
26048         (llrint_test_towardzero): Likewise.
26049         (llrint_test_downward): Likewise.
26050         (llrint_test_upward): Likewise.
26051         (log_test): Likewise.
26052         (log10_test): Likewise.
26053         (log1p_test): Likewise.
26054         (log2_test): Likewise.
26055         (logb_test): Likewise.
26056         (logb_test_downward): Likewise.
26057         (lround_test): Likewise.
26058         (llround_test): Likewise.
26059         (modf_test): Likewise.
26060         (nearbyint_test): Likewise.
26061         (nextafter_test): Likewise.
26062         (nexttoward_test): Likewise.
26063         (pow_test): Likewise.
26064         (pow_test_tonearest): Likewise.
26065         (pow_test_towardzero): Likewise.
26066         (pow_test_downward): Likewise.
26067         (pow_test_upward): Likewise.
26068         (remainder_test): Likewise.
26069         (drem_test): Likewise.
26070         (remainder_test_tonearest): Likewise.
26071         (drem_test_tonearest): Likewise.
26072         (remainder_test_towardzero): Likewise.
26073         (drem_test_towardzero): Likewise.
26074         (remainder_test_downward): Likewise.
26075         (drem_test_downward): Likewise.
26076         (remainder_test_upward): Likewise.
26077         (drem_test_upward): Likewise.
26078         (remquo_test): Likewise.
26079         (rint_test): Likewise.
26080         (rint_test_tonearest): Likewise.
26081         (rint_test_towardzero): Likewise.
26082         (rint_test_downward): Likewise.
26083         (rint_test_upward): Likewise.
26084         (round_test): Likewise.
26085         (scalb_test): Likewise.
26086         (scalbn_test): Likewise.
26087         (scalbln_test): Likewise.
26088         (signbit_test): Likewise.
26089         (sin_test): Likewise.
26090         (sin_test_tonearest): Likewise.
26091         (sin_test_towardzero): Likewise.
26092         (sin_test_downward): Likewise.
26093         (sin_test_upward): Likewise.
26094         (sincos_test): Likewise.
26095         (sinh_test): Likewise.
26096         (sinh_test_tonearest): Likewise.
26097         (sinh_test_towardzero): Likewise.
26098         (sinh_test_downward): Likewise.
26099         (sinh_test_upward): Likewise.
26100         (sqrt_test): Likewise.
26101         (sqrt_test_tonearest): Likewise.
26102         (sqrt_test_towardzero): Likewise.
26103         (sqrt_test_downward): Likewise.
26104         (sqrt_test_upward): Likewise.
26105         (tan_test): Likewise.
26106         (tan_test_tonearest): Likewise.
26107         (tan_test_towardzero): Likewise.
26108         (tan_test_downward): Likewise.
26109         (tan_test_upward): Likewise.
26110         (tanh_test): Likewise.
26111         (tgamma_test): Likewise.
26112         (trunc_test): Likewise.
26113         (y0_test): Likewise.
26114         (y1_test): Likewise.
26115         (yn_test): Likewise.
26116         (significand_test): Likewise.
26118         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
26119         individual tests in comment.
26120         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
26121         (prev_max_error): New variable.
26122         (prev_real_max_error): Likewise.
26123         (prev_imag_max_error): Likewise.
26124         (compare_ulp_data): Don't refer to test names in comment.
26125         (find_test_ulps): Remove function.
26126         (find_function_ulps): Likewise.
26127         (find_complex_function_ulps): Likewise.
26128         (init_max_error): Take function name as argument.  Look up ulps
26129         for that function.
26130         (print_ulps): Remove function.
26131         (print_max_error): Use prev_max_error instead of calling
26132         find_function_ulps.
26133         (print_complex_max_error): Use prev_real_max_error and
26134         prev_imag_max_error instead of calling find_complex_function_ulps.
26135         (check_float_internal): Take max_ulp parameter instead of calling
26136         find_test_ulps.  Don't call print_ulps.
26137         (check_float): Update call to check_float_internal.
26138         (check_complex): Update calls to check_float_internal.
26139         (START): Pass argument to init_max_error.
26140         * math/gen-libm-test.pl (%results): Don't include "kind"
26141         information.
26142         (parse_ulps): Don't handle ulps of individual tests.
26143         (print_ulps_file): Likewise.
26144         (output_ulps): Likewise.
26145         * math/README.libm-test: Update.
26146         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26147         individual tests.
26148         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26149         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26150         * sysdeps/arm/libm-test-ulps: Likewise.
26151         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26152         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26153         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26154         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26155         * sysdeps/microblaze/libm-test-ulps: Likewise.
26156         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26157         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26158         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26159         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26160         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26161         * sysdeps/sh/libm-test-ulps: Likewise.
26162         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26163         * sysdeps/tile/libm-test-ulps: Likewise.
26164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26166 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
26168         * math/libm-test.inc (print_complex_max_error): Check separately
26169         whether real and imaginary errors are within allowed range and
26170         pass 0 to print_complex_function_ulps instead of value within
26171         allowed range.
26173 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26175         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26176         formatting.
26177         (get_handles_fopen): Likewise.
26178         (do_write_test): Likewise.
26180         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26182         * libio/fileops.c (do_ftell): Use cached offset when
26183         available.
26184         * libio/iofwide.c (do_ftell_wide): Likewise.
26185         * libio/iofdopen.c (_IO_new_fdopen): Don't use
26186         _IO_file_attach.
26187         * libio/wfileops.c (_IO_fwide): Don't cache offset.
26189         [BZ #16532]
26190         * libio/libioP.h (get_file_offset): New function.
26191         * libio/fileops.c (get_file_offset): Likewise.
26192         (do_ftell): Likewise.
26193         (_IO_new_file_seekoff): Split out ftell logic.
26194         * libio/wfileops.c (do_ftell_wide): Likewise.
26195         (_IO_wfile_seekoff): Split out ftell logic.
26196         * libio/tst-ftell-active-handler.c: New test case.
26197         * libio/Makefile (tests): Add it.
26199 2014-03-03  Roland McGrath  <roland@hack.frob.com>
26201         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26202         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26204 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26206         [BZ #16639]
26207         * nscd/connections.c (nscd_init): Call do_exit.
26208         (start_threads): Call do_exit and notify_parent.
26209         (begin_drop_privileges): Call do_exit.
26210         (finish_drop_privileges): Likewise.
26211         * nscd/selinux.c (preserve_capabilities): Likewise.
26212         (install_real_capabilities): Likewise.
26213         (nscd_selinux_enabled): Likewise.
26214         (avc_create_thread): Likewise.
26215         (avc_alloc_lock): Likewise.
26216         (nscd_avc_init): Likewise.
26217         * nscd/nscd.c (parent_fd): New static variable.
26218         (main): Create a pipe between parent and child processes.
26219         Skip closing parent_fd.
26220         (monitor_child): New function.
26221         (do_exit): Likewise.
26222         (notify_parent): Likewise.
26223         * nscd/nscd.h (notify_parent): Likewise.
26224         (do_exit): Likewise.
26226 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
26228         * malloc/malloc.c (__libc_calloc): Revert last change.
26230 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26234 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26236         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26238         implementation.
26239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26240         (__libc_ifunc_impl_list): Likewise.
26241         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26242         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26243         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26244         * string/strrchr.c: Define STRRCHR.
26246 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
26248         * benchtest/bench-strtok.c (simple_strtok): Delete.
26249         (strtok_string): Use as benchmark.
26250         * string/strtok (STRTOK): New macro.
26252 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
26254         * manual/threads.texi: Add header and standard comments to all
26255         functions.
26257         * elf/dl-lookup.c (check_match): New function.
26258         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26259         (do_lookup_x): Remove nested function check_match. Use non-nested
26260         function check_match.
26262 2014-02-28  Roland McGrath  <roland@hack.frob.com>
26264         * csu/Makefile (generated, before-compile): Use += rather than =.
26265         * catgets/Makefile (generated, generated-dirs): Likewise.
26266         * debug/Makefile (generated): Likewise.
26267         * dlfcn/Makefile (generated): Likewise.
26268         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26269         * iconvdata/Makefile (before-compile, generated): Likewise.
26270         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26271         * libio/Makefile (generated): Likewise.
26272         * malloc/Makefile (generated): Likewise.
26273         * manual/Makefile (generated, generated-dirs): Likewise.
26274         * misc/Makefile (generated): Likewise.
26275         * posix/Makefile (generated): Likewise.
26276         * resolv/Makefile (generated): Likewise.
26277         * sunrpc/Makefile (generated, generated-dirs): Likewise.
26278         * timezone/Makefile (generated, generated-dirs): Likewise.
26280         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26282 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26284         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26285         power8 implementation.
26286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26287         file: POWER8 llround ifunc implementation.
26288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26289         (__lllround): Add POWER8 implementation.
26290         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26291         POWER8 llround implementation.
26293         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26294         power8 implementation.
26295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26296         file: POWER8 llrint ifunc implementation.
26297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26298         Add POWER8 implementation.
26299         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26300         POWER8 llrint implementation.
26302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26303         power8 implementation.
26304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26305         file: POWER8 finite ifunc implementation.
26306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26307         Add POWER8 implementation.
26308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26309         Likewise.
26310         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26311         POWER8 finite implementation.
26312         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26314         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26315         power8 implementation.
26316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26317         file: POWER8 isinf ifunc implementation.
26318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26319         POWER8 implementation.
26320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26321         Likewise.
26322         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26323         isinf implementation.
26324         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26326         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26327         (INIT_ARCH): Add hwcap2 initialization.
26328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26329         power8 implementation.
26330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26331         file: POWER8 isnan ifunc implementation.
26332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26333         POWER8 implementation.
26334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26335         Likewise.
26336         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26337         isnan implementation.
26338         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26340 2014-02-27  Joey Ye  <joey.ye@arm.com>
26342         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26343         (_FP_NANFRAC_Q): Set to zero.
26345 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26347         [BZ #16623]
26348         * math/auto-libm-test-in: New test inputs.
26349         * math/auto-libm-test-out: Regenerate.
26350         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26351         and DA.
26352         (__cos): Likewise.
26353         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26355 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
26357         * scripts/evaluate-test.sh: Take new argument indicating whether
26358         failure is expected.
26359         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26360         indicating whether failure is expected.
26361         * conform/Makefile (test-xfail-run-conformtest): New variable.
26362         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26363         level.
26364         * posix/Makefile (test-xfail-annexc): New variable.
26365         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26367 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
26369         * argp/Makefile: Include Makeconfig immediately after defining
26370         subdir.
26371         * assert/Makefile: Likewise.
26372         * benchtests/Makefile: Likewise.
26373         * catgets/Makefile: Likewise.
26374         * conform/Makefile: Likewise.
26375         * crypt/Makefile: Likewise.
26376         * csu/Makefile: Likewise.
26377         (all): Remove target.
26378         * ctype/Makefile: Include Makeconfig immediately after defining
26379         subdir.
26380         * debug/Makefile: Likewise.
26381         * dirent/Makefile: Likewise.
26382         * dlfcn/Makefile: Likewise.
26383         * gmon/Makefile: Likewise.
26384         * gnulib/Makefile: Likewise.
26385         * grp/Makefile: Likewise.
26386         * gshadow/Makefile: Likewise.
26387         * hesiod/Makefile: Likewise.
26388         * hurd/Makefile: Likewise.
26389         (all): Remove target.
26390         * iconvdata/Makefile: Include Makeconfig immediately after
26391         defining subdir.
26392         * inet/Makefile: Likewise.
26393         * intl/Makefile: Likewise.
26394         * io/Makefile: Likewise.
26395         * libio/Makefile: Likewise.
26396         (all): Remove target.
26397         * locale/Makefile: Include Makeconfig immediately after defining
26398         subdir.
26399         * login/Makefile: Likewise.
26400         * mach/Makefile: Likewise.
26401         (all): Remove target.
26402         * malloc/Makefile: Include Makeconfig immediately after defining
26403         subdir.
26404         (all): Remove target.
26405         * manual/Makefile: Include Makeconfig immediately after defining
26406         subdir.
26407         * math/Makefile: Likewise.
26408         * misc/Makefile: Likewise.
26409         * nis/Makefile: Likewise.
26410         * nss/Makefile: Likewise.
26411         * po/Makefile: Likewise.
26412         (all): Remove target.
26413         * posix/Makefile: Include Makeconfig immediately after defining
26414         subdir.
26415         * pwd/Makefile: Likewise.
26416         * resolv/Makefile: Likewise.
26417         * resource/Makefile: Likewise.
26418         * rt/Makefile: Likewise.
26419         * setjmp/Makefile: Likewise.
26420         * shadow/Makefile: Likewise.
26421         * signal/Makefile: Likewise.
26422         * socket/Makefile: Likewise.
26423         * soft-fp/Makefile: Likewise.
26424         * stdio-common/Makefile: Likewise.
26425         * stdlib/Makefile: Likewise.
26426         * streams/Makefile: Likewise.
26427         * string/Makefile: Likewise.
26428         * sunrpc/Makefile: Likewise.
26429         (all): Remove target.
26430         * sysvipc/Makefile: Include Makeconfig immediately after defining
26431         subdir.
26432         * termios/Makefile: Likewise.
26433         * time/Makefile: Likewise.
26434         * timezone/Makefile: Likewise.
26435         (all): Remove target.
26436         * wcsmbs/Makefile: Include Makeconfig immediately after defining
26437         subdir.
26438         * wctype/Makefile: Likewise.
26440 2014-02-26  Steve Ellcey  <sellcey@mips.com>
26442         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26443         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26444         (libc_feholdexcept_setround_mips): Ditto.
26445         (libc_feholdsetround): New.
26446         (libc_feholdsetroundf): New.
26447         (libc_feholdsetroundl): New.
26448         (libc_feupdateenv_test_mips): New.
26449         (libc_feupdateenv_test): New.
26450         (libc_feupdateenv_testf): New.
26451         (libc_feupdateenv_testl): New.
26452         (libc_feresetround): New.
26453         (libc_feresetroundf): New.
26454         (libc_feresetroundl): New.
26455         (libc_fetestexcept_mips): New.
26456         (libc_fetestexcept): New.
26457         (libc_fetestexceptf): New.
26458         (libc_fetestexceptl): New.
26459         (HAVE_RM_CTX): New.
26460         (libc_feholdexcept_setround_mips_ctx): New.
26461         (libc_feholdexcept_setround_ctx): New.
26462         (libc_feholdexcept_setroundf_ctx): New.
26463         (libc_feholdexcept_setroundl_ctx): New.
26464         (libc_fesetenv_mips_ctx): New.
26465         (libc_fesetenv_ctx): New.
26466         (libc_fesetenv_ctxf): New.
26467         (libc_fesetenv_ctxl): New.
26468         (libc_feupdateenv_mips_ctx): New.
26469         (libc_feupdateenv_ctx): New.
26470         (libc_feupdateenvf_ctx): New.
26471         (libc_feupdateenvl_ctx): New.
26472         (libc_feholdsetround_mips_ctx): New.
26473         (libc_feholdsetround_ctx): New.
26474         (libc_feholdsetroundf_ctx): New.
26475         (libc_feholdsetroundl_ctx): New.
26476         (libc_feresetround_mips_ctx): New.
26477         (libc_feresetround_ctx): New.
26478         (libc_feresetroundf_ctx): New.
26479         (libc_feresetroundl_ctx): New.
26481 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
26483         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26485         * manual/ipc.texi: New file.
26486         * manual/Makefile (chapters): Add ipc.
26487         * manual/job.texi: Add "Inter-Process Communication" to next.
26488         * manual/process.texi: Add "Inter-Process Communication" to prev.
26490 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26494 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
26496         * malloc/malloc.c (__libc_calloc): Simplify implementation.
26498         * manual/arith.texi: Fix spaces after sentences.
26499         * manual/charset.texi: Likewise.
26500         * manual/errno.texi: Likewise.
26501         * manual/install.texi: Likewise.
26502         * manual/llio.texi: Likewise.
26503         * manual/locale.texi: Likewise.
26504         * manual/maint.texi: Likewise.
26505         * manual/math.texi: Likewise.
26506         * manual/memory.texi: Likewise.
26507         * manual/message.texi: Likewise.
26508         * manual/probes.texi: Likewise.
26509         * manual/resource.texi: Likewise.
26510         * manual/signal.texi: Likewise.
26511         * manual/socket.texi: Likewise.
26512         * manual/stdio.texi: Likewise.
26513         * manual/string.texi: Likewise.
26514         * manual/time.texi: Likewise.
26515         * manual/users.texi: Likewise.
26517 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
26519         [BZ #16632]
26520         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26521         _DEFAULT_SOURCE is defined.
26523 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
26524             Carlos O'Donell  <carlos@redhat.com>
26526         [BZ #16613]
26527         * elf/dl-tls.c (_dl_count_modids): New function.
26528         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26529         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26530         audit library and increment generation counter.
26531         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26532         * elf/tst-audit9.c: New file.
26533         * elf/tst-auditmod9a.c: New file.
26534         * elf/tst-auditmod9b.c: New file.
26535         * elf/Makefile: Add rules to build and run tst-audit9.
26537 2014-02-25  Florian Weimer  <fweimer@redhat.com>
26539         [BZ #15347]
26540         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26542 2014-02-25  Will Newton  <will.newton@linaro.org>
26544         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26545         (__longjmp): Restore sp and lr before restoring callee
26546         saved registers.  Add longjmp and longjmp_target
26547         SystemTap probe point.
26548         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26549         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26550         Define to zero to match jmpbuf layout.
26551         * sysdeps/arm/setjmp.S: Include stap-probe.h.
26552         (__sigsetjmp): Save sp and lr before saving callee
26553         saved registers.  Add setjmp SystemTap probe point.
26555 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26557         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26559 2014-02-24  Andreas Schwab  <schwab@suse.de>
26561         [BZ #15804]
26562         * elf/pldd.c (wait_for_ptrace_stop): New function.
26563         (main): Call it after attaching.
26565 2014-02-22  Roland McGrath  <roland@hack.frob.com>
26567         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26568         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26569         Versions files is now verboten.
26570         * hurd/Versions (libc: GLIBC_2.0):
26571         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26572         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26573         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26574         * mach/Versions: Likewise.
26576         * csu/Versions: Remove unused %include.
26577         * resolv/Versions: Likewise.
26579 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
26581         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26582         ($(objpfx)check-local-headers.out): Likewise.
26583         ($(objpfx)begin-end-check.out): Likewise.
26584         * Makerules (check-abi-%.out): Likewise.
26585         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26586         ($(objpfx)test2.cat): Likewise.
26587         ($(objpfx)de/libc.cat): Likewise.
26588         ($(objpfx)test-gencat.out): Likewise.
26589         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26590         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26591         ($(objpfx)noload-mem): Likewise.
26592         ($(objpfx)tst-pathopt.out): Likewise.
26593         ($(objpfx)tst-rtld-load-self.out): Likewise.
26594         ($(objpfx)tst-array1-cmp.out): Likewise.
26595         ($(objpfx)tst-array1-static-cmp.out): Likewise.
26596         ($(objpfx)tst-array2-cmp.out): Likewise.
26597         ($(objpfx)tst-array3-cmp.out): Likewise.
26598         ($(objpfx)tst-array4-cmp.out): Likewise.
26599         ($(objpfx)tst-array5-cmp.out): Likewise.
26600         ($(objpfx)tst-array5-static-cmp.out): Likewise.
26601         ($(objpfx)check-textrel.out): Likewise.
26602         ($(objpfx)check-execstack.out): Likewise.
26603         ($(objpfx)check-localplt.out): Likewise.
26604         ($(objpfx)order2-cmp.out): Likewise.
26605         ($(objpfx)tst-leaks1-mem): Likewise.
26606         ($(objpfx)tst-leaks1-static-mem): Likewise.
26607         ($(objpfx)tst-initorder-cmp.out): Likewise.
26608         ($(objpfx)tst-initorder2-cmp.out): Likewise.
26609         ($(objpfx)tst-unused-dep.out): Likewise.
26610         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26611         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26612         * iconv/Makefile (test-iconvconfig): Likewise.
26613         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26614         ($(objpfx)iconv-test.out): Likewise.
26615         ($(objpfx)tst-tables.out): Likewise.
26616         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26617         ($(objpfx)tst-gettext.out): Likewise.
26618         ($(objpfx)tst-translit.out): Likewise.
26619         ($(objpfx)tst-gettext2.out): Likewise.
26620         ($(objpfx)tst-gettext4.out): Likewise.
26621         ($(objpfx)tst-gettext6.out): Likewise.
26622         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26623         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26624         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26625         ($(objpfx)tst-fopenloc-mem.out): Likewise.
26626         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26627         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26628         * posix/Makefile ($(objpfx)globtest.out): Likewise.
26629         ($(objpfx)wordexp-tst.out): Likewise.
26630         ($(objpfx)annexc.out): Likewise.
26631         ($(objpfx)tst-fnmatch-mem): Likewise.
26632         ($(objpfx)bug-regex2-mem): Likewise.
26633         ($(objpfx)bug-regex14-mem): Likewise.
26634         ($(objpfx)bug-regex21-mem): Likewise.
26635         ($(objpfx)bug-regex31-mem): Likewise.
26636         ($(objpfx)tst-vfork3-mem): Likewise.
26637         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26638         ($(objpfx)tst-pcre-mem): Likewise.
26639         ($(objpfx)tst-boost-mem): Likewise.
26640         ($(objpfx)tst-getconf.out): Likewise.
26641         ($(objpfx)bug-ga2-mem): Likewise.
26642         ($(objpfx)bug-glob2-mem): Likewise.
26643         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26644         ($(objpfx)mtrace-tst-leaks2): Likewise.
26645         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26646         ($(objpfx)tst-printf.out): Likewise.
26647         ($(objpfx)tst-setvbuf1.out): Likewise.
26648         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26649         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26650         ($(objpfx)tst-fmtmsg.out): Likewise.
26651         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26652         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26654         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26655         * bits/sigaction.h [__USE_MISC]: Likewise.
26656         * bits/waitstatus.h: Update #endif comments.
26657         * ctype/ctype.h: Likewise.
26658         * dirent/dirent.h: Likewise.
26659         [__USE_MISC]: Remove redundant conditionals.
26660         * grp/grp.h: Update #endif comments.
26661         [__USE_GNU]: Remove redundant conditionals.
26662         [__USE_MISC]: Likewise.
26663         * inet/netinet/in.h [__USE_GNU]: Likewise.
26664         * io/sys/stat.h [__USE_MISC]: Likewise.
26665         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26666         * libio/bits/stdio.h: Update #endif comments.
26667         [__USE_MISC]: Remove redundant conditionals.
26668         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26669         * libio/stdio.h: Update #endif comments.
26670         [__USE_MISC]: Remove redundant conditionals.
26671         * math/bits/math-finite.h [__USE_MISC]: Likewise.
26672         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26673         * math/math.h: Update #else and #endif comments.
26674         [__USE_MISC]: Remove redundant conditionals.
26675         * misc/sys/uio.h: Update #endif comments.
26676         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26677         * posix/glob.h [__USE_MISC]: Likewise.
26678         * posix/sys/types.h: Update #endif comments.
26679         [__USE_MISC]: Remove redundant conditionals.
26680         * posix/sys/wait.h: Update #endif comments.
26681         [__USE_MISC]: Remove redundant conditionals.
26682         * posix/unistd.h: Update #endif comments.
26683         [__USE_MISC]: Remove redundant conditionals.
26684         * pwd/pwd.h [__USE_GNU]: Likewise.
26685         [__USE_MISC]: Likewise.
26686         * resolv/netdb.h [__USE_GNU]: Likewise.
26687         * signal/signal.h: Update #endif comments.
26688         [__USE_MISC]: Remove redundant conditionals.
26689         * stdlib/stdlib.h: Update #else and #endif comments.
26690         [__USE_MISC]: Remove redundant conditionals.
26691         [__USE_GNU]: Likewise.
26692         * string/bits/string2.h [__USE_MISC]: Likewise.
26693         * string/string.h: Update #endif comments.
26694         [__USE_MISC]: Remove redundant conditionals.
26695         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26696         Likewise.
26697         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26698         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26699         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26700         Likewise.
26701         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26702         Likewise.
26703         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26704         comments.
26705         [__USE_MISC]: Remove redundant conditionals.
26706         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26707         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26708         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26709         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26710         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26711         Likewise.
26712         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26713         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26714         Likewise.
26715         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26716         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26717         Likewise.
26718         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26719         Likewise.
26720         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26721         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26722         Likewise.
26723         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26724         Likewise.
26725         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26726         * sysdeps/x86/bits/string.h: Update #endif comments.
26727         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26728         conditionals.
26729         * time/sys/time.h: Update #endif comments.
26730         * time/time.h: Likewise.
26731         [__USE_MISC]: Remove redundant conditionals.
26733 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
26735         [BZ #16600]
26736         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26738 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
26740         * Versions.def (librt): Add GLIBC_2.17.
26742 2014-02-21  Adam Conrad  <adconrad@0c3.net>
26744         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26745         synonym for _SYS_AUXV_H to allow direct inclusion.
26746         * sysdeps/sparc/bits/hwcap.h: Likewise.
26747         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26748         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26749         * sysdeps/sparc/sysdep.h: Likewise.
26751 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26753         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26755 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26757         * benchtests/bench-strrchr.c: Print length instead of position.
26759 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
26761         [BZ #16611]
26762         * sysdeps/unix/sysv/linux/kernel-features.h
26763         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26764         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26765         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26766         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26767         Likewise.
26768         [__i386__ || __powerpc__ || __sh__ || __sparc__]
26769         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26770         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26771         (__ASSUME_SENDMMSG): Define instead of using previous
26772         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26773         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26774         (__ASSUME_SENDMMSG_SYSCALL): Define.
26775         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26776         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26777         Likewise.
26778         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26779         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26780         Likewise.
26781         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26782         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26783         Likewise.
26784         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26785         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26786         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26787         [__ASSUME_SENDMMSG]: Change conditionals to
26788         [__ASSUME_SENDMMSG_SOCKETCALL].
26789         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26790         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26791         Define.
26792         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26793         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26794         Likewise.
26795         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26796         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26797         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26798         [!__ASSUME_SENDMMSG]: Change conditional to
26799         [!__ASSUME_SENDMMSG_SOCKETCALL].
26800         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26801         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26802         Define.
26804         [BZ #16610]
26805         * sysdeps/unix/sysv/linux/kernel-features.h
26806         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26807         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26808         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26809         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26810         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26811         [__i386__ || __sparc__]
26812         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26813         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26814         (__ASSUME_RECVMMSG): Define instead of using previous
26815         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26816         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26817         (__ASSUME_RECVMMSG_SYSCALL): Define.
26818         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26819         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26820         Likewise.
26821         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26822         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26823         Likewise.
26824         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26825         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26826         Likewise.
26827         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26828         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26829         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26830         [__ASSUME_RECVMMSG]: Change condition to
26831         [__ASSUME_RECVMMSG_SOCKETCALL].
26832         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26833         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26834         Define.
26835         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26836         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26837         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26838         Likewise.
26839         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26840         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26841         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26842         [!__ASSUME_RECVMMSG]: Change condition to
26843         [!__ASSUME_RECVMMSG_SOCKETCALL].
26844         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26845         (__ASSUME_RECVMMSG_SYSCALL): Define.
26847         [BZ #16609]
26848         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26849         __powerpc__ || __s390__ || __sh__ || __sparc__]
26850         (__ASSUME_SOCKETCALL): Define.
26851         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26852         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26853         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26854         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26855         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26856         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26857         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26858         (__ASSUME_ACCEPT4): Define instead of using previous
26859         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26860         __powerpc__ || __sparc__ || __s390__)] condition.
26861         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26862         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26863         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26864         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26865         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26866         [!__ASSUME_ACCEPT4]: Change condition to
26867         [!__ASSUME_ACCEPT4_SOCKETCALL].
26868         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26869         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
26870         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26871         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26872         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26873         __ASSUME_ACCEPT4_SYSCALL.
26874         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26875         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26876         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26877         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26878         __ASSUME_ACCEPT4_SYSCALL.
26879         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26880         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26881         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26882         [__ASSUME_ACCEPT4]: Change condition to
26883         [__ASSUME_ACCEPT4_SOCKETCALL].
26884         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26885         (__ASSUME_SOCKETCALL): Define.
26886         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26887         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26888         (__ASSUME_SOCKETCALL): Define.
26889         (__ASSUME_ACCEPT4): Remove.
26890         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26891         Define.
26892         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26893         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26894         Likewise.
26895         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26896         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26898         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26899         macro.
26900         (HWCAP_ARM_LPAE): Likewise.
26901         (HWCAP_ARM_EVTSTRM): Likewise.
26902         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26903         Add vpfd32, lpae and evtstrm.
26904         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26905         Increase to 22.
26907 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
26909         * math/auto-libm-test-in: Add tests of clog10.
26910         * math/auto-libm-test-out: Regenerated.
26911         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26912         * sysdeps/i386/fpu/libm-test-ulps: Update.
26913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26915 2014-02-18  Andreas Schwab  <schwab@suse.de>
26917         [BZ #16574]
26918         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26919         Store non-zero if the second buffer was newly allocated.
26920         (send_dg): Likewise.
26921         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26922         to send_vc and send_dg.
26923         (res_nsend): Pass NULL for ansp2_malloced.
26924         * resolv/res_query.c (__libc_res_nquery): Add parameter
26925         answerp2_malloced and pass it down to __libc_res_nsend.
26926         (res_nquery): Pass additional NULL to __libc_res_nquery.
26927         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26928         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
26929         second answer buffer if answerp2_malloced was set.
26930         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26931         (__libc_res_nquerydomain): Add parameter
26932         answerp2_malloced and pass it down to __libc_res_nquery.
26933         (res_nquerydomain): Pass additional NULL to
26934         __libc_res_nquerydomain.
26935         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26936         additional NULL to __libc_res_nsend and __libc_res_nquery.
26937         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26938         additional NULL to __libc_res_nsearch.
26939         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
26940         parameter of __libc_res_nsearch to check for separately allocated
26941         second buffer.
26942         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26943         __libc_res_nquery.
26944         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26945         additional NULL to __libc_res_nquery.
26946         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26947         __libc_res_nsearch.
26948         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26949         * include/resolv.h: Update prototypes of __libc_res_nquery,
26950         __libc_res_nsearch, __libc_res_nsend.
26952 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
26954         * math/auto-libm-test-in: Add tests of fma.
26955         * math/auto-libm-test-out: Regenerated.
26956         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26957         (fma_towardzero_test_data): Likewise.
26958         (fma_downward_test_data): Likewise.
26959         (fma_upward_test_data): Likewise.
26960         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26961         mpc_mode.
26962         (rounding_modes): Add values for new field.
26963         (func_calc_method): Add value mpfr_fff_f.
26964         (func_calc_desc): Add mpfr_fff_f union field.
26965         (test_function): Add field exact_args.
26966         (FUNC): Add macro argument EXACT_ARGS.
26967         (FUNC_mpfr_f_f): Update call to FUNC.
26968         (FUNC_mpfr_f_f): Likewise.
26969         (FUNC_mpfr_ff_f): Likewise.
26970         (FUNC_mpfr_if_f): Likewise.
26971         (FUNC_mpc_c_f): Likewise.
26972         (FUNC_mpc_c_c): Likewise.
26973         (test_functions): Add fma.  Update calls to FUNC.
26974         (handle_input_arg): Add argument exact_args.
26975         (add_test): Update call to handle_input_arg.
26976         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
26977         (output_for_one_input_case): Update call to calc_generic_results.
26978         Recalculate exact zero results in each rounding mode.
26980         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26981         non-negative before setting low bit.
26982         * math/auto-libm-test-in: Mark one asin test possibly having
26983         spurious underflow.
26984         * math/auto-libm-test-out: Regenerated.
26985         * sysdeps/i386/fpu/libm-test-ulps: Update.
26986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26988 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
26990         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26991         * sysdeps/unix/sysv/linux/microblaze: Move directory from
26992         ports/sysdeps/unix/sysv/linux/microblaze.
26993         * README: Add missing listing for microblaze*-*-linux-gnu.
26995 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
26997         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26998         duplicate code
27000 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
27002         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
27003         * sysdeps/unix/sysv/linux/ia64: Move directory from
27004         ports/sysdeps/unix/sysv/linux/ia64.
27005         * README: Update listing for ia64-*-linux-gnu.
27007 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
27008             Joseph Myers  <joseph@codesourcery.com>
27010         * Makeconfig (test-name): New variable.
27011         (evaluate-test): Likewise.
27012         * Makerules (do-test-clean): Remove .test-result files.
27013         (common-mostlyclean): Likewise.
27014         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
27015         * scripts/evaluate-test.sh: New file.
27017 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
27019         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
27020         separate $(objpfx)tst-fopenloc-cmp.out and
27021         $(objpfx)tst-fopenloc-mem.out targets.
27022         (tests): Update dependencies.
27023         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
27024         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
27025         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
27026         (tst-rxspencer-no-utf8-ARGS): New variable.
27027         (tst-rxspencer-no-utf8-ENV): Likewise.
27028         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
27029         instead of $(objpfx)tst-rxspencer-mem.
27030         ($(objpfx)tst-rxspencer-mem): Change target to
27031         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
27032         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
27033         * posix/tst-rxspencer-no-utf8.c: New file.
27035         * elf/Makefile ($(objpfx)order.out): Remove rule.
27036         [$(run-built-tests) = yes] (tests): Depend on
27037         $(objpfx)order-cmp.out.
27038         ($(objpfx)order-cmp.out): New rule.
27039         [$(run-built-tests) = yes] (tests): Depend on
27040         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
27041         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
27042         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
27043         $(objpfx)tst-array5-static-cmp.out.
27044         ($(objpfx)tst-array1.out): Remove rule.
27045         ($(objpfx)tst-array1-cmp.out): New rule.
27046         ($(objpfx)tst-array1-static.out): Remove rule.
27047         ($(objpfx)tst-array1-static-cmp.out): New rule.
27048         ($(objpfx)tst-array2.out): Remove rule.
27049         ($(objpfx)tst-array2-cmp.out): New rule.
27050         ($(objpfx)tst-array3.out): Remove rule.
27051         ($(objpfx)tst-array3-cmp.out): New rule.
27052         ($(objpfx)tst-array4.out): Remove rule.
27053         ($(objpfx)tst-array4-cmp.out): New rule.
27054         ($(objpfx)tst-array5.out): Remove rule.
27055         ($(objpfx)tst-array5-cmp.out): New rule.
27056         ($(objpfx)tst-array5-static.out): Remove rule.
27057         ($(objpfx)tst-array5-static-cmp.out): New rule.
27058         [$(run-built-tests) = yes] (tests): Depend on
27059         $(objpfx)order2-cmp.out.
27060         ($(objpfx)order2.out): Remove rule.
27061         ($(objpfx)order2-cmp.out): New rule.
27062         ($(objpfx)tst-initorder.out): Remove rule.
27063         [$(run-built-tests) = yes] (tests): Depend on
27064         $(objpfx)tst-initorder-cmp.out.
27065         ($(objpfx)tst-initorder-cmp.out): New rule.
27066         ($(objpfx)tst-initorder2.out): Remove rule.
27067         [$(run-built-tests) = yes] (tests): Depend on
27068         $(objpfx)tst-initorder2-cmp.out.
27069         ($(objpfx)tst-initorder2-cmp.out): New rule.
27070         [$(run-built-tests) = yes] (tests): Depend on
27071         $(objpfx)tst-unused-dep-cmp.out.
27072         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
27073         ($(objpfx)tst-unused-dep-cmp.out): New rule.
27074         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
27075         on $(objpfx)tst-setvbuf1-cmp.out.
27076         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
27077         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
27078         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
27079         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
27080         ($(objpfx)tst-svc.out): Remove rule.
27081         ($(objpfx)tst-svc-cmp.out): New rule.
27083 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
27085         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
27086         * ctype/ctype.h [__USE_MISC]: Likewise.
27087         * dirent/dirent.h [__USE_MISC]: Likewise.
27088         * grp/grp.h [__USE_MISC]: Likewise.
27089         * io/fcntl.h [__USE_MISC]: Likewise.
27090         * io/sys/stat.h [__USE_MISC]: Likewise.
27091         * libio/stdio.h [__USE_MISC]: Likewise.
27092         * posix/unistd.h [__USE_MISC]: Likewise.
27093         * pwd/pwd.h [__USE_MISC]: Likewise.
27094         * stdlib.h [__USE_MISC]: Likewise.
27095         * string/bits/string2.h [__USE_MISC]: Likewise.
27096         * string/string.h [__USE_MISC]: Likewise.
27097         * time/time.h [__USE_MISC]: Likewise.
27099 2014-02-13  Andreas Schwab  <schwab@suse.de>
27101         [BZ #16574]
27102         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
27103         second answer buffer if it was separately allocated.
27105 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
27107         * sysdeps/mips/math-tests.h: Include <features.h>.
27108         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27109         (ROUNDING_TESTS_long_double): Do not define.
27110         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27111         (EXCEPTION_TESTS_long_double): Likewise.
27112         * sysdeps/mips/mips64/libm-test-ulps: Update.
27114         * include/features.h (__USE_BSD): Remove macro definitions.
27115         (__USE_SVID): Likewise.
27116         (_BSD_SOURCE): Likewise.
27117         (_SVID_SOURCE): Likewise.
27118         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
27119         from definition of _DEFAULT_SOURCE.
27120         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
27121         [_DEFAULT_SOURCE].
27122         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
27123         * bits/mman.h [__USE_BSD]: Likewise.
27124         * bits/termios.h [__USE_BSD]: Likewise.
27125         * bits/waitstatus.h [__USE_BSD]: Likewise.
27126         * ctype/ctype.h [__USE_SVID]: Likewise.
27127         * dirent/dirent.h [__USE_BSD]: Likewise.
27128         * grp/grp.h [__USE_SVID]: Likewise.
27129         [__USE_BSD]: Likewise.
27130         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27131         * io/fcntl.h [__USE_BSD]: Likewise.
27132         * io/ftw.h [__USE_BSD]: Likewise.
27133         * io/sys/stat.h [__USE_BSD]: Likewise.
27134         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27135         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27136         * libio/stdio.h [__USE_SVID]: Likewise.
27137         [__USE_BSD]: Likewise.
27138         * math/math.h [__USE_SVID]: Likewise.
27139         [__USE_BSD]: Likewise.
27140         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27141         * misc/bits/syslog.h [__USE_BSD]: Likewise.
27142         * misc/search.h [__USE_SVID]: Likewise.
27143         * misc/sys/mman.h [__USE_BSD]: Likewise.
27144         * misc/sys/syslog.h [__USE_BSD]: Likewise.
27145         * misc/sys/uio.h [__USE_BSD]: Likewise.
27146         * posix/bits/unistd.h [__USE_BSD]: Likewise.
27147         * posix/glob.h [__USE_BSD]: Likewise.
27148         * posix/regex.h [__USE_BSD]: Likewise.
27149         * posix/sys/types.h [__USE_BSD]: Likewise.
27150         [__USE_SVID]: Likewise.
27151         * posix/sys/utsname.h [__USE_SVID]: Likewise.
27152         * posix/sys/wait.h [__USE_BSD]: Likewise.
27153         [__USE_SVID]: Likewise.
27154         * posix/unistd.h [__USE_BSD]: Likewise.
27155         [__USE_SVID]: Likewise.
27156         * pwd/pwd.h [__USE_SVID]: Likewise.
27157         * resolv/netdb.h [__USE_BSD]: Likewise.
27158         * setjmp/setjmp.h [__USE_BSD]: Likewise.
27159         * signal/signal.h [__USE_BSD]: Likewise.
27160         [__USE_SVID]: Likewise.
27161         * socket/sys/socket.h [__USE_BSD]: Likewise.
27162         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27163         * stdlib/stdlib.h [__USE_BSD]: Likewise.
27164         [__USE_SVID]: Likewise.
27165         * string/bits/string2.h [__USE_BSD]: Likewise.
27166         [__USE_SVID]: Likewise.
27167         * string/bits/string3.h [__USE_BSD]: Likewise.
27168         * string/endian.h [__USE_BSD]: Likewise.
27169         * string/string.h [__USE_SVID]: Likewise.
27170         [__USE_BSD]: Likewise.
27171         * string/strings.h [__USE_BSD]: Likewise.
27172         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27173         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27174         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27175         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27176         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27177         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27178         Likewise.
27179         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27180         Likewise.
27181         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27182         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27183         Likewise.
27184         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27185         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27186         Likewise.
27187         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27188         Likewise.
27189         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27190         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27191         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27192         Likewise.
27193         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27194         Likewise.
27195         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27196         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27197         * termios/termios.h [__USE_BSD]: Likewise.
27198         * time/sys/time.h [__USE_BSD]: Likewise.
27199         * time/time.h [__USE_BSD]: Likewise.
27200         [__USE_SVID]: Likewise.
27202         * Makefile (subdir_targets): Remove subdir_lint.out.
27204         * stdio-common/Makefile (do-tst-unbputc): Remove target.
27205         (do-tst-printf): Likewise.
27206         (tests): Depend directly on $(objpfx)tst-unbputc.out and
27207         $(objpfx)tst-printf.out.
27209         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27211         * Makerules (check-abi-%): Change target to
27212         $(objpfx)check-abi-%.out.
27213         (check-abi target): Update dependencies.
27214         (check-abi-pattern variable): Redirect output of diff to $@.
27215         (check-abi variable): Likewise.
27216         * elf/Makefile (check-abi): Update dependencies.
27218         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27219         unused.
27220         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27221         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27222         subnormal range.
27223         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27224         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27225         value has largest subnormal exponent.
27226         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27227         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27228         * sysdeps/aarch64/soft-fp/sfp-machine.h
27229         (_FP_TININESS_AFTER_ROUNDING): New macro.
27230         * sysdeps/alpha/soft-fp/sfp-machine.h
27231         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27232         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27233         Likewise.
27234         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27235         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27236         * sysdeps/mips/soft-fp/sfp-machine.h
27237         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27238         * sysdeps/powerpc/soft-fp/sfp-machine.h
27239         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27240         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27241         Likewise.
27242         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27243         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27244         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27245         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27246         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27247         Likewise.
27249 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
27251         [BZ #16545]
27252         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27253         model 1.
27255 2014-02-12  Richard Henderson  <rth@redhat.com>
27257         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27258         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27259         * sysdeps/unix/sysv/linux/alpha: Move directory from
27260         ports/sysdeps/unix/sysv/linux/alpha.
27261         * README: Update listing for alpha-*-linux-gnu.
27263 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
27265         * include/features.h: Update comment documenting feature test
27266         macros.
27267         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
27268         _DEFAULT_SOURCE.
27269         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27270         (_SVID_SOURCE): Likewise.
27271         (_DEFAULT_SOURCE): Update description of default features.
27272         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27273         with _GNU_SOURCE.
27274         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27275         (S_ISVTX): Likewise.
27276         * manual/math.texi (Mathematical Constants): Likewise.
27277         * manual/signal.texi (Interrupted Primitives): Likewise.
27278         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27279         * math/test-matherr.c (_SVID_SOURCE): Do not define.
27280         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27281         Don't refer to _SVID_SOURCE in warning text.
27283         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27285         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27286         already defined.
27287         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27288         * sysdeps/mips/dl-lookup.c: Remove.
27289         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27291 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27293         [BZ #16447]
27294         * math/auto-libm-test-in: Add testcase for expl.
27295         * math/auto-libm-test-out: Regenerate.
27296         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27297         calculation of unsafe.
27298         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27300 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27302         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27303         * sysdeps/unix/sysv/linux/aarch64: Move directory from
27304         ports/sysdeps/unix/sysv/linux/aarch64.
27305         * README: Update listing for aarch64*-*-linux-gnu.
27307 2014-02-11  Will Newton  <will.newton@linaro.org>
27309         * manual/probes.texi (Mathematical Function Probes): Use
27310         "triggered" instead of "hit".
27312         * manual/probes.texi (Internal Probes): Add documentation
27313         of setjmp, longjmp and longjmp_target probes.
27315         * include/stap-probe.h: Add comment about probe argument
27316         format.
27318         * malloc/mtrace.c (attribute_hidden): Remove unused macro
27319         definition.  (tr_where, tr_freehook, tr_mallochook,
27320         tr_reallochook, tr_memalignhook): Use ANSI protoype.
27322 2014-02-11  David S. Miller  <davem@davemloft.net>
27324         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27325         processing int_tests.
27327 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
27329         * sysdeps/mips: Move directory from ports/sysdeps/mips.
27330         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27331         * sysdeps/unix/sysv/linux/mips: Move directory from
27332         ports/sysdeps/unix/sysv/linux/mips.
27333         * README: Update listing for mips-*-linux-gnu and
27334         mips64-*-linux-gnu.
27336 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
27338         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27339         * sysdeps/unix/sysv/linux/m68k: Move directory from
27340         ports/sysdeps/unix/sysv/linux/m68k.
27341         * README: Update listing for m68k-*-linux-gnu.
27343 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
27345         * sysdeps/tile: Move directory from ports/sysdeps/tile.
27346         * sysdeps/unix/sysv/linux/generic: Move directory from
27347         ports/sysdeps/unix/sysv/linux/generic.
27348         * sysdeps/unix/sysv/linux/tile: Move directory from
27349         ports/sysdeps/unix/sysv/linux/tile.
27350         * README: Update listing for tile*-*-linux-gnu.
27352 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
27354         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27355         __builtin_expect.
27356         * benchtests/bench-memmem.c (simple_memmem): Likewise.
27357         * catgets/open_catalog.c (__open_catalog): Likewise.
27358         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27359         * debug/confstr_chk.c: Likewise.
27360         * debug/fread_chk.c (__fread_chk): Likewise.
27361         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27362         * debug/getgroups_chk.c: Likewise.
27363         * debug/mbsnrtowcs_chk.c: Likewise.
27364         * debug/mbsrtowcs_chk.c: Likewise.
27365         * debug/mbstowcs_chk.c: Likewise.
27366         * debug/memcpy_chk.c: Likewise.
27367         * debug/memmove_chk.c: Likewise.
27368         * debug/mempcpy_chk.c: Likewise.
27369         * debug/memset_chk.c: Likewise.
27370         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27371         * debug/strcat_chk.c (__strcat_chk): Likewise.
27372         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27373         * debug/strncat_chk.c (__strncat_chk): Likewise.
27374         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27375         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27376         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27377         * debug/wcpncpy_chk.c: Likewise.
27378         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27379         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27380         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27381         * debug/wcsncpy_chk.c: Likewise.
27382         * debug/wcsnrtombs_chk.c: Likewise.
27383         * debug/wcsrtombs_chk.c: Likewise.
27384         * debug/wcstombs_chk.c: Likewise.
27385         * debug/wmemcpy_chk.c: Likewise.
27386         * debug/wmemmove_chk.c: Likewise.
27387         * debug/wmempcpy_chk.c: Likewise.
27388         * debug/wmemset_chk.c: Likewise.
27389         * dirent/scandirat.c (SCANDIRAT): Likewise.
27390         * dlfcn/dladdr1.c (dladdr1): Likewise.
27391         * dlfcn/dladdr.c (dladdr): Likewise.
27392         * dlfcn/dlclose.c (dlclose_doit): Likewise.
27393         * dlfcn/dlerror.c (__dlerror): Likewise.
27394         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27395         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27396         * dlfcn/dlopen.c (dlopen_doit): Likewise.
27397         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27398         * dlfcn/dlsym.c (dlsym_doit): Likewise.
27399         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27400         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27401         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27402         Likewise.
27403         * elf/dl-conflict.c: Likewise.
27404         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27405         * elf/dl-dst.h: Likewise.
27406         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27407         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27408         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27409         * elf/dl-init.c (call_init, _dl_init): Likewise.
27410         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27411         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27412         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27413         Likewise.
27414         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27415         Likewise.
27416         * elf/dl-minimal.c (__libc_memalign): Likewise.
27417         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27418         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27419         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27420         * elf/dl-sym.c (do_sym): Likewise.
27421         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27422         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27423         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27424         * elf/dl-writev.h (_dl_writev): Likewise.
27425         * elf/ldconfig.c (search_dir): Likewise.
27426         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27427         (dl_main): Likewise.
27428         * elf/setup-vdso.h (setup_vdso): Likewise.
27429         * grp/compat-initgroups.c (compat_call): Likewise.
27430         * grp/fgetgrent.c (fgetgrent): Likewise.
27431         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27432         * grp/putgrent.c (putgrent): Likewise.
27433         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27434         Likewise.
27435         * hurd/hurdinit.c: Likewise.
27436         * iconvdata/8bit-gap.c (struct): Likewise.
27437         * iconvdata/ansi_x3.110.c : Likewise.
27438         * iconvdata/big5.c : Likewise.
27439         * iconvdata/big5hkscs.c : Likewise.
27440         * iconvdata/cp1255.c: Likewise.
27441         * iconvdata/cp1258.c : Likewise.
27442         * iconvdata/cp932.c : Likewise.
27443         * iconvdata/euc-cn.c: Likewise.
27444         * iconvdata/euc-jisx0213.c : Likewise.
27445         * iconvdata/euc-jp.c: Likewise.
27446         * iconvdata/euc-jp-ms.c : Likewise.
27447         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27448         * iconvdata/gb18030.c : Likewise.
27449         * iconvdata/gbbig5.c (const): Likewise.
27450         * iconvdata/gbgbk.c: Likewise.
27451         * iconvdata/gbk.c : Likewise.
27452         * iconvdata/ibm1364.c : Likewise.
27453         * iconvdata/ibm930.c : Likewise.
27454         * iconvdata/ibm932.c: Likewise.
27455         * iconvdata/ibm933.c : Likewise.
27456         * iconvdata/ibm935.c : Likewise.
27457         * iconvdata/ibm937.c : Likewise.
27458         * iconvdata/ibm939.c : Likewise.
27459         * iconvdata/ibm943.c: Likewise.
27460         * iconvdata/iso_11548-1.c: Likewise.
27461         * iconvdata/iso-2022-cn.c : Likewise.
27462         * iconvdata/iso-2022-cn-ext.c : Likewise.
27463         * iconvdata/iso-2022-jp-3.c: Likewise.
27464         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27465         * iconvdata/iso-2022-kr.c : Likewise.
27466         * iconvdata/iso646.c (gconv_end): Likewise.
27467         * iconvdata/iso_6937-2.c : Likewise.
27468         * iconvdata/iso_6937.c : Likewise.
27469         * iconvdata/iso8859-1.c: Likewise.
27470         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27471         * iconvdata/shift_jisx0213.c : Likewise.
27472         * iconvdata/sjis.c : Likewise.
27473         * iconvdata/t.61.c : Likewise.
27474         * iconvdata/tcvn5712-1.c : Likewise.
27475         * iconvdata/tscii.c: Likewise.
27476         * iconvdata/uhc.c : Likewise.
27477         * iconvdata/unicode.c (gconv_end): Likewise.
27478         * iconvdata/utf-16.c (gconv_end): Likewise.
27479         * iconvdata/utf-32.c (gconv_end): Likewise.
27480         * iconvdata/utf-7.c (base64): Likewise.
27481         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27482         * iconv/gconv_close.c (__gconv_close): Likewise.
27483         * iconv/gconv_open.c (__gconv_open): Likewise.
27484         * iconv/gconv_simple.c (internal_ucs4_loop_single)
27485         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27486         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27487         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27488         (ucs4le_internal_loop_single): Likewise.
27489         * iconv/iconv.c (iconv): Likewise.
27490         * iconv/iconv_close.c: Likewise.
27491         * iconv/loop.c (SINGLE): Likewise.
27492         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27493         * include/atomic.h: Likewise.
27494         * inet/inet6_option.c (option_alloc): Likewise.
27495         * intl/bindtextdom.c (set_binding_values): Likewise.
27496         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27497         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27498         * intl/localealias.c (read_alias_file): Likewise.
27499         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27500         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27501         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27502         * libio/fmemopen.c (fmemopen): Likewise.
27503         * libio/iofgets.c (_IO_fgets): Likewise.
27504         * libio/iofgets_u.c (fgets_unlocked): Likewise.
27505         * libio/iofgetws.c (fgetws): Likewise.
27506         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27507         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27508         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27509         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27510         * locale/findlocale.c (_nl_find_locale): Likewise.
27511         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27512         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27513         Likewise.
27514         * locale/setlocale.c (setlocale): Likewise.
27515         * login/programs/pt_chown.c (main): Likewise.
27516         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27517         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27518         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27519         (mmap, mmap64, mremap, munmap): Likewise.
27520         * math/e_exp2l.c: Likewise.
27521         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27522         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27523         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27524         * math/s_catan.c (__catan): Likewise.
27525         * math/s_catanf.c (__catanf): Likewise.
27526         * math/s_catanh.c (__catanh): Likewise.
27527         * math/s_catanhf.c (__catanhf): Likewise.
27528         * math/s_catanhl.c (__catanhl): Likewise.
27529         * math/s_catanl.c (__catanl): Likewise.
27530         * math/s_ccosh.c (__ccosh): Likewise.
27531         * math/s_ccoshf.c (__ccoshf): Likewise.
27532         * math/s_ccoshl.c (__ccoshl): Likewise.
27533         * math/s_cexp.c (__cexp): Likewise.
27534         * math/s_cexpf.c (__cexpf): Likewise.
27535         * math/s_cexpl.c (__cexpl): Likewise.
27536         * math/s_clog10.c (__clog10): Likewise.
27537         * math/s_clog10f.c (__clog10f): Likewise.
27538         * math/s_clog10l.c (__clog10l): Likewise.
27539         * math/s_clog.c (__clog): Likewise.
27540         * math/s_clogf.c (__clogf): Likewise.
27541         * math/s_clogl.c (__clogl): Likewise.
27542         * math/s_csin.c (__csin): Likewise.
27543         * math/s_csinf.c (__csinf): Likewise.
27544         * math/s_csinh.c (__csinh): Likewise.
27545         * math/s_csinhf.c (__csinhf): Likewise.
27546         * math/s_csinhl.c (__csinhl): Likewise.
27547         * math/s_csinl.c (__csinl): Likewise.
27548         * math/s_csqrt.c (__csqrt): Likewise.
27549         * math/s_csqrtf.c (__csqrtf): Likewise.
27550         * math/s_csqrtl.c (__csqrtl): Likewise.
27551         * math/s_ctan.c (__ctan): Likewise.
27552         * math/s_ctanf.c (__ctanf): Likewise.
27553         * math/s_ctanh.c (__ctanh): Likewise.
27554         * math/s_ctanhf.c (__ctanhf): Likewise.
27555         * math/s_ctanhl.c (__ctanhl): Likewise.
27556         * math/s_ctanl.c (__ctanl): Likewise.
27557         * math/w_pow.c: Likewise.
27558         * math/w_powf.c: Likewise.
27559         * math/w_powl.c: Likewise.
27560         * math/w_scalb.c (sysv_scalb): Likewise.
27561         * math/w_scalbf.c (sysv_scalbf): Likewise.
27562         * math/w_scalbl.c (sysv_scalbl): Likewise.
27563         * misc/error.c (error_tail): Likewise.
27564         * misc/pselect.c (__pselect): Likewise.
27565         * nis/nis_callback.c (__nis_create_callback): Likewise.
27566         * nis/nis_call.c (__nisfind_server): Likewise.
27567         * nis/nis_creategroup.c (nis_creategroup): Likewise.
27568         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27569         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27570         * nis/nis_getservlist.c (nis_getservlist): Likewise.
27571         * nis/nis_lookup.c (nis_lookup): Likewise.
27572         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27573         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27574         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27575         * nis/nis_xdr.c (xdr_endpoint): Likewise.
27576         * nis/nss_compat/compat-grp.c (getgrent_next_file)
27577         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27578         * nis/nss_compat/compat-initgroups.c (add_group)
27579         (internal_getgrent_r): Likewise.
27580         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27581         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27582         * nis/nss_compat/compat-spwd.c (getspent_next_file)
27583         (internal_getspnam_r): Likewise.
27584         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27585         (_nss_nis_getaliasbyname_r): Likewise.
27586         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27587         (_nss_nis_getntohost_r): Likewise.
27588         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27589         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27590         (_nss_nis_getgrgid_r): Likewise.
27591         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27592         (internal_nis_gethostent_r, internal_gethostbyname2_r)
27593         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27594         (_nss_nis_gethostbyname4_r): Likewise.
27595         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27596         (initgroups_netid): Likewise.
27597         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27598         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27599         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27600         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27601         (_nss_nis_getprotobynumber_r): Likewise.
27602         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27603         (_nss_nis_getsecretkey): Likewise.
27604         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27605         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27606         (_nss_nis_getpwuid_r): Likewise.
27607         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27608         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27609         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27610         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27611         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27612         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27613         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27614         Likewise.
27615         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27616         (_nss_nisplus_getntohost_r): Likewise.
27617         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27618         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27619         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27620         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27621         Likewise.
27622         * nis/nss_nisplus/nisplus-initgroups.c
27623         (_nss_nisplus_initgroups_dyn): Likewise.
27624         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27625         (_nss_nisplus_getnetbyaddr_r): Likewise.
27626         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27627         (_nss_nisplus_getprotobynumber_r): Likewise.
27628         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27629         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27630         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27631         Likewise.
27632         * nis/nss_nisplus/nisplus-service.c
27633         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27634         (_nss_nisplus_getservbyport_r): Likewise.
27635         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27636         (_nss_nisplus_getspnam_r): Likewise.
27637         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27638         Likewise.
27639         * nscd/aicache.c (addhstaiX): Likewise.
27640         * nscd/cache.c (cache_search, prune_cache): Likewise.
27641         * nscd/connections.c (register_traced_file, send_ro_fd)
27642         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27643         (main_loop_epoll): Likewise.
27644         * nscd/grpcache.c (addgrbyX): Likewise.
27645         * nscd/hstcache.c (addhstbyX): Likewise.
27646         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27647         * nscd/mem.c (gc, mempool_alloc): Likewise.
27648         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27649         (addinnetgrX): Likewise.
27650         * nscd/nscd-client.h (__nscd_acquire_maplock)
27651         (__nscd_drop_map_ref): Likewise.
27652         * nscd/nscd_getai.c (__nscd_getai): Likewise.
27653         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27654         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27655         Likewise.
27656         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27657         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27658         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27659         (__nscd_get_map_ref): Likewise.
27660         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27661         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27662         Likewise.
27663         * nscd/pwdcache.c (addpwbyX): Likewise.
27664         * nscd/selinux.c (preserve_capabilities): Likewise.
27665         * nscd/servicescache.c (addservbyX): Likewise.
27666         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27667         * posix/fnmatch.c (fnmatch): Likewise.
27668         * posix/getopt.c (_getopt_internal_r): Likewise.
27669         * posix/glob.c (glob, glob_in_dir): Likewise.
27670         * posix/wordexp.c (exec_comm_child): Likewise.
27671         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27672         (getanswer_r, gaih_getanswer_slice): Likewise.
27673         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27674         * resolv/res_init.c: Likewise.
27675         * resolv/res_mkquery.c (res_nmkquery): Likewise.
27676         * resolv/res_query.c (__libc_res_nquery): Likewise.
27677         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27678         Likewise.
27679         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27680         * stdio-common/perror.c (perror): Likewise.
27681         * stdio-common/printf_fp.c (___printf_fp): Likewise.
27682         * stdio-common/tmpnam.c (tmpnam): Likewise.
27683         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27684         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27685         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27686         Likewise.
27687         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27688         * stdlib/putenv.c (putenv): Likewise.
27689         * stdlib/setenv.c (__add_to_environ): Likewise.
27690         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27691         * stdlib/strtol_l.c (INTERNAL): Likewise.
27692         * string/memmem.c (memmem): Likewise.
27693         * string/strerror.c (strerror): Likewise.
27694         * string/strnlen.c (__strnlen): Likewise.
27695         * string/test-memmem.c (simple_memmem): Likewise.
27696         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27697         * sunrpc/pm_getport.c (__get_socket): Likewise.
27698         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27699         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27700         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27701         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27702         Likewise.
27703         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27704         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27705         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27706         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27707         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27708         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27709         Likewise.
27710         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27711         Likewise.
27712         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27713         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27714         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27715         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27716         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27718         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27719         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27720         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27721         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27722         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27723         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27724         Likewise.
27725         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27726         Likewise.
27727         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27728         Likewise.
27729         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27730         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27731         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27732         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27733         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27734         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27735         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27736         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27737         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27738         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27739         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27740         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27741         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27742         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27744         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27745         Likewise.
27746         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27747         Likewise.
27748         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27749         Likewise.
27750         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27751         Likewise.
27752         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27753         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27754         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27755         Likewise.
27756         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27757         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27758         * sysdeps/posix/opendir.c (__opendirat): Likewise.
27759         * sysdeps/posix/sleep.c: Likewise.
27760         * sysdeps/posix/tempname.c: Likewise.
27761         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27762         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27763         Likewise.
27764         * sysdeps/powerpc/powerpc32/dl-machine.h
27765         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27766         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27767         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27768         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27769         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27770         Likewise.
27771         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27772         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27773         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27774         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27775         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27776         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27777         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27778         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27779         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27780         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27781         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27782         (elf_machine_lazy_rel): Likewise.
27783         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27784         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27785         (elf_machine_lazy_rel): Likewise.
27786         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27787         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27788         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27789         * sysdeps/unix/grantpt.c (grantpt): Likewise.
27790         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27791         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27792         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27793         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27794         Likewise.
27795         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27796         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27797         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27798         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27799         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27800         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27801         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27802         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27803         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27804         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27805         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27806         Likewise.
27807         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27808         (__posix_fallocate64_l64): Likewise.
27809         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27810         (posix_fallocate): Likewise.
27811         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27812         Likewise.
27813         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27814         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27815         (getifaddrs_internal): Likewise.
27816         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27817         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27818         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27819         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27820         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27821         (__posix_fallocate64_l64): Likewise.
27822         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27823         Likewise.
27824         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27825         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27826         (__get_clockfreq): Likewise.
27827         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27828         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27829         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27830         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27832         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27833         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27834         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27835         Likewise.
27836         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27837         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27838         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27839         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27840         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27841         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27842         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27843         Likewise.
27844         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27845         (posix_fallocate): Likewise.
27846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27847         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27848         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27849         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27850         (elf_machine_rela, elf_machine_rela_relative)
27851         (elf_machine_lazy_rel): Likewise.
27852         * time/asctime.c (asctime_internal): Likewise.
27853         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27854         * time/tzset.c (__tzset_parse_tz): Likewise.
27855         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27856         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27857         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27858         * wcsmbs/wcsmbsload.h: Likewise.
27860         [BZ #15894]
27861         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27863         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27864         (arena_get2): Remove THREAD_STATS conditionals.
27865         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27866         (__malloc_stats, int): Likewise.
27868 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
27870         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27871         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
27873         * manual/setjmp.texi: Fix typos/grammar errors.
27875         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27876         Only return early when n is <= 0.  Delete unused return statement.
27878         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27879         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27880         * debug/tst-longjmp_chk3.c: New file.
27882         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27883         (test_main): Replace code with set_fortify_handler call.
27884         * debug/test-strcpy_chk.c: Likewise.
27885         * debug/tst-chk1.c: Likewise.
27886         * debug/tst-longjmp_chk.c: Likewise.
27887         * test-skeleton.c: Include fcntl.h & paths.h
27888         (set_fortify_handler): Define.
27890         * debug/tst-longjmp_chk.c: Add header comment and include
27891         ../test-skeleton.c.
27892         (do_test): Mark static.
27893         (TEST_FUNCTION): Define.
27895         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27896         (IP_PMTUDISC_INTERFACE): Likewise.
27897         (IP_MULTICAST_IF): Likewise.
27898         (IP_MULTICAST_TTL): Likewise.
27899         (IP_MULTICAST_LOOP): Likewise.
27900         (IP_ADD_MEMBERSHIP): Likewise.
27901         (IP_DROP_MEMBERSHIP): Likewise.
27902         (IP_UNBLOCK_SOURCE): Likewise.
27903         (IP_BLOCK_SOURCE): Likewise.
27904         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27905         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27906         (IP_MSFILTER): Likewise.
27907         (MCAST_JOIN_GROUP): Likewise.
27908         (MCAST_BLOCK_SOURCE): Likewise.
27909         (MCAST_UNBLOCK_SOURCE): Likewise.
27910         (MCAST_LEAVE_GROUP): Likewise.
27911         (MCAST_JOIN_SOURCE_GROUP): Likewise.
27912         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27913         (MCAST_MSFILTER): Likewise.
27914         (IP_MULTICAST_ALL): Likewise.
27915         (IP_UNICAST_IF): Likewise.
27917         * timezone/Makefile: Delete $(have-ksh) check.
27918         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27919         * timezone/tzselect.ksh: Add +x mode bits.
27921         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27922         (ANON_INODE_FS_MAGIC): Likewise.
27923         (BDEVFS_MAGIC): Likewise.
27924         (BINFMTFS_MAGIC): Likewise.
27925         (BTRFS_TEST_MAGIC): Likewise.
27926         (CRAMFS_MAGIC_WEND): Likewise.
27927         (DEBUGFS_MAGIC): Likewise.
27928         (ECRYPTFS_SUPER_MAGIC): Likewise.
27929         (EXT3_SUPER_MAGIC): Likewise.
27930         (EXT4_SUPER_MAGIC): Likewise.
27931         (FUTEXFS_SUPER_MAGIC): Likewise.
27932         (HOSTFS_SUPER_MAGIC): Likewise.
27933         (HUGETLBFS_MAGIC): Likewise.
27934         (MINIX3_SUPER_MAGIC): Likewise.
27935         (MTD_INODE_FS_MAGIC): Likewise.
27936         (NILFS_SUPER_MAGIC): Likewise.
27937         (OPENPROM_SUPER_MAGIC): Likewise.
27938         (PIPEFS_MAGIC): Likewise.
27939         (PSTOREFS_MAGIC): Likewise.
27940         (QNX6_SUPER_MAGIC): Likewise.
27941         (RAMFS_MAGIC): Likewise.
27942         (REISERFS_SUPER_MAGIC_STRING): Likewise.
27943         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27944         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27945         (SECURITYFS_MAGIC): Likewise.
27946         (SELINUX_MAGIC): Likewise.
27947         (SMACK_MAGIC): Likewise.
27948         (SOCKFS_MAGIC): Likewise.
27949         (SQUASHFS_MAGIC): Likewise.
27950         (STACK_END_MAGIC): Likewise.
27951         (TMPFS_MAGIC): Likewise.
27952         (USBDEVICE_SUPER_MAGIC): Likewise.
27953         (V9FS_MAGIC): Likewise.
27954         (XENFS_SUPER_MAGIC): Likewise.
27955         (CRAMFS_MAGIC): Fix typo in comment.
27956         (EXT2_SUPER_MAGIC): Update comment.
27957         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27959 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
27961         * sysdeps/arm: Move directory from ports/sysdeps/arm.
27962         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27963         * sysdeps/unix/sysv/linux/arm: Move directory from
27964         ports/sysdeps/unix/sysv/linux/arm.
27965         * README: Update listing for arm-*-linux-gnueabi.
27967         * README: Remove mention of am33.
27969 2014-02-07  Roland McGrath  <roland@hack.frob.com>
27971         * bits/sigset.h (__sigemptyset): Use a statement expression rather
27972         than the comma operator, to avoid "rhs of comma has no effect"
27973         compiler warnings.
27974         (__sigfillset, __sigandset, __sigorset): Likewise.
27975         * include/signal.h (__sigemptyset): Likewise.
27976         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27978 2014-02-07  Allan McRae  <allan@archlinux.org>
27980         * version.h (RELEASE): Set to "development".
27981         (VERSION): Set to "2.19.90"
27982         * NEWS: Add 2.20 section.
27984 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
27986         [BZ #16529]
27987         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27989 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27991         * manual/contrib.texi: Update entry for Carlos O'Donell,
27992         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27994 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
27996         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27998         * sysdeps/unix/sysv/linux/kernel-features.h
27999         [__LINUX_KERNEL_VERSION >= 0x020621]
28000         (__ASSUME_PROC_PID_TASK_COMM): Define.
28002 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28004         [BZ #16398]
28005         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
28006         conversion when destination buffer does not have enough space.
28007         * libio/tst-ftell-partial-wide.c: New test case.
28008         * libio/Makefile (tests): Add tst-ftell-partial-wide.
28010         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
28011         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
28012         Leonard and Allan McRae.
28014 2014-02-04  David S. Miller  <davem@davemloft.net>
28016         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
28017         32-bit.
28019 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28022         New file
28023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28024         New file
28025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28026         New file.
28027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28028         New file.
28029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28030         New file.
28031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28032         New file.
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28034         New file.
28035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28036         New file.
28037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28038         New file.
28039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28040         New file.
28041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28042         New file.
28043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28044         New file.
28045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28046         New file.
28048 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28050         * nptl/shlib-versions: Change powerpc*le start to 2.17.
28051         * shlib-versions: Likewise.
28053 2014-02-04  Roland McGrath  <roland@hack.frob.com>
28054             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28056         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
28057         (abilist-pattern): New variable, set to %-le.abilist.
28059         * Makerules (abilist-pattern): New variable.
28060         (vpath): Use $(abilist-pattern) in place of %.abilist.
28061         (check-abi-% pattern rule): Likewise.
28062         (check-abi, update-abi): Likewise.
28064 2014-02-04  Eric Wong  <normalperson@yhbt.net>
28066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28068 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
28070         * manual/startup.texi: Add next, previous, and top entries for
28071         the `Program Arguments' and `Environment Variables' nodes.
28073 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
28075         * manual/macros.texi: Add comments before MTASC-safety macros.
28077         * manual/users.texi: Document MTASC-safety properties.
28079         * manual/threads.texi (pthread_key_create, pthread_key_delete)
28080         (pthread_getspecific, pthread_setspecific): Format with
28081         @deftypefun, and add @safety note.
28082         * manual/signal.texi: Move comments that analyze the above
28083         functions to their home place.
28085 2014-02-03  Allan McRae  <allan@archlinux.org>
28087         * po/sl.po: Update Slovenian translation from translation project.
28089 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
28091         * manual/time.texi (timegm): Add missing blank after @c.
28092         Reported by Joseph Myers <joseph@codesourcery.com>.
28094 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
28096         * manual/check-safety.sh: New.
28097         * manual/Makefile ($(objpfx)stamp-summary): Run it.
28099         * manual/terminal.texi: Document MTASC-safety properties.
28101         * manual/filesys.texi: Document MTASC-safety properties.
28103         * manual/errno.texi: Document MTASC-safety properties.
28105         * manual/intro.texi: Document safety identifiers and
28106         conditionals.
28108         * manual/string.texi (wcstok): Fix prototype.
28109         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
28111         * manual/time.texi: Document MTASC-safety properties.
28113         * manual/string.texi: Document MTASC-safety properties.
28115         * manual/threads.texi: Document MTASC-safety properties.
28117         * manual/stdio.texi: Document MTASC-safety properties.
28119         * manual/syslog.texi: Document MTASC-safety properties.
28121         * manual/sysinfo.texi: Document MTASC-safety properties.
28123         * manual/startup.texi: Document MTASC-safety properties.
28125         * manual/socket.texi: Document MTASC-safety properties.
28127         * manual/signal.texi: Document MTASC-safety properties.
28129 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
28131         * manual/setjmp.texi: Document MTASC-safety properties.
28133         * manual/search.texi: Document MTASC-safety properties.
28135         * manual/resource.texi: Document MTASC-safety properties.
28137         * manual/process.texi: Document MTASC-safety properties.
28139         * manual/platform.texi: Document MTASC-safety properties.
28141         * manual/pipe.texi: Document MTASC-safety properties.
28143         * manual/pattern.texi: Document MTASC-safety properties.
28145         * manual/message.texi: Document MTASC-safety properties.
28147         [BZ #12751]
28148         * manual/memory.texi: Document MTASC-safety properties.
28150         * manual/math.texi: Document MTASC-safety properties.
28152         * manual/locale.texi: Document MTASC-safety properties.
28154         * manual/llio.texi: Document MTASC-safety properties.
28156         * manual/libdl.texi: New.
28158         * manual/lang.texi: Document MTASC-safety properties.
28160         * manual/job.texi: Document MTASC-safety properties.
28162         * manual/getopt.texi: Document MTASC-safety properties.
28164         * manual/ctype.texi: Document MTASC-safety properties.
28166 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
28168         [BZ #16046]
28169         * csu/libc-tls.c (static_map): Remove variable.
28170         (__libc_setup_tls): Use main executable's link map for TLS data.
28171         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28172         casing for LM_ID_BASE and GL(dl_nns).
28173         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28174         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
28175         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28176         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28177         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28178         member.
28179         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28180         l_phnum members.
28182 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
28184         * manual/debug.texi: Document MTASC-safety properties.
28186 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
28188         [BZ #16510]
28189         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28190         of __x86_64__ when disabling x87 inline functions.
28192 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
28194         * manual/charset.texi: Document MTASC-safety properties.
28196         * manual/crypt.texi: Document MTASC-safety properties.
28198         * manual/conf.texi: Document MTASC-safety properties.
28200         * manual/arith.texi: Document MTASC-safety properties.
28202         * manual/argp.texi: Document MTASC-safety properties.
28204         * manual/macros.texi: Introduce macros to document multi
28205         thread, asynchronous signal and asynchronous cancellation
28206         safety properties.
28207         * manual/intro.texi: Introduce the properties themselves.
28209 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28211         * sysdeps/sh/sh4/Makefile: New file.
28213 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
28215         * math/gen-libm-test.pl ($srcdir): New variable.
28216         ($auto_input): Use it.
28218 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28220         [BZ #16506]
28221         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28222         access beyond array bounds when parsing netgroups file.
28224         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28225         the old buffer before realloc.
28227 2014-01-27  Allan McRae  <allan@archlinux.org>
28229         * po/fr.po: Update French translation from translation project.
28231 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28233         * sysdeps/sh/libm-test-ulps: Regenerate.
28235 2014-01-24  David S. Miller  <davem@davemloft.net>
28237         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28239 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28241         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28242         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28244 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28246         [BZ #16474]
28247         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28248         string pointers after reallocation.
28250 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28252         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28253         __SH4A__ instead of __SH_FPU_ANY__.
28255 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28257         * sysdeps/sh/fpu_control.h: New file.
28258         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28259         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28260         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28261         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28262         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28263         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28264         * sysdeps/sh/sys/ucontext.h: Remove.
28265         * sysdeps/sh/sys: Remove directory.
28267 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28269         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28270         s390/sys/ucontext.h.
28271         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28272         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28274 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
28276         [BZ #15605]
28277         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28279 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28281         [BZ#16431]
28282         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28283         Adjust the vDSO correctly for internal calls.
28284         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28286 2014-01-20  Allan McRae  <allan@archlinux.org>
28288         * po/ca.po: Update Catalan translation from translation project.
28290 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
28292         * sysdeps/s390/sotruss-lib.c: New file.
28294 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28296         [BZ#16430]
28297         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28298         (__GI___gettimeofday): Alias for a different internal symbol to avoid
28299         local calls issues by not having a PLT stub required for IFUNC calls.
28300         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28302 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
28304         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28305         * math/test-fpucw-static.c: Likewise.
28307 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28309         [BZ #16453]
28310         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28312 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28314         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28315         implementation for powerpc.
28317 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
28319         [BZ #14782]
28320         * sysdeps/posix/system.c (__libc_system): Do not enable
28321         asynchronous cancellation.
28323 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28325         [BZ #16427]
28326         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28327         handling only for numbers special also in the IEEE case.
28329 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28331         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28333 2014-01-11  Allan McRae  <allan@archlinux.org>
28335         * po/bg.po: Update Bulgarian translation from translation project.
28337         * po/de.po: Update German translation from translation project.
28339 2014-01-10  Roland McGrath  <roland@hack.frob.com>
28341         * sysdeps/generic/gcc-compat.h: New file.
28343 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28345         * benchtests/asin-inputs: Correct slow inputs.
28346         * benchtests/acos-inputs: Likewise.
28348 2014-01-10  Allan McRae  <allan@archlinux.org>
28350         * po:sv.po: Update Swedish translation from translation project.
28352         * po/vi.po: Update Vietnamese translation from translation project.
28354         * po/eo.po: Update Esperanto translation from translation project.
28356         * po/cs.po: Update Czech translation from translation project.
28358         * po/nl.po: Update Dutch translation from translation project.
28360         * po/pl.po: Update Polish translation from translation project.
28362         * po/ru.po: Update Russian translation from translation project.
28364         * po/uk.po: Update Ukrainian translation from translation project.
28366 2014-01-08  Brooks Moses  <bmoses@google.com>
28368         * elf/dl-load.c: Fix comment typo.
28370 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
28372         * po/header.pot: Rename to...
28373         * po/pot.header: ... this.
28374         * po/Makefile: Use pot.header.
28376 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
28377             Maxim Kuvyrkov  <maxim@kugelworks.com>
28379         [BZ #16394]
28380         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28381         SRC and DEST against LEN.
28383 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28385         [BZ #16414]
28386         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28387         implementation.
28388         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28390 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28394 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
28396         [BZ #16408]
28397         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28398         for large positive arguments.
28400 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
28402         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28404         * math/auto-libm-test-in: Mark various tests with
28405         xfail-rounding:ldbl-128ibm.
28406         * math/auto-libm-test-out: Regenerated.
28408         [BZ #16407]
28409         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28410         Increase overflow threshold.
28412 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
28414         [BZ #14286]
28415         * stdio-common/vfprintf.c: Check for integer overflow.
28417 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28419         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28420         the first argument and return value of __tls_get_addr_internal.
28422 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28424         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28425         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28427 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28429         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28430         * sysdeps/s390/rtld-global-offsets.sym: New file.
28431         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28432         GLIBC_2.19 symbol.
28433         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28434         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28435         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28436         ... this.
28437         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28438         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28439         ... this.
28440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28441         Regenerate.
28442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28443         Regenerate.
28444         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28445         halfs of GPRs for high_gprs contexts.
28446         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28447         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
28448         field.
28449         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28450         uc_flags field.
28451         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28452         64 bit versions:
28453         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28454         for high GPRs (uc_high_gprs) and for future extensions
28455         (__reserved).
28456         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28457         for future extensions (__reserved).
28458         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28459         64 bit versions:
28460         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28461         SC_HIGHGPRS offset definition.
28462         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28463         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28465         * Versions.def: Add GLIBC_2.19 for libpthread.
28466         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28467         siglongjmp for libpthread with GLIBC_2.19 symver.
28468         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28469         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28470         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28471         * sysdeps/s390/__longjmp.c: New file.
28472         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28473         * sysdeps/s390/longjmp.c: New file.
28474         * sysdeps/s390/setjmp.S: New file.
28475         * sysdeps/s390/sigjmp.S: New file.
28476         * sysdeps/s390/v1-longjmp.c: New file.
28477         * sysdeps/s390/v1-setjmp.h: New file.
28478         * sysdeps/s390/v1-sigjmp.c: New file.
28479         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28480         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28481         GLIBC_2.19 version.
28482         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28483         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28484         versioned symbols for ____longjmp_chk.
28485         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28486         Likewise.
28487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28488         Regenerate.
28489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28490         Regenerate.
28491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28492         Regenerate.
28493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28494         Regenerate.
28495         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28496         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28497         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28498         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28499         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28500         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28501         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28502         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28503         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28504         * sysdeps/s390/rtld-__longjmp.c: New file.
28505         * sysdeps/s390/rtld-setjmp.S: New file.
28507 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
28509         [BZ #16400]
28510         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28511         Return -__logl (x) for small positive arguments without evaluating
28512         a polynomial.
28514 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
28516         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28517         Rename to ...
28518         (__ptrace_peeksiginfo_args): ... this.
28519         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28520         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28521         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28523 2014-01-06  Allan McRae  <allan@archlinux.org>
28525         * inet/netinet/in.h: Fix typo in comment.
28527 2014-01-05  Andreas Jaeger  <aj@suse.de>
28529         * sysdeps/i386/fpu/libm-test-ulps: Update.
28531 2014-01-05  Allan McRae  <allan@archlinux.org>
28533         * po/libc.pot: Regenerated.
28535         * malloc/memusagestat.c: Fix gettext call formatting.
28537 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
28539         * nscd/nscd.c: Improve usage() output.
28541 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
28543         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28544         * sysdeps/unix/sysv/linux/configure: Regenerated.
28545         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28546         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28548 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
28550         [BZ #16390]
28551         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28552         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28554 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28556         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28557         extra tokens at end of #undef directive.
28558         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28559         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28560         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28562 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
28564         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28566         * math/auto-libm-test-in: Mark various tests with
28567         xfail-rounding:ldbl-128ibm.
28568         * math/auto-libm-test-out: Regenerated.
28570 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
28572         [BZ #16386]
28573         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28574         numbers with subnormal high part when calculating exponent.
28576         [BZ #16385]
28577         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28578         fabs.
28580         [BZ #16384]
28581         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28582         M_LN2l.
28583         (__ieee754_acoshl): Use __log1pl not __log1p.
28585 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
28587         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28588         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28589         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28590         (grow_heap, heap_trim, _int_new_arena, get_free_list)
28591         (reused_arena, arena_get2): Convert to GNU style.
28592         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28593         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28594         (memalign_check, __malloc_set_state): Likewise.
28595         * malloc/mallocbug.c (main): Likewise.
28596         * malloc/malloc.c (__malloc_assert, malloc_init_state)
28597         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28598         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28599         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28600         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28601         (__posix_memalign, malloc_info): Likewise.
28602         * malloc/malloc.h: Likewise.
28603         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28604         (mallochook, memalignhook, reallochook, mabort): Likewise.
28605         * malloc/mcheck.h: Likewise.
28606         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28607         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28608         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28609         * malloc/morecore.c (__default_morecore): Likewise.
28610         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28611         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28612         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28613         (print_and_abort): Likewise.
28614         * malloc/obstack.h: Likewise.
28615         * malloc/set-freeres.c (__libc_freeres): Likewise.
28616         * malloc/tst-mallocstate.c (main): Likewise.
28617         * malloc/tst-mtrace.c (main): Likewise.
28618         * malloc/tst-realloc.c (do_test): Likewise.
28620 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28622         [BZ #16366]
28623         * nscd/netgroupcache.c (do_notfound): New function.
28624         (addgetnetgrentX): Use it.
28626         [BZ # 16365]
28627         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28628         NSS_STATUS_NOTFOUND.
28630 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
28632         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28635 2014-01-01  Allan McRae  <allan@archlinux.org>
28637         * scripts/update-copyrights: Update configure input file suffix.
28639         * NEWS: Update copyright year.
28640         * catgets/gencat.c: Likewise.
28641         * csu/version.c: Likewise.
28642         * debug/catchsegv.sh: Likewise.
28643         * debug/pcprofiledump.c: Likewise.
28644         * debug/xtrace.sh: Likewise.
28645         * elf/ldconfig.c: Likewise.
28646         * elf/ldd.bash.in: Likewise.
28647         * elf/pldd.c: Likewise.
28648         * elf/sotruss.ksh: Likewise.
28649         * elf/sprof.c: Likewise.
28650         * iconv/iconv_prog.c: Likewise.
28651         * iconv/iconvconfig.c: Likewise.
28652         * locale/programs/locale.c: Likewise.
28653         * locale/programs/localedef.c: Likewise.
28654         * login/programs/pt_chown.c: Likewise.
28655         * malloc/memusage.sh: Likewise.
28656         * malloc/memusagestat.c: Likewise.
28657         * malloc/mtrace.pl: Likewise.
28658         * manual/libc.texinfo: Likewise.
28659         * nscd/nscd.c: Likewise.
28660         * nss/getent.c: Likewise.
28661         * nss/makedb.c: Likewise.
28662         * posix/getconf.c: Likewise.
28663         * scripts/test-installation.pl: Likewise.
28665         * All files with FSF copyright notices: Update copyright dates
28666         using scripts/update-copyrights.
28667         * intl/plural.c: Regenerated.
28668         * locale/programs/charmap-kw.h: Likewise.
28669         * locale/programs/locfile-kw.h: Likewise.
28671 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
28673         * sysdeps/unix/sysv/linux/configure: Regenerated.
28674         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28675         the linux/fanotify.h header.
28676         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28677         HAVE_LINUX_FANOTIFY_H is defined.
28679 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28681         * benchtests/cos-inputs: New inputs.
28682         * benchtests/sin-inputs: Likewise.
28684         * benchtests/atan-inputs: New inputs. Fix name of multiple
28685         precision fallback inputs.
28687         * benchtests/atanh-inputs: New inputs.
28688         * benchtests/tanh-inputs: Likewise.
28690         * benchtests/acosh-inputs: New inputs.
28691         * benchtests/asinh-inputs: Likewise.
28693         * benchtests/cosh-inputs: New inputs.
28694         * benchtests/sinh-inputs: Likewise.
28696         * benchtests/acos-inputs: Add more inputs.
28697         * benchtests/asin-inputs: Likewise.
28699 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
28701         [BZ #16375]
28702         * manual/arith.texi: Fix spelling.
28703         * manual/charset.texi: Likewise.
28704         * manual/errno.texi: Likewise.
28705         * manual/filesys.texi: Likewise.
28706         * manual/lang.texi: Likewise.
28707         * manual/llio.texi: Likewise.
28708         * manual/locale.texi: Likewise.
28709         * manual/message.texi: Likewise.
28710         * manual/resource.texi: Likewise.
28711         * manual/search.texi: Likewise.
28712         * manual/setjmp.texi: Likewise.
28713         * manual/stdio.texi: Likewise.
28714         * manual/string.texi: Likewise.
28715         * manual/sysinfo.texi: Likewise.
28716         * manual/time.texi: Likewise.
28718 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
28720         * po/sl.po: New file.
28722 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
28724         * .gitignore: Add core/.gdbinit/.gdb_history.
28726 2013-12-27  Allan McRae  <allan@archlinux.org>
28728         [BZ #16369]
28729         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28730         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28732 2013-12-24  Brooks Moses  <bmoses@google.com>
28734         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28735         all compilers that claim C++98 compliance, not just GCC.
28736         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28737         Likewise.
28739 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
28741         * NEWS: Restore accidentally deleted bug-fix entries.
28743 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
28744             Ondřej Bílka  <neleai@seznam.cz>
28746         [BZ #15073]
28747         * malloc/malloc.c (_int_free): Perform sanity check only if we
28748         have_lock.
28750 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
28752         [BZ #12986]
28753         * manual/stdio.texi (String Input Conversions): Clarify that character
28754         classes are not supported.
28756 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28760 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
28762         [BZ #16337]
28763         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28764         Calculate results for small negative arguments directly rather
28765         than using reflection formula with special underflow handling.
28767         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28768         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28769         sysdeps/unix/bsd/bsd4.4/syscalls.list.
28770         (fchflags): Likewise.
28771         (revoke): Likewise.
28772         (setlogin): Likewise.
28773         (sigaltstack): Likewise.
28774         (wait4): Likewise.
28775         (sigblock): Remove.
28776         (sigsetmask): Likewise.
28777         (wait3): Likewise.
28778         (waitpid): Likewise.
28779         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28780         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28781         file.
28782         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28783         * sysdeps/unix/bsd/Makefile: ... here.
28784         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28785         * sysdeps/unix/bsd/Versions: ... here.
28786         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28787         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28788         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28789         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28790         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28791         * sysdeps/unix/bsd/sigblock.c: ... here.
28792         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28793         * sysdeps/unix/bsd/sigsetmask.c: ... here.
28794         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28795         * sysdeps/unix/bsd/sigvec.c: ... here.
28796         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28797         * sysdeps/unix/bsd/tcdrain.c: ... here.
28798         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28799         * sysdeps/unix/bsd/tcgetattr.c: ... here.
28800         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28801         * sysdeps/unix/bsd/tcsetattr.c: ... here.
28802         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28803         * sysdeps/unix/bsd/wait.c: ... here.
28804         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28805         * sysdeps/unix/bsd/wait3.c: ... here.
28806         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28807         * sysdeps/unix/bsd/waitpid.c: ... here.
28809 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
28811         [BZ #16356]
28812         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28813         round-to-nearest for [!USE_AS_EXPM1L].
28814         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28815         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
28816         more tests of exp and exp10.  Expect some exp10 tests to miss
28817         exceptions or fail in directed rounding modes.
28818         * math/auto-libm-test-out: Regenerated.
28819         * math/libm-test.inc (exp10_tonearest_test_data): New array.
28820         (exp10_test_tonearest): New function.
28821         (exp10_towardzero_test_data): New array.
28822         (exp10_test_towardzero): New function.
28823         (exp10_downward_test_data): New array.
28824         (exp10_test_downward): New function.
28825         (exp10_upward_test_data): New array.
28826         (exp10_test_upward): New function.
28827         (main): Call the new functions.
28828         * sysdeps/i386/fpu/libm-test-ulps: Update.
28829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28831 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
28833         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28834         asinh, atan, atan2, atanh, cbrt, cos and cosh.
28835         * math/auto-libm-test-out: Regenerated.
28836         * math/libm-test.inc (acosh_test_data): Add more tests.
28837         (atanh_test_data): Likewise.
28838         (ceil_test_data): Likewise.
28839         (copysign_test_data): Likewise.
28840         * sysdeps/i386/fpu/libm-test-ulps: Update.
28841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28843         * timezone/checktab.awk: Update from tzcode 2013i.
28844         * timezone/private.h: Likewise.
28845         * timezone/scheck.c: Likewise.
28846         * timezone/tzfile.h: Likewise.
28847         * timezone/tzselect.ksh: Likewise.
28848         * timezone/zdump.c: Likewise.
28849         * timezone/zic.c: Likewise.
28851         * math/auto-libm-test-in: Add tests of cpow.
28852         * math/auto-libm-test-out: Regenerated.
28853         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28854         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28855         mpc_cc_c.
28856         (func_calc_desc): Add mpc_cc_c union field.
28857         (test_functions): Add cpow.
28858         (special_fill_2pi): New function.
28859         (special_real_inputs): Add 2pi.
28860         (calc_generic_results): Handle mpc_cc_c.
28861         * sysdeps/i386/fpu/libm-test-ulps: Update.
28862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28864         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28865         csqrt, ctan and ctanh.
28866         * math/auto-libm-test-out: Regenerated.
28867         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28868         (TEST_COND_x86): Likewise.
28869         (ccos_test_data): Use AUTO_TESTS_c_c.
28870         (ccosh_test_data): Likewise.
28871         (cexp_test_data): Likewise.
28872         (clog_test_data): Likewise.
28873         (csqrt_test_data): Likewise.
28874         (ctan_test_data): Likewise.
28875         (ctan_tonearest_test_data): Likewise.
28876         (ctan_towardzero_test_data): Likewise.
28877         (ctan_downward_test_data): Likewise.
28878         (ctan_upward_test_data): Likewise.
28879         (ctanh_test_data): Likewise.
28880         (ctanh_tonearest_test_data): Likewise.
28881         (ctanh_towardzero_test_data): Likewise.
28882         (ctanh_downward_test_data): Likewise.
28883         (ctanh_upward_test_data): Likewise.
28884         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28885         mpc_c_c.
28886         (func_calc_desc): Add mpc_c_c union field.
28887         (FUNC_mpc_c_c): New macro.
28888         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28889         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28890         ctanh.
28891         (special_fill_min_subnorm_p120): New function.
28892         (special_real_inputs): Add min_subnorm_p120.
28893         (calc_generic_results): Handle mpc_c_c.
28894         * sysdeps/i386/fpu/libm-test-ulps: Update.
28895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28897 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28899         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28900         (do_sin_slow): New functions.
28901         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28902         (cslow2, csloww1, csloww2): Use the new functions.
28904         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28905         Use M to change sign of result instead of X.  Assume X is
28906         positive.
28907         (csloww1): Likewise.
28908         (__sin): Adjust.
28909         (__cos): Adjust.
28911         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28912         arguments A and DA.
28913         (__sin): Adjust.
28914         (__cos): Likewise.
28916         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28917         (__cos): Likewise.
28918         (sloww1): Don't adjust sign of DX.
28919         (csloww1): Likewise.
28920         (sloww2): Use X directly and don't adjust sign of DX.
28921         (csloww2): Likewise.
28923 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
28925         * math/auto-libm-test-in: Add tests of cabs and carg.
28926         * math/auto-libm-test-out: Regenerated.
28927         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28928         (carg_test_data): Likewise.
28929         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28930         mpc_c_f.
28931         (func_calc_desc): Add mpc_c_f union field.
28932         (test_functions): Add cabs and carg.
28933         (calc_generic_results): Handle mpc_c_f.
28935         * sysdeps/powerpc/powerpc32/libgcc-compat.S
28936         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28937         as a macro and a compat symbol.
28938         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28939         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28940         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28941         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28942         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28943         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28944         not use .hidden.
28945         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28946         Likewise.
28947         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28948         Likewise.
28949         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28950         Likewise.
28951         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28952         Likewise.
28953         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28954         Likewise.
28955         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28956         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28957         from GLIBC_2.3.2.
28959 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28963 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
28965         * manual/texinfo.tex: Update to version 2013-11-26.10 with
28966         trailing whitespace removed.
28967         * scripts/config.guess: Update to version 2013-11-29.
28968         * scripts/config.sub: Update to version 2013-10-01.
28970         * math/auto-libm-test-in: Add tests of sincos.
28971         * math/auto-libm-test-out: Regenerated.
28972         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28973         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28974         mpfr_f_11.
28975         (func_calc_desc): Add mpfr_f_11 union field.
28976         (test_functions): Add sincos.
28977         (calc_generic_results): Handle mpfr_f_11.
28978         * sysdeps/i386/fpu/libm-test-ulps: Update.
28979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28981 2013-12-19  Andreas Schwab  <schwab@suse.de>
28983         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28984         CALL_MCOUNT.
28985         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28986         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28987         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28989 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
28991         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28992         * sysdeps/i386/fpu/libm-test-ulps: Update.
28993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28995         [BZ #16293]
28996         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28997         round-to-nearest mode when using frndint.
28998         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28999         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29000         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29001         Likewise.
29002         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
29003         sinh test to fail.
29004         * math/auto-libm-test-out: Regenerated.
29005         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
29006         (TEST_COND_x86): Likewise.
29007         (expm1_tonearest_test_data): New array.
29008         (expm1_test_tonearest): New function.
29009         (expm1_towardzero_test_data): New array.
29010         (expm1_test_towardzero): New function.
29011         (expm1_downward_test_data): New array.
29012         (expm1_test_downward): New function.
29013         (expm1_upward_test_data): New array.
29014         (expm1_test_upward): New function.
29015         (main): Run the new test functions.
29016         * sysdeps/i386/fpu/libm-test-ulps: Update.
29017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29019         * include/features.h: Update comment documenting feature test
29020         macros.  Mention _DEFAULT_SOURCE in comment.
29021         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
29022         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
29023         _BSD_SOURCE and _SVID_SOURCE.
29024         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
29025         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
29026         !_SVID_SOURCE]: Likewise.
29027         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29028         (__USE_POSIX_IMPLICITLY): Define.
29029         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29030         (_POSIX_SOURCE): Undefine and redefine.
29031         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29032         (_POSIX_C_SOURCE): Likewise.
29033         * manual/creature.texi (_DEFAULT_SOURCE): Document.
29034         (Feature Test Macros): Update documentation of default features.
29036 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29038         * benchtests/Makefile: Add bench-strtok.
29039         * benchtests/bench-strtok.c: New file: strtok benchtest.
29041 2013-12-19  Allan McRae  <allan@archlinux.org>
29043         * manual/install.texi: Suppress menu for plain text output.
29044         * INSTALL: Regenerated.
29046 2013-12-18  Brooks Moses  <bmoses@google.com>
29048         [BZ #15846]
29049         * misc/getauxval.c: Include errno.h.
29050         (__getauxval): Set errno to ENOENT if the requested type is not
29051         found.
29052         * misc/sys/auxv.h (getauxval): Document that it may set errno;
29053         don't declare with __attribute_const__.
29054         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
29055         * manual/startup.texi: Document that getauxval sets errno.
29057 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29059         * math/auto-libm-test-in: Add tests of jn and yn.
29060         * math/auto-libm-test-out: Regenerated.
29061         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
29062         (yn_test_data): Likewise.
29063         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29064         mpfr_if_f.
29065         (func_calc_desc): Add mpfr_if_f union field.
29066         (FUNC_mpfr_if_f): New macro.
29067         (test_functions): Add jn and yn.
29068         (calc_generic_results): Assert type of second input for
29069         mpfr_ff_f.  Handle mpfr_if_f.
29070         (output_for_one_input_case): Disable all checking for arguments
29071         fitting floating-point types in case of an integer argument.
29072         * sysdeps/i386/fpu/libm-test-ulps: Update.
29073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29076         Don't expect fegetround reference in libm.so.
29078 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29080         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
29081         $(config-cflags-nofma).
29083 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29085         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
29086         * math/auto-libm-test-out: Regenerated.
29088         [BZ #16338]
29089         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
29090         to determine exponent and adjust argument to have exponent of -1.
29091         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
29092         log2.
29093         * math/auto-libm-test-out: Regenerated.
29094         * sysdeps/i386/fpu/libm-test-ulps: Update.
29095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29097 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
29099         * manual/probes.texi: Remove cases when per-thread arenas are
29100         disabled.
29102 2013-12-18  Andreas Schwab  <schwab@suse.de>
29104         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
29105         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
29106         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
29107         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
29108         * sysdeps/i386/i686/multiarch/Makefile: Update.
29109         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
29111 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29113         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
29114         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
29116 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
29118         [BZ #15968]
29119         Support TZ transition times < 00:00:00.
29120         This is needed for version-3 tz-format files; it supports time
29121         stamps past 2037 for America/Godthab (the only entry in the tz
29122         database for which this change is relevant).
29123         * manual/time.texi (TZ Variable): Document transition times
29124         from -167:59:59 through -00:00:01.
29125         * time/tzset.c (tz_rule): Time of day is now signed.
29126         (__tzset_parse_tz): Parse negative time of day.
29128         Document TZ transition times >= 25:00:00.
29129         * manual/time.texi (TZ Variable): Document transition times from
29130         25:00:00 through 167:59:59.  These are already supported, and this
29131         support will help with version-3 tz-format files.
29133         * manual/time.texi (TZ Variable): Modernize North America example
29134         to reflect current (i.e., 2007-and-later) daylight saving rules.
29136         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29138 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29140         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29141         * sysdeps/unix/bsd/bits/stat.h: Likewise.
29142         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29143         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29144         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29145         * sysdeps/unix/bsd/bsdstat.h: Likewise.
29146         * sysdeps/unix/bsd/clock.c: Likewise.
29147         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29148         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29149         * sysdeps/unix/bsd/init-posix.c: Likewise.
29150         * sysdeps/unix/bsd/poll.c: Likewise.
29151         * sysdeps/unix/bsd/ptsname.c: Likewise.
29152         * sysdeps/unix/bsd/seekdir.c: Likewise.
29153         * sysdeps/unix/bsd/setegid.c: Likewise.
29154         * sysdeps/unix/bsd/seteuid.c: Likewise.
29155         * sysdeps/unix/bsd/setgid.c: Likewise.
29156         * sysdeps/unix/bsd/setrgid.c: Likewise.
29157         * sysdeps/unix/bsd/setruid.c: Likewise.
29158         * sysdeps/unix/bsd/setsid.c: Likewise.
29159         * sysdeps/unix/bsd/setuid.c: Likewise.
29160         * sysdeps/unix/bsd/sigaction.c: Likewise.
29161         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29162         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29163         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29164         * sysdeps/unix/bsd/telldir.c: Likewise.
29165         * sysdeps/unix/bsd/times.c: Likewise.
29166         * sysdeps/unix/bsd/usleep.c: Likewise.
29168         * misc/Makefile (install-lib): Remove libbsd-compat.a.
29169         ($(objpfx)libbsd-compat.a): Remove rule.
29171         * include/features.h (__FAVOR_BSD): Do not define.
29172         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29173         features conflicting with POSIX.
29174         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29175         (_BSD_SOURCE): Remove description of not being a subset of other
29176         feature test macros.
29177         * manual/job.texi (getpgrp): Do not document BSD version.
29178         (getpgid): Do not document by reference to BSD getpgrp.
29179         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29180         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29181         * signal/signal.h [__FAVOR_BSD]: Likewise.
29182         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29183         instead of making contents conditional on [__FAVOR_BSD].
29184         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29186 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29190 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29192         [BZ #16314]
29193         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29194         values below 2**-450, not 2**-500.
29195         * math/auto-libm-test-in: Don't allow spurious underflow from
29196         hypot.
29197         * math/auto-libm-test-out: Regenerated.
29199         [BZ #16316]
29200         [BZ #16330]
29201         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29202         values of ha and hb and sort them after adjusting subnormal
29203         arguments.
29204         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29205         Likewise.
29206         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29207         values of ea and eb and sort them after adjusting subnormal
29208         arguments.
29209         * math/auto-libm-test-in: Do not expect some hypot tests of
29210         subnormals to fail.  Add more hypot tests.
29211         * math/auto-libm-test-out: Regenerated.
29213 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29215         [BZ #13304]
29216         * sysdeps/sh/s_fma.c: New file.
29217         * sysdeps/sh/s_fmaf.c: New file.
29218         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
29219         version.
29220         * sysdeps/sh/Implies: Add sh/soft-fp.
29222 2013-12-16  Roland McGrath  <roland@hack.frob.com>
29224         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
29225         level of indirection to members `objname', `errstring', `malloced'.
29226         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29227         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
29228         it as the __longjmp argument (just pass 1 instead).
29229         (_dl_catch_error): Initialize C with argument pointers and address of
29230         volatile local ERRCODE rather than copying values out of C at return.
29232 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
29234         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29235         * math/auto-libm-test-out: Regenerated.
29236         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29237         (hypot_test_data): Likewise.
29238         (pow_test_data): Likewise.
29239         (pow_tonearest_test_data): Likewise.
29240         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29241         mpfr_ff_f.
29242         (func_calc_desc): Add mpfr_ff_f union field.
29243         (FUNC_mpfr_ff_f): New macro.
29244         (test_functions): Add atan2, hypot and pow.
29245         (special_fill_min): New function.
29246         (special_fill_minus_min): Likewise.
29247         (special_fill_min_subnorm): Likewise.
29248         (special_fill_minus_min_subnorm): Likewise.
29249         (special_real_inputs): Add min, -min, min_subnorm and
29250         -min_subnorm.
29251         (calc_generic_results): Handle mpfr_ff_f.
29252         * sysdeps/i386/fpu/libm-test-ulps: Update.
29253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29255 2013-12-16  Will Newton  <will.newton@linaro.org>
29257         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29258         (Aligned Memory Blocks): Add documentation for aligned_alloc
29259         and suggest it as an alternative to posix_memalign.
29260         (Hooks for Malloc): Document __memalign_hook is also called
29261         for aligned_alloc.  (Summary of Malloc): Add summary for
29262         aligned alloc.  Document __memalign_hook is also called
29263         for aligned_alloc.
29265 2013-12-16  Will Newton  <will.newton@linaro.org>
29267         * manual/memory.texi (Malloc Examples): Clarify default
29268         alignment documentation.  Suggest posix_memalign rather
29269         than memalign or valloc.
29270         (Aligned Memory Blocks): Remove suggestion to use memalign
29271         or valloc.  Remove obsolete comment about BSD.
29272         Document memalign errno values and mark the function obsolete.
29273         Document posix_memalign returned error codes.  Mark valloc
29274         as obsolete.  (Hooks for Malloc): __memalign_hook is also
29275         called for posix_memalign and valloc.
29276         (Summary of Malloc): Add posix_memalign to function summary.
29277         __memalign_hook is also called for posix_memalign and valloc.
29279 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29281         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29282         TAYLOR_SIN.
29283         (__sin): Adjust.
29284         (__cos): Likewise.
29285         (sloww): Use mynumber union.  Expand ternary operator into
29286         if-else statements.
29287         (cslow): use mynumber union.
29289 2013-12-16  Allan McRae  <allan@archlinux.org>
29291         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29292         * configure: Regenerated.
29294         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29296         [BZ #14120]
29297         * configure.ac: Added --enable-maintainer-mode. Check for
29298         autoconf when enabled.
29299         * configure: Regenerated.
29301         * nscd/nscd.service: New file.
29302         * nscd/nscd.tmpfiles: New file.
29304 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
29306         [BZ #12100]
29307         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29308         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29309         * sysdeps/x86_64/multiarch/strstr.c: ... here.
29310         (strstr): Add __strstr_sse2_unaligned ifunc.
29311         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29312         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29313         (strcasestr): Remove __strcasestr_sse42 ifunc.
29314         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29316         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29318 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29320         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29321         * sysdeps/sh/bits/fenv.h: ... here.
29322         * sysdeps/sh/sh4/fpu/bits: Remove directory.
29324 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29326         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29329         hypotf multiarch implementations.
29330         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29331         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29332         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29333         multiarch hypot for PPC64.
29334         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29335         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29336         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29337         multiarch hypotf for PPC64.
29339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29340         modff multiarch implementations.
29341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29344         multiarch modf for PPC64.
29345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29348         multiarch modff for PPC64.
29350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29351         and logl multiarch implementations.
29352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29355         multiarch logb for PPC64.
29356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29359         multiarch logb for PPC64.
29360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29363         multiarch logb for PPC64.
29365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29366         isinff multiarch implementation.
29367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29368         file.
29369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29371         multiarch isinf for PPC64.
29372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29373         file.
29374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29375         multiarch isinff for PPC64.
29377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29378         finitef multiarch implementation.
29379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29380         file.
29381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29383         multiarch finite for PPC64.
29384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29385         file.
29386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29387         multiarch finitef for PPC64.
29389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29390         lrint multiarch implementation.
29391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29392         file.
29393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29395         multiarch llrint for PPC64.
29396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29397         multiarch lrint for PPC64.
29399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29400         copysignf multiarch implementation.
29401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29402         file.
29403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29404         file.
29405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29406         multiarch copysign for PPC64.
29407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29408         multiarch copysignf for PPC64.
29410         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29411         multiarch implementation.
29412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29413         file.
29414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29415         file.
29416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29417         file.
29418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29419         file.
29420         multiarch llround for PPC64.
29421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29422         multiarch trunc for PPC64.
29423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29424         multiarch truncf for PPC64.
29426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29427         multiarch implementation.
29428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29429         file.
29430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29431         file.
29432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29433         file.
29434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29435         file.
29436         multiarch llround for PPC64.
29437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29438         multiarch round for PPC64.
29439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29440         multiarch roundf for PPC64.
29442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29443         multiarch implementation.
29444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29445         file.
29446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29447         file.
29448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29449         file.
29450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29451         file.
29452         multiarch llround for PPC64.
29453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29454         multiarch floor for PPC64.
29455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29456         multiarch floorf for PPC64.
29458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29459         multiarch implementation.
29460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29461         file.
29462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29463         file.
29464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29465         file.
29466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29467         file.
29468         multiarch llround for PPC64.
29469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29470         multiarch ceil for PPC64.
29471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29472         multiarch ceilf for PPC64.
29474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29475         multiarch implementation.
29476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29477         file.
29478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29479         file.
29480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29481         file.
29482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29483         multiarch llround for PPC64.
29484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29485         multiarch lround for PPC64.
29487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29488         multiarch implementation.
29489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29492         file.
29493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29496         multiarch isnan for PPC64.
29497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29498         multiarch isnanf for PPC64.
29500         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29501         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29502         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29503         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29504         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29507         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29508         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29509         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29510         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29513         multiarch implementations.
29514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29515         (__libc_ifunc_impl_list): Likewise.
29516         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29517         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29518         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29519         multiarch stpcpy for PPC64.
29521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29522         multiarch implementations.
29523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29524         (__libc_ifunc_impl_list): Likewise.
29525         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29526         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29527         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29528         multiarch strcpy for PPC64.
29530         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29531         redefine function name.
29532         (_wordcopy_fwd_dest_aligned): Likewise.
29533         (_wordcopy_bwd_aligned): Likewise.
29534         (_wordcopy_bwd_dest_aligned): Likewise.
29535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29536         multiarch implementations.
29537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29538         (__libc_ifunc_impl_list): Likewise.
29539         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29540         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29541         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29542         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29543         multiarch wcscpy for PPC64.
29545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29546         multiarch implementations.
29547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29548         (__libc_ifunc_impl_list): Likewise.
29549         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29550         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29551         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29552         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29553         multiarch wcscpy for PPC64.
29555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29556         multiarch implementations.
29557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29558         (__libc_ifunc_impl_list): Likewise.
29559         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29560         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29561         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29562         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29563         multiarch wcsrchr for PPC64.
29565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29566         multiarch implementations.
29567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29568         (__libc_ifunc_impl_list): Likewise.
29569         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29570         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29571         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29572         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29573         multiarch wcschr for PPC64.
29575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29576         multiarch implementations.
29577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29578         (__libc_ifunc_impl_list): Likewise.
29579         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29580         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29581         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29582         multiarch strchrnul for PPC64.
29584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29585         implementations.
29586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29587         (__libc_ifunc_impl_list): Likewise.
29588         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29589         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29590         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29591         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29592         strchr for PPC64.
29594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29595         implementations.
29596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29597         (__libc_ifunc_impl_list): Likewise.
29598         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29599         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29600         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29601         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29602         strncmp for PPC64.
29604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29605         multiarch implementations.
29606         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29607         (__libc_ifunc_impl_list): Likewise.
29608         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29609         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29610         strncasecmp for PPC64.
29611         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29612         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29613         multiarch strncasecmp_l for PPC64.
29615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29616         multiarch implementations.
29617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29618         (__libc_ifunc_impl_list): Likewise.
29619         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29620         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29621         multiarch strcasecmp for PPC64.
29622         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29623         file.
29624         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29625         multiarch strcasecmp_l for PPC64.
29627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29628         implementations.
29629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29630         (__libc_ifunc_impl_list): Likewise.
29631         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29632         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29633         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29634         strnlen for PPC64.
29636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29637         implementations.
29638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29639         (__libc_ifunc_impl_list): Likewise.
29640         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29641         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29642         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29643         strlen for PPC64.
29645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29646         implementations.
29647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29648         (__libc_ifunc_impl_list): Likewise.
29649         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29650         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29651         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29652         rawmemrchr for PPC64.
29654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29655         implementation.
29656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29657         (__libc_ifunc_impl_list): Likewise.
29658         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29659         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29660         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29661         memrchr for PPC64.
29663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29664         implementation.
29665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29666         (__libc_ifunc_impl_list): Likewise.
29667         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29668         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29669         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29670         memchr for PPC64.
29672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29673         implementation.
29674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29675         (__libc_ifunc_impl_list): Likewise.
29676         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29677         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29678         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29679         mempcpy for PPC64.
29681         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29682         avoid cretion of __bzero symbol.
29683         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29684         Likewise.
29685         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29686         Likewise.
29687         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29688         Likewise.
29689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29690         multiarch implementations.
29691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29692         (__libc_ifunc_impl_list): Likewise.
29693         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29694         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29695         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29696         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29697         bzero for PPC32.
29698         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29699         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29700         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29701         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29702         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29703         memset for PPC64.
29704         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29706         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29708         implementations.
29709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29710         (__libc_ifunc_impl_list): Likewise.
29711         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29712         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29713         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29714         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29715         memcmp for PPC64.
29717         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29718         multiarch for POWER/PPC64.
29719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29720         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29721         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29722         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29723         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29724         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29725         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29726         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29727         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29728         memcpy for PPC64.
29730         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29731         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29732         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29733         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29734         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29735         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29736         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29737         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29738         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29739         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29740         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29741         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29742         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29743         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29744         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29753 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29755         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29757 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29759         * benchtests/Makefile (bench): Add exp2 and log2.
29760         (LDLIBS-bench-exp2): Add -lm.
29761         (LDLIBS-bench-log2): Likewise.
29762         * benchtests/exp2-inputs: New inputs file.
29763         * benchtests/log2-inputs: New inputs file.
29764         * benchtests/log-inputs: Add new inputs.
29765         * benchtests/tan-inputs: Likewise.
29767 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29769         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29770         definition...
29771         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29772         (csloww2): ... from here.
29774         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29775         instead of structures.
29776         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29777         (POLYNOMIAL): Likewise.
29778         (TAYLOR_SLOW): Likewise.
29779         (__sin): Likewise.
29780         (__cos): Likewise.
29781         (slow1): Likewise.
29782         (slow2): Likewise.
29783         (sloww): Likewise.
29784         (sloww1); Likewise.
29785         (sloww2): Likewise.
29786         (bsloww1): Likewise.
29787         (bsloww2): Likewise.
29788         (cslow2): Likewise.
29789         (csloww): Likewise.
29790         (csloww1): Likewise.
29791         (csloww2): Likewise.
29793 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
29795         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29796         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29797         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29798         * malloc/hooks.c (realloc_check): Likewise.
29800         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29801         * malloc/arena.c: Remove PER_THREAD conditional.
29802         [!PER_THREAD]: Remove code.
29803         (ptmalloc_unlock_all2): Likewise.
29804         (ptmalloc_init): Likewise.
29805         (_int_new_arena): Likewise.
29806         (arena_get2): Likewise.
29807         * malloc/hooks.c (__malloc_get_state): Likewise.
29808         (__malloc_set_state): Likewise.
29809         * malloc/malloc.c: Likewise.
29810         (struct malloc_state): Likewise.
29811         (struct malloc_par): Likewise.
29812         (__libc_realloc): Likewise.
29813         (__libc_mallopt): Likewise.
29815 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29817         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29819 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
29821         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29822         macro to a function.  Check for zero perturb_byte.
29823         (_int_malloc, _int_free): Remove zero perturb_byte checks.
29825         * malloc/malloc.c: (force_reg): Remove.
29826         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29827         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29828         force_reg by atomic_forced_read.
29829         * malloc/arena.c (ptmalloc_init): Likewise.
29830         * malloc/hooks.c (top_check): Likewise.
29832 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29836 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
29838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29840 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
29842         * math/auto-libm-test-in: Add tests of lgamma.
29843         * math/auto-libm-test-out: Regenerated.
29844         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29845         (M_LOG_2_SQRT_PIl): Likewise.
29846         (lgamma_test_data): Use AUTO_TESTS_f_f1.
29847         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29848         mpfr_f_f1.
29849         (func_calc_desc): Add mpfr_f_f1 union field.
29850         (ARGS1): New macro.
29851         (ARGS2): Likewise.
29852         (ARGS3): Likewise.
29853         (ARGS4): Likewise.
29854         (RET1): Likewise.
29855         (RET2): Likewise.
29856         (CALC): Likewise.
29857         (FUNC): Likewise.
29858         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29859         (test_functions): Add lgamma.
29860         (calc_generic_results): Handle mpfr_f_f1.
29861         * sysdeps/i386/fpu/libm-test-ulps: Update.
29862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29864 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29866         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29867         __mpn_add_n for PowerPC64/POWER7.
29868         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29869         __mpn_sub_n for PowerPC64/POWER7.
29871         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29872         __mpn_addmul_1 for PowerPC64.
29873         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29874         __mpn_submul_1 for PowerPC64.
29875         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29876         for PowerPC64.
29877         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29878         for PowerPC64.
29880 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
29882         [BZ #15089]
29883         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29885 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29887         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29889         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29890         add multiarch folders.
29891         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29892         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29893         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29894         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29895         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29896         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29897         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29898         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29899         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29900         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29901         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29910         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29912         New file.
29913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29914         New file.
29915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29916         multiarch __ieee754_hypot for PowerPC32.
29917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29918         New file.
29919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29920         New file.
29921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29922         multiarch __ieee754_hypotf for PowerPC32.
29924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29925         long_double_symbol only if __logbl is defined.
29926         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29927         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29929         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29930         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29931         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29932         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29933         path for implementation.
29934         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29935         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29937         logb, and logbl multiarch implementations for PowerPC32.
29938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29939         file.
29940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29941         file.
29942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29943         multiarch logb for PowerPC32.
29944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29945         file.
29946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29947         file.
29948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29949         multiarch logbf for PowerPC32.
29950         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29952         file.
29953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29954         multiarch logbl implementation for PowerPC32.
29956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29957         and modff multiarch implementations.
29958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29959         New file.
29960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29961         New file.
29962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29963         multiarch modf for PowerPC32.
29964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29965         New file.
29966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29967         New file.
29968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29969         multiarch modff for PowerPC32.
29971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29972         and lrintf multiarch implementations.
29973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29974         New file.
29975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29976         New file.
29977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29978         multiarch lrint for PowerPC32.
29979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29980         file: multiarch lrintf for PowerPC32.
29982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29983         and lroundf multiarch implementations.
29984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29985         New file.
29986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29987         New file.
29988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29989         New file.
29990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29991         multiarch lround for PowerPC32.
29992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29993         file: multiarch lroundf for PowerPC32.
29995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29996         copysign and copysignf multiarch implementations.
29997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29998         New file.
29999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
30000         New file.
30001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
30002         file: multiarch copysign for PowerPC32.
30003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
30004         file: multiarch copysignf for PowerPC32.
30006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
30007         and truncf multiarch implementations.
30008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
30009         New file.
30010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
30011         file.
30012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
30013         multiarch trunc for PowerPC32.
30014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
30015         New file.
30016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
30017         New file.
30018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
30019         multiarch truncf for PowerPC32.
30021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
30022         and roundf multiarch implementations.
30023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
30024         New file.
30025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
30026         file.
30027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
30028         multiarch round for PowerPC32.
30029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
30030         New file.
30031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
30032         New file.
30033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
30034         multiarch roundf for PowerPC32.
30036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
30037         and floorf multiarch implementations.
30038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
30039         New file.
30040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
30041         file.
30042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
30043         multiarch floor for PowerPC32.
30044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
30045         New file.
30046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
30047         New file.
30048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
30049         multiarch floorf for PowerPC32.
30051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
30052         and ceilf multiarch implementations.
30053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
30054         New file.
30055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
30056         file.
30057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
30058         multiarch ceil for PowerPC32.
30059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
30060         New file.
30061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
30062         file.
30063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
30064         multiarch ceilf for PowerPC32.
30066         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
30067         is defined.
30068         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
30069         FINITEF is defined.
30070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
30071         and finitef multiarch implementations.
30072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
30073         New file.
30074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
30075         file.
30076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
30077         multiarch finite for PowerPC32.
30078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
30079         New file.
30080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
30081         file: multiarch finitef for PowerPC32.
30083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
30084         and isinff multiarch implementations.
30085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
30086         file.
30087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
30088         file.
30089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
30090         multiarch isinf for PowerPC32.
30091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
30092         New file.
30093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
30094         multiarch isinff for PowerPC32.
30096         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
30097         alias when __isnan is defined.
30098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
30099         and isnanf multiarch implementations.
30100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
30101         file.
30102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
30103         file.
30104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
30105         file.
30106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
30107         file.
30108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
30109         multiarch isnan for PowerPC32.
30110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
30111         New file.
30112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
30113         New file.
30114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
30115         multiarch isnanf for PowerPC32.
30117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
30118         and sqrtf multiarch implementations.
30119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
30120         file.
30121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
30122         file.
30123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30124         multiarch sqrt for PowerPC32.
30125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30126         file.
30127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30128         file.
30129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30130         multiarch sqrtf for PowerPC32.
30132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30133         and llroundf multiarch implementations.
30134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30135         New file.
30136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30137         New file.
30138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30139         New file.
30140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30141         file: multiarch llround for PowerPC32.
30142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30143         file: multiarch llroundf for PowerPC32.
30145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30146         multiarch PowerPC32 fpu implementations.
30147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30148         New file.
30149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30150         New file.
30151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30152         multiarch llrint for PowerPC32.
30153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30154         New file.
30155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30156         New file.
30157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30158         file.
30160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30162         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30163         file.
30164         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30165         file.
30166         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30167         file.
30168         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30169         multiarch wordcopy for PPC32.
30170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30171         wordcopy objects.
30172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30173         (__libc_ifunc_impl_list): Likewise.
30174         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30175         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30176         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30177         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30178         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30179         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30181         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30182         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30183         file.
30184         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30185         file.
30186         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30187         file.
30188         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30189         multiarch wcscpy for PPC32.
30190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30191         multiarch objects.
30192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30193         (__libc_ifunc_impl_list): Likewise.
30194         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30195         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30196         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30197         sysdeps/powerpc/power6/wcscpy.c.
30199         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30201         file.
30202         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30203         file.
30204         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30205         file.
30206         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30207         multiarch wcsrchr for PPC32.
30208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30209         multiarch objects.
30210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30211         (__libc_ifunc_impl_list): Likewise.
30212         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30213         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30214         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30215         sysdeps/powerpc/power6/wcsrchr.c.
30217         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30218         file.
30219         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30220         file.
30221         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30223         multiarch wcschr for PPc32.
30224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30225         multiarch objects.
30226         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30227         (__libc_ifunc_impl_list): Likewise.
30228         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30229         * sysdeps/powerpc/power6/wcschr.c: ... to here.
30230         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30231         sysdeps/powerpc/power6/wcschr.c.
30233         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30234         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30235         file.
30236         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30237         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30238         file: multiarch strchr for PPC32.
30239         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30240         multiarch objects.
30241         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30242         (__libc_ifunc_impl_list): Likewise.
30244         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30245         name.
30246         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30247         file.
30248         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30249         file.
30250         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30251         multiarch strchrnul for PPC32.
30252         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30253         multiarch objects.
30254         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30255         (__libc_ifunc_impl_list): Likewise.
30257         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30258         file.
30259         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30260         multiarch strncasecmp for PPC32.
30261         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30262         file.
30263         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30264         multiarch strncasecmp_l for PPC32.
30265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30266         strncasecmp multiarch objects.
30267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30268         (__libc_ifunc_impl_list): Likewise.
30270         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30271         file.
30272         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30273         multiarch strncasecmp for PPC32.
30274         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30275         New file.
30276         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30277         multiarch strcasecmp_l for PPC32.
30278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30279         multiarch objects.
30280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30281         (__libc_ifunc_impl_list): Likewise.
30283         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30284         file.
30285         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30286         file.
30287         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30288         multiarch strncmp for PPC32.
30289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30290         multiarch objects.
30291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30292         (__libc_ifunc_impl_list): Likewise.
30294         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30295         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30296         file.
30297         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30298         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30299         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30300         multiarch objects.
30301         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30302         (__libc_ifunc_impl_list): Likewise.
30304         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30305         file.
30306         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30307         file.
30308         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30310         multiarch objects.
30311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30312         (__libc_ifunc_impl_list): Likewise.
30314         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30315         file.
30316         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30317         file.
30318         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30319         multiarch rawmemchr for PPC32.
30320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30321         multiarch objects.
30322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30323         (__libc_ifunc_impl_list): Likewise.
30325         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30326         file.
30327         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30328         file.
30329         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30330         file: memrchr multiarch for PPC32.
30331         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30332         multiarch objects.
30333         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30334         (__libc_ifunc_impl_list): Likewise.
30336         * string/memchr.c (__memchr): Using macro to redefine symbol name.
30337         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30338         file.
30339         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30340         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30341         multiarch memchr for PPC32.
30342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30343         multiarch objects.
30344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30345         (__libc_ifunc_impl_list): Likewise.
30347         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30348         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30349         file.
30350         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30351         file.
30352         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30353         file: multiarch mempcpy for PPC32.
30354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30355         multiarch objects.
30356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30357         (__libc_ifunc_impl_list): Likewise.
30359         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30360         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30361         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30362         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30363         multiarch bzero for PPC32.
30364         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30365         file.
30366         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30367         file.
30368         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30369         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30370         file: multiarch memset for PPC32.
30371         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30372         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30373         memset multiarch objects.
30374         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30375         (__libc_ifunc_impl_list): Likewise.
30377         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30378         file.
30379         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30380         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30381         memcmp for PPC32.
30382         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30384         multiarch objects.
30385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30386         (__libc_ifunc_impl_list): Likewise.
30388         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30389         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30390         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30391         file.
30392         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30393         file.
30394         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30395         file.
30396         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30397         multiarch memcpy for PPC32.
30398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30399         multiarch objects.
30400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30401         (__libc_ifunc_impl_list): Likewise.
30403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30404         support multiarch for POWER/PPC32.
30405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30406         Likewise.
30407         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30409         Implies file to make multiarch folder appers before the fpu and
30410         default folder for power4 configuration.
30412 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30414         * scripts/bench.pl: Append volatile keyword to type.
30416 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30418         * sysdeps/sh/sotruss-lib.c: New file.
30419         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30421 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30425 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
30427         [BZ #6810]
30428         * math/w_tgamma.c: Include <errno.h>.
30429         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
30430         * math/w_tgammaf.c: Include <errno.h>.
30431         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
30432         * math/w_tgammal.c: Include <errno.h>.
30433         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
30434         * math/auto-libm-test-in: Do not allow missing errno on tgamma
30435         underflow.  Add more tgamma tests.
30436         * math/auto-libm-test-out: Regenerated.
30437         * sysdeps/i386/fpu/libm-test-ulps: Update.
30438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30440         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30441         sin, sinh, tan, tanh, tgamma, y0 and y1.
30442         * math/auto-libm-test-out: Regenerated.
30443         * math/libm-test.inc (TEST_COND_x86_64): New macro.
30444         (TEST_COND_x86): Likewise.
30445         (M_E2l): Remove macro.
30446         (M_E3l): Likewise.
30447         (M_2_SQRT_PIl): Likewise.
30448         (M_SQRT_PIl): Likewise.
30449         (M_1_DIV_El): Likewise.
30450         (log_test_data): Use AUTO_TESTS_f_f.
30451         (log10_test_data): Likewise.
30452         (log1p_test_data): Likewise.
30453         (log2_test_data): Likewise.
30454         (sin_test_data): Likewise.
30455         (sin_tonearest_test_data): Likewise.
30456         (sin_towardzero_test_data): Likewise.
30457         (sin_downward_test_data): Likewise.
30458         (sin_upward_test_data): Likewise.
30459         (sinh_test_data): Likewise.
30460         (sinh_tonearest_test_data): Likewise.
30461         (sinh_towardzero_test_data): Likewise.
30462         (sinh_downward_test_data): Likewise.
30463         (sinh_upward_test_data): Likewise.
30464         (tan_test_data): Likewise.
30465         (tan_tonearest_test_data): Likewise.
30466         (tan_towardzero_test_data): Likewise.
30467         (tan_downward_test_data): Likewise.
30468         (tan_upward_test_data): Likewise.
30469         (tanh_test_data): Likewise.
30470         (tgamma_test_data): Likewise.
30471         (y0_test_data): Likewise.
30472         (y1_test_data): Likewise.
30473         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30474         (special_real_inputs): Add pi/4.
30475         * sysdeps/i386/fpu/libm-test-ulps: Update.
30476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30478 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30480         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30481         "longjmp_target" static probes.
30482         (__longjmp): Rename to __longjmp_symbol.
30483         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30484         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30485         on which longjmp to generate.
30486         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30487         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30488         probe.
30489         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30490         (__sigjmp_save): Rename to __sigjmp_save_symbol.
30491         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30492         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30493         and __sigjmp_save_symbol based on which sigsetjmp to generated.
30494         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30496         __longjmp_symbol based on which __longjmp to generate.
30497         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30498         probe.
30499         (setjmp): Rename to setjmp_symbol.
30500         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30501         (_setjmp): Rename to _setjmp_symbol.
30502         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30503         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30504         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30505         which setjmp to generate.
30506         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30507         "longjmp_target" static probes.
30509 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30511         * benchtests/README: Add note about output arguments.
30512         * benchtests/bench-sincos.c: Remove file.
30513         * benchtests/sincos-inputs: New file.
30514         * scripts/bench.pl: Identify output arguments and define
30515         static variables for them.
30517         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30519         [BZ #15941]
30520         * Makefile (INSTALL): Add install-plain.texi as the primary
30521         dependency.
30522         * manual/install-plain.texi: New file.
30523         * manual/install.texi: Include node directive only for
30524         non-plaintext output.
30526 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
30528         * stdlib/longlong.h: Update from GCC.
30530         [BZ #6807]
30531         [BZ #15901]
30532         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30533         * math/w_j0f.c (y0f): Likewise.
30534         * math/w_j0l.c (__y0l): Likewise.
30535         * math/w_j1.c (y1): Likewise.
30536         * math/w_j1f.c (y1f): Likewise.
30537         * math/w_j1l.c (__y1l): Likewise
30538         * math/w_jn.c (yn): Likewise.
30539         * math/w_jnf.c (ynf): Likewise.
30540         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30541         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
30542         value for Bessel function domain errors outside _SVID_ mode.
30543         Adjust sign of return value for yn (negative integer, 0).
30544         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30545         by zero in return for negative x and set sign appropriately for
30546         negative n.
30547         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30548         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30549         * math/libm-test.inc (y0_test_data): Add more tests and adjust
30550         expectations in error cases.
30551         (y1_test_data): Likewise.
30552         (yn_test_data): Likewise.
30553         * sysdeps/i386/fpu/libm-test-ulps: Update.
30554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30556 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30558         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30559         "64" to "64-v1".  Add "64-v2".
30560         (abi-64-options): Rename to ...
30561         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
30562         (abi-64-condition): Rename to ...
30563         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
30564         (abi-64-ld-soname): Rename to ...
30565         (abi-64-v1-ld-soname): ... this.
30566         (abi-64-v2-options): Define.
30567         (abi-64-v2-condition): Likewise.
30568         (abi-64-v2-ld-soname): Likewise.
30569         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30570         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30575 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30576             Alan Modra  <amodra@gmail.com>
30578         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30579         New versions for use with the ELFv2 ABI.
30580         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30581         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30582         declaration.
30583         (struct La_ppc64v2_retval): Likewise.
30584         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30585         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30586         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30587         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30588         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30589         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30590         Do not save or restore CR.
30591         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30592         (_dl_profile_resolve): Do no save or restore CR.  Support extended
30593         return values for ELFv2 ABI.  Fix location of FPR return registers.
30594         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30595         updated values for _CALL_ELF == 2.
30596         (La_regs, La_retval, int_retval): Likewise.
30598 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30600         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30601         (FRAME_MIN_SIZE_PARM): Likewise.
30602         (FRAME_BACKCHAIN): Likewise.
30603         (FRAME_CR_SAVE): Likewise.
30604         (FRAME_LR_SAVE): Likewise.
30605         (FRAME_TOC_SAVE): Likewise.
30606         (FRAME_PARM_SAVE): Likewise.
30607         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30608         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30609         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30610         (call_mcount_parm_offset): New macro.
30611         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30612         (PROF): Use symbolic stack frame offsets.
30613         (TAIL_CALL_SYSCALL_ERROR): Likewise.
30614         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30615         Redefine in terms of FRAME_MIN_SIZE.
30616         (_dl_runtime_resolve): Use symbolic stack frame offsets.
30617         (_dl_profile_resolve): Likewise.  Update comment.
30618         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30619         symbols stack frame offsets.
30620         (__sigsetjmp): Likewise.
30621         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30622         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30623         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30624         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30627         (FRAME_BACKCHAIN): Remove.
30628         (FRAME_CR_SAVE): Likewise.
30629         (FRAME_LR_SAVE): Likewise.
30630         (FRAME_COMPILER_DW): Likewise.
30631         (FRAME_LINKER_DW): Likewise.
30632         (FRAME_TOC_SAVE): Likewise.
30633         (FRAME_PARM_SAVE): Likewise.
30634         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30635         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30636         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30638         (CHECK_SP): Use symbolic stack frame offsets.
30639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30640         zone" instead of caller's parameter save area for temp storage.
30641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30642         Likewise.  Also, use symbolic stack frame offsets.
30643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30644         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30645         our own stack frame instead of the caller's.
30646         (__socket): Use symbolic stack frame offsets.
30648 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30649             Alan Modra  <amodra@gmail.com>
30651         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30652         Define.
30653         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30654         (PPC64_LOCAL_ENTRY_OFFSET): Define.
30655         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30656         New function.
30657         (elf_machine_fixup_plt): Call it.
30658         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
30659         reloc arguments.
30660         (elf_machine_rela): Update call to elf_machine_plt_conflict.
30661         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30662         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30663         r2 before calling target.
30665 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30666             Alan Modra  <amodra@gmail.com>
30668         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30669         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30670         versions of macros to support ELFv2 ABI.
30671         (LOCALENTRY): New macro.
30672         (ENTRY, EALIGN): Use it.
30673         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30674         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30675         fall through into ENTRY entry point.
30676         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30677         Only define if _CALL_ELF != 2.
30679         (elf_machine_matches_host): Verify ABI version matches.
30680         (RTLD_START): Use LOCALENTRY.
30681         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30682         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30683         (PLT_ENTRY_WORDS): New macro.
30684         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30685         (elf_machine_runtime_setup): Support ELFv2 ABI.
30686         (elf_machine_fixup_plt): Likewise.
30687         (elf_machine_plt_conflict): Likewise.
30688         (resolve_ifunc): Likewise.
30689         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30690         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30691         Likewise.
30692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30693         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30695         (makecontext): Support ELFv2 ABI.
30696         * elf/elf.h (EF_PPC64_ABI): Define.
30698 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30700         * sysdeps/powerpc/powerpc64/sysdep.h
30701         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30702         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30703         (ENTRY) [ASSEMBLER]: ... but instead here ...
30704         (EALIGN) [ASSEMBLER]: ... and here.
30705         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30706         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30707         (ENTRY_2) [!ASSEMBLER]: Use it.
30708         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30709         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
30710         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30711         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30712         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30714         Use PPC64_LOAD_FUNCPTR.
30716         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30718 2013-12-04  Alan Modra  <amodra@gmail.com>
30720         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30721         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30722         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30723         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30725         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30726         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30727         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30728         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30729         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30730         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30732 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30735         (__makecontext): Fix incorrect CFI when backtracing out of
30736         context created via makecontext.
30737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30738         (__setcontext): Fix incorrect CFI during switch to new context.
30739         (__novec_setcontext): Likewise.
30741 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
30743         [BZ #4772]
30744         * time/strptime_l.c (__strptime_internal): Allow modifiers
30745         in strptime.
30746         * time/tst-strptime.c (day_tests): Add testcase.
30748 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30750         * scripts/bench.pl: Skip over blank lines.
30752 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
30754         [BZ #926]
30755         * manual/time.texi (Calendar Time): Clarify what timezone functions
30756         use.
30758 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30762 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
30764         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30765         implementation.
30766         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30767         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30768         * debug/memset_chk.c (__memset_chk): Likewise.
30769         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30770         * debug/strncpy_chk.c: Likewise.
30772 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
30774         [BZ #15268]
30775         [BZ #15425]
30776         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30777         (__ieee754_exp): For possibly underflowing results, check size of
30778         result and force underflow exception if required.
30779         * math/auto-libm-test-in: Add more tests of exp.
30780         * math/auto-libm-test-out: Regenerated.
30781         * sysdeps/i386/fpu/libm-test-ulps: Update.
30782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30784         [BZ #16283]
30785         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30786         * math/w_exp2f.c (__exp2f): Likewise.
30787         * math/w_exp2l.c (__exp2l): Likewise.
30788         * math/auto-libm-test-in: Do not allow missing errno on exp2
30789         underflow.
30790         * math/auto-libm-test-out: Regenerated.
30792 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
30794         [BZ #16274]
30795         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30796         handle filename validation.
30797         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30798         (do_open): Delete.
30800 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
30802         [BZ #6786]
30803         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30804         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30805         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30806         <float.h>.
30807         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30808         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30809         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30810         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30811         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30812         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30813         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30814         * math/auto-libm-test-in: Don't allow missing errno from erfc.
30815         Add more erfc tests.
30816         * math/auto-libm-test-out: Regenerated.
30817         * sysdeps/i386/fpu/libm-test-ulps: Update.
30818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30820         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30821         exp2, expm1, j0 and j1.
30822         * math/auto-libm-test-out: Regenerated.
30823         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30824         (erfc_test_data): Likewise.
30825         (exp_test_data): Likewise.
30826         (exp_tonearest_test_data): Likewise.
30827         (exp_towardzero_test_data): Likewise.
30828         (exp_downward_test_data): Likewise.
30829         (exp_upward_test_data): Likewise.
30830         (exp10_test_data): Likewise.
30831         (exp2_test_data): Likewise.
30832         (expm1_test_data): Likewise.
30833         (j0_test_data): Likewise.
30834         (j1_test_data): Likewise.
30835         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30836         (input_flag_type): Add flag_xfail_rounding.
30837         (input_flags): Add xfail-rounding.
30838         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30839         (output_for_one_input_case): Handle flag_xfail_rounding.
30840         * sysdeps/i386/fpu/libm-test-ulps: Update.
30841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30843 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
30845         [BZ #16289]
30846         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30847         division by 0.
30849 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30851         [BZ #16195]
30852         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30853         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30854         (STAP_PROBE0): New macro.
30855         (STAP_PROBE1): Likewise.
30856         (STAP_PROBE2): Likewise.
30857         (STAP_PROBE3): Likewise.
30858         (STAP_PROBE4): Likewise.
30860 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
30862         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30864 2013-12-02  Steve Ellcey  <sellcey@mips.com>
30866         * benchtests/Makefile (bench): Add sqrt.
30867         (LDLIBS-bench-sqrt): New.
30868         * benchtests/sqrt-input: New.
30870 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
30872         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30873         (GAIH_EAI): Likewise.
30874         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30875         (gaih_inet): Likewise.
30876         (getaddrinfo): Don't use GAIH_EAI.
30878         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30879         (struct gaih): Remove definition.
30881 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30883         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30884         Use HERRNOP directly.
30886 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30890 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
30892         * math/gen-auto-libm-tests.c (test_functions): Add more
30893         single-argument functions.
30894         (special_fill_pi_2): New function.
30895         (special_fill_minus_pi_2): Likewise.
30896         (special_fill_pi_6): Likewise.
30897         (special_fill_minus_pi_6): Likewise.
30898         (special_fill_pi_3): Likewise.
30899         (special_fill_2pi_3): Likewise.
30900         (special_fill_e): Likewise.
30901         (special_fill_1_e): Likewise.
30902         (special_fill_e_minus_1): Likewise.
30903         (special_real_inputs): Add more special inputs.
30904         (output_for_one_input_case): Do not require ERANGE on underflow to
30905         zero if round-to-nearest result does not underflow to zero, unless
30906         exact results required.
30907         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30908         atan, atanh, cbrt, cos and cosh.
30909         * math/auto-libm-test-out: Regenerated.
30910         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30911         (acos_tonearest_test_data): Likewise.
30912         (acos_towardzero_test_data): Likewise.
30913         (acos_downward_test_data): Likewise.
30914         (acos_upward_test_data): Likewise.
30915         (acosh_test_data): Likewise.
30916         (asin_test_data): Likewise.
30917         (asin_tonearest_test_data): Likewise.
30918         (asin_towardzero_test_data): Likewise.
30919         (asin_upward_test_data): Likewise.
30920         (asinh_test_data): Likewise.
30921         (atan_test_data): Likewise.
30922         (atanh_test_data): Likewise.
30923         (cbrt_test_data): Likewise.
30924         (cos_test_data): Likewise.
30925         (cos_tonearest_test_data): Likewise.
30926         (cos_towardzero_test_data): Likewise.
30927         (cos_downward_test_data): Likewise.
30928         (cos_upward_test_data): Likewise.
30929         (cosh_test_data): Likewise.
30930         (cosh_tonearest_test_data): Likewise.
30931         (cosh_towardzero_test_data): Likewise.
30932         (cosh_downward_test_data): Likewise.
30933         (cosh_upward_test_data): Likewise.
30934         * sysdeps/i386/fpu/libm-test-ulps: Update.
30935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30937 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
30939         [BZ #6787]
30940         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30941         * math/w_exp10f.c (__exp10f): Likewise.
30942         * math/w_exp10l.c (__exp10l): Likewise.
30943         * math/libm-test.inc (exp10_test_data): Add more tests and expect
30944         errno settings in existing tests.
30946         [BZ #14032]
30947         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30948         precision control set to double precision.
30949         * sysdeps/i386/fpu/w_sqrt.c: New file.
30950         * math/auto-libm-test-in: Add more tests.
30951         * math/auto-libm-test-out: Update.
30953         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30954         (sqrt_test_tonearest): New function.
30955         (sqrt_towardzero_test_data): New variable.
30956         (sqrt_test_towardzero): New function.
30957         (sqrt_downward_test_data): New variable.
30958         (sqrt_test_downward): New function.
30959         (sqrt_upward_test_data): New variable.
30960         (sqrt_test_upward): New function.
30961         (main): Call the new functions.
30963         * math/gen-auto-libm-tests.c: New file.
30964         * math/auto-libm-test-in: Likewise.
30965         * math/auto-libm-test-out: New generated file.
30966         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30967         variables.
30968         (%beautify): Add generated representations of zero.
30969         (top level): Set $auto_input and call parse_auto_input.
30970         (beautify): Remove trailing "f" from hex float constants.
30971         (parse_args): Handle XFAIL_TEST.
30972         (convert_condition): New function.
30973         (or_value): Likewise.
30974         (or_cond_value): Likewise.
30975         (generate_testfile): Handle AUTO_TESTS_* lines.
30976         (parse_auto_input): New function.
30977         * math/libm-test.inc (XFAIL_TEST): New macro.
30978         (ERRNO_UNCHANGED): Update value.
30979         (ERRNO_EDOM): Likewise.
30980         (ERRNO_ERANGE): Likewise.
30981         (IGNORE_RESULT): Likewise.
30982         (TEST_COND_flt_32): New macro.
30983         (TEST_COND_dbl_64): Likewise.
30984         (TEST_COND_ldbl_96_intel): Likewise.
30985         (TEST_COND_ldbl_96_m68k): Likewise.
30986         (TEST_COND_ldbl_128): Likewise.
30987         (TEST_COND_ldbl_128ibm): Likewise.
30988         (TEST_COND_long32): Likewise.
30989         (TEST_COND_long64): Likewise.
30990         (TEST_COND_before_rounding): Likewise.
30991         (TEST_COND_after_rounding): Likewise.
30992         (enable_test): Handle XFAIL_TEST flag.
30993         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30994         with finite results.
30995         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30996         auto-libm-test-out.
30998 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30999             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31001         [BZ #16214]
31002         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
31003         __tls_get_addr_internal instead of __tls_get_offset in order to
31004         avoid GOT pointer dependency.  Make rtld export
31005         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
31006         __tls_get_addr since we are a __tls_get_offset platform.
31007         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
31008         GOT pointer being set up before.
31009         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
31011 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
31013         * manual/math.texi (Errors in Math Functions): Document accuracy
31014         goals.
31016         [BZ #15004]
31017         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
31018         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
31019         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31020         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31021         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31022         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31023         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31024         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31025         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31026         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31027         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31028         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31029         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31030         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31031         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31032         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31034         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
31035         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
31036         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
31037         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
31038         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
31039         Likewise.
31040         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
31041         Likewise.
31042         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
31043         Likewise.
31044         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
31045         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
31046         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
31047         atomic-feupdateenv and flt-rounds.
31048         * sysdeps/powerpc/nofpu/Versions (libc): Add
31049         __atomic_feholdexcept, __atomic_feclearexcept,
31050         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
31051         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
31052         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
31053         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
31054         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
31055         here.
31056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31057         Update.
31059         * manual/arith.texi (FP Exceptions): Document that exceptions may
31060         not be raised when matherr is used.
31061         (Math Error Reporting): Document overflow in directed rounding
31062         modes.  Document that errno may not be set when finite values are
31063         returned on overflow.  Document intent to set errno on underflow
31064         only for underflow to zero.
31066         [BZ #16271]
31067         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
31068         round-to-nearest then adjust result for other rounding modes.
31069         * include/fenv.h (fegetround): Use libm_hidden_proto.
31070         * math/fegetround.c (fegetround): Use libm_hidden_def.
31071         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31072         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31073         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31074         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31075         Likewise.
31076         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
31077         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31078         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31079         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
31081 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31083         [BZ #16077]
31084         * nss/Versions (libnss_files): Add
31085         _nss_files_gethostbyname3_r.
31086         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
31087         New function.
31088         (HOST_DB_LOOKUP): Remove macro.
31089         (_nss_files_gethostbyname_r): Implement function without the
31090         HOST_DB_LOOKUP macro.
31091         (_nss_files_gethostbyname2_r): Likewise.
31093 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
31095         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
31097 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
31099         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
31100         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
31101         warning.
31103 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31105         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
31106         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
31107         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31108         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31109         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
31110         __fe_nomask_env_priv and attribute_hidden.
31111         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
31112         (libc_feupdateenv_test_ppc): Likewise.
31113         (libc_feresetround_ppc): Likewise.
31114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31115         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
31116         compat_symbol macro.
31117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31118         (__fe_nomask_env): Likewise.
31119         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
31121 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31123         * string/Makefile: Remove ifunc tests.
31124         * string/test-string.h: Define TEST_IFUNC.
31125         * string/test-bcopy-ifunc.c: Remove.
31126         * string/test-bzero-ifunc.c: Likewise.
31127         * string/test-memccpy-ifunc.c: Likewise.
31128         * string/test-memchr-ifunc.c: Likewise.
31129         * string/test-memcmp-ifunc.c: Likewise.
31130         * string/test-memcpy-ifunc.c: Likewise.
31131         * string/test-memmem-ifunc.c: Likewise.
31132         * string/test-memmove-ifunc.c: Likewise.
31133         * string/test-mempcpy-ifunc.c: Likewise.
31134         * string/test-memrchr-ifunc.c: Likewise.
31135         * string/test-memset-ifunc.c: Likewise.
31136         * string/test-rawmemchr-ifunc.c: Likewise.
31137         * string/test-stpcpy-ifunc.c: Likewise.
31138         * string/test-stpncpy-ifunc.c: Likewise.
31139         * string/test-strcasecmp-ifunc.c: Likewise.
31140         * string/test-strcasestr-ifunc.c: Likewise.
31141         * string/test-strcat-ifunc.c: Likewise.
31142         * string/test-strchr-ifunc.c: Likewise.
31143         * string/test-strchrnul-ifunc.c: Likewise.
31144         * string/test-strcmp-ifunc.c: Likewise.
31145         * string/test-strcpy-ifunc.c: Likewise.
31146         * string/test-strcspn-ifunc.c: Likewise.
31147         * string/test-strlen-ifunc.c: Likewise.
31148         * string/test-strncasecmp-ifunc.c: Likewise.
31149         * string/test-strncat-ifunc.c: Likewise.
31150         * string/test-strncmp-ifunc.c: Likewise.
31151         * string/test-strncpy-ifunc.c: Likewise.
31152         * string/test-strnlen-ifunc.c: Likewise.
31153         * string/test-strpbrk-ifunc.c: Likewise.
31154         * string/test-strrchr-ifunc.c: Likewise.
31155         * string/test-strspn-ifunc.c: Likewise.
31156         * string/test-strstr-ifunc.c: Likewise.
31158 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31160         * benchtests/Makefile: Remove ifunc tests.
31161         * benchtests/bench-string.h: Define TEST_IFUNC.
31162         * benchtests/bench-bcopy-ifunc.c: Remove.
31163         * benchtests/bench-bzero-ifunc.c: Likewise.
31164         * benchtests/bench-memccpy-ifunc.c: Likewise.
31165         * benchtests/bench-memchr-ifunc.c: Likewise.
31166         * benchtests/bench-memcmp-ifunc.c: Likewise.
31167         * benchtests/bench-memcpy-ifunc.c: Likewise.
31168         * benchtests/bench-memmem-ifunc.c: Likewise.
31169         * benchtests/bench-memmove-ifunc.c: Likewise.
31170         * benchtests/bench-mempcpy-ifunc.c: Likewise.
31171         * benchtests/bench-memrchr-ifunc.c: Likewise.
31172         * benchtests/bench-memset-ifunc.c: Likewise.
31173         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31174         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31175         * benchtests/bench-stpcpy-ifunc.c: Likewise.
31176         * benchtests/bench-stpncpy-ifunc.c: Likewise.
31177         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31178         * benchtests/bench-strcasestr-ifunc.c: Likewise.
31179         * benchtests/bench-strcat-ifunc.c: Likewise.
31180         * benchtests/bench-strchr-ifunc.c: Likewise.
31181         * benchtests/bench-strchrnul-ifunc.c: Likewise.
31182         * benchtests/bench-strcmp-ifunc.c: Likewise.
31183         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31184         * benchtests/bench-strcpy-ifunc.c: Likewise.
31185         * benchtests/bench-strcspn-ifunc.c: Likewise.
31186         * benchtests/bench-strlen-ifunc.c: Likewise.
31187         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31188         * benchtests/bench-strncat-ifunc.c: Likewise.
31189         * benchtests/bench-strncmp-ifunc.c: Likewise.
31190         * benchtests/bench-strncpy-ifunc.c: Likewise.
31191         * benchtests/bench-strnlen-ifunc.c: Likewise.
31192         * benchtests/bench-strpbrk-ifunc.c: Likewise.
31193         * benchtests/bench-strrchr-ifunc.c: Likewise.
31194         * benchtests/bench-strsep-ifunc.c: Likewise.
31195         * benchtests/bench-strspn-ifunc.c: Likewise.
31196         * benchtests/bench-strstr-ifunc.c: Likewise.
31198 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31200         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31202 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31204         * resolv/netdb.h: Use __glibc_reserved instead __unused.
31205         * rt/aio.h: Likewise.
31206         * sysdeps/gnu/bits/utmp.h: Likewise.
31207         * sysdeps/gnu/bits/utmpx.h: Likewise.
31208         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31209         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31210         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31211         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31212         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31213         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31214         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31215         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31216         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31217         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31218         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31219         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31220         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31222         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31223         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31224         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31225         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31226         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31227         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31228         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31229         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31230         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31231         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31232         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31233         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31234         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31235         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31236         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31237         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31238         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31239         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31240         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31241         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31242         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31243         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31244         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31245         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31246         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31247         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31248         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31249         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31251 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
31253         [BZ #16245]
31254         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31255         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31257 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
31259         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31260         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31261         Likewise.
31263 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31265         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31266         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31267         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31268         (__fesetround): Remove define.
31269         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31270         rounding and exceptions handling.
31271         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31272         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31273         (__fe_nomask_env): Likewise.
31274         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31275         __fegetround instead of fegetround.
31276         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31277         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31279 2013-11-21  Roland McGrath  <roland@hack.frob.com>
31281         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31282         it's there.
31284         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31286 2013-11-21  Meador Inge  <meadori@codesourcery.com>
31288         [BZ #11157]
31289         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31290         (encrypt_r): Likewise.
31291         * malloc/obstack.h (obstack_free): Likewise.
31292         * posix/unistd.h (encrypt): Likewise.
31294 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
31296         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31297         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31298         DL_CALL_DT_FINI() that call the functions directly.
31299         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31300         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31301         * elf/dl-fini.c: Likewise.
31303 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
31305         * malloc/hooks.c (memalign_check): Add alignment rounding.
31306         * malloc/malloc.c (_mid_memalign): New function.
31307         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31308         Implement by calling _mid_memalign.
31309         * manual/probes.texi (Memory Allocation Probes): Remove
31310         memory_valloc_retry and memory_pvalloc_retry.
31312 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31314         * locale/programs/locarchive.c (open_archive): Add const
31315         qualifier to ARCHIVEFNAME and copy default fname to
31316         DEFAULT_FNAME.
31318         [BZ #15601]
31319         * libio/tst-widetext.input: Rename Oriya to Odia.
31320         * locale/iso-639.def: Likewise.
31322         * manual/probes.texi (Mathematical Function Probes): Add
31323         documentation for sin, cos, asin and acos probes.
31324         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31325         (__sin32): Add slowasin probe.
31326         (__cos32): Add slowacos probe.
31327         (__mpsin): Add slowsin probe.
31328         (__mpcos): Add slowcos probe.
31330 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
31332         [BZ #15483]
31333         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31334         thread-local __sim_exceptions_thread and global
31335         __sim_exceptions_global.
31336         (__sim_disabled_exceptions): Change to thread-local
31337         __sim_disabled_exceptions_thread and global
31338         __sim_disabled_exceptions_global.
31339         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31340         and global __sim_round_mode_global.
31341         (__simulate_exceptions): Use thread-local floating-point state and
31342         set global state from it as needed.
31343         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31344         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31345         __sim_round_mode_thread.
31346         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31347         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31348         and global __sim_exceptions_global.
31349         (__sim_disabled_exceptions): Change to thread-local
31350         __sim_disabled_exceptions_thread and global
31351         __sim_disabled_exceptions_global.
31352         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31353         and global __sim_round_mode_global.
31354         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31355         (SIM_SET_GLOBAL): Likewise.
31356         * sysdeps/powerpc/soft-fp/sfp-machine.h
31357         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31358         __sim_round_mode_thread.
31359         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31360         __sim_disabled_exceptions_thread.
31361         (__sim_exceptions): Change to __sim_exceptions_thread.
31362         (__sim_disabled_exceptions): Change to
31363         __sim_disabled_exceptions_thread.
31364         (__sim_round_mode): Change to __sim_round_mode_thread.
31365         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31366         thread-local floating-point state and set global state from it as
31367         needed.
31368         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31369         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31370         (__sim_disabled_exceptions): Remove extern declaration.
31371         (feenableexcept): Use thread-local floating-point state and set
31372         global state from it as needed.
31373         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31374         extern declaration.
31375         (__sim_disabled_exceptions): Likewise.
31376         (__sim_round_mode): Likewise.
31377         (__fegetenv): Use thread-local floating-point state.
31378         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31379         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31380         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31381         floating-point state and set global state from it as needed.
31382         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31383         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31384         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31385         Likewise.
31386         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31387         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31388         Likewise.
31389         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31390         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31391         Use __sim_round_mode_thread.
31392         * math/test-fenv-tls.c: New file.
31393         * math/Makefile (tests): Add test-fenv-tls.
31394         ($(objpfx)test-fenv-tls): Depend on
31395         $(common-objpfx)nptl/libpthread.so.
31397 2013-11-19  Andreas Schwab  <schwab@suse.de>
31399         * locale/programs/locale.c (show_info): Decode wordarray elements.
31400         * locale/categories.def (LC_MONETARY): Add element for
31401         _NL_MONETARY_CRNCYSTR.
31402         * locale/C-monetary.c (conversion_rate): New variable.
31403         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31404         element.
31406 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
31408         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31409         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31411 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31413         * elf/Makefile (tst-auxv): New test.
31414         * elf/tst-auxv.c: New
31415         * elf/rtld.c (dl_main): Adjust AT_EXECFN
31417 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
31419         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31420         (hidden_proto): Caller changed.
31421         (hidden_tls_proto): New macro.
31422         (libc_hidden_tls_proto): Likewise.
31423         (rtld_hidden_tls_proto): Likewise.
31424         (libm_hidden_tls_proto): Likewise.
31425         (libresolv_hidden_tls_proto): Likewise.
31426         (librt_hidden_tls_proto): Likewise.
31427         (libdl_hidden_tls_proto): Likewise.
31428         (libnss_files_hidden_tls_proto): Likewise.
31429         (libnsl_hidden_tls_proto): Likewise.
31430         (libnss_nisplus_hidden_tls_proto): Likewise.
31431         (libutil_hidden_tls_proto): Likewise.
31433 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
31435         [BZ #10253]
31436         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31437         (decompose_rpath): Defer expansion to fillin_rpath.
31438         (_dl_init_paths): Pass linkmap to fillin_rpath.
31440 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31442         * benchtests/Makefile: Add strsep.
31443         * benchtests/bench-strsep.c: New file: strsep benchtest.
31444         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31446 2013-11-18  Andreas Schwab  <schwab@suse.de>
31448         * locale/programs/locale.c (show_info) [case byte]: Check for
31449         '\377' instead of '\177'.
31450         * locale/C-monetary.c (not_available): Always use "\377".
31451         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31452         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
31453         detect unavailable sign_posn locale elements.
31454         * locale/localeconv.c (__localeconv): For grouping and
31455         mon_grouping handle "\177" and "\377" like no grouping.
31456         (INT_ELEM): New macro.  Use it to set all numeric members.
31457         * locale/programs/ld-monetary.c (monetary_read)
31458         <tok_mon_grouping>: Normalize single -1 to the empty string.
31459         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31460         Likewise.
31462 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31464         [BZ #16055]
31465         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31466         when we match (nil).
31467         * stdio-common/tst-sscanf.c (struct test): Add testcase.
31469 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
31471         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31472         (NO_TEST_INLINE): Update value.
31473         (ERRNO_UNCHANGED): Likewise.
31474         (ERRNO_EDOM): Likewise.
31475         (ERRNO_ERANGE): Likewise.
31476         (IGNORE_RESULT): Likewise.
31477         (check_float_internal): Check signs of NaN results if
31478         TEST_NAN_SIGN used.
31479         (check_complex): Pass TEST_NAN_SIGN flag through to second
31480         check_float_internal call.
31481         (copysign_test_data): Add tests with quiet NaNs as second
31482         argument.  Use TEST_NAN_SIGN.
31483         (fabs_test_data): Add test of negative quiet NaN argument.  Use
31484         TEST_NAN_SIGN.
31485         (signbit_test_data): Add tests of quiet NaN argument.
31486         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31488         * math/gen-libm-test.pl (show_exceptions): Take extra argument
31489         $ignore_result.
31490         (parse_args): Handle function results specified as IGNORE.
31491         * math/libm-test.inc (IGNORE_RESULT): New macro.
31492         (check_float_internal): Do not check numerical result if flag
31493         IGNORE_RESULT set.
31494         (check_complex): Pass through IGNORE_RESULT to second
31495         check_float_internal call.
31496         (check_int): Do not check numerical result if flag IGNORE_RESULT
31497         set.
31498         (check_long): Likewise.
31499         (check_bool): Likewise.
31500         (check_longlong): Likewise.
31501         (lrint_test_data): Add tests of infinite and NaN arguments.
31502         (lrint_tonearest_test_data): Likewise.
31503         (lrint_towardzero_test_data): Likewise.
31504         (lrint_downward_test_data): Likewise.
31505         (lrint_upward_test_data): Likewise.
31506         (llrint_test_data): Likewise.
31507         (llrint_tonearest_test_data): Likewise.
31508         (llrint_towardzero_test_data): Likewise.
31509         (llrint_downward_test_data): Likewise.
31510         (llrint_upward_test_data): Likewise.
31511         (lround_test_data): Likewise.
31512         (llround_test_data): Likewise.
31514         * math/libm-test.inc (NO_TEST_INLINE): New macro.
31515         (ERRNO_UNCHANGED): Update value.
31516         (ERRNO_EDOM): Likewise.
31517         (ERRNO_ERANGE): Likewise.
31518         (NO_TEST_INLINE_FLOAT): New macro.
31519         (NO_TEST_INLINE_DOUBLE): Likewise.
31520         (enable_test): New function.
31521         (RUN_TEST_f_f): Check enable_test before running test.
31522         (RUN_TEST_2_f): Likewise.
31523         (RUN_TEST_fff_f): Likewise.
31524         (RUN_TEST_c_f): Likewise.
31525         (RUN_TEST_f_f1): Likewise.
31526         (RUN_TEST_fF_f1): Likewise.
31527         (RUN_TEST_fI_f1): Likewise.
31528         (RUN_TEST_ffI_f1): Likewise.
31529         (RUN_TEST_c_c): Likewise.
31530         (RUN_TEST_cc_c): Likewise.
31531         (RUN_TEST_f_i): Likewise.
31532         (RUN_TEST_f_i_tg): Likewise.
31533         (RUN_TEST_ff_i_tg): Likewise.
31534         (RUN_TEST_f_b): Likewise.
31535         (RUN_TEST_f_b_tg): Likewise.
31536         (RUN_TEST_f_l): Likewise.
31537         (RUN_TEST_f_L): Likewise.
31538         (RUN_TEST_fFF_11): Likewise.
31539         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31540         conditionals.
31541         (cosh_test_data): Likewise.
31542         (exp_test_data): Likewise.
31543         (expm1_test_data): Likewise.
31544         (hypot_test_data): Likewise.
31545         (pow_test_data): Likewise.
31546         (sinh_test_data): Likewise.
31547         (tanh_test_data): Likewise.
31548         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31549         flags argument.
31551         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31552         tests with quiet NaN input and output.
31553         (acosh_test_data): Likewise.
31554         (asin_test_data): Likewise.
31555         (asinh_test_data): Likewise.
31556         (atan_test_data): Likewise.
31557         (atanh_test_data): Likewise.
31558         (atan2_test_data): Likewise.
31559         (cbrt_test_data): Likewise.
31560         (cos_test_data): Likewise.
31561         (cosh_test_data): Likewise.
31562         (erf_test_data): Likewise.
31563         (erfc_test_data): Likewise.
31564         (exp_test_data): Likewise.
31565         (exp10_test_data): Likewise.
31566         (exp2_test_data): Likewise.
31567         (expm1_test_data): Likewise.
31568         (hypot_test_data): Likewise.
31569         (j0_test_data): Likewise.
31570         (j1_test_data): Likewise.
31571         (jn_test_data): Likewise.
31572         (lgamma_test_data): Likewise.
31573         (log_test_data): Likewise.
31574         (log10_test_data): Likewise.
31575         (log1p_test_data): Likewise.
31576         (log2_test_data): Likewise.
31577         (pow_test_data): Likewise.
31578         (scalb_test_data): Likewise.
31579         (sin_test_data): Likewise.
31580         (sincos_test_data): Likewise.
31581         (sinh_test_data): Likewise.
31582         (tan_test_data): Likewise.
31583         (tanh_test_data): Likewise.
31584         (tgamma_test_data): Likewise.
31585         (y0_test_data): Likewise.
31586         (y1_test_data): Likewise.
31587         (yn_test_data): Likewise.
31589         [BZ #16167]
31590         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31591         argument being NaN and avoid computations with second argument in
31592         that case.
31593         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31594         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31595         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31597 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
31599         * locale/iso-639.def: Add Chitwani Tharu (the).
31601 2013-11-14  Andreas Schwab  <schwab@suse.de>
31603         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31604         word instead of empty string.
31606 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31609         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31611         (__fe_nomask_env): Likewise.
31613 2013-11-13  Steve Ellcey  <sellcey@mips.com>
31615         * benchtests/bench-timing.h: Include time.h.
31617 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
31619         [BZ #15997]
31620         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31621         to 3.4.0 for x32.
31622         * sysdeps/unix/sysv/linux/configure: Regenerated.
31624 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
31626         [BZ #16151]
31627         * stdlib/strtod_l.c (round_and_return): Do not consider
31628         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31629         exponent one less than half the least subnormal exponent.
31630         * stdlib/test-strtod-round-data: Add more tests.
31631         * stdlib/tst-strtod-round.c (tests): Regenerated.
31633 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31635         [BZ #14143]
31636         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31637         (__fe_mask_env): Likewise.
31638         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31639         libm_hidden_proto and add function prototype.
31640         (__fe_mask_env): Add function prototype.
31641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31642         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31644         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31646         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31648 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31650         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31651         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31653 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31655         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31656         of htab_find_slot().
31658 2013-11-11  David S. Miller  <davem@davemloft.net>
31660         [BZ #16150]
31661         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31662         symbol in the non-vis3 case in static builds.
31663         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31664         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31665         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31666         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31668 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
31670         [BZ #387]
31671         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31672         it is empty.
31674 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31676         * benchtests/Makefile: Add bench-strtod.
31677         * benchtests/bench-strtod.c: New file: strtod benchtest
31679 2013-11-11  Andreas Schwab  <schwab@suse.de>
31681         [BZ #16153]
31682         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31683         terminating NUL in key length.
31685 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31687         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31688         Add artificial ODP entry for vDSO symbol for PPC64.
31689         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31690         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31692 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31694         [BZ #15374]
31695         * nss/getent.c (services_keys): Recognize services starting with digit.
31697 2013-11-06  David S. Miller  <davem@davemloft.net>
31699         [BZ #15985]
31700         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31701         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31703 2013-11-06  Will Newton  <will.newton@linaro.org>
31705         * manual/memory.texi (Malloc Examples): Remove register
31706         keyword from examples.
31708 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
31710         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31712 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
31714         [BZ #6981]
31715         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31716         depending on [__GCC_IEC_559 > 0].
31717         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31718         depending on [__GCC_IEC_559_COMPLEX > 0].
31720 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
31722         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31723         to iso-639.def.
31725 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
31727         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31729 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
31731         [BZ #16112]
31732         * malloc/malloc (malloc_info): Do not handle first bin as
31733         special case.
31735 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
31737         * locale/iso-639.def: Add Central Nahuatl (nhn).
31739 2013-11-01  Bruno Haible  <bruno@clisp.org>
31741         [BZ #7003]
31742         * manual/math.texi (BSD Random): Specify range upper bound as
31743         in POSIX.
31745 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
31747         * locale/iso-639.def: Add Meadow Mari (mhr).
31749 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
31751         [BZ #14752], [BZ #15763]
31752         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31753         Validate name.
31754         * rt/tst_shm.c: Add test for escaping directory.
31756 2013-10-31  Andreas Schwab  <schwab@suse.de>
31758         [BZ #15917]
31759         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31760         followed by 'x' as part of digit sequence.
31761         * stdio-common/tst-sscanf.c (double_tests2): New tests.
31763 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31765         [BZ #16037]
31766         * configure.ac: allow GNU Make 4.0 and greater.
31767         * configure: Regenerated.
31769 2013-10-30  Will Newton  <will.newton@linaro.org>
31771         [BZ #16038]
31772         * malloc/hooks.c (memalign_check): Limit alignment to the
31773         maximum representable power of two.
31774         * malloc/malloc.c (__libc_memalign): Likewise.
31775         * malloc/tst-memalign.c (do_test): Add test for very
31776         large alignment values.
31777         * malloc/tst-posix_memalign.c (do_test): Likewise.
31779 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
31781         [BZ #11087]
31782         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31783         (munmap_chunk): Likewise.
31784         (mremap_chunk): Likewise.
31786 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
31788         [BZ #15799]
31789         * stdlib/div.c (div): Remove obsolete code.
31790         * stdlib/ldiv.c (ldiv): Likewise.
31791         * stdlib/lldiv.c (lldiv): Likewise.
31793 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31795         [BZ #16071]
31796         * nss/nss_files/files-XXX.c (get_contents_ret): New
31797         enumerator.
31798         (get_contents): New function.
31799         (internal_getent): Use it.  Expand size of LINEBUFLEN.
31801 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
31803         * configure.in: Moved to ...
31804         * configure.ac: ... here. Change reference to configure.in
31805         to configure.ac.
31806         * sysdeps/arm/preconfigure.ac: ... here.
31807         configure.in to configure.ac.
31808         * sysdeps/gnu/configure.in: Moved to ...
31809         * sysdeps/gnu/configure.ac: ... here.
31810         * sysdeps/i386/configure.in: Moved to ...
31811         * sysdeps/i386/configure.ac: ... here.
31812         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31813         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31814         * sysdeps/mach/configure.in: Moved to ...
31815         * sysdeps/mach/configure.ac: ... here.
31816         * sysdeps/mach/hurd/configure.in: Moved to ...
31817         * sysdeps/mach/hurd/configure.ac: ... here.
31818         * sysdeps/powerpc/configure.in: Moved to ...
31819         * sysdeps/powerpc/configure.ac: ... here.
31820         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31821         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31822         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31823         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31824         * sysdeps/s390/s390-32/configure.in: Moved to ...
31825         * sysdeps/s390/s390-32/configure.ac: ... here.
31826         * sysdeps/s390/s390-64/configure.in: Moved to ...
31827         * sysdeps/s390/s390-64/configure.ac: ... here.
31828         * sysdeps/sh/configure.in: Moved to ...
31829         * sysdeps/sh/configure.ac: ... here.
31830         * sysdeps/sparc/configure.in: Moved to ...
31831         * sysdeps/sparc/configure.ac: ... here.
31832         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31833         * sysdeps/unix/sysv/linux/configure.ac: ... here.
31834         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31835         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31836         * sysdeps/x86_64/configure.in: Moved to ...
31837         * sysdeps/x86_64/configure.ac: ... here.
31838         * sysdeps/x86_64/preconfigure.in: Moved to ...
31839         * sysdeps/x86_64/preconfigure.ac: ... here.
31840         * aclocal.m4: Change reference to configure.in to configure.ac.
31841         * config.h.in: Likewise.
31842         * manual/install.texi: Likewise.
31843         * manual/maint.texi: Likewise.
31844         * Makefile: Likewise.
31845         * malloc/Makefile: Likewise.
31846         * nscd/Makefile: Likewise.
31847         * Makeconfig: Change reference to configure.in and
31848         preconfigure.in to configure.ac and preconfigure.ac
31849         respectively.
31850         * INSTALL: Regenerated.
31851         * configure: Likewise.
31852         * sysdeps/gnu/configure: Likewise.
31853         * sysdeps/i386/configure: Likewise.
31854         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31855         * sysdeps/mach/configure: Likewise.
31856         * sysdeps/mach/hurd/configure: Likewise.
31857         * sysdeps/powerpc/configure: Likewise.
31858         * sysdeps/powerpc/powerpc32/configure: Likewise.
31859         * sysdeps/powerpc/powerpc64/configure: Likewise.
31860         * sysdeps/s390/s390-32/configure: Likewise.
31861         * sysdeps/s390/s390-64/configure: Likewise.
31862         * sysdeps/sh/configure: Likewise.
31863         * sysdeps/sparc/configure: Likewise.
31864         * sysdeps/unix/sysv/linux/configure: Likewise.
31865         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31866         * sysdeps/x86_64/configure: Likewise.
31867         * sysdeps/x86_64/preconfigure: Likewise.
31869 2013-10-29  Andreas Schwab  <schwab@suse.de>
31871         * stdio-common/Makefile (tst-swscanf-ENV): Define.
31873 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31875         * benchtests/pow-inputs: Add new inputs.
31877         * benchtests/exp-inputs: Add new inputs.
31879         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31880         conditional check for return value.
31881         (__cos32): Likewise.
31883 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31885         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31886         to provide a boost for large inputs with word alignment.
31887         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31888         implementation based on optimized PPC64 strcpy.
31889         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31890         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31891         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31892         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31894 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31896         [BZ #2801]
31897         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31899 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31901         [BZ #14876]
31902         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31903         * time/tst-strptime.c (day_tests): Add testcase.
31905 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31907         [BZ #14029]
31908         * manual/pattern.texi: Acknowledge that fnmatch can fail.
31910 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
31912         [BZ #16074]
31913         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31914         MAP_FAILED on error.
31916 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31918         [BZ #16072]
31919         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31920         heap for large requests.
31922 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
31924         [BZ #9954]
31925         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31926         result if the result has no associated interface.
31927         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31928         interface for all 127.X.Y.Z addresses.
31930 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
31932         * locale/iso-639.def: Add Ligurian (lij)
31934 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
31936         [BZ #15825]
31937         * sunrpc/rpc_main.c: Document rpcgen -5.
31939 2013-10-19  Michael Stahl  <mstahl@redhat.com>
31941         * elf/rtld.c (do_preload): Print the reason why preloading failed.
31943 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
31945         [BZ #10278]
31946         * posix/glob.c: Match only directories when trailing slash is present.
31947         * posix/tst-gnuglob.c (my_opendir): Do not open files.
31948         (main): Add testcase.
31950 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
31952         [BZ #15670]
31953         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31955 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
31957         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31958         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31959         AUTH_DES and cindex for FIPS 140-2.
31960         (DES Encryption): Add cindex FIPS 46-3.
31962         * locale/locarchive.h (struct locarhandle): Add fname.
31963         * locale/programs/localedef.c (main): Pass ARGV[remaining]
31964         if an optional argument was specified to --list-archive,
31965         otherwise NULL.
31966         * locale/programs/locarchive.c (show_archive_content): Take new
31967         argument fname and pass it via ah.fname to open_archive.
31968         * locale/programs/localedef.h: Update decl.
31969         (open_archive): If AH->fname is non-null, open that file
31970         rather than the default file name, and don't ignore ENOENT.
31971         (create_archive): Set AH.fname to NULL.
31972         (delete_locales_from_archive): Likewise.
31973         (add_locales_to_archive): Likewise.
31974         * locale/programs/locfile.c (write_all_categories): Likewise.
31976 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
31977             Aldy Hernandez  <aldyh@redhat.com>
31979         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31980         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31981         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31982         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31983         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31984         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31985         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31986         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31987         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31988         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31989         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31990         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31991         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31992         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31993         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31994         Likewise.
31995         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31996         Likewise.
31997         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31998         Likewise.
31999         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
32000         Likewise.
32001         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
32002         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
32003         Likewise.
32004         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
32005         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
32006         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
32007         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
32008         Likewise.
32009         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
32010         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
32011         * sysdeps/powerpc/preconfigure: Likewise.
32012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
32013         Likewise.
32014         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
32015         Replace contents of file by #include of <fenv_libc.h>.
32016         * sysdeps/powerpc/soft-fp/sfp-machine.h
32017         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
32018         and <sys/prctl.h>.
32019         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
32020         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
32021         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
32022         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
32023         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
32024         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
32025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
32026         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
32027         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
32028         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
32029         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
32030         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
32031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32032         Allow copysignl PLT reference to be missing.
32034 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
32035             Joseph Myers  <joseph@codesourcery.com
32037         [BZ #15948]
32038         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
32039         single character.
32040         (add_to_tablewc): Assert sequence of wide characters is nonempty.
32042 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32044         * elf/tst-tls-dlinfo.c: Don't include tls.h.
32045         * elf/tst-tls1.c: Likewise.
32046         * elf/tst-tls10.h: Likewise.
32047         * elf/tst-tls14.c: Likewise.
32048         * elf/tst-tls2.c: Likewise.
32049         * elf/tst-tls3.c: Likewise.
32050         * elf/tst-tls4.c: Likewise.
32051         * elf/tst-tls5.c: Likewise.
32052         * elf/tst-tls6.c: Likewise.
32053         * elf/tst-tls7.c: Likewise.
32054         * elf/tst-tls8.c: Likewise.
32055         * elf/tst-tls9.c: Likewise.
32056         * elf/tst-tlsmod1.c: Likewise.
32057         * elf/tst-tlsmod13.c: Likewise.
32058         * elf/tst-tlsmod13a.c: Likewise.
32059         * elf/tst-tlsmod14a.c: Likewise.
32060         * elf/tst-tlsmod16a.c: Likewise.
32061         * elf/tst-tlsmod16b.c: Likewise.
32062         * elf/tst-tlsmod2.c: Likewise.
32063         * elf/tst-tlsmod3.c: Likewise.
32064         * elf/tst-tlsmod4.c: Likewise.
32065         * elf/tst-tlsmod5.c: Likewise.
32066         * elf/tst-tlsmod6.c: Likewise.
32068 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
32070         [BZ #12486]
32071         * malloc/malloc.c: remove checks for statistics.
32073 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32075         [BZ #15277]
32076         * inet/inet_net.c (inet_network): Detect additional invalid strings.
32077         * inet/tst-network.c: Add testcase.
32079 2013-10-17  Andreas Schwab  <schwab@suse.de>
32081         [BZ #15218]
32082         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
32083         to determine canonical name.
32085 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32087         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
32088         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
32089         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32090         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32092         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32093         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32094         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32095         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32096         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32097         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32098         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32099         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32100         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32101         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32102         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32103         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32104         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32105         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32106         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32107         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32108         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32109         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32110         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
32111         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
32112         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32113         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32114         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
32115         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32116         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
32117         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32118         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32119         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32120         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32121         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32122         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32123         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32124         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32125         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32126         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32127         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32128         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32129         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32130         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32131         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32132         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32133         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32134         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32135         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32136         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32137         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32138         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32139         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32140         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32141         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32142         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32143         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32144         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32146 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
32148         [BZ #16041]
32149         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32150         make result into a quiet NaN.
32152 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
32154         * soft-fp/adddf3.c: Fix horizontal whitespace.
32155         * soft-fp/addsf3.c: Likewise.
32156         * soft-fp/addtf3.c: Likewise.
32157         * soft-fp/divdf3.c: Likewise.
32158         * soft-fp/divsf3.c: Likewise.
32159         * soft-fp/divtf3.c: Likewise.
32160         * soft-fp/double.h: Likewise.
32161         * soft-fp/eqdf2.c: Likewise.
32162         * soft-fp/eqsf2.c: Likewise.
32163         * soft-fp/eqtf2.c: Likewise.
32164         * soft-fp/extenddftf2.c: Likewise.
32165         * soft-fp/extended.h: Likewise.
32166         * soft-fp/extendsfdf2.c: Likewise.
32167         * soft-fp/extendsftf2.c: Likewise.
32168         * soft-fp/extendxftf2.c: Likewise.
32169         * soft-fp/fixdfdi.c: Likewise.
32170         * soft-fp/fixdfsi.c: Likewise.
32171         * soft-fp/fixdfti.c: Likewise.
32172         * soft-fp/fixsfdi.c: Likewise.
32173         * soft-fp/fixsfsi.c: Likewise.
32174         * soft-fp/fixsfti.c: Likewise.
32175         * soft-fp/fixtfdi.c: Likewise.
32176         * soft-fp/fixtfsi.c: Likewise.
32177         * soft-fp/fixtfti.c: Likewise.
32178         * soft-fp/fixunsdfdi.c: Likewise.
32179         * soft-fp/fixunsdfsi.c: Likewise.
32180         * soft-fp/fixunsdfti.c: Likewise.
32181         * soft-fp/fixunssfdi.c: Likewise.
32182         * soft-fp/fixunssfsi.c: Likewise.
32183         * soft-fp/fixunssfti.c: Likewise.
32184         * soft-fp/fixunstfdi.c: Likewise.
32185         * soft-fp/fixunstfsi.c: Likewise.
32186         * soft-fp/fixunstfti.c: Likewise.
32187         * soft-fp/floatdidf.c: Likewise.
32188         * soft-fp/floatdisf.c: Likewise.
32189         * soft-fp/floatditf.c: Likewise.
32190         * soft-fp/floatsidf.c: Likewise.
32191         * soft-fp/floatsisf.c: Likewise.
32192         * soft-fp/floatsitf.c: Likewise.
32193         * soft-fp/floattidf.c: Likewise.
32194         * soft-fp/floattisf.c: Likewise.
32195         * soft-fp/floattitf.c: Likewise.
32196         * soft-fp/floatundidf.c: Likewise.
32197         * soft-fp/floatundisf.c: Likewise.
32198         * soft-fp/floatunditf.c: Likewise.
32199         * soft-fp/floatunsidf.c: Likewise.
32200         * soft-fp/floatunsisf.c: Likewise.
32201         * soft-fp/floatunsitf.c: Likewise.
32202         * soft-fp/floatuntidf.c: Likewise.
32203         * soft-fp/floatuntisf.c: Likewise.
32204         * soft-fp/floatuntitf.c: Likewise.
32205         * soft-fp/fmadf4.c: Likewise.
32206         * soft-fp/fmasf4.c: Likewise.
32207         * soft-fp/fmatf4.c: Likewise.
32208         * soft-fp/gedf2.c: Likewise.
32209         * soft-fp/gesf2.c: Likewise.
32210         * soft-fp/getf2.c: Likewise.
32211         * soft-fp/ledf2.c: Likewise.
32212         * soft-fp/lesf2.c: Likewise.
32213         * soft-fp/letf2.c: Likewise.
32214         * soft-fp/muldf3.c: Likewise.
32215         * soft-fp/mulsf3.c: Likewise.
32216         * soft-fp/multf3.c: Likewise.
32217         * soft-fp/negdf2.c: Likewise.
32218         * soft-fp/negsf2.c: Likewise.
32219         * soft-fp/negtf2.c: Likewise.
32220         * soft-fp/op-1.h: Likewise.
32221         * soft-fp/op-2.h: Likewise.
32222         * soft-fp/op-4.h: Likewise.
32223         * soft-fp/op-8.h: Likewise.
32224         * soft-fp/op-common.h: Likewise.
32225         * soft-fp/quad.h: Likewise.
32226         * soft-fp/single.h: Likewise.
32227         * soft-fp/soft-fp.h: Likewise.
32228         * soft-fp/sqrtdf2.c: Likewise.
32229         * soft-fp/sqrtsf2.c: Likewise.
32230         * soft-fp/sqrttf2.c: Likewise.
32231         * soft-fp/subdf3.c: Likewise.
32232         * soft-fp/subsf3.c: Likewise.
32233         * soft-fp/subtf3.c: Likewise.
32234         * soft-fp/truncdfsf2.c: Likewise.
32235         * soft-fp/trunctfdf2.c: Likewise.
32236         * soft-fp/trunctfsf2.c: Likewise.
32237         * soft-fp/trunctfxf2.c: Likewise.
32238         * soft-fp/unorddf2.c: Likewise.
32239         * soft-fp/unordsf2.c: Likewise.
32240         * soft-fp/unordtf2.c: Likewise.
32242 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
32244         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32245         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32247 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
32249         * elf/dl-libc.c: Clear initfini list after freeing.
32251 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
32253         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32254         * soft-fp/addsf3.c: Likewise.
32255         * soft-fp/addtf3.c: Likewise.
32256         * soft-fp/divdf3.c: Likewise.
32257         * soft-fp/divsf3.c: Likewise.
32258         * soft-fp/divtf3.c: Likewise.
32259         * soft-fp/double.h: Likewise.
32260         * soft-fp/eqdf2.c: Likewise.
32261         * soft-fp/eqsf2.c: Likewise.
32262         * soft-fp/eqtf2.c: Likewise.
32263         * soft-fp/extenddftf2.c: Likewise.
32264         * soft-fp/extended.h: Likewise.
32265         * soft-fp/extendsfdf2.c: Likewise.
32266         * soft-fp/extendsftf2.c: Likewise.
32267         * soft-fp/extendxftf2.c: Likewise.
32268         * soft-fp/fixdfdi.c: Likewise.
32269         * soft-fp/fixdfsi.c: Likewise.
32270         * soft-fp/fixdfti.c: Likewise.
32271         * soft-fp/fixsfdi.c: Likewise.
32272         * soft-fp/fixsfsi.c: Likewise.
32273         * soft-fp/fixsfti.c: Likewise.
32274         * soft-fp/fixtfdi.c: Likewise.
32275         * soft-fp/fixtfsi.c: Likewise.
32276         * soft-fp/fixtfti.c: Likewise.
32277         * soft-fp/fixunsdfdi.c: Likewise.
32278         * soft-fp/fixunsdfsi.c: Likewise.
32279         * soft-fp/fixunsdfti.c: Likewise.
32280         * soft-fp/fixunssfdi.c: Likewise.
32281         * soft-fp/fixunssfsi.c: Likewise.
32282         * soft-fp/fixunssfti.c: Likewise.
32283         * soft-fp/fixunstfdi.c: Likewise.
32284         * soft-fp/fixunstfsi.c: Likewise.
32285         * soft-fp/fixunstfti.c: Likewise.
32286         * soft-fp/floatdidf.c: Likewise.
32287         * soft-fp/floatdisf.c: Likewise.
32288         * soft-fp/floatditf.c: Likewise.
32289         * soft-fp/floatsidf.c: Likewise.
32290         * soft-fp/floatsisf.c: Likewise.
32291         * soft-fp/floatsitf.c: Likewise.
32292         * soft-fp/floattidf.c: Likewise.
32293         * soft-fp/floattisf.c: Likewise.
32294         * soft-fp/floattitf.c: Likewise.
32295         * soft-fp/floatundidf.c: Likewise.
32296         * soft-fp/floatundisf.c: Likewise.
32297         * soft-fp/floatunsidf.c: Likewise.
32298         * soft-fp/floatunsisf.c: Likewise.
32299         * soft-fp/floatuntidf.c: Likewise.
32300         * soft-fp/floatuntisf.c: Likewise.
32301         * soft-fp/floatuntitf.c: Likewise.
32302         * soft-fp/fmadf4.c: Likewise.
32303         * soft-fp/fmasf4.c: Likewise.
32304         * soft-fp/fmatf4.c: Likewise.
32305         * soft-fp/gedf2.c: Likewise.
32306         * soft-fp/gesf2.c: Likewise.
32307         * soft-fp/getf2.c: Likewise.
32308         * soft-fp/ledf2.c: Likewise.
32309         * soft-fp/lesf2.c: Likewise.
32310         * soft-fp/letf2.c: Likewise.
32311         * soft-fp/muldf3.c: Likewise.
32312         * soft-fp/mulsf3.c: Likewise.
32313         * soft-fp/multf3.c: Likewise.
32314         * soft-fp/negdf2.c: Likewise.
32315         * soft-fp/negsf2.c: Likewise.
32316         * soft-fp/negtf2.c: Likewise.
32317         * soft-fp/op-1.h: Likewise.
32318         * soft-fp/op-2.h: Likewise.
32319         * soft-fp/op-4.h: Likewise.
32320         * soft-fp/op-8.h: Likewise.
32321         * soft-fp/op-common.h: Likewise.
32322         * soft-fp/quad.h: Likewise.
32323         * soft-fp/single.h: Likewise.
32324         * soft-fp/soft-fp.h: Likewise.
32325         * soft-fp/sqrtdf2.c: Likewise.
32326         * soft-fp/sqrtsf2.c: Likewise.
32327         * soft-fp/sqrttf2.c: Likewise.
32328         * soft-fp/subdf3.c: Likewise.
32329         * soft-fp/subsf3.c: Likewise.
32330         * soft-fp/subtf3.c: Likewise.
32331         * soft-fp/truncdfsf2.c: Likewise.
32332         * soft-fp/trunctfdf2.c: Likewise.
32333         * soft-fp/trunctfsf2.c: Likewise.
32334         * soft-fp/trunctfxf2.c: Likewise.
32335         * soft-fp/unorddf2.c: Likewise.
32336         * soft-fp/unordsf2.c: Likewise.
32337         * soft-fp/unordtf2.c: Likewise.
32339 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
32341         [BZ #15672]
32342         * misc/error.c (error_tail): Fix possible buffer overflow.
32344 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
32346         [BZ #13028]
32347         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32348         address.
32350 2013-10-14  P. J. McDermott  <pj@pehjota.net>
32352         [BZ #832]
32353         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
32354         testing pipefail option.
32356 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32358         * soft-fp/double.h: Indent preprocessor directives inside #if.
32359         * soft-fp/extended.h: Likewise.
32360         * soft-fp/op-2.h: Likewise.
32361         * soft-fp/op-4.h: Likewise.
32362         * soft-fp/op-common.h: Likewise.
32363         * soft-fp/quad.h: Likewise.
32364         * soft-fp/single.h: Likewise.
32365         * soft-fp/soft-fp.h: Likewise.
32367 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
32369         * iconv/iconv_prog.c: Fix typos.
32370         * stdio-common/psiginfo-data.h: Likewise.
32372 2013-10-12   Reuben Thomas <rrt@sc3d.org>
32374         [BZ #15764]
32375         * locale/setlocale.c: Fix typo.
32377 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32379         [BZ #16036]
32380         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32381         signaling NaN arguments.
32382         * soft-fp/unordsf2.c (__unordsf2): Likewise.
32383         * soft-fp/unordtf2.c (__unordtf2): Likewise.
32385         [BZ #14910]
32386         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32387         unordered operands.
32388         * soft-fp/gesf2.c (__gesf2): Likewise.
32389         * soft-fp/getf2.c (__getf2): Likewise.
32390         * soft-fp/ledf2.c (__ledf2): Likewise.
32391         * soft-fp/lesf2.c (__lesf2): Likewise.
32392         * soft-fp/letf2.c (__letf2): Likewise.
32394         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32395         * soft-fp/eqsf2.c (__eqsf2): Likewise.
32396         * soft-fp/eqtf2.c (__eqtf2): Likewise.
32397         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32398         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32399         * soft-fp/fixdfti.c (__fixdfti): Likewise.
32400         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32401         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32402         * soft-fp/fixsfti.c (__fixsfti): Likewise.
32403         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32404         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32405         * soft-fp/fixtfti.c (__fixtfti): Likewise.
32406         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32407         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32408         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32409         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32410         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32411         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32412         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32413         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32414         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32415         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32416         * soft-fp/floatdisf.c (__floatdisf): Likewise.
32417         * soft-fp/floatsisf.c (__floatsisf): Likewise.
32418         * soft-fp/floattidf.c (__floattidf): Likewise.
32419         * soft-fp/floattisf.c (__floattisf): Likewise.
32420         * soft-fp/floattitf.c (__floattitf): Likewise.
32421         * soft-fp/floatundidf.c (__floatundidf): Likewise.
32422         * soft-fp/floatundisf.c (__floatundisf): Likewise.
32423         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32424         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32425         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32426         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32427         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32428         * soft-fp/gesf2.c (__gesf2): Likewise.
32429         * soft-fp/getf2.c (__getf2): Likewise.
32430         * soft-fp/ledf2.c (__ledf2): Likewise.
32431         * soft-fp/lesf2.c (__lesf2): Likewise.
32432         * soft-fp/letf2.c (__letf2): Likewise.
32434         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32435         Undefine and redefine.
32436         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32437         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32438         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32439         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32440         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32441         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32442         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32443         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32444         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32445         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32446         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32447         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32448         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32449         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32450         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32452         [BZ #16032]
32453         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32454         without decrementing exponent if mantissa >= that for the
32455         denominator, not >.
32456         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32457         denominator, not >.  Decrement exponent in < case instead of
32458         incrementing in >= case.
32459         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32460         without decrementing exponent if mantissa >= that for the
32461         denominator, not >.
32463         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32464         computing saturated result for unsigned overflow.
32466 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32467             Jeff Law  <law@redhat.com>
32469         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32470         (atan2Mp): Add systemtap probe marker.
32471         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32472         (__ieee754_log): Add systemtap probe marker.
32473         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32474         (atanMp): Add systemtap probe marker.
32475         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32476         (tanMp): Add systemtap probe marker.
32477         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32478         (__slowexp): Add systemtap probe marker.
32479         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32480         (__slowpow): Add systemtap probe marker.
32481         * manual/probes.texi: Document probes.
32483 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
32485         [BZ #15362]
32486         * libio/fileops.c (_IO_new_file_write): Return count of bytes
32487         written.
32488         (_IO_new_file_xsputn): Don't return EOF if nothing has been
32489         written.
32490         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32491         written to buffer but not flushed.
32492         * libio/iofwrite_u.c:  Likewise.
32493         * libio/iopadn.c:  Return bytes returned even if EOF was
32494         encountered.
32495         * libio/iowpadn.c:  Likewise.
32496         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32497         if _IO_padn does not write the whole buffer.
32498         [!COMPILE_WPRINTF] (PAD): Likewise.
32500 2013-10-10  David S. Miller  <davem@davemloft.net>
32502         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32503         directory block.
32505 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
32507         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
32508         instead of FSF address.
32509         * soft-fp/fixdfti.c: Likewise.
32510         * soft-fp/fixsfti.c: Likewise.
32511         * soft-fp/fixtfti.c: Likewise.
32512         * soft-fp/fixunsdfti.c: Likewise.
32513         * soft-fp/fixunssfti.c: Likewise.
32514         * soft-fp/fixunstfti.c: Likewise.
32515         * soft-fp/floattidf.c: Likewise.
32516         * soft-fp/floattisf.c: Likewise.
32517         * soft-fp/floattitf.c: Likewise.
32518         * soft-fp/floatuntidf.c: Likewise.
32519         * soft-fp/floatuntisf.c: Likewise.
32520         * soft-fp/floatuntitf.c: Likewise.
32521         * soft-fp/trunctfxf2.c: Likewise.
32523         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
32524         * soft-fp/fixdfti.c: Likewise.
32525         * soft-fp/fixsfti.c: Likewise.
32526         * soft-fp/fixtfti.c: Likewise.
32527         * soft-fp/fixunsdfti.c: Likewise.
32528         * soft-fp/fixunssfti.c: Likewise.
32529         * soft-fp/fixunstfti.c: Likewise.
32530         * soft-fp/floattidf.c: Likewise.
32531         * soft-fp/floattisf.c: Likewise.
32532         * soft-fp/floattitf.c: Likewise.
32533         * soft-fp/floatuntidf.c: Likewise.
32534         * soft-fp/floatuntisf.c: Likewise.
32535         * soft-fp/floatuntitf.c: Likewise.
32536         * soft-fp/trunctfxf2.c: Likewise.
32538 2013-10-10  David S. Miller  <davem@davemloft.net>
32540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32542 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
32544         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32545         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32546         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32547         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32548         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32549         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32550         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32552         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32553         for NaNs before doing comparisons on argument.
32554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32555         Likewise.
32557 2013-10-10  Will Newton  <will.newton@linaro.org>
32559         * malloc/hooks.c (memalign_check): Ensure the value of bytes
32560         passed to _int_memalign does not overflow.
32562 2013-10-10  Torvald Riegel  <triegel@redhat.com>
32564         * scripts/bench.pl: Add include-sources directive.
32565         * benchtests/README: Update documentation.
32567 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
32569         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32570         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32571         instead of FP_INIT_ROUNDMODE.
32572         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32573         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32575         [BZ #16034]
32576         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
32577         copy class of input value.
32578         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
32579         not handle exceptions.
32580         * soft-fp/negsf2.c (__negsf2): Likewise.
32581         * soft-fp/negtf2.c (__negtf2): Likewise.
32582         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32584 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
32586         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32587         semicolon.  From Linux kernel.
32589 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
32591         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32593 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
32595         [BZ #156]
32596         * manual/socket.texi: Added statement about buffer
32597         for gethostbyname2_r.
32599 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
32601         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32602         Use .p2align directive instead, throughout.
32603         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32604         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32605         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32606         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32607         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32608         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32609         * sysdeps/x86_64/strchr.S: Likewise.
32610         * sysdeps/x86_64/strrchr.S: Likewise.
32612 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32614         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32616         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32618         * sysdeps/generic/math_private.h (__mpsin1): Remove
32619         declaration.
32620         (__mpcos1): Likewise.
32621         (__mpsin): New argument __range_reduce.
32622         (__mpcos): Likewise.
32623         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32624         (slow): Use __mpsin and __mpcos.
32625         (slow1): Likewise.
32626         (slow2): Likewise.
32627         (sloww): Likewise.
32628         (sloww1): Likewise.
32629         (sloww2): Likewise.
32630         (bsloww): Likewise.
32631         (bsloww1): Likewise.
32632         (bsloww2): Likewise.
32633         (cslow2): Likewise.
32634         (csloww): Likewise.
32635         (csloww1): Likewise.
32636         (csloww2): Likewise.
32637         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32638         range_reduce.  Merge in __mpsin1.
32639         (__mpcos): Likewise.
32640         (__mpsin1): Remove.
32641         (__mpcos1): Likewise.
32643 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
32645         * locale/loadlocale.c (_nl_intern_locale_data): Use
32646         LOCFILE_ALIGNED_P.
32647         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32648         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32649         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32650         obstack data is appropriately aligned.
32651         (obstack_int32_grow_fast): Likewise.
32652         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32653         * locale/programs/locfile.c (add_locale_uint32): Likewise.
32654         (add_locale_uint32_array): Likewise.
32656 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32658         * benchtests/Makefile: Remove ARGLIST and RET variables.
32659         ($(objpfx)bench-%.c): Pass only function name to the script.
32660         * benchtests/README: Update documentation.
32661         * benchtests/acos-inputs: Add new directives.
32662         * benchtests/acosh-inputs: Likewise.
32663         * benchtests/asin-inputs: Likewise.
32664         * benchtests/asinh-inputs: Likewise.
32665         * benchtests/atan-inputs: Likewise.
32666         * benchtests/atanh-inputs: Likewise.
32667         * benchtests/cos-inputs: Likewise.
32668         * benchtests/cosh-inputs: Likewise.
32669         * benchtests/exp-inputs: Likewise.
32670         * benchtests/log-inputs: Likewise.
32671         * benchtests/pow-inputs: Likewise.
32672         * benchtests/rint-inputs: Likewise.
32673         * benchtests/sin-inputs: Likewise.
32674         * benchtests/sinh-inputs: Likewise.
32675         * benchtests/tan-inputs: Likewise.
32676         * benchtests/tanh-inputs: Likewise.
32677         * scripts/bench.pl: Add support for new directives.
32679 2013-10-07  Alan Modra  <amodra@gmail.com>
32681         * README: Fix careless merge.
32683 2013-10-05  Alan Modra  <amodra@gmail.com>
32685         * NEWS: Mention powerpc64le support and bugs fixed.
32686         * README: Both big-endian and little-endian powerpc64 supported.
32688 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32690         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32691         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32692         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32693         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32695 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
32697         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32698         match prototype.
32700 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
32702         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32703         Move -mhard-float appending from
32704         ports/sysdeps/powerpc/powerpc32/Makefile.
32705         [$(with-fp) = yes] (ASFLAGS): Likewise.
32706         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32707         * sysdeps/powerpc/nofpu: Move directory from
32708         ports/sysdeps/powerpc/nofpu.
32709         * sysdeps/powerpc/soft-fp: Move directory from
32710         ports/sysdeps/powerpc/soft-fp.
32711         * sysdeps/powerpc/powerpc32/405: Move directory from
32712         ports/sysdeps/powerpc/powerpc32/405.
32713         * sysdeps/powerpc/powerpc32/440: Move directory from
32714         ports/sysdeps/powerpc/powerpc32/440.
32715         * sysdeps/powerpc/powerpc32/464: Move directory from
32716         ports/sysdeps/powerpc/powerpc32/464.
32717         * sysdeps/powerpc/powerpc32/476: Move directory from
32718         ports/sysdeps/powerpc/powerpc32/476.
32719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32720         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32722         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32724         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32726         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32728         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32729         * README: Update for powerpc-*-linux-gnu software floating point
32730         support in libc.
32732         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32733         case to powerpc/powerpc32*.
32734         * sysdeps/unix/sysv/linux/configure: Regenerated.
32736         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32737         (_FPU_MASK_OM): Define as 0x04.
32738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32740         0x00c10080.
32741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32742         0x0000003c.
32743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32746         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32747         getcontext_e500.
32748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32749         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32750         setcontext_e500.
32751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32752         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32753         and setcontext_e500.
32755 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
32757         * locale/iso-3166.def: Update iso-1366.def and related occurrences
32759 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32761         * manual/threads.texi (Default Thread Attributes): Fix typo.
32763 2013-10-04  Will Newton  <will.newton@linaro.org>
32765         * malloc/Makefile: Add tst-memalign.
32766         * malloc/tst-memalign.c: New file.
32768         * malloc/tst-posix_memalign.c: Add comments.
32769         (do_test): Add comments and call free on all potentially
32770         allocated pointers. Add space after cast.
32772         * malloc/tst-pvalloc.c: Add comments.
32773         (do_test): Add comments and call free on all potentially
32774         allocated pointers. Remove duplicate check for NULL pointer.
32775         Add space after cast.
32777         * malloc/tst-valloc.c: Add comments.
32778         (do_test): Add comments and call free on all potentially
32779         allocated pointers. Remove duplicate check for NULL pointer.
32780         Add space after cast.
32782 2013-10-04  Alan Modra  <amodra@gmail.com>
32784         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32785         Use stdint types in rather than __attribute__((mode())).
32786         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32788 2013-10-04  Alan Modra  <amodra@gmail.com>
32790         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32791         Correct handling of unaligned relocs for little-endian.
32792         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32794 2013-10-04  Alan Modra  <amodra@gmail.com>
32796         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32797         * configure: Regenerate.
32798         * nptl/shlib-versions: Powerpc*le starts at 2.18.
32799         * shlib-versions: Likewise.
32801 2013-10-04  Alan Modra  <amodra@gmail.com>
32803         * string/tester.c (test_memrchr): Increment reported test cycle.
32805 2013-10-04  Alan Modra  <amodra@gmail.com>
32807         * string/test-memcpy.c (do_one_test): When reporting errors, print
32808         string address and don't overrun end of string.
32810 2013-10-04  Alan Modra  <amodra@gmail.com>
32812         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32813         insrdi.  Make better use of reg selection to speed exit slightly.
32814         Schedule entry path a little better.  Remove useless "are we done"
32815         checks on entry to main loop.  Handle wrapping around zero address.
32816         Correct main loop count.  Handle single left-over word from main
32817         loop inline rather than by using loop_small.  Remove extra word
32818         case in loop_small caused by wrong loop count.  Add little-endian
32819         support.
32820         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32821         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
32822         cache hint.
32823         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32824         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32825         support.  Avoid rlwimi.
32826         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32828 2013-10-04  Alan Modra  <amodra@gmail.com>
32830         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32831         insrdi.  Formatting.
32832         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32833         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32834         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32835         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32836         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32837         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32839 2013-10-04  Alan Modra  <amodra@gmail.com>
32841         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32842         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32843         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32844         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32845         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32846         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32847         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32848         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32849         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
32850         use of regs.  Use power7 mtocrf.  Tidy function tails.
32852 2013-10-04  Alan Modra  <amodra@gmail.com>
32854         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32855         Formatting.  Consistently use rXXX register defines or rN defines.
32856         Use early exit labels that avoid restoring unused non-volatile regs.
32857         Make cr field use more consistent with rWORDn compares.  Rename
32858         regs used as shift registers for unaligned loop, using rN defines
32859         for short lifetime/multiple use regs.
32860         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32861         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
32862         addi 1,1,64 to pop stack frame.  Simplify return value code.
32863         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32865 2013-10-04  Alan Modra  <amodra@gmail.com>
32867         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32868         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
32869         rather than rlwimi.
32870         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32871         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32872         little-endian support.  Correct typos.
32873         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
32874         rather than rlwimi.
32875         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
32876         in loop and entry code to keep "and." results.
32877         (strchr): Add little-endian support.  Comment.  Move cntlzd
32878         earlier in tail.
32879         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32881 2013-10-04  Alan Modra  <amodra@gmail.com>
32883         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32884         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32885         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32886         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32888 2013-10-04  Alan Modra  <amodra@gmail.com>
32890         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32891         (rTMP): Define as r11.
32892         (strcmp): Add little-endian support.  Optimise tail.
32893         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32894         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32895         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32896         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32897         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32898         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32899         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32901 2013-10-04  Alan Modra  <amodra@gmail.com>
32903         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32904         little-endian support.  Remove unnecessary "are we done" tests.
32905         Handle "s" wrapping around zero and extremely large "size".
32906         Correct main loop count.  Handle single left-over word from main
32907         loop inline rather than by using small_loop.  Correct comments.
32908         Delete "zero" tail, use "end_max" instead.
32909         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32911 2013-10-04  Alan Modra  <amodra@gmail.com>
32913         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32914         support.  Don't branch over align.
32915         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32916         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32917         support.  Rearrange tmp reg use to suit.  Comment.
32918         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32920 2013-10-04  Alan Modra  <amodra@gmail.com>
32922         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32924 2013-10-04  Alan Modra  <amodra@gmail.com>
32926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32927         conditional form of branch and link when obtaining pc.
32928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32930 2013-10-04  Alan Modra  <amodra@gmail.com>
32932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32933         HIWORD/LOWORD.
32934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32937 2013-10-04  Alan Modra  <amodra@gmail.com>
32939         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32940         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32941         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32942         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32943         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32944         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32945         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32946         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32947         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32948         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32950 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
32951             Alistair Popple <alistair@ozlabs.au.ibm.com>
32952             Alan Modra <amodra@gmail.com>
32954         [BZ #15723]
32955         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32956         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32957         _dl_hwcap access for little-endian.
32958         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
32959         destroy vmx regs when saving unaligned.
32960         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32961         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
32962         destroy vmx regs when saving unaligned.
32964 2013-10-04  Alan Modra  <amodra@gmail.com>
32966         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32967         Don't use a union to pack hi/low value.
32969 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
32971         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32972         for little-endian.
32973         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32974         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32975         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32976         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32977         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32979 2013-10-04  Alan Modra  <amodra@gmail.com>
32981         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32982         constants to usual value for .cst8 section, and remove redundant
32983         high address load.
32984         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32985         constant for 0x1p52.  Load little-endian words of double from
32986         correct stack offsets.
32988 2013-10-04  Alan Modra  <amodra@gmail.com>
32990         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32991         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32992         words of double from correct stack offsets.
32993         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32994         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32995         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32996         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32997         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32998         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32999         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33000         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33001         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33002         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33003         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33004         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33005         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33006         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33007         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33008         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
33009         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33011 2013-10-04  Alan Modra  <amodra@gmail.com>
33013         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
33014         64-bit int/double union.
33015         (_FPU_SETCW): Likewise.
33016         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
33017         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
33019 2013-10-04  Alan Modra  <amodra@gmail.com>
33021         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
33022         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
33024 2013-10-04  Alan Modra  <amodra@gmail.com>
33026         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
33027         use vector int constants.
33028         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
33030 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33032         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
33033         array with long long.
33034         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
33035         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
33036         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
33037         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
33038         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
33039         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
33040         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
33041         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
33042         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
33043         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
33044         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
33045         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
33046         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
33048 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33050         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
33051         (__signbit): Likewise.  Correct for little-endian.
33052         (__signbitl): Call __signbit.
33053         (lrint): Correct for little-endian.
33054         (lrintf): Call lrint.
33056 2013-10-04  Alan Modra  <amodra@gmail.com>
33058         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
33059         union 32-bit int array member with 64-bit int array.
33060         (t515, tm256): Double rather than long double.
33061         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
33063 2013-10-04  Alan Modra  <amodra@gmail.com>
33065         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
33066         Delete.
33067         (IEEE854_LONG_DOUBLE_BIAS): Delete.
33068         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
33069         version of math_ldbl.h.
33071 2013-10-04  Alan Modra  <amodra@gmail.com>
33073         [BZ #15734], [BZ #15735]
33074         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
33075         all uses of ieee875 long double macros and unions.  Simplify test
33076         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
33077         ldbl_extract_mantissa value for ix,iy exponents.  Properly
33078         normalize after ldbl_extract_mantissa, and don't add hidden bit
33079         already handled.  Don't treat low word of ieee854 mantissa like
33080         low word of IBM long double and mask off bit when testing for
33081         zero.
33082         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
33083         all uses of ieee875 long double macros and unions.  Simplify tests
33084         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
33085         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
33086         two1022, instead use their values.  Recognise that tests for large
33087         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
33088         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
33089         Rewrite all uses of ieee875 long double macros and unions.  Simplify
33090         test for 0.0L and nan.  Correct negation.
33091         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
33092         ieee875 long double macros and unions.  Correct output for large
33093         magnitude x.  Correct absolute value calculation.
33094         (__erfcl): Likewise.
33095         * math/libm-test.inc: Add tests for errors discovered in IBM long
33096         double versions of fmodl, remainderl, erfl and erfcl.
33098 2013-10-04  Alan Modra  <amodra@gmail.com>
33100         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
33101         all uses of ieee854 long double macros and unions.  Simplify tests
33102         for long doubles that are fully specified by the high double.
33103         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33104         Likewise.
33105         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
33106         Remove dead code too.
33107         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33108         (__ieee754_ynl): Likewise.
33109         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33110         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
33111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33112         Remove dead code too.
33113         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
33114         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
33115         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
33116         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
33117         Simplify.
33118         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
33119         Simplify.
33120         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
33121         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33122         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
33123         Comment on variable precision.
33124         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33125         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33126         Likewise.
33127         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33128         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33129         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33130         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33131         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33133 2013-10-04  Alan Modra  <amodra@gmail.com>
33135         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33136         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33137         all uses of ieee854 long double macros and unions.
33138         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33139         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33140         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33141         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33142         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33143         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33144         Likewise.
33145         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33146         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33147         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33148         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33149         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33150         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33151         Simplify sign and nan test too.
33152         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33153         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33154         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33155         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33156         Likewise.
33157         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33158         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33159         Likewise.
33160         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33161         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33162         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33163         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33164         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33165         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33167 2013-10-04  Alan Modra  <amodra@gmail.com>
33169         * stdio-common/printf_size.c (__printf_size): Don't use
33170         union ieee854_long_double in fpnum union.
33171         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
33172         signbit macro to retrieve sign from long double.
33173         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33174         retrieve sign from long double.
33175         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33176         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33177         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33178         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33179         * math/test-misc.c (main): Don't use union ieee854_long_double.
33181 2013-10-04  Alan Modra  <amodra@gmail.com>
33183         [BZ #15680]
33184         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33185         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33186         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33187         calculation.  Remove unnecessary test for denormal exponent.
33188         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33189         Correct handling of denormals.  Avoid undefined shift behaviour.
33190         Correct normalisation of low mantissa when low double is denormal.
33191         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33192         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
33193         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33194         Correct normalisation of low mantissa.  Test for overflow of high
33195         mantissa and normalise.
33196         (ldbl_nearbyint): Use more readable constant for two52.
33197         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33198         (__mpn_construct_long_double): Fix test for overflow of high
33199         mantissa and correct normalisation.  Avoid undefined shift.
33201 2013-10-04  Alan Modra  <amodra@gmail.com>
33203         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33204         (union ibm_extended_long_double): Define as an array of ieee754_double.
33205         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33206         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33207         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33208         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33209         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33210         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33211         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33212         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33213         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33214         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33215         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33217 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
33219         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33220         page size instead of calling getpagesize.
33222         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33223         (LOCFILE_ALIGN_MASK): Likewise.
33224         (LOCFILE_ALIGN_UP): Likewise.
33225         (LOCFILE_ALIGNED_P): Likewise.
33226         * locale/programs/ld-collate.c (collate_output): Use the new
33227         macros instead of __alignof__ (int32_t).
33228         * locale/weight.h (findidx): Likewise.
33230 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
33232         [BZ #431]
33233         * manual/string.texi: Fix strncat and wcsncat.
33235 2013-10-03  Brooks Moses  <bmoses@google.com>
33237         [BZ #15915]
33238         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33239         * Makerules: ...here, and adjust associated comments.
33241 2013-10-02  Will Newton  <will.newton@linaro.org>
33243         * malloc/Makefile: Add tst-pvalloc.
33244         * malloc/tst-pvalloc.c: New file.
33246 2013-10-02  Will Newton  <will.newton@linaro.org>
33248         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33249         improve test coverage.
33251 2013-10-02  Will Newton  <will.newton@linaro.org>
33253         * malloc/Makefile: Add tst-posix_memalign.
33254         * malloc/tst-posix_memalign.c: New file.
33256 2013-10-01  Eric Blake  <eblake@redhat.com>
33258         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33259         Use __THROWNL rather than __THROW on static functions.
33261 2013-09-30  Petr Machata  <pmachata@redhat.com>
33263         * elf/elf.h (R_AARCH64_ABS16): New macro.
33264         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33265         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33266         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33267         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33268         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33269         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33270         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33271         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33272         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33273         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33274         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33275         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33276         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33277         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33278         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33279         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33280         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33281         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33282         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33283         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33284         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33285         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33286         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33287         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33288         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33289         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33290         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33291         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33292         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33293         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33294         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33295         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33296         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33297         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33298         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33299         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33300         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33301         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33302         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33303         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33304         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33305         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33306         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33307         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33308         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33309         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33310         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33311         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33312         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33313         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33314         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33315         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33316         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33317         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33318         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33319         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33320         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33321         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33322         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33323         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33324         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33325         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33326         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33327         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33328         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33329         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33330         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33331         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33332         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33333         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33334         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33335         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33336         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33337         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33338         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33339         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33340         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33341         (R_AARCH64_TLSDESC_LDR): Likewise.
33342         (R_AARCH64_TLSDESC_ADD): Likewise.
33343         (R_AARCH64_TLSDESC_CALL): Likewise.
33345 2013-09-30  Andreas Schwab  <schwab@suse.de>
33347         [BZ #15048]
33348         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33349         the nss database lookup.
33350         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33353 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
33355         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33357 2013-09-28  P. J. McDermott  <pj@pehjota.net>
33359         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33360         ${Bash-specific parameter/pattern/string} parameter expansion.
33361         * sysdeps/unix/make-syscalls.sh: Likewise.
33363 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33365         * sysdeps/sh/stackguard-macros.h: New file.
33367 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
33369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33371         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33372         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33373         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33374         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33376 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33378         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33379         Fix thread ID register.
33381 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
33383         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33384         [POSIX || UNIX98]: Require rather than permitting all symbols from
33385         <time.h>.
33386         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33387         element of struct sched_param.
33388         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33389         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33390         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33391         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33392         constant.
33394 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
33396         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33397         argument calculation.
33399 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33401         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33402         Expect macro.
33403         [POSIX] (pthread_attr_t): Do not require type.
33404         [POSIX] (pthread_cond_t): Likewise.
33405         [POSIX] (pthread_condattr_t): Likewise.
33406         [POSIX] (pthread_key_t): Likewise.
33407         [POSIX] (pthread_mutex_t): Likewise.
33408         [POSIX] (pthread_mutexattr_t): Likewise.
33409         [POSIX] (pthread_once_t): Likewise.
33410         [POSIX] (pthread_t): Likewise.
33411         [POSIX-based standards] (pthread_atfork): Expect function.
33413 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33414             Richard Sandiford  <richard@codesourcery.com>
33416         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33417         (swap_endianness_p): New extern variable.
33418         (set_big_endian): New inline function.
33419         (maybe_swap_uint32): Likewise.
33420         (maybe_swap_uint32_array): Likewise.
33421         (maybe_swap_uint32_obstack): Likewise.
33422         * locale/programs/locfile.c: Include <stdbool.h>.
33423         (swap_endianness_p): New variable.
33424         (add_locale_uint32): Call maybe_swap_uint32.
33425         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33426         (write_locale_data): Call maybe_swap_uint32_array.
33427         * locale/programs/ld-collate.c (obstack_int32_grow): Call
33428         maybe_swap_uint32.
33429         (obstack_int32_grow_fast): Likewise.
33430         (output_weightwc): Call maybe_swap_uint32_obstack.
33431         (collate_output): Likewise.
33432         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33433         (OPT_LITTLE_ENDIAN): Likewise.
33434         (options): Add --little-endian and --big-endian options.
33435         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33436         * locale/programs/locarchive.c: Include "locfile.h".
33437         (GET): New macro.
33438         (SET): Likewise.
33439         (INC): Likewise.
33440         (create_archive): Use the new macros to access fields of
33441         structures directly mapped from or written to locale archives.
33442         (oldlocrecentcmp): Likewise.
33443         (enlarge_archive): Likewise.
33444         (insert_name): Likewise.
33445         (add_alias): Likewise.
33446         (add_locale): Likewise.
33447         (delete_locales_from_archive): Likewise.
33448         (show_archive_content): Likewise.
33449         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
33450         locale data.
33452 2013-09-24  Roland McGrath  <roland@hack.frob.com>
33454         * manual/freemanuals.texi: Updated from (newly) canonical copy at
33455         http://www.gnu.org/doc/freemanuals.texi.
33456         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33458 2013-09-24  Will Newton  <will.newton@linaro.org>
33460         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33461         macro.
33463 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
33465         * locale/hashval.h (compute_hashval): Interpret bytes of key as
33466         unsigned char.
33468 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
33470         * manual/threads.texi (POSIX Threads): Fix a typo.
33472 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33474         [BZ #14547]
33475         * string/tst-strcoll-overflow.c: New test case.
33476         * string/Makefile (xtests): Add tst-strcoll-overflow.
33477         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33478         cache if string sizes may cause integer overflow.
33480         [BZ #14547]
33481         * string/strcoll_l.c (coll_seq): New members rule, idx,
33482         save_idx and back_us.
33483         (get_next_seq_nocache): New function.
33484         (do_compare_nocache): New function.
33485         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33486         when malloc fails.
33488 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
33490         [BZ #15754]
33491         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33492         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33493         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33495         [BZ #15754]
33496         * elf/Makefile (tests): Add tst-ptrguard1.
33497         (tests-static): Add tst-ptrguard1-static.
33498         (tst-ptrguard1-ARGS): Define.
33499         (tst-ptrguard1-static-ARGS): Define.
33500         * elf/tst-ptrguard1.c: New file.
33501         * elf/tst-ptrguard1-static.c: New file.
33502         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33503         * sysdeps/i386/stackguard-macros.h: Likewise.
33504         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33505         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33506         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33507         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33508         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33509         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33511 2013-09-23  Hector Marco  <hecmargi@upv.es>
33512             Ismael Ripoll  <iripoll@disca.upv.es>
33513             Carlos O'Donell  <carlos@redhat.com>
33515         [BZ #15754]
33516         * sysdeps/generic/stackguard-macros.h: Define
33517         __pointer_chk_guard_local and POINTER_CHK_GUARD.
33518         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33519         Define __pointer_chk_guard_local.
33520         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33521         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33523 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
33525         [BZ #15859]
33526         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33528 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
33530         * include/string.h (__ffs): Declare as hidden.
33531         * string/ffs.c (__ffs): Define as hidden.
33532         * sysdeps/i386/ffs.c (__ffs): Likewise.
33533         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33534         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33535         * sysdeps/s390/ffs.c (__ffs): Likewise.
33536         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33538 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
33540         * NEWS: Mention malloc probes.
33542         * malloc/arena.c (new_heap): New memory_heap_new probe.
33543         (grow_heap): New memory_heap_more probe.
33544         (shrink_heap): New memory_heap_less probe.
33545         (heap_trim): New memory_heap_free probe.
33546         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33547         (systrim): New memory_sbrk_less probe.
33548         * manual/probes.texi: Document them.
33550         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33551         * manual/probes.texi: Document it.
33553         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33554         (__libc_realloc): Add memory_realloc_retry probe.
33555         (__libc_memalign): Add memory_memalign_retry probe.
33556         (__libc_valloc): Add memory_valloc_retry probe.
33557         (__libc_pvalloc): Add memory_pvalloc_retry probe.
33558         (__libc_calloc): Add memory_calloc_retry probe.
33559         * manual/probes.texi: Document them.
33561         * malloc/arena.c (get_free_list): Add probe
33562         memory_arena_reuse_free_list.
33563         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33564         and memory_arena_reuse.
33565         (arena_get2) [!PER_THREAD]: Likewise.
33566         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33567         memory_arena_reuse_realloc.
33568         * manual/probes.texi: Document them.
33570         * malloc/malloc.c (__libc_free): Add
33571         memory_mallopt_free_dyn_thresholds probe.
33572         (__libc_mallopt): Add multiple memory_mallopt probes.
33573         * manual/probes.texi: Document them.
33575         * malloc/malloc.c: Include stap-probe.h.
33576         (__libc_mallopt): Add memory_mallopt probe.
33577         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33578         * manual/probes.texi: New.
33579         * manual/Makefile (chapters): Add probes.
33580         * manual/threads.texi: Set next node.
33582 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
33584         [BZ #15963, #13985]
33585         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33586         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33587         Add `Chinese' to `nan' entry name.
33589 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33591         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33592         (POLYNOMIAL): Likewise.
33593         (TAYLOR_SINCOS): Likewise.
33594         (TAYLOR_SLOW): Likewise.
33595         (__sin): Use TAYLOR_SINCOS.
33596         (__cos): Likewise.
33597         (slow): Use TAYLOR_SLOW.
33598         (sloww): Likewise.
33599         (bsloww): Likewise.
33600         (csloww): Likewise.
33602 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33604         * stdlib/strtod_l.c: Fix buffer overrun.
33606 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33608         * benchtests/Makefile (bench): Add sincos.
33609         * benchtests/bench-sincos.c: New file.
33611         * math/libm-test.inc (cos_test_data): New test inputs.
33612         (sin_test_data): Likewise.
33614         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33615         macro.
33616         (__sin): Use it.
33617         (__cos): Likewise.
33618         (slow1): Likewise.
33619         (slow2): Likewise.
33620         (sloww1): Likewise.
33621         (sloww2): Likewise.
33622         (bsloww1): Likewise.
33623         (bsloww2): Likewise.
33624         (cslow2): Likewise.
33625         (csloww1): Likewise.
33626         (csloww2): Likewise.
33628         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33629         function.
33630         (__sin): Use it.
33631         (__cos): Likewise.
33633         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33634         gotos.
33635         (__cos): Likewise.
33637 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
33639         * config.h.in (HAVE_MIPS_NAN2008): New macro.
33640         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33641         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33642         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33643         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33644         * elf/cache.c (print_entry): Handle the new cache flags.
33646 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33647             Aldy Hernandez  <aldyh@redhat.com>
33649         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33650         Change condition to [_SOFT_FLOAT].
33651         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33652         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33653         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33654         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33655         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33656         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33657         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33658         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33660         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33661         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33662         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33663         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33664         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33665         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33666         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33667         declaration.
33669 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33671         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33672         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33673         (__longjmp): Use LOAD_GP to load saved GPRs.
33674         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33675         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33676         (__sigsetjmp): Use SAVE_GP to save GPRs.
33678         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33679         Do not append -msoft-float.
33680         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33682 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33684         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33686 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
33688         [BZ #15966]
33689         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33690         (_FPU_GETCW): Use initial "__" on variable and field names but not
33691         on macro parameter name.
33692         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
33693         parentheses around reference to macro parameter.
33695 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
33697         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33698         prototype.
33699         (ctype_startup): Use uint32_t in cast and sizeof for
33700         ctype->charnames.
33702 2013-09-11  Jia Liu  <proljc@gmail.com>
33704         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33705         __daddr_t_defined.
33706         [__FreeBSD__]: Likewise.
33708 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
33710         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33711         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33712         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33713         (strchr): Remove __strchr_sse42 ifunc selection.
33714         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33715         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33717 2013-09-11  Will Newton  <will.newton@linaro.org>
33719         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33720         parameter to RES. Remove hardcoded 1000 value.
33721         * benchtests/bench-skeleton.c (main): Pass RES parameter
33722         to TIMING_INIT and multiply result by 1000.
33724 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33728 2013-09-11  Andreas Schwab  <schwab@suse.de>
33730         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33731         if not defined.
33732         (O_TMPFILE) [__USE_GNU]: Define.
33733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33734         Define.
33736 2013-09-11  Will Newton  <will.newton@linaro.org>
33738         [BZ #15857]
33739         * malloc/malloc.c (__libc_memalign): Check the value of bytes
33740         does not overflow.
33742 2013-09-11  Will Newton  <will.newton@linaro.org>
33744         [BZ #15856]
33745         * malloc/malloc.c (__libc_valloc): Check the value of bytes
33746         does not overflow.
33748 2013-09-11  Will Newton  <will.newton@linaro.org>
33750         [BZ #15855]
33751         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33752         does not overflow.
33754 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
33756         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33757         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33758         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33759         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33760         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33762 2013-09-10  Allan McRae  <allan@archlinux.org>
33764         [BZ #15748]
33765         * manual/arith.texi (Parsing of Floats): Clarify
33766         cross-reference.
33768         [BZ #15849]
33769         * manual/install.texi (Running make install): Mention
33770         --enable-pt-chown.
33771         * INSTALL: Regenerated.
33773 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
33775         * csu/init-first.c (_init): Remove the !SHARED condition around
33776         FPU control word initialization.
33777         * elf/dl-support.c (_dl_fpu_control): New variable.
33778         (_dl_aux_init) <AT_FPUCW>: Initialize it.
33779         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33780         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33781         * math/test-fpucw-static.c: New file.
33782         * math/test-fpucw-ieee.c: New file.
33783         * math/test-fpucw-ieee-static.c: New file.
33784         * math/Makefile (tests): Add `test-fpucw-ieee' and
33785         `$(tests-static)'.
33786         (tests-static): New variable.
33787         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33788         dependency to...
33789         [($(build-shared),yes)]
33790         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33791         ... this.
33792         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33793         New dependency.
33795 2013-09-09  Allan McRae  <allan@archlinux.org>
33797         [BZ #15939]
33798         * manual/string.texi (Collation Functions): Fix typo in
33799         strcoll example.
33800         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33802         [BZ #15893]
33803         * stdlib/isomac.c (get_null_defines): Fix memory leak.
33805         [BZ #15892]
33806         * libio/memstream.c (open_memstream): Fix memory leak.
33807         * libio/wmemstream.c (open_wmemstream): Likewise.
33809         [BZ #15895]
33810         * nscd/netgroupcache.c: Fix nesting of ifdefs.
33812 2013-09-09  Will Newton  <will.newton@linaro.org>
33814         * malloc/Makefile: Add tst-realloc to tests.
33815         * malloc/tst-realloc.c: New file.
33817 2013-09-09  Allan McRae  <allan@archlinux.org>
33819         [BZ #15844]
33820         * COPYING: Update from GNU website to fix FSF address.
33821         * COPYING.LIB: Likewise.
33823 2013-09-06  David S. Miller  <davem@davemloft.net>
33825         * po/zh_TW.po: Update Chinese (traditional) translation from
33826         translation project.
33828 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
33829             Joseph Myers  <joseph@codesourcery.com>
33831         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33832         "localeinfo.h".
33833         (obstack_chunk_alloc): New macro.
33834         (obstack_chunk_free): Likewise.
33835         (record_offset): New function.
33836         (init_locale_data): Likewise.
33837         (align_locale_data): Likewise.
33838         (add_locale_empty): Likewise.
33839         (add_locale_raw_data): Likewise.
33840         (add_locale_raw_obstack): Likewise.
33841         (add_locale_string): Likewise.
33842         (add_locale_wstring): Likewise.
33843         (add_locale_uint32): Likewise.
33844         (add_locale_uint32_array): Likewise.
33845         (add_locale_char): Likewise.
33846         (start_locale_structure): Likewise.
33847         (end_locale_structure): Likewise.
33848         (start_locale_prelude): Likewise.
33849         (end_locale_prelude): Likewise.
33850         (write_locale_data): Take locale_file structure rather than an
33851         iovec.
33852         * locale/programs/locfile.h: Include "obstack.h".
33853         (struct locale_file): Change to store locale file contents instead
33854         of header.
33855         (init_locale_data): New prototype.
33856         (align_locale_data): Likewise.
33857         (add_locale_empty): Likewise.
33858         (add_locale_raw_data): Likewise.
33859         (add_locale_raw_obstack): Likewise.
33860         (add_locale_string): Likewise.
33861         (add_locale_wstring): Likewise.
33862         (add_locale_uint32): Likewise.
33863         (add_locale_uint32_array): Likewise.
33864         (add_locale_char): Likewise.
33865         (start_locale_structure): Likewise.
33866         (end_locale_structure): Likewise.
33867         (start_locale_prelude): Likewise.
33868         (end_locale_prelude): Likewise.
33869         (write_locale_data): Update prototype.
33870         * locale/programs/3level.h (struct TABLE): Remove result field.
33871         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33872         Use new locale_file interface.
33873         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33874         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33875         * locale/programs/ld-address.c (address_output): Use new
33876         locale_file interface.
33877         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33878         NO_ADD_LOCALE.
33879         (collate_finish): Don't call collseq_table_finalize.
33880         (collate_output): Use new locale_file interface.
33881         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33882         in file.
33883         (NO_FINALIZE): Change to NO_ADD_LOCALE.
33884         (TABLE): Move defines earlier in file.
33885         (ELEMENT): Likewise.
33886         (DEFAULT): Likewise.
33887         (wctrans_table_add): Move macro and inline function earlier in
33888         file.
33889         (struct wctype_table): Move type earlier in file.
33890         (add_locale_wctype_table): New static prototype.
33891         (struct locale_ctype_t): Use logical types instead of struct iovec
33892         pointers for members.
33893         (ctype_output): Use new locale_file interface.
33894         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
33895         new locale_file interface.
33896         (allocate_arrays): Update for use of new locale_file interface.
33897         * locale/programs/ld-identification.c (identification_output): Use
33898         new locale_file interface.
33899         * locale/programs/ld-measurement.c (measurement_output): Likewise.
33900         * locale/programs/ld-messages.c (messages_output): Likewise.
33901         * locale/programs/ld-monetary.c (monetary_output): Likewise.
33902         * locale/programs/ld-name.c (name_output): Likewise.
33903         * locale/programs/ld-numeric.c (numeric_output): Likewise.
33904         * locale/programs/ld-paper.c (paper_output): Likewise.
33905         * locale/programs/ld-telephone.c (telephone_output): Likewise.
33906         * locale/programs/ld-time.c (time_output): Likewise.
33908 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33910         * benchtests/Makefile: Add memrchr benchmark.
33911         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33912         benchmark as memrchr.
33913         * benchtests/bench-memrchr-ifunc.c: New file.
33914         * benchtests/bench-memrchr.c: New file.
33916 2013-09-06   Will Newton  <will.newton@linaro.org>
33918         * benchtests/Makefile (string-bench): Add memcpy.
33920 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
33921             Cong Wang  <amwang@redhat.com>
33923         [BZ #15850]
33924         * sysdeps/unix/sysv/linux/bits/in.h
33925         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33926         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33927         before __USE_KERNEL_IPV6_DEFS uses.
33928         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33929         IPPROTO_BEETPH.
33930         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33931         sockaddr_in6, or ipv6_mreq.
33933 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33935         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33936         memory access for final bytes in some large inputs.
33937         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33939 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33941         * string/test-memrchr.c: New file.
33942         * string/test-memrchr-ifunc.c: New file.
33943         * string/Makefile: Add new memrchr testcase.
33945 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
33947         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33948         fanotify_init returns EPERM.
33950 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
33952         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33953         errors.
33954         (top level): Treat second token from macro or constant entries for
33955         allowed headers as allowed.
33956         * include/complex.h: Condition internal declarations on
33957         [!_ISOMAC].
33958         * include/fenv.h: Condition include of <stdbool.h> and internal
33959         declarations on [!_ISOMAC].
33961 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
33963         [BZ #15923]
33964         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33966 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
33968         * configure.in (--enable-versioning): Remove configure option.
33969         (libc_cv_asm_symver_directive): Remove configure test.
33970         (libc_cv_ld_version_script_option): Likewise.
33971         (VERSIONING): Remove variable and AC_SUBST.
33972         (DO_VERSIONING): Remove AC_DEFINE.
33973         * configure: Regenerated.
33974         * config.h.in (DO_VERSIONING): Remove macro.
33975         * Makerules [$(versioning) = yes]: Change conditionals to
33976         [$(build-shared) = yes].
33977         * config.make.in (versioning): Remove variable.
33978         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33979         [$(build-shared) = yes].
33980         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33981         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33982         * elf/Makefile [$(versioning) = yes]: Change conditionals to
33983         [$(build-shared) = yes].
33984         * extra-lib.mk [$(versioning) = yes]: Likewise.
33985         * hurd/Makefile [$(versioning) = yes]: Likewise.
33986         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33987         [SHARED].
33988         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33989         [SHARED].
33990         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33991         [SHARED && !NO_HIDDEN].
33992         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33993         [SHARED].
33994         [SHARED && DO_VERSIONING]: Likewise..
33995         * libio/Makefile [$(versioning) = yes]: Change conditionals to
33996         [$(build-shared) = yes].
33997         * manual/install.texi (--disable-versioning): Remove
33998         documentation.
33999         * INSTALL: Regenerated.
34000         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
34001         to [SHARED].
34002         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
34003         [$(build-shared) = yes].
34004         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
34005         * sysdeps/i386/i686/multiarch/strstr-c.c
34006         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34007         [SHARED && !NO_HIDDEN].
34008         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
34009         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
34010         * sysdeps/powerpc/powerpc32/dl-machine.c
34011         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
34012         * sysdeps/powerpc/powerpc32/sysdep.h
34013         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
34014         to [SHARED && PIC && !NO_HIDDEN].
34015         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
34016         conditional to [SHARED].
34018 2013-09-04   Will Newton  <will.newton@linaro.org>
34020         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
34021         * benchtests/bench-string.h: Include bench-timing.h instead
34022         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
34023         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
34024         call to HP_TIMING_DIFF_INIT.
34025         * benchtests/bench-memccpy.c: Use bench-timing.h macros
34026         instead of hp-timing.h macros.
34027         * benchtests/bench-memchr.c: Likewise.
34028         * benchtests/bench-memcmp.c: Likewise.
34029         * benchtests/bench-memcpy.c: Likewise.
34030         * benchtests/bench-memmem.c: Likewise.
34031         * benchtests/bench-memmove.c: Likewise.
34032         * benchtests/bench-memset.c: Likewise.
34033         * benchtests/bench-rawmemchr.c: Likewise.
34034         * benchtests/bench-strcasecmp.c: Likewise.
34035         * benchtests/bench-strcasestr.c: Likewise.
34036         * benchtests/bench-strcat.c: Likewise.
34037         * benchtests/bench-strchr.c: Likewise.
34038         * benchtests/bench-strcmp.c: Likewise.
34039         * benchtests/bench-strcpy.c: Likewise.
34040         * benchtests/bench-strcpy_chk.c: Likewise.
34041         * benchtests/bench-strlen.c: Likewise.
34042         * benchtests/bench-strncasecmp.c: Likewise.
34043         * benchtests/bench-strncat.c: Likewise.
34044         * benchtests/bench-strncmp.c: Likewise.
34045         * benchtests/bench-strncpy.c: Likewise.
34046         * benchtests/bench-strnlen.c: Likewise.
34047         * benchtests/bench-strpbrk.c: Likewise.
34048         * benchtests/bench-strrchr.c: Likewise.
34049         * benchtests/bench-strspn.c: Likewise.
34050         * benchtests/bench-strstr.c: Likewise.
34052 2013-09-04  Will Newton  <will.newton@linaro.org>
34054         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
34056 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
34058         [BZ #15427]
34059         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34060         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
34061         * math/libm-test.inc (lgamma_test_data): Add more tests.
34062         * sysdeps/i386/fpu/libm-test-ulps: Update.
34063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34065 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
34067         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
34068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34069         Add ifunc.
34070         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34071         Add strcmp-sse2-unaligned
34072         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
34074 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34076         * Versions.def (libc): Add GLIBC_2.19.
34078 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34080         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
34081         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
34083 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
34085         [BZ #14155]
34086         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
34087         intermediate calculations in recurrence.
34088         (__ieee754_ynf): Likewise.
34089         * math/libm-test.inc (jn_test_data): Do not allow spurious
34090         underflow exception.  Add more tests.
34091         (yn_test_data): Add more tests.
34092         * sysdeps/i386/fpu/libm-test-ulps: Update.
34093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34095 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
34097         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
34099 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34101         * csu/init-first.c: Fix then/than typos.
34102         * locale/programs/ld-collate.c: Likewise.
34103         * locale/programs/linereader.h: Likewise.
34104         * manual/charset.texi: Likewise.
34105         * manual/filesys.texi: Likewise.
34106         * manual/stdio.texi: Likewise.
34107         * manual/string.texi: Likewise.
34108         * stdlib/fmtmsg.c: Likewise.
34109         * sysdeps/i386/stpncpy.S: Likewise.
34110         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34111         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34112         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34113         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34115 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34117         * elf/dl-open.c: Fix typos.
34118         * iconvdata/gbbig5.c: Likewise.
34119         * iconvdata/iso-2022-jp.c: Likewise.
34120         * iconv/gconv_int.h: Likewise.
34121         * iconv/loop.c: Likewise.
34122         * nis/rpcsvc/nis.h: Likewise.
34123         * resolv/ns_name.c: Likewise.
34124         * stdio-common/vfscanf.c: Likewise.
34125         * streams/stropts.h: Likewise.
34126         * sunrpc/rpc_thread.c: Likewise.
34127         * sysdeps/i386/strpbrk.S: Likewise.
34128         * sysdeps/ieee754/k_standard.c: Likewise.
34129         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34130         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34131         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34132         * sysdeps/mach/hurd/profil.c: Likewise.
34133         * sysdeps/s390/dl-procinfo.h: Likewise.
34134         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34135         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34136         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34137         * sysdeps/x86_64/dl-trampoline.S: Likewise.
34138         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34140 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
34142         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34145 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
34147         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34148         aix specific files.
34149         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34150         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34151         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34152         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34153         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34154         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34155         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34156         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34158 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34159             Roland McGrath  <roland@hack.frob.com>
34161         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34162         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34164 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34166         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34167         __executable_start symbol instead of _start.
34169 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34171         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34172         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34173         Move macros to...
34174         * sysdeps/gnu/ldsodefs.h: ... this new file.
34176         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34177         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34178         instead of ELFOSABI_LINUX.
34180         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34181         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34182         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34183         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34184         Likewise.
34185         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34186         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34187         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34188         Likewise.
34189         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34190         (ibm_extended_long_double): Add ieee_nan member.
34191         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34192         (do_test): New function.
34194         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34195         TEST_TRUNC.
34196         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34197         functions, renamed from truncdfsf_test, trunctfsf_test,
34198         trunctfdf_test.
34199         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34200         functions.
34201         (do_test): Run all these.
34203 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
34205         * argp/argp-help.c: Fix typos.
34206         * argp/argp-parse.c: Likewise.
34207         * debug/backtracesyms.c: Likewise.
34208         * elf/elf.h: Likewise.
34209         * malloc/malloc.c: Likewise.
34210         * nis/nis_print.c: Likewise.
34211         * resolv/res_comp.c: Likewise.
34212         * stdlib/stdlib.h: Likewise.
34213         * sunrpc/clnt_tcp.c: Likewise.
34214         * sunrpc/clnt_udp.c: Likewise.
34215         * sunrpc/clnt_unix.c: Likewise.
34216         * sysdeps/unix/bsd/ptsname.c: Likewise.
34217         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34218         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34220         Likewise.
34221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34222         Likewise.
34223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34224         Likewise.
34225         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34227 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34229         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34232 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
34234         [BZ #15897]
34235         * dlfcn/Makefile (tests): Add bug-dl-leaf.
34236         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34237         ($(objpfx)bug-dl-leaf): New rule.
34238         ($(objpfx)bug-dl-leaf.so): Likewise.
34239         ($(objpfx)bug-dl-leaf.out): Likewise.
34240         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34241         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34242         * dlfcn/bug-dl-leaf.c: New test.
34243         * dlfcn/bug-dl-leaf-lib.c: Likewise.
34244         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34245         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34246         (dlclose): Likewise.
34247         (dlmopen): Likewise.
34249 2013-08-27  Roland McGrath  <roland@hack.frob.com>
34251         * include/netdb.h [!_ISOMAC]:
34252         Don't include <tls.h>.
34253         (h_errno, __libc_h_errno): Move declaration and macros out of
34254         [_LIBC_REENTRANT].
34256         * include/resolv.h [_RESOLV_H_]:
34257         Don't include <tls.h>.
34258         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34259         * resolv/res_libc.c: Don't include <tls.h>.
34260         (_res): Use __attribute__ ((nocommon)) in place of
34261         __attribute__ ((section (".bss"))).
34263         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34264         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34266         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34268         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34269         only under [SIOCGIFCONF && SIOCGIFNETMASK].
34271         * resolv/res_mkquery.c: Include <sys/time.h>.
34273         * inet/ifreq.c: Moved to ...
34274         * sysdeps/unix/ifreq.c: ... here.
34275         * inet/ifreq.c: New file, true stub version.
34277         * socket/sa_len.c: New file.
34278         * socket/Makefile (aux): Add it.
34279         * sysdeps/unix/sysv/linux/Makefile
34280         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34281         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34282         and #include <socket/sa_len.c>.
34283         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34284         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34286         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34287         * bits/socket.h: ... here.
34289         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34290         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34291         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34293 2013-08-27  Andreas Schwab  <schwab@suse.de>
34295         [BZ #15736]
34296         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34297         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34298         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34299         * string/test-strcasecmp.c (test_main): Run tests in several
34300         locales.
34301         * string/test-strncasecmp.c (test_main): Likewise.
34303         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34304         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34305         to __strcasecmp_nonascii and __strncasecmp_nonascii.
34306         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34307         (__strncasecmp_ssse3) [PIC]: Likewise.
34309 2013-08-26  Roland McGrath  <roland@hack.frob.com>
34311         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34313         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34314         instead of explicitly declaring xdecrypt.
34315         * nis/nss_nis/nis-publickey.c: Likewise.
34317 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34319         [BZ #15890]
34320         * nscd/aicache.c: Include res_hconf.h.
34321         (addhstaiX): Initialize res_hconf.
34323 2013-08-26  Andreas Schwab  <schwab@suse.de>
34325         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34326         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34328 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34330         * nscd/aicache.c (addhstaiX): Fix indentation.
34332 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
34334         * configure.ac: Quote $build_pt_chown test.
34335         * configure: Regenerated.
34337 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
34339         [BZ #15532]
34340         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34341         * math/s_cexpf.c (__cexpf): Likewise.
34342         * math/s_cexpl.c (__cexpl): Likewise.
34343         * math/libm-test.inc (cexp_test_data): Correct expected return
34344         value for NaN + i0.  Add another test.
34346 2013-08-22  David S. Miller  <davem@davemloft.net>
34348         * po/ca.po: Update Catalan translation from translation project.
34349         * po/uk.po: Add Ukrainian translations from translation project.
34351 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
34353         [BZ #15797]
34354         * math/s_fdim.c (__fdim): Check for infinite arguments if result
34355         is infinite, not alongside NaN test.
34356         * math/s_fdimf.c (__fdimf): Likewise.
34357         * math/s_fdiml.c (__fdiml): Likewise.
34358         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
34359         errno is unchanged.
34361 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
34363         * argp/argp-help.c: Fix typos.
34364         * crypt/speeds.c: Likewise.
34365         * csu/check_fds.c: Likewise.
34366         * elf/dl-load.c: Likewise.
34367         * elf/dl-open.c: Likewise.
34368         * elf/reldep3.c: Likewise.
34369         * elf/reldep.c: Likewise.
34370         * elf/sprof.c: Likewise.
34371         * iconv/iconv_charmap.c: Likewise.
34372         * iconv/skeleton.c: Likewise.
34373         * iconv/strtab.c: Likewise.
34374         * io/lockf64.c: Likewise.
34375         * libio/libioP.h: Likewise.
34376         * resolv/gai_notify.c: Likewise.
34377         * resolv/ns_name.c: Likewise.
34378         * resolv/ns_samedomain.c: Likewise.
34379         * resolv/res_send.c: Likewise.
34380         * stdlib/random.c: Likewise.
34381         * sunrpc/rpc/xdr.h: Likewise.
34382         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34383         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34384         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34385         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34386         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34387         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34389         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34390         * sysdeps/mach/hurd/check_fds.c: Likewise.
34391         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34392         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34393         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34394         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34395         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34396         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34397         * sysdeps/pthread/aio_notify.c: Likewise.
34398         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34399         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34400         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34401         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34402         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34404 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34406         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34407         version if bit_Slow_SSE4_2 is set.
34408         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34409         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34411 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34413         [BZ #15867]
34414         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34415         trampoline stack frame information.
34416         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34417         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34418         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34419         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34420         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34421         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34422         (_libc_vdso_platform_setup): Initialize the signal trampolines.
34423         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34424         sa_flags value.
34425         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34426         interrupting a syscall and set with option SA_SIGINFO.
34428 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34430         [BZ #15531]
34431         * math/s_cproj.c (__cproj): Only return an infinity if one part of
34432         argument is infinite.
34433         * math/s_cprojf.c (__cprojf): Likewise.
34434         * math/s_cprojl.c (__cprojl): Likewise.
34435         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34436         * math/libm-test.inc (cproj_test_data): Add more tests.
34438         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34440         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34441         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34442         size.  Use __ffs to determine corresponding shift.
34444 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34445             Roland McGrath  <roland@hack.frob.com>
34447         * Makefile (INSTALL): Remove trailing blank lines from output of
34448         makeinfo.
34450 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34452         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34453         Align 32 bit compat elf_greg to 8 bytes.
34455 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
34457         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34459 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34461         * string/strcoll_l.c (coll_seq): New structure.
34462         (get_next_seq_cached): New function.
34463         (get_next_seq): New function.
34464         (do_compare): New function.
34465         (STRCOLL): Use GNU style definition.  Simplify implementation
34466         by using get_next_seq, get_next_seq_cached and do_compare.
34468 2013-08-16  Florian Weimer  <fweimer@redhat.com>
34470         [BZ #14699]
34471         CVE-2013-4237
34472         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34473         member.
34474         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34475         member.
34476         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34477         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34478         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
34479         conditional.
34480         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34481         GETDENTS_64BIT_ALIGNED.
34482         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34483         * manual/filesys.texi (Reading/Closing Directory): Document
34484         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
34485         strongly.
34486         * manual/conf.texi (Limits for Files): Add portability note to
34487         NAME_MAX, PATH_MAX.
34488         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34490 2013-08-13  Andreas Schwab  <schwab@suse.de>
34492         [BZ #15749]
34493         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34494         of fabs.
34495         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34496         LDBL_MAX_EXP >= 16384]: Add tests for it.
34498 2013-08-12  David S. Miller  <davem@davemloft.net>
34500         * version.h (RELEASE): Set to "development".
34501         (VERSION): Set to "2.18.90".
34502         * NEWS: Add 2.19 section.
34504 2013-08-03  David S. Miller  <davem@davemloft.net>
34506         * po/ko.po: Update Korean translation from translation project.
34508 2013-08-01  David S. Miller  <davem@davemloft.net>
34510         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
34511         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34512         Bilka.
34514 2013-07-30  David S. Miller  <davem@davemloft.net>
34516         * po/fr.po: Update French translation from translation project.
34518 2013-07-28  David S. Miller  <davem@davemloft.net>
34520         * po/cs.po: Update Czech translation from translation project.
34522         * po/sv.po: Update Swedish translation from translation project.
34524 2013-07-27  David S. Miller  <davem@davemloft.net>
34526         * po/eo.po: Update Esperanto translation from translation project.
34528         * po/vi.po: Update Vietnamese translation from translation project.
34530         * po/de.po: Update German translation from translation project.
34532 2013-07-26  David S. Miller  <davem@davemloft.net>
34534         * po/bg.po: Update Bulgarian translation from translation project.
34536         * po/nl.po: Update Dutch translation from translation project.
34537         * po/pl.po: Update Polish translation from translation project.
34538         * po/ru.po: Update Russian translation from translation project.
34540 2013-07-24  David S. Miller  <davem@davemloft.net>
34542         * po/libc.pot: Update.
34544 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34546         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34547         variable page size.
34548         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34549         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34550         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34552 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34554         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34556 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34557             Andreas Schwab  <schwab@suse.de>
34558             Roland McGrath  <roland@hack.frob.com>
34559             Joseph Myers  <joseph@codesourcery.com>
34560             Carlos O'Donell  <carlos@redhat.com>
34562         [BZ #15755]
34563         * config.h.in: Define HAVE_PT_CHOWN.
34564         * config.make.in (build-pt-chown): New variable.
34565         * configure.in (--enable-pt_chown): New configure option.
34566         * configure: Regenerate.
34567         * login/Makefile: Include Makeconfig.  Build pt_chown only if
34568         build-pt-chown is enabled.
34569         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34570         pt_chown to fix pty ownership.
34571         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34572         CLOSE_ALL_FDS.
34573         * manual/install.texi (Configuring and compiling): Mention
34574         --enable-pt_chown. Add @findex for grantpt.
34575         * INSTALL: Regenerate.
34577 2013-07-20  David S. Miller  <davem@davemloft.net>
34579         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34580         difference between 32-bit and 64-bit.
34582 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
34584         [BZ #15711]
34585         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34586         Avoid system header dependency with -ffreestanding.
34587         ($(objpfx)bits/syscall%d): Likewise.
34589 2013-07-13  David S. Miller  <davem@davemloft.net>
34591         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34592         underflows from atanl/atan2l due to bug 15319.
34593         (casinh_test_data): Likewise.
34595 2013-07-07  David S. Miller  <davem@davemloft.net>
34597         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34599 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
34601         * sysdeps/i386/fpu/libm-test-ulps: Update.
34602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34604 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34606         * configure.in (--enable-lock-elision): Fix message text.
34607         * INSTALL: Regenerate.
34608         * configure: Regenerate.
34610 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34614 2013-07-03  Andreas Jaeger  <aj@suse.de>
34616         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34617         define.
34618         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34619         (ptrace_peeksiginfo_args): Add.
34620         (__ptrace_peeksiginfo_flags): Add.
34621         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34622         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34623         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34625 2013-07-03  Allan McRae  <allan@archlinux.org>
34627         * sysdeps/i386/fpu/libm-test-ulps: Update.
34629 2013-07-02  David S. Miller  <davem@davemloft.net>
34631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34633 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
34635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34637 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34639         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34642 2013-07-02  Andi Kleen <ak@linux.intel.com>
34644         * config.h.in (ENABLE_LOCK_ELISION): Add.
34645         * configure.in (--enable-lock-elision): Add option.
34646         * manual/install.texi: Document --enable lock elision.
34647         * configure: Regenerate
34648         * INSTALL: Regenerate.
34650 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
34652         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34653         SSE4.2 strcasecmp for libc.a.
34654         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34656 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34658         [BZ #13304]
34659         * soft-fp/op-common.h (_FP_FMA): New macro.
34660         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34661         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
34662         (_FP_MUL_MEAT_1_imm): ... here.
34663         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
34664         (_FP_MUL_MEAT_1_wide): ... here.
34665         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
34666         (_FP_MUL_MEAT_1_hard): ... here.
34667         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34668         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
34669         (_FP_MUL_MEAT_2_wide): ... here.
34670         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
34671         (_FP_MUL_MEAT_2_wide_3mul): ... here.
34672         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
34673         (_FP_MUL_MEAT_2_gmp): ... here.
34674         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34675         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
34676         (_FP_MUL_MEAT_4_wide): ... here.
34677         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
34678         (_FP_MUL_MEAT_4_gmp): ... here.
34679         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34680         (_FP_WFRACBITS_DW_S): Likewise.
34681         (_FP_WFRACXBITS_DW_S): Likewise.
34682         (_FP_HIGHBIT_DW_S): Likewise.
34683         (FP_FMA_S): Likewise.
34684         (_FP_FRAC_HIGH_DW_S): Likewise.
34685         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34686         (_FP_WFRACBITS_DW_D): Likewise.
34687         (_FP_WFRACXBITS_DW_D): Likewise.
34688         (_FP_HIGHBIT_DW_D): Likewise.
34689         (FP_FMA_D): Likewise.
34690         (_FP_FRAC_HIGH_DW_D): Likewise.
34691         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34692         (_FP_WFRACBITS_DW_E): Likewise.
34693         (_FP_WFRACXBITS_DW_E): Likewise.
34694         (_FP_HIGHBIT_DW_E): Likewise.
34695         (FP_FMA_E): Likewise.
34696         (_FP_FRAC_HIGH_DW_E): Likewise.
34697         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34698         (_FP_WFRACBITS_DW_Q): Likewise.
34699         (_FP_WFRACXBITS_DW_Q): Likewise.
34700         (_FP_HIGHBIT_DW_Q): Likewise.
34701         (FP_FMA_Q): Likewise.
34702         (_FP_FRAC_HIGH_DW_Q): Likewise.
34703         * soft-fp/fmasf4.c: New file.
34704         * soft-fp/fmadf4.c: Likewise.
34705         * soft-fp/fmatf4.c: Likewise.
34707 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34710         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34711         Silvermont.
34712         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34713         macro.
34714         (index_Slow_SSE4_2): Likewise.
34715         (index_Prefer_PMINUB_for_stringop): Likewise.
34716         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34717         bit_Slow_SSE4_2 is set.
34718         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34719         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34721 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34723         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34724         rtld_global._dl_hwcap2.
34725         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34726         POWER8.
34727         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34728         POWER8 feature descriptions defined in _dl_hwcap2.
34729         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34730         string handling for POWER8 feature bits.
34731         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34732         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34733         _dl_powerpc_cap_flags.
34734         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34735         * sysdeps/powerpc/rtld-global-offsets.sym
34736         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34737         _dl_hwcap2 in the rtld_global_ro structure.
34739 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34741         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34742         hardware capabilities in support of AT_HWCAP2.
34743         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34744         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34745         GLRO(dl_hwcap2).
34746         (_dl_show_auxv): Add support for calling _dl_procinfo to display
34747         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
34748         explicitly the unknown a_type display mechanism is used.
34749         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34750         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34751         struct member.
34752         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34753         to macro prototype for AT_HWCAP2 support.
34754         * sysdeps/i386/dl-procinfo.h: Likewise.
34755         * sysdeps/s390/dl-procinfo.h: Likewise.
34756         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34757         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
34758         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
34759         return -1 for unknown a_type display fallback.
34760         * sysdeps/sparc/dl-procinfo.h: Likewise.
34761         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34762         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34764 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
34766         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34767         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34769 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
34771         [BZ #12492]
34772         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34773         mprotect making __stack_prot writable.
34775 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
34776             Joseph Myers  <joseph@codesourcery.com>
34778         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34779         as being properly aligned.
34781 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
34783         * dlfcn/modstatic5.c: New file.
34784         * dlfcn/tststatic5.c: New file.
34785         * dlfcn/Makefile (tests): Add tststatic5.
34786         (tests-static): Likewise.
34787         (modules-names): Add modstatic5.
34788         (tststatic5-ENV): New variable.
34789         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34791         [BZ #15022]
34792         * elf/dl-support.c (_dl_main_map): New variable.
34793         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34794         (_dl_nns, _dl_load_adds): Set to 1.
34795         (_dl_initial_searchlist): Refer to _dl_main_map.
34796         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34797         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34798         call to _dl_get_origin.
34799         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34800         around call_map.
34801         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34802         * dlfcn/modstatic3.c: New file.
34803         * dlfcn/tststatic3.c: New file.
34804         * dlfcn/tststatic4.c: New file.
34805         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34806         (tests-static): Likewise.
34807         (modules-names): Add modstatic3.
34808         (tststatic3-ENV, tststatic4-ENV): New variables.
34809         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34810         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34812 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
34814         * configure.in (CC): Require GCC version 4.4 or later.
34815         * configure: Regenerated.
34816         * manual/install.texi (Tools for Compilation): Update GCC version
34817         requirement.
34818         * INSTALL: Regenerated.
34820 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34822         [BZ #15674]
34823         * string/test-memcmp.c (check2): New.
34824         (main): Call check2.
34826         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34828 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
34830         [BZ #15022]
34831         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34832         over to...
34833         (dl_open_worker) [!SHARED]: ... here.
34835 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34837         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34839 2013-06-25  Richard Henderson  <rth@redhat.com>
34841         * locale/programs/locarchive.c: Include <libc-internal.h>
34843 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
34845         * manual/texinfo.tex: Update to version 2013-06-21.17, with
34846         trailing whitespace removed.
34848 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
34850         [BZ #10283]
34851         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34852         * locale/programs/locarchive.c: Include libc-mmap.h.
34853         (prepare_address_space): Take two new outputs (the mmap base and len).
34854         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
34855         values.
34856         (create_archive): Declare new mmap base and len values for
34857         prepare_address_space, and store the result in ah.
34858         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34859         (enlarge_archive): If ah->mmap_base is not NULL, use that and
34860         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34861         Declare new mmap base and len values for
34862         prepare_address_space, and store the result in new_ah.
34863         (open_archive): Declare new mmap base and len values for
34864         prepare_address_space, and store the result in ah.
34865         (close_archive): If ah->mmap_base is not NULL, use that and
34866         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34867         * sysdeps/generic/libc-mmap.h: New file.
34869 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
34871         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34872         (ALIGN_UP): Likewise.
34873         (PTR_ALIGN_DOWN): Likewise.
34874         (PTR_ALIGN_UP): Likewise.
34876 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34878         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34879         entry mapped to PPC_PLATFORM_POWER8.
34880         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34881         POWER8.
34882         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34883         (_dl_string_platform): Add case for exporting platform position for
34884         POWER8.
34885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34886         search path to sysdeps/powerpc/powerpc32/power8 directory.
34887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34888         search path to sysdeps/powerpc/powerpc64/power8 directory.
34889         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34890         power7 directories.
34891         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34892         power7 directories.
34894 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34896         * INSTALL: Regenerate.
34898         * nscd/connections.c (nscd_init): Fix comment.
34900 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
34902         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34904         [BZ #15667]
34905         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34906         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34908 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
34910         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34911         DL_DST_REQ_STATIC.
34912         (DL_DST_REQ_STATIC): Remove macro.
34914 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
34916         [BZ #7006]
34917         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34918         with a shift of 0 bits.
34920 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
34922         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34923         $(tststatic-ENV).
34925 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34927         [BZ #15655]
34928         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34930 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34932         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34933         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34934         accepts -fno-tree-loop-distribute-patterns.
34935         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34936         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34937         recursive call.
34938         * string/memset.c (memset): Likewise.
34939         * string/test-memmove.c (simple_memmove): Disable loop transformation
34940         to library calls.
34941         * string/test-memset.c (simple_memset): Likewise.
34942         * benchtests/bench-memmove.c (simple_memmove): Likewise.
34943         * benchtests/bench-memset.c (simple_memset): Likewise.
34944         * configure: Regenerated.
34946 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
34948         * math/test-misc.c (main): Ignore fesetround failure when failures
34949         of subsequent rounding tests would be ignored.
34951         [BZ #15654]
34952         * math/fedisblxcpt.c (fedisableexcept): Return 0.
34953         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34954         * math/fegetenv.c (__fegetenv): Return 0.
34955         * math/fegetexcept.c (fegetexcept): Return 0.
34956         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34957         FE_TONEAREST.
34958         * math/feholdexcpt.c (feholdexcept): Return 0.
34959         * math/fesetenv.c (__fesetenv): Return 0.
34960         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34961         argument FE_TONEAREST.
34962         * math/feupdateenv.c (__feupdateenv): Return 0.
34963         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34965 2013-06-18  Roland McGrath  <roland@hack.frob.com>
34967         * elf/rtld-Rules (rtld-compile-command.S): New variable.
34968         (rtld-compile-command.s, rtld-compile-command.c): New variables.
34969         ($(objpfx)rtld-%.os rules): Use them.
34971 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34973         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34974         fields.
34976 2013-06-17  Roland McGrath  <roland@hack.frob.com>
34978         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34979         length of target pattern, then descending length of dependency pattern.
34980         * configure.in (AWK): Require gawk 3.1.2 or newer.
34981         * manual/install.texi (Tools for Compilation): Say that we do.
34982         * configure: Regenerated.
34984         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34985         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34986         * scripts/sysd-rules.awk: ... this new script.
34987         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34988         than a glob-style pattern.
34990 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
34992         * math/test-misc.c (main): Do not treat incorrectly rounded
34993         conversions as failure unless ROUNDING_TESTS passes.
34995 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
34997         [BZ #15631]
34998         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34999         restore exception state around main square root computation, then
35000         check for inexactness explicitly.
35002         * math/libm-test.inc (fma_test_data): Add another test.
35004 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35006         * manual/threads.texi (Non-POSIX Extensions): New document
35007         node.  Document pthread_getattr_default_np and
35008         pthread_setattr_default_np.
35010         * Versions.def (libpthread): Add GLIBC_2.18.
35011         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
35012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35013         Likewise.
35014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35015         Likewise.
35016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35017         Likewise.
35018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35019         Likewise.
35020         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
35021         Likewise.
35022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35023         Likewise.
35024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35025         Likewise.
35026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35027         Likewise.
35028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35029         Likewise.
35031 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35034         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
35036 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35037             H.J. Lu  <hjl.tools@gmail.com>
35039         [BZ #15627]
35040         * sysdeps/x86_64/rtld-memset.c: Remove file.
35041         * sysdeps/x86_64/rtld-memset.S: New file.
35043 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
35045         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
35046         (test_in_one_mode): Take arguments for whether the rounding mode
35047         is supported for each floating-point type.
35048         (do_test): Pass new arguments to test_in_one_mode using
35049         ROUNDING_TESTS.
35051 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35053         * posix/tst-waitid.c (do_test): Distinguish different instances of
35054         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
35055         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
35056         before entering the kernel for waitpid.
35058 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35060         * NEWS: Fix note on clock function precision.  Text by Roland
35061         McGrath.
35063 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35065         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
35066         it into place only when and if the sanity check passes.
35068 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
35070         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
35071         output for whether conversion result is exact.  Take argument
35072         indicating whether type is IBM long double.
35073         (round_for_all): Change need_exact field to ibm_ld.
35074         * stdlib/tst-strtod-round.c (struct exactness): New type.
35075         (struct test): Change bool ld_ok field to struct exactness exact.
35076         (TEST): Update all definitions for change to field.
35077         (tests): Regenerate array contents.
35078         (test_in_one_mode): Take pointer to new field instead of old ld_ok
35079         field value.  Check for IBM long double here.
35080         (do_test): Update calls to test_in_one_mode.
35082 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35084         [BZ #12515]
35085         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
35086         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
35088 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35090         [BZ #15605]
35091         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
35092         generated by the compiler on loop optimizations.
35093         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
35094         general definitions.
35096 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
35098         * math/bug-nextafter.c: Include <math-tests.h>.
35099         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35100         the relevant type.
35101         * math/bug-nexttoward.c: Include <math-tests.h>.
35102         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35103         the relevant type.
35104         * math/test-misc.c: Include <math-tests.h>.
35105         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35106         the relevant type.
35108 2013-06-12  Andreas Jaeger  <aj@suse.de>
35110         * po/ia.po: Update Interlingua translation from translation
35111         project.
35113 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35115         * include/fenv.h: Include stdbool.h.
35116         (struct rm_ctx): New structure.
35117         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
35118         Define macro.
35119         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
35120         (SET_RESTORE_ROUNDF): Likewise.
35121         (SET_RESTORE_ROUNDL): Likewise.
35122         (SET_RESTORE_ROUND_NOEX): Likewise.
35123         (SET_RESTORE_ROUND_NOEXF): Likewise.
35124         (SET_RESTORE_ROUND_NOEXL): Likewise.
35125         (SET_RESTORE_ROUND_53BIT): Likewise.
35126         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35127         (libc_feresetround_noexf_ctx): Likewise.
35128         (libc_feresetround_noexl_ctx): Likewise.
35129         (libc_feholdsetround_53bit_ctx): Likewise.
35130         (libc_feresetround_53bit_ctx): Likewise.
35131         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35132         (libc_feholdexcept_setround_sse_ctx): New function.
35133         (libc_fesetenv_sse_ctx): Likewise.
35134         (libc_feupdateenv_sse_ctx): Likewise.
35135         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35136         (libc_feholdexcept_setround_387_ctx): Likewise.
35137         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35138         (libc_feholdsetround_387_prec_ctx): Likewise.
35139         (libc_feholdsetround_387_ctx): Likewise.
35140         (libc_feholdsetround_387_53bit_ctx): Likewise.
35141         (libc_feholdsetround_sse_ctx): Likewise.
35142         (libc_feresetround_sse_ctx): Likewise.
35143         (libc_feresetround_387_ctx): Likewise.
35144         (libc_feupdateenv_387_ctx): Likewise.
35145         (libc_feholdexcept_setroundf_ctx): Define macro.
35146         (libc_fesetenvf_ctx): Likewise.
35147         (libc_feupdateenvf_ctx): Likewise.
35148         (libc_feholdsetroundf_ctx): Likewise.
35149         (libc_feresetroundf_ctx): Likewise.
35150         (libc_feholdexcept_setround_ctx): Likewise.
35151         (libc_fesetenv_ctx): Likewise.
35152         (libc_feupdateenv_ctx): Likewise.
35153         (libc_feholdsetround_ctx): Likewise.
35154         (libc_feresetround_ctx): Likewise.
35155         (libc_feholdexcept_setroundl_ctx): Likewise.
35156         (libc_feupdateenvl_ctx): Likewise.
35157         (libc_feholdsetroundl_ctx): Likewise.
35158         (libc_feresetroundl_ctx): Likewise.
35159         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35160         (libc_feresetround_53bit_ctx): Likewise.
35162 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35164         * locale/iso-639.def: Convert to UTF-8.
35166 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
35168         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35169         (EXCEPTION_TESTS_double): Likewise.
35170         (EXCEPTION_TESTS_long_double): Likewise.
35171         (EXCEPTION_TESTS): Likewise.
35172         * math/libm-test.inc (test_exceptions): Only test exceptions if
35173         EXCEPTION_TESTS (FLOAT).
35175 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35177         * benchtests/Makefile (string-bench): Add strcpy_chk and
35178         stpcpy_chk.
35179         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35180         * benchtests/bench-stpcpy_chk.c: New file.
35181         * benchtests/bench-strcpy_chk-ifunc.c: New file.
35182         * benchtests/bench-strcpy_chk.c: New file.
35183         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35184         code.
35185         (do_test): Likewise.
35187 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35189         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35190         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35191         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35192         with tabs where appropriate.
35193         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35194         dl-procinfo.h.
35195         [PPC_PLATFORM_PPC440]: Likewise.
35196         [PPC_PLATFORM_PPC464]: Likewise.
35197         [PPC_PLATFORM_PPC476]: Likewise.
35198         (_dl_string_platform): Add support for detecting ppc405, ppc440,
35199         ppc464, and ppc476 platform strings merging from ports/
35200         dl-procinfo.h.
35202 2013-06-11  Andreas Schwab  <schwab@suse.de>
35204         [BZ #14991]
35205         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35206         (from_ucs4_idx): Regenerate.
35207         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35208         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35209         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35210         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35211         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35212         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35213         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35214         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35215         from FROM_LOOP and TO_LOOP specific macros.
35216         (BODY): Handle combining characters.
35217         * iconvdata/BIG5HKSCS.irreversible: Update.
35218         * iconvdata/BIG5HKSCS.precomposed: New file.
35219         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35220         characters.
35221         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35223 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35225         * include/sys/time.h: Fix indentation and add copyright header.
35227         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35228         (do_test): Likewise.
35229         * string/test-memchr.c (do_one_test): Likewise.
35230         (do_test): Likewise.
35231         * string/test-memcmp.c (do_one_test): Likewise.
35232         (do_test): Likewise.
35233         * string/test-memcpy.c (do_one_test): Likewise.
35234         (do_test): Likewise.
35235         * string/test-memmem.c (do_one_test): Likewise.
35236         (do_test): Likewise.
35237         (do_random_tests): Likewise.
35238         * string/test-memmove.c (do_one_test): Likewise.
35239         (do_test): Likewise.
35240         * string/test-memset.c (do_one_test): Likewise.
35241         (do_test): Likewise.
35242         * string/test-rawmemchr.c (do_one_test): Likewise.
35243         (do_test): Likewise.
35244         * string/test-strcasecmp.c (do_one_test): Likewise.
35245         (do_test): Likewise.
35246         * string/test-strcasestr.c (do_one_test): Likewise.
35247         (do_test): Likewise.
35248         * string/test-strcat.c (do_one_test): Likewise.
35249         (do_test): Likewise.
35250         * string/test-strchr.c (do_one_test): Likewise.
35251         (do_test): Likewise.
35252         * string/test-strcmp.c (do_one_test): Likewise.
35253         (do_test): Likewise.
35254         * string/test-strcpy.c (do_one_test): Likewise.
35255         (do_test): Likewise.
35256         * string/test-string.h: Likewise.
35257         (test_init): Likewise.
35258         * string/test-strlen.c (do_one_test): Likewise.
35259         (do_test): Likewise.
35260         * string/test-strncasecmp.c (do_one_test): Likewise.
35261         (do_test): Likewise.
35262         * string/test-strncat.c (do_one_test): Likewise.
35263         (do_test): Likewise.
35264         * string/test-strncmp.c (do_one_test): Likewise.
35265         (do_test_limit): Likewise.
35266         (do_test): Likewise.
35267         * string/test-strncpy.c (do_one_test): Likewise.
35268         (do_test): Likewise.
35269         * string/test-strnlen.c (do_one_test): Likewise.
35270         (do_test): Likewise.
35271         * string/test-strpbrk.c (do_one_test): Likewise.
35272         (do_test): Likewise.
35273         * string/test-strrchr.c (do_one_test): Likewise.
35274         (do_test): Likewise.
35275         * string/test-strspn.c (do_one_test): Likewise.
35276         (do_test): Likewise.
35277         * string/test-strstr.c (do_one_test): Likewise.
35278         (do_test): Likewise.
35280         * benchtests/Makefile (string-bench): Add string benchmarks.
35281         * benchtests/bench-bcopy-ifunc.c: New file.
35282         * benchtests/bench-bcopy.c: New file.
35283         * benchtests/bench-bzero-ifunc.c: New file.
35284         * benchtests/bench-bzero.c: New file.
35285         * benchtests/bench-memccpy-ifunc.c: New file.
35286         * benchtests/bench-memccpy.c: New file.
35287         * benchtests/bench-memchr-ifunc.c: New file.
35288         * benchtests/bench-memchr.c: New file.
35289         * benchtests/bench-memcmp-ifunc.c: New file.
35290         * benchtests/bench-memcmp.c: New file.
35291         * benchtests/bench-memmem-ifunc.c: New file.
35292         * benchtests/bench-memmem.c: New file.
35293         * benchtests/bench-memmove-ifunc.c: New file.
35294         * benchtests/bench-memmove.c: New file.
35295         * benchtests/bench-mempcpy-ifunc.c: New file.
35296         * benchtests/bench-mempcpy.c: New file.
35297         * benchtests/bench-memset-ifunc.c: New file.
35298         * benchtests/bench-memset.c: New file.
35299         * benchtests/bench-rawmemchr-ifunc.c: New file.
35300         * benchtests/bench-rawmemchr.c: New file.
35301         * benchtests/bench-stpcpy-ifunc.c: New file.
35302         * benchtests/bench-stpcpy.c: New file.
35303         * benchtests/bench-stpncpy-ifunc.c: New file.
35304         * benchtests/bench-stpncpy.c: New file.
35305         * benchtests/bench-strcasecmp-ifunc.c: New file.
35306         * benchtests/bench-strcasecmp.c: New file.
35307         * benchtests/bench-strcasestr-ifunc.c: New file.
35308         * benchtests/bench-strcasestr.c: New file.
35309         * benchtests/bench-strcat-ifunc.c: New file.
35310         * benchtests/bench-strcat.c: New file.
35311         * benchtests/bench-strchr-ifunc.c: New file.
35312         * benchtests/bench-strchr.c: New file.
35313         * benchtests/bench-strchrnul-ifunc.c: New file.
35314         * benchtests/bench-strchrnul.c: New file.
35315         * benchtests/bench-strcmp-ifunc.c: New file.
35316         * benchtests/bench-strcmp.c: New file.
35317         * benchtests/bench-strcpy-ifunc.c: New file.
35318         * benchtests/bench-strcpy.c: New file.
35319         * benchtests/bench-strcspn-ifunc.c: New file.
35320         * benchtests/bench-strcspn.c: New file.
35321         * benchtests/bench-strlen-ifunc.c: New file.
35322         * benchtests/bench-strlen.c: New file.
35323         * benchtests/bench-strncasecmp-ifunc.c: New file.
35324         * benchtests/bench-strncasecmp.c: New file.
35325         * benchtests/bench-strncat-ifunc.c: New file.
35326         * benchtests/bench-strncat.c: New file.
35327         * benchtests/bench-strncmp-ifunc.c: New file.
35328         * benchtests/bench-strncmp.c: New file.
35329         * benchtests/bench-strncpy-ifunc.c: New file.
35330         * benchtests/bench-strncpy.c: New file.
35331         * benchtests/bench-strnlen-ifunc.c: New file.
35332         * benchtests/bench-strnlen.c: New file.
35333         * benchtests/bench-strpbrk-ifunc.c: New file.
35334         * benchtests/bench-strpbrk.c: New file.
35335         * benchtests/bench-strrchr-ifunc.c: New file.
35336         * benchtests/bench-strrchr.c: New file.
35337         * benchtests/bench-strspn-ifunc.c: New file.
35338         * benchtests/bench-strspn.c: New file.
35339         * benchtests/bench-strstr-ifunc.c: New file.
35340         * benchtests/bench-strstr.c: New file.
35342         * benchtests/Makefile: Disable parallel execution of targets.
35343         (string-bench): Add memcpy.
35344         (benchset): New variable to store a list of benchmark sets.
35345         (bench-func): Renamed from bench.
35346         (bench-set): New target.
35347         (bench): Depend on bench-func and bench-set.
35348         * benchtests/README: Add section on benchmark sets.
35349         * benchtests/bench-memcpy-ifunc.c: New file.
35350         * benchtests/bench-memcpy.c: New file.
35351         * benchtests/bench-string.h: New file.
35353 2013-06-11  Andreas Schwab  <schwab@suse.de>
35355         [BZ #15577]
35356         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35357         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35358         values in the triple.
35359         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35360         terminator in the group key.
35362 2013-06-11  Andreas Jaeger  <aj@suse.de>
35364         * po/zh_TW.po: Update Chinese (traditional) translation from
35365         translation project.
35367 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35369         * include/time.h (__clock_gettime): Add libc_hidden_proto.
35370         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35371         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
35372         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35373         (clock_getcpuclockid): Likewise.
35374         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35375         Add weak_alias and libc_hidden_def.
35376         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35377         * rt/clock_gettime.c (clock_gettime): Rename to
35378         __clock_gettime.  Add weak_alias and libc_hidden_def.
35379         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35380         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35381         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
35382         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35383         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35384         Likewise.
35385         * rt/clock_settime.c (clock_settime): Rename to
35386         __clock_settime.  Add weak_alias and libc_hidden_def.
35387         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35389 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
35391         * mach/err_boot.sub: Remove trailing whitespace.
35392         * mach/err_ipc.sub: Likewise.
35393         * mach/err_mach.sub: Likewise.
35395         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35396         (ROUNDING_TESTS_double): Likewise.
35397         (ROUNDING_TESTS_long_double): Likewise.
35398         (ROUNDING_TESTS): Likewise.
35399         * math/libm-test.inc: Include <math-tests.h>.
35400         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35401         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35402         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35403         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35405 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35407         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35408         of assigning.
35410 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
35412         * sysdeps/gnu/errlist.awk: Do not generate space at end of
35413         otherwise empty TRANS lines.
35414         * sysdeps/gnu/errlist.c: Regenerated.
35416         * catgets/gencat.c (error_print): Use (void) in function
35417         definition.
35418         * crypt/crypt_util.c (__init_des): Likewise.
35419         * crypt/speeds.c (Stop): Likewise.
35420         (main): Likewise.
35421         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35422         * inet/ruserpass.c (token): Likewise.
35423         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35424         * intl/localealias.c (extend_alias_table): Likewise.
35425         * intl/plural-exp.c (init_germanic_plural): Likewise.
35426         * libio/fcloseall.c (__fcloseall): Likewise.
35427         * libio/genops.c (_IO_flush_all): Likewise.
35428         (_IO_flush_all_linebuffered): Likewise.
35429         (_IO_cleanup): Likewise.
35430         (_IO_iter_begin): Likewise.
35431         (_IO_iter_end): Likewise.
35432         (_IO_list_lock): Likewise.
35433         (_IO_list_unlock): Likewise.
35434         (_IO_list_resetlock): Likewise.
35435         * libio/getchar.c (getchar): Likewise.
35436         * libio/getchar_u.c (getchar_unlocked): Likewise.
35437         * libio/getwchar.c (getwchar): Likewise.
35438         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35439         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35440         * login/getpt.c (__getpt): Likewise.
35441         * login/tst-utmp.c (main): Likewise.
35442         * malloc/hooks.c (__malloc_check_init): Likewise.
35443         * malloc/malloc.c (__malloc_stats): Likewise.
35444         * malloc/mtrace.c (tr_break): Likewise.
35445         (mtrace): Likewise.
35446         (muntrace): Likewise.
35447         * misc/fstab.c (endfsent): Likewise.
35448         * misc/getclktck.c (__getclktck): Likewise.
35449         * misc/getdtsz.c (__getdtablesize): Likewise.
35450         * misc/gethostid.c (gethostid): Likewise.
35451         * misc/getpagesize.c (__getpagesize): Likewise.
35452         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35453         (__get_nprocs): Likewise.
35454         (__get_phys_pages): Likewise.
35455         (__get_avphys_pages): Likewise.
35456         * misc/getttyent.c (getttyent): Likewise.
35457         (setttyent): Likewise.
35458         (endttyent): Likewise.
35459         * misc/getusershell.c (getusershell): Likewise.
35460         (endusershell): Likewise.
35461         (setusershell): Likewise.
35462         (initshells): Likewise.
35463         * misc/hsearch.c (__hdestroy): Likewise.
35464         * misc/sync.c (sync): Likewise.
35465         * misc/syslog.c (closelog_internal): Likewise.
35466         (closelog): Likewise.
35467         * misc/ttyslot.c (ttyslot): Likewise.
35468         * misc/vhangup.c (vhangup): Likewise.
35469         * posix/fork.c (__fork): Likewise.
35470         * posix/getegid.c (__getegid): Likewise.
35471         * posix/geteuid.c (__geteuid): Likewise.
35472         * posix/getgid.c (__getgid): Likewise.
35473         * posix/getpid.c (__getpid): Likewise.
35474         * posix/getppid.c (__getppid): Likewise.
35475         * posix/getuid.c (__getuid): Likewise.
35476         * posix/pause.c (pause): Likewise.
35477         * posix/setpgrp.c (setpgrp): Likewise.
35478         * posix/setsid.c (__setsid): Likewise.
35479         * posix/test-vfork.c (noop): Likewise.
35480         * resolv/gethnamaddr.c (_endhtent): Likewise.
35481         (_gethtent): Likewise.
35482         (ht_endhostent): Likewise.
35483         (gethostent): Likewise.
35484         (dns_service): Likewise.
35485         * stdlib/drand48.c (drand48): Likewise.
35486         * stdlib/lrand48.c (lrand48): Likewise.
35487         * stdlib/mrand48.c (mrand48): Likewise.
35488         * stdlib/rand.c (rand): Likewise.
35489         * stdlib/random.c (__random): Likewise.
35490         * stdlib/setenv.c (clearenv): Likewise.
35491         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35492         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35493         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35494         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35495         (__get_nprocs): Likewise.
35496         (__get_phys_pages): Likewise.
35497         (__get_avphys_pages): Likewise.
35498         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35499         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35500         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35501         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35502         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35503         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35504         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35505         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35506         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35507         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35508         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35509         * sysdeps/mach/hurd/sync.c (sync): Likewise.
35510         * sysdeps/posix/clock.c (clock): Likewise.
35511         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35512         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35513         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35514         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35515         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35516         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35517         (__get_nprocs_conf): Likewise.
35518         (__get_phys_pages): Likewise.
35519         (__get_avphys_pages): Likewise.
35520         * time/clock.c (clock): Likewise.
35521         * time/tzset.c (__tzname_max): Likewise.
35523 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
35525         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35526         (__bswap_32): Do not use "register".
35527         * crypt/crypt.c (_ufc_doit_r): Likewise.
35528         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35529         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35530         * gmon/gmon.c (__monstartup): Likewise.
35531         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35532         * hurd/hurdmalloc.c (more_memory): Likewise.
35533         (malloc): Likewise.
35534         (free): Likewise.
35535         (realloc): Likewise.
35536         (malloc_fork_prepare): Likewise.
35537         (malloc_fork_parent): Likewise.
35538         (malloc_fork_child): Likewise.
35539         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35540         (_svcauth_des): Likewise.
35541         * inet/inet_lnaof.c (inet_lnaof): Likewise.
35542         * inet/inet_net.c (inet_network): Likewise.
35543         * inet/inet_netof.c (inet_netof): Likewise.
35544         * inet/rcmd.c (__validuser2_sa): Likewise.
35545         * io/fts.c (fts_open): Likewise.
35546         (fts_load): Likewise.
35547         (fts_close): Likewise.
35548         (fts_read): Likewise.
35549         (fts_children): Likewise.
35550         (fts_build): Likewise.
35551         (fts_stat): Likewise.
35552         (fts_sort): Likewise.
35553         (fts_alloc): Likewise.
35554         (fts_lfree): Likewise.
35555         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35556         (_IO_file_xsgetn): Likewise.
35557         (_IO_file_xsgetn_mmap): Likewise.
35558         * libio/iofopncook.c (_IO_cookie_read): Likewise.
35559         (_IO_cookie_write): Likewise.
35560         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35561         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35562         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35563         * malloc/obstack.c (_obstack_begin): Likewise.
35564         (_obstack_begin_1): Likewise.
35565         (_obstack_newchunk): Likewise.
35566         (_obstack_allocated_p): Likewise.
35567         (obstack_free): Likewise.
35568         (_obstack_memory_used): Likewise.
35569         * misc/getttyent.c (getttynam): Likewise.
35570         (getttyent): Likewise.
35571         (skip): Likewise.
35572         (value): Likewise.
35573         * misc/getusershell.c (initshells): Likewise.
35574         * misc/syslog.c (__vsyslog_chk): Likewise.
35575         * misc/ttyslot.c (ttyslot): Likewise.
35576         * nis/nis_hash.c (__nis_hash): Likewise.
35577         * posix/fnmatch_loop.c (FCT): Likewise.
35578         * posix/getconf.c (print_all): Likewise.
35579         (main): Likewise.
35580         * posix/getopt.c (exchange): Likewise.
35581         * posix/glob.c (globfree): Likewise.
35582         (prefix_array): Likewise.
35583         (__glob_pattern_type): Likewise.
35584         * resolv/arpa/nameser.h (NS_GET16): Likewise.
35585         (NS_GET32): Likewise.
35586         (NS_PUT16): Likewise.
35587         (NS_PUT32): Likewise.
35588         * resolv/gethnamaddr.c (getanswer): Likewise.
35589         (gethostbyname2): Likewise.
35590         (gethostbyaddr): Likewise.
35591         (_gethtent): Likewise.
35592         (_gethtbyname2): Likewise.
35593         (_gethtbyaddr): Likewise.
35594         * resolv/ns_print.c (dst_s_get_int16): Likewise.
35595         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35596         * resolv/res_init.c (__res_vinit): Likewise.
35597         (net_mask): Likewise.
35598         * resolv/res_mkquery.c (outchar): Likewise.
35599         (PRINT): Likewise.
35600         * stdio-common/printf_fp.c (outchar): Likewise.
35601         (PRINT): Likewise.
35602         * stdio-common/printf_fphex.c (outchar): Likewise.
35603         (PRINT): Likewise.
35604         * stdio-common/printf_size.c (outchar): Likewise.
35605         (PRINT): Likewise.
35606         * stdio-common/test_rdwr.c (main): Likewise.
35607         * stdio-common/tfformat.c (matches): Likewise.
35608         * stdio-common/vfprintf.c (outchar): Likewise.
35609         (printf_unknown): Likewise.
35610         (buffered_vfprintf): Likewise.
35611         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35612         * stdio-common/xbug.c (AppendToBuffer): Likewise.
35613         (ReadFile): Likewise.
35614         * stdlib/qsort.c (SWAP): Likewise.
35615         (_quicksort): Likewise.
35616         * stdlib/setenv.c (__add_to_environ): Likewise.
35617         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35618         * stdlib/strtol_l.c (__strtol_l): Likewise.
35619         * stdlib/tst-strtod.c (main): Likewise.
35620         * stdlib/tst-strtol.c (main): Likewise.
35621         * stdlib/tst-strtoll.c (main): Likewise.
35622         * string/bits/string2.h (__strcmp_cc): Likewise.
35623         (__strcmp_cg): Likewise.
35624         (__strcspn_c1): Likewise.
35625         (__strcspn_c2): Likewise.
35626         (__strcspn_c3): Likewise.
35627         (__strspn_c1): Likewise.
35628         (__strspn_c2): Likewise.
35629         (__strspn_c3): Likewise.
35630         (__strsep_1c): Likewise.
35631         (__strsep_2c): Likewise.
35632         (__strsep_3c): Likewise.
35633         * string/memccpy.c (__memccpy): Likewise.
35634         * string/stpcpy.c (__stpcpy): Likewise.
35635         * string/strcmp.c (strcmp): Likewise.
35636         * string/strrchr.c (strrchr): Likewise.
35637         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35638         Likewise.
35639         * sysdeps/mach/hurd/getcwd.c
35640         (_hurd_canonicalize_directory_name_internal): Likewise.
35641         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35642         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35643         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35644         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35645         Likewise, in both definitions.
35646         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35647         definitions.
35648         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35649         64] (__bswap_64): Likewise.
35650         * time/test_time.c (main): Likewise.
35651         * time/tzfile.c (__tzfile_read): Likewise.
35652         (__tzfile_compute): Likewise.
35653         * time/tzset.c (__tzset_parse_tz): Likewise.
35654         (tzset_internal): Likewise.
35655         (compute_change): Likewise.
35656         * wcsmbs/wcscat.c (__wcscat): Likewise.
35657         * wcsmbs/wcschr.c (wcschr): Likewise.
35658         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35659         * wcsmbs/wcscspn.c (wcscspn): Likewise.
35660         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35661         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35662         * wcsmbs/wcsspn.c (wcsspn): Likewise.
35663         * wcsmbs/wcsstr.c (wcsstr): Likewise.
35664         * wcsmbs/wmemchr.c (wmemchr): Likewise.
35665         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35666         * wcsmbs/wmemset.c (wmemset): Likewise.
35668 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
35670         * scripts/config.guess: Update to version 2013-05-16.
35671         * scripts/config.sub: Update to version 2013-04-24.
35672         * scripts/install-sh: Update to version 2011-11-20.07.
35673         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35674         * scripts/move-if-change: Update to version 2012-01-06 07:23.
35676 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
35678         * debug/fgetws_u_chk.c: Fix leading whitespaces.
35679         * elf/sln.c: Likewise.
35680         * hurd/hurd/ioctl.h: Likewise.
35681         * hurd/hurdmalloc.c: Likewise.
35682         * hurd/xattr.c: Likewise.
35683         * include/shlib-compat.h: Likewise.
35684         * inet/ruserpass.c: Likewise.
35685         * libio/iofgets_u.c: Likewise.
35686         * libio/iofgetws_u.c: Likewise.
35687         * locale/programs/ld-identification.c: Likewise.
35688         * locale/programs/ld-time.c: Likewise.
35689         * mach/msg-destroy.c: Likewise.
35690         * nss/nss_files/files-netgrp.c: Likewise.
35691         * resolv/res_data.c: Likewise.
35692         * soft-fp/op-1.h: Likewise.
35693         * soft-fp/op-2.h: Likewise.
35694         * soft-fp/op-4.h: Likewise.
35695         * soft-fp/op-common.h: Likewise.
35696         * stdio-common/printf_fphex.c: Likewise.
35697         * stdlib/strtod_l.c: Likewise.
35698         * sunrpc/rpc/clnt.h: Likewise.
35699         * sysdeps/generic/framestate.c: Likewise.
35700         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35701         * sysdeps/i386/bsd-setjmp.S: Likewise.
35702         * sysdeps/i386/__longjmp.S: Likewise.
35703         * sysdeps/i386/setjmp.S: Likewise.
35704         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35705         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35706         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35707         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35708         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35709         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35710         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35711         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35712         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35713         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35714         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35715         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35716         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35717         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35718         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35719         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35720         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35721         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35722         * sysdeps/ieee754/support.c: Likewise.
35723         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35724         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35725         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35726         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35727         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35728         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35729         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35730         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35731         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35732         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35733         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35734         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35735         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35736         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35737         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35738         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35739         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35742 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
35744         * posix/transbug.c: Remove executable mode.
35746 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
35748         * crypt/speeds.c: Remove trailing whitespace.
35749         * dlfcn/default.c: Likewise.
35750         * elf/ifuncdep2.c: Likewise.
35751         * elf/ifuncmain1.c: Likewise.
35752         * elf/ifuncmain1vis.c: Likewise.
35753         * elf/testobj.h: Likewise.
35754         * elf/tst-stackguard1.c: Likewise.
35755         * gmon/sys/gmon.h: Likewise.
35756         * hurd/hurdmsg.c: Likewise.
35757         * hurd/new-fd.c: Likewise.
35758         * hurd/ports-get.c: Likewise.
35759         * iconvdata/ibm1008_420.c: Likewise.
35760         * inet/tst-getni1.c: Likewise.
35761         * inet/tst-getni2.c: Likewise.
35762         * libio/ioungetc.c: Likewise.
35763         * libio/wfiledoalloc.c: Likewise.
35764         * manual/libm-err-tab.pl: Likewise.
35765         * math/w_dremf.c: Likewise.
35766         * misc/ftruncate.c: Likewise.
35767         * posix/bug-glob2.c: Likewise.
35768         * posix/tst-pcre.c: Likewise.
35769         * posix/wait4.c: Likewise.
35770         * resolv/README: Likewise.
35771         * resolv/res_debug.h: Likewise.
35772         * resolv/tst-inet_ntop.c: Likewise.
35773         * setjmp/bug269-setjmp.c: Likewise.
35774         * soft-fp/extended.h: Likewise.
35775         * soft-fp/op-1.h: Likewise.
35776         * soft-fp/op-2.h: Likewise.
35777         * soft-fp/op-4.h: Likewise.
35778         * soft-fp/op-8.h: Likewise.
35779         * soft-fp/testit.c: Likewise.
35780         * stdio-common/bug16.c: Likewise.
35781         * stdlib/random.c: Likewise.
35782         * sunrpc/rpcsvc/rquota.x: Likewise.
35783         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35784         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35785         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35786         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35787         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35788         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35789         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35790         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35791         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35792         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35793         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35794         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35795         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35796         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35797         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35798         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35799         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35800         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35801         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35802         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35803         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35804         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35805         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35806         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35807         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35808         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35809         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35810         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35811         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35812         * sysdeps/ieee754/s_lib_version.c: Likewise.
35813         * sysdeps/mach/hurd/check_fds.c: Likewise.
35814         * sysdeps/mach/hurd/getsockname.c: Likewise.
35815         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35816         * sysdeps/mach/hurd/recvfrom.c: Likewise.
35817         * sysdeps/powerpc/bits/link.h: Likewise.
35818         * sysdeps/powerpc/dl-procinfo.c: Likewise.
35819         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35820         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35821         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35822         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35823         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35824         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35825         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35826         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35827         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35828         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35829         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35830         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35831         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35832         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35833         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35834         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35835         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35836         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35837         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35838         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35839         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35840         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35841         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35842         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35843         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35844         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35845         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35846         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35847         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35848         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35849         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35850         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35851         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35852         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35853         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35854         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35855         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35856         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35857         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35858         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35859         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35860         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35861         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35862         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35863         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35864         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35865         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35866         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35867         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35868         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35869         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35870         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35871         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35872         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35873         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35874         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35875         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35876         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35877         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35878         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35879         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35880         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35881         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35882         * sysdeps/powerpc/sysdep.h: Likewise.
35883         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35884         * sysdeps/s390/s390-64/sub_n.S: Likewise.
35885         * sysdeps/sh/dl-trampoline.S: Likewise.
35886         * sysdeps/sh/memset.S: Likewise.
35887         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35888         * sysdeps/sh/strlen.S: Likewise.
35889         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35890         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35891         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35892         * sysdeps/sparc/sparc32/rem.S: Likewise.
35893         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35894         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35895         * sysdeps/sparc/sparc32/strchr.S: Likewise.
35896         * sysdeps/sparc/sparc32/udiv.S: Likewise.
35897         * sysdeps/sparc/sparc32/urem.S: Likewise.
35898         * sysdeps/sparc/sparc64/add_n.S: Likewise.
35899         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35900         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35901         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35902         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35903         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35904         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35905         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35906         * sysdeps/unix/bsd/times.c: Likewise.
35907         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35908         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35912         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35913         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35914         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35915         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35916         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35917         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35918         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35919         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35920         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35921         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35922         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35923         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35924         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35925         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35926         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35927         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35928         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35929         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35930         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35931         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35932         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35933         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35934         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35935         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35936         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35937         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35938         * sysdeps/x86_64/strcspn.S: Likewise.
35940 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35942         * locale/C-translit.h: Revert #include <stdint.h> because this is a
35943         generated file.  Regenerate properly from gen-translit.pl.
35944         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
35945         locale/C-translit.h.
35947 2013-06-05  Andreas Schwab  <schwab@suse.de>
35949         [BZ #15100]
35950         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35951         week as 6 instead of -1.
35952         * time/tst-strptime.c (day_tests): Add test case.
35954 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35956         * sysdeps/generic/math_private.h
35957         (libc_feholdexcept_setround_53bit): Replace with
35958         libc_feholdsetround_53bit.
35959         (libc_feupdateenv_53bit): Replace with
35960         libc_feresetround_53bit.
35961         (SET_RESTORE_ROUND_53BIT): Adjust.
35963 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35965         * string/test-strchrnul.c: Add copyright header.
35967         * posix/tst-getaddrinfo4.c: Increase test timeout.
35969 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
35971         [BZ #15536]
35972         * math/libm-test.inc (MAX_EXP): Remove
35973         (MIN_EXP): Define.
35974         (ulp): Use MIN_EXP - MANT_DIG.
35975         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35977 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
35979         * po/be.po: Revert last change.
35980         * po/zh_CN.po: Likewise.
35981         * po/header.pot: Likewise.
35983 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
35985         * Makefile ($(common-objpfx)linkobj/libc.so): Define
35986         link-libc-deps to empty as target-specific variable.
35987         * Makerules (link-libc-args): New variable.
35988         (libc-for-link): Likewise.
35989         (link-libc-deps): Likewise.
35990         (lib%.so): Depend on $(link-libc-deps).  Link with
35991         $(link-libc-args).
35992         (build-module): Link with $(link-libc-args).
35993         (build-module-asneeded): Likewise.
35994         (build-module-helper-objlist): Filter out $(link-libc-deps) from
35995         list of objects.
35996         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35997         target-specific variable.
35998         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35999         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
36000         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
36001         libc.
36002         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
36003         libc and ld.so.
36004         ($(objpfx)libpcprofile.so): Likewise.
36005         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
36006         libc_nonshared.a.
36007         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
36008         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
36009         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
36010         $(link-libc-deps).
36011         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
36012         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
36013         * login/Makefile ($(objpfx)libutil.so): Likewise.
36014         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
36015         * math/Makefile ($(objpfx)libm.so): Likewise.
36016         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
36017         $(objpfx)libnsl.so): Define libc-for-link as target-specific
36018         variable instead of depending directly on libc.
36019         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
36020         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
36021         $(link-libc-deps).
36022         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
36023         libc.
36024         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
36025         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
36026         ($(objpfx)libanl.so): Likewise.
36027         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
36028         ld.so.
36029         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
36030         $(link-libc-deps).
36031         * sysdeps/i386/fpu/Makefile: Remove file.
36032         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
36033         ($(objpfx)libm.so): Remove dependency on ld.so.
36035 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
36037         [BZ # 15553]
36038         * nis/yp_xdr.c (XDRMAXNAME): Define.
36039         (XDRMAXRECORD): Define.
36040         (xdr_domainname): Use XDRMAXNAME.
36041         (xdr_mapname): Likewise.
36042         (xdr_peername): Likewise.
36043         (xdr_keydat): Use XDRMAXRECORD.
36044         (xdr_valdat): Likewise.
36046 2013-05-30  Jeff Law  <law@redhat.com>
36048         [BZ #14256]
36049         * manual/errno.texi (ESTALE): Update to account for more than
36050         just NFS file systems.
36051         * sysdeps/gnu/errlist.c: Regenerated.
36053 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36055         [BZ #15465]
36056         * elf/Makefile (tests): Add tst-null-argv.
36057         (modules-names):  Add tst-null-argv-lib.
36058         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
36059         (tst-null-argv-ENV): Set environment for tst-null-argv.
36060         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
36061         (RTLD_PROGNAME): New macro.
36062         * elf/tst-null-argv.c: New test case.
36063         * elf/tst-null-argv-lib.c: Library for test case.
36064         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
36065         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
36066         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
36067         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
36068         * elf/dl-init.c (call_init): Likewise.
36069         (_dl_init): Likewise.
36070         * elf/dl-load.c (print_search_path): Likewise.
36071         (_dl_map_object): Likewise.
36072         * elf/dl-lookup.c (do_lookup_x): Likewise.
36073         (add_dependency): Likewise.
36074         (_dl_lookup_symbol_x): Likewise.
36075         (_dl_debug_bindings): Likewise.
36076         * elf/dl-open.c (_dl_show_scope): Likewise.
36077         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36078         * elf/dl-version.c (match_symbol): Likewise.
36079         (_dl_check_map_versions): Likewise.
36080         * elf/rtld.c (dl_main): Likewise.
36081         (print_unresolved): Use RTLD_PROGNAME.
36082         (print_missing_version): Likewise.
36083         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
36084         (elf_machine_rela): Likewise.
36085         * sysdeps/powerpc/powerpc32/dl-machine.c
36086         (__process_machine_rela): Likewise.
36087         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36088         Likewise.
36089         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36090         Likewise.
36091         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36092         Likewise.
36093         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36094         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
36095         Likewise.
36096         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
36097         Likewise.
36098         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36100 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
36102         * po/be.po: Add descriptive title.
36103         * po/zh_CN.po: Likewise.
36104         * po/header.pot: Likewise.
36106 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
36108         * locale/programs/locarchive.c (create_archive): Inlucde fname in
36109         error message.
36110         (enlarge_archive): Likewise.
36112 2013-05-28  Ben North  <ben@redfrontdoor.org>
36114         * manual/arith.texi (frexp): It is the magnitude of the return
36115         value which lies in [0.5, 1), not the return value itself.
36117 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36121 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
36123         * stdio-common/bug26.c (main): Correct fscanf template.
36125         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36126         declare _dl_skip_args.
36128         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36129         Don't declare.
36131         * manual/platform.texi: Add missing @end deftypefun.
36133 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36135         [BZ #15529]
36136         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36137         bit of mantissa of 2^16382.
36138         * math/libm-test.inc (hypot_test_data): Add more tests.
36140         * math/libm-test.inc: Add drem and pow10 to list of tested
36141         functions.
36142         (pow10_test): New function.
36143         (drem_test): Likewise.
36144         (drem_test_tonearest): Likewise.
36145         (drem_test_towardzero): Likewise.
36146         (drem_test_downward): Likewise.
36147         (drem_test_upward): Likewise.
36148         (main): Call the new functions.
36150         * math/libm-test.inc (finite_test_data): Remove.
36151         (finite_test): Run tests from isfinite_test_data.
36152         (gamma_test_data): Remove.
36153         (gamma_test): Run tests from lgamma_test_data.
36154         * sysdeps/i386/fpu/libm-test-ulps: Update.
36155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36157 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36159         * manual/platform.texi: Add PowerPC PPR function set documentation.
36160         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36161         implementation.
36163 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
36165         * math/libm-test.inc (MAX_EXP): Define.
36166         (ULPDIFF): Define.
36167         (ulp): New function.
36168         (check_float_internal): Use ULPDIFF.
36169         (cpow_test): Disable failing test.
36170         (check_ulp): Test ulp() implemetnation.
36171         (main): Call check_ulp before starting tests.
36173 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36175         * math/gen-libm-test.pl (generate_testfile): Do not handle
36176         START_DATA and END_DATA.
36177         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36178         END_DATA.
36179         (acos_tonearest_test_data): Likewise.
36180         (acos_towardzero_test_data): Likewise.
36181         (acos_downward_test_data): Likewise.
36182         (acos_upward_test_data): Likewise.
36183         (acosh_test_data): Likewise.
36184         (asin_test_data): Likewise.
36185         (asin_tonearest_test_data): Likewise.
36186         (asin_towardzero_test_data): Likewise.
36187         (asin_downward_test_data): Likewise.
36188         (asin_upward_test_data): Likewise.
36189         (asinh_test_data): Likewise.
36190         (atan_test_data): Likewise.
36191         (atanh_test_data): Likewise.
36192         (atan2_test_data): Likewise.
36193         (cabs_test_data): Likewise.
36194         (cacos_test_data): Likewise.
36195         (cacosh_test_data): Likewise.
36196         (carg_test_data): Likewise.
36197         (casin_test_data): Likewise.
36198         (casinh_test_data): Likewise.
36199         (catan_test_data): Likewise.
36200         (catanh_test_data): Likewise.
36201         (cbrt_test_data): Likewise.
36202         (ccos_test_data): Likewise.
36203         (ccosh_test_data): Likewise.
36204         (ceil_test_data): Likewise.
36205         (cexp_test_data): Likewise.
36206         (cimag_test_data): Likewise.
36207         (clog_test_data): Likewise.
36208         (clog10_test_data): Likewise.
36209         (conj_test_data): Likewise.
36210         (copysign_test_data): Likewise.
36211         (cos_test_data): Likewise.
36212         (cos_tonearest_test_data): Likewise.
36213         (cos_towardzero_test_data): Likewise.
36214         (cos_downward_test_data): Likewise.
36215         (cos_upward_test_data): Likewise.
36216         (cosh_test_data): Likewise.
36217         (cosh_tonearest_test_data): Likewise.
36218         (cosh_towardzero_test_data): Likewise.
36219         (cosh_downward_test_data): Likewise.
36220         (cosh_upward_test_data): Likewise.
36221         (cpow_test_data): Likewise.
36222         (cproj_test_data): Likewise.
36223         (creal_test_data): Likewise.
36224         (csin_test_data): Likewise.
36225         (csinh_test_data): Likewise.
36226         (csqrt_test_data): Likewise.
36227         (ctan_test_data): Likewise.
36228         (ctan_tonearest_test_data): Likewise.
36229         (ctan_towardzero_test_data): Likewise.
36230         (ctan_downward_test_data): Likewise.
36231         (ctan_upward_test_data): Likewise.
36232         (ctanh_test_data): Likewise.
36233         (ctanh_tonearest_test_data): Likewise.
36234         (ctanh_towardzero_test_data): Likewise.
36235         (ctanh_downward_test_data): Likewise.
36236         (ctanh_upward_test_data): Likewise.
36237         (erf_test_data): Likewise.
36238         (erfc_test_data): Likewise.
36239         (exp_test_data): Likewise.
36240         (exp_tonearest_test_data): Likewise.
36241         (exp_towardzero_test_data): Likewise.
36242         (exp_downward_test_data): Likewise.
36243         (exp_upward_test_data): Likewise.
36244         (exp10_test_data): Likewise.
36245         (exp2_test_data): Likewise.
36246         (expm1_test_data): Likewise.
36247         (fabs_test_data): Likewise.
36248         (fdim_test_data): Likewise.
36249         (finite_test_data): Likewise.
36250         (floor_test_data): Likewise.
36251         (fma_test_data): Likewise.
36252         (fma_towardzero_test_data): Likewise.
36253         (fma_downward_test_data): Likewise.
36254         (fma_upward_test_data): Likewise.
36255         (fmax_test_data): Likewise.
36256         (fmin_test_data): Likewise.
36257         (fmod_test_data): Likewise.
36258         (fpclassify_test_data): Likewise.
36259         (frexp_test_data): Likewise.
36260         (gamma_test_data): Likewise.
36261         (hypot_test_data): Likewise.
36262         (ilogb_test_data): Likewise.
36263         (isfinite_test_data): Likewise.
36264         (isgreater_test_data): Likewise.
36265         (isgreaterequal_test_data): Likewise.
36266         (isinf_test_data): Likewise.
36267         (isless_test_data): Likewise.
36268         (islessequal_test_data): Likewise.
36269         (islessgreater_test_data): Likewise.
36270         (isnan_test_data): Likewise.
36271         (isnormal_test_data): Likewise.
36272         (issignaling_test_data): Likewise.
36273         (isunordered_test_data): Likewise.
36274         (j0_test_data): Likewise.
36275         (j1_test_data): Likewise.
36276         (jn_test_data): Likewise.
36277         (ldexp_test_data): Likewise.
36278         (lgamma_test_data): Likewise.
36279         (lrint_test_data): Likewise.
36280         (lrint_tonearest_test_data): Likewise.
36281         (lrint_towardzero_test_data): Likewise.
36282         (lrint_downward_test_data): Likewise.
36283         (lrint_upward_test_data): Likewise.
36284         (llrint_test_data): Likewise.
36285         (llrint_tonearest_test_data): Likewise.
36286         (llrint_towardzero_test_data): Likewise.
36287         (llrint_downward_test_data): Likewise.
36288         (llrint_upward_test_data): Likewise.
36289         (log_test_data): Likewise.
36290         (log10_test_data): Likewise.
36291         (log1p_test_data): Likewise.
36292         (log2_test_data): Likewise.
36293         (logb_test_data): Likewise.
36294         (logb_downward_test_data): Likewise.
36295         (lround_test_data): Likewise.
36296         (llround_test_data): Likewise.
36297         (modf_test_data): Likewise.
36298         (nearbyint_test_data): Likewise.
36299         (nextafter_test_data): Likewise.
36300         (nexttoward_test_data): Likewise.
36301         (pow_test_data): Likewise.
36302         (pow_tonearest_test_data): Likewise.
36303         (pow_towardzero_test_data): Likewise.
36304         (pow_downward_test_data): Likewise.
36305         (pow_upward_test_data): Likewise.
36306         (remainder_test_data): Likewise.
36307         (remainder_tonearest_test_data): Likewise.
36308         (remainder_towardzero_test_data): Likewise.
36309         (remainder_downward_test_data): Likewise.
36310         (remainder_upward_test_data): Likewise.
36311         (remquo_test_data): Likewise.
36312         (rint_test_data): Likewise.
36313         (rint_tonearest_test_data): Likewise.
36314         (rint_towardzero_test_data): Likewise.
36315         (rint_downward_test_data): Likewise.
36316         (rint_upward_test_data): Likewise.
36317         (round_test_data): Likewise.
36318         (scalb_test_data): Likewise.
36319         (scalbn_test_data): Likewise.
36320         (scalbln_test_data): Likewise.
36321         (signbit_test_data): Likewise.
36322         (sin_test_data): Likewise.
36323         (sin_tonearest_test_data): Likewise.
36324         (sin_towardzero_test_data): Likewise.
36325         (sin_downward_test_data): Likewise.
36326         (sin_upward_test_data): Likewise.
36327         (sincos_test_data): Likewise.
36328         (sinh_test_data): Likewise.
36329         (sinh_tonearest_test_data): Likewise.
36330         (sinh_towardzero_test_data): Likewise.
36331         (sinh_downward_test_data): Likewise.
36332         (sinh_upward_test_data): Likewise.
36333         (sqrt_test_data): Likewise.
36334         (tan_test_data): Likewise.
36335         (tan_tonearest_test_data): Likewise.
36336         (tan_towardzero_test_data): Likewise.
36337         (tan_downward_test_data): Likewise.
36338         (tan_upward_test_data): Likewise.
36339         (tanh_test_data): Likewise.
36340         (tgamma_test_data): Likewise.
36341         (trunc_test_data): Likewise.
36342         (y0_test_data): Likewise.
36343         (y1_test_data): Likewise.
36344         (yn_test_data): Likewise.
36345         (significand_test_data): Likewise.
36347         * math/gen-libm-test.pl (@functions): Remove variable.
36348         (generate_testfile): Don't handle START and END lines.
36349         * math/libm-test.inc (START): New macro.
36350         (END): Likewise.
36351         (END_COMPLEX): Likewise.
36352         (acos_test): Use END macro without arguments.
36353         (acos_test_tonearest): Likewise.
36354         (acos_test_towardzero): Likewise.
36355         (acos_test_downward): Likewise.
36356         (acos_test_upward): Likewise.
36357         (acosh_test): Likewise.
36358         (asin_test): Likewise.
36359         (asin_test_tonearest): Likewise.
36360         (asin_test_towardzero): Likewise.
36361         (asin_test_downward): Likewise.
36362         (asin_test_upward): Likewise.
36363         (asinh_test): Likewise.
36364         (atan_test): Likewise.
36365         (atanh_test): Likewise.
36366         (atan2_test): Likewise.
36367         (cabs_test): Likewise.
36368         (cacos_test): Use END_COMPLEX macro without arguments.
36369         (cacosh_test): Likewise.
36370         (carg_test): Use END macro without arguments.
36371         (casin_test): Use END_COMPLEX macro without arguments.
36372         (casinh_test): Likewise.
36373         (catan_test): Likewise.
36374         (catanh_test): Likewise.
36375         (cbrt_test): Use END macro without arguments.
36376         (ccos_test): Use END_COMPLEX macro without arguments.
36377         (ccosh_test): Likewise.
36378         (ceil_test): Use END macro without arguments.
36379         (cexp_test): Use END_COMPLEX macro without arguments.
36380         (cimag_test): Use END macro without arguments.
36381         (clog_test): Use END_COMPLEX macro without arguments.
36382         (clog10_test): Likewise.
36383         (conj_test): Likewise.
36384         (copysign_test): Use END macro without arguments.
36385         (cos_test): Likewise.
36386         (cos_test_tonearest): Likewise.
36387         (cos_test_towardzero): Likewise.
36388         (cos_test_downward): Likewise.
36389         (cos_test_upward): Likewise.
36390         (cosh_test): Likewise.
36391         (cosh_test_tonearest): Likewise.
36392         (cosh_test_towardzero): Likewise.
36393         (cosh_test_downward): Likewise.
36394         (cosh_test_upward): Likewise.
36395         (cpow_test): Use END_COMPLEX macro without arguments.
36396         (cproj_test): Likewise.
36397         (creal_test): Use END macro without arguments.
36398         (csin_test): Use END_COMPLEX macro without arguments.
36399         (csinh_test): Likewise.
36400         (csqrt_test): Likewise.
36401         (ctan_test): Likewise.
36402         (ctan_test_tonearest): Likewise.
36403         (ctan_test_towardzero): Likewise.
36404         (ctan_test_downward): Likewise.
36405         (ctan_test_upward): Likewise.
36406         (ctanh_test): Likewise.
36407         (ctanh_test_tonearest): Likewise.
36408         (ctanh_test_towardzero): Likewise.
36409         (ctanh_test_downward): Likewise.
36410         (ctanh_test_upward): Likewise.
36411         (erf_test): Use END macro without arguments.
36412         (erfc_test): Likewise.
36413         (exp_test): Likewise.
36414         (exp_test_tonearest): Likewise.
36415         (exp_test_towardzero): Likewise.
36416         (exp_test_downward): Likewise.
36417         (exp_test_upward): Likewise.
36418         (exp10_test): Likewise.
36419         (exp2_test): Likewise.
36420         (expm1_test): Likewise.
36421         (fabs_test): Likewise.
36422         (fdim_test): Likewise.
36423         (finite_test): Likewise.
36424         (floor_test): Likewise.
36425         (fma_test): Likewise.
36426         (fma_test_towardzero): Likewise.
36427         (fma_test_downward): Likewise.
36428         (fma_test_upward): Likewise.
36429         (fmax_test): Likewise.
36430         (fmin_test): Likewise.
36431         (fmod_test): Likewise.
36432         (fpclassify_test): Likewise.
36433         (frexp_test): Likewise.
36434         (gamma_test): Likewise.
36435         (hypot_test): Likewise.
36436         (ilogb_test): Likewise.
36437         (isfinite_test): Likewise.
36438         (isgreater_test): Likewise.
36439         (isgreaterequal_test): Likewise.
36440         (isinf_test): Likewise.
36441         (isless_test): Likewise.
36442         (islessequal_test): Likewise.
36443         (islessgreater_test): Likewise.
36444         (isnan_test): Likewise.
36445         (isnormal_test): Likewise.
36446         (issignaling_test): Likewise.
36447         (isunordered_test): Likewise.
36448         (j0_test): Likewise.
36449         (j1_test): Likewise.
36450         (jn_test): Likewise.
36451         (ldexp_test): Likewise.
36452         (lgamma_test): Likewise.
36453         (lrint_test): Likewise.
36454         (lrint_test_tonearest): Likewise.
36455         (lrint_test_towardzero): Likewise.
36456         (lrint_test_downward): Likewise.
36457         (lrint_test_upward): Likewise.
36458         (llrint_test): Likewise.
36459         (llrint_test_tonearest): Likewise.
36460         (llrint_test_towardzero): Likewise.
36461         (llrint_test_downward): Likewise.
36462         (llrint_test_upward): Likewise.
36463         (log_test): Likewise.
36464         (log10_test): Likewise.
36465         (log1p_test): Likewise.
36466         (log2_test): Likewise.
36467         (logb_test): Likewise.
36468         (logb_test_downward): Likewise.
36469         (lround_test): Likewise.
36470         (llround_test): Likewise.
36471         (modf_test): Likewise.
36472         (nearbyint_test): Likewise.
36473         (nextafter_test): Likewise.
36474         (nexttoward_test): Likewise.
36475         (pow_test): Likewise.
36476         (pow_test_tonearest): Likewise.
36477         (pow_test_towardzero): Likewise.
36478         (pow_test_downward): Likewise.
36479         (pow_test_upward): Likewise.
36480         (remainder_test): Likewise.
36481         (remainder_test_tonearest): Likewise.
36482         (remainder_test_towardzero): Likewise.
36483         (remainder_test_downward): Likewise.
36484         (remainder_test_upward): Likewise.
36485         (remquo_test): Likewise.
36486         (rint_test): Likewise.
36487         (rint_test_tonearest): Likewise.
36488         (rint_test_towardzero): Likewise.
36489         (rint_test_downward): Likewise.
36490         (rint_test_upward): Likewise.
36491         (round_test): Likewise.
36492         (scalb_test): Likewise.
36493         (scalbn_test): Likewise.
36494         (scalbln_test): Likewise.
36495         (signbit_test): Likewise.
36496         (sin_test): Likewise.
36497         (sin_test_tonearest): Likewise.
36498         (sin_test_towardzero): Likewise.
36499         (sin_test_downward): Likewise.
36500         (sin_test_upward): Likewise.
36501         (sincos_test): Likewise.
36502         (sinh_test): Likewise.
36503         (sinh_test_tonearest): Likewise.
36504         (sinh_test_towardzero): Likewise.
36505         (sinh_test_downward): Likewise.
36506         (sinh_test_upward): Likewise.
36507         (sqrt_test): Likewise.
36508         (tan_test): Likewise.
36509         (tan_test_tonearest): Likewise.
36510         (tan_test_towardzero): Likewise.
36511         (tan_test_downward): Likewise.
36512         (tan_test_upward): Likewise.
36513         (tanh_test): Likewise.
36514         (tgamma_test): Likewise.
36515         (trunc_test): Likewise.
36516         (y0_test): Likewise.
36517         (y1_test): Likewise.
36518         (yn_test): Likewise.
36519         (significand_test): Likewise.
36521 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
36523         [BZ #15381]
36524         * libio/genops.c (_IO_no_init): Initialize wide struct info.
36526 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
36528         [BZ #14894]
36529         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36530         __ppc_mdoio and __ppc_mdoom.
36531         * manual/platform.texi: Document new functions __ppc_yield,
36532         __ppc_mdoio and __ppc_mdoom.
36534 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
36536         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36537         (main): Mention "tls" pseudo-hwcap is legacy.
36538         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36540 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36542         * math/gen-libm-test.pl (parse_args): Output only string of
36543         arguments as text for test name, not full call or descriptions of
36544         tests for extra outputs.
36545         (generate_testfile): Do not pass function name to parse_args.
36546         Generate this_func variable from START.
36547         * math/libm-test.inc (struct test_f_f_data): Rename test_name
36548         field to arg_str.
36549         (struct test_ff_f_data): Likewise.
36550         (test_ff_f_data_nexttoward): Likewise.
36551         (struct test_fi_f_data): Likewise.
36552         (struct test_fl_f_data): Likewise.
36553         (struct test_if_f_data): Likewise.
36554         (struct test_fff_f_data): Likewise.
36555         (struct test_c_f_data): Likewise.
36556         (struct test_f_f1_data): Likewise.  Remove field extra_name.
36557         (struct test_fF_f1_data): Likewise.
36558         (struct test_ffI_f1_data): Likewise.
36559         (struct test_c_c_data): Rename test_name field to arg_str.
36560         (struct test_cc_c_data): Likewise.
36561         (struct test_f_i_data): Likewise.
36562         (struct test_ff_i_data): Likewise.
36563         (struct test_f_l_data): Likewise.
36564         (struct test_f_L_data): Likewise.
36565         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
36566         and extra2_name.
36567         (COMMON_TEST_SETUP): New macro.
36568         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36569         (COMMON_TEST_CLEANUP): Likewise.
36570         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36571         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
36572         macros.
36573         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36574         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
36575         macros.
36576         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36577         (RUN_TEST_fff_f): Take argument string.  Call new setup and
36578         cleanup macros.
36579         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36580         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
36581         macros.
36582         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36583         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
36584         macros.
36585         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36586         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
36587         cleanup macros.
36588         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36589         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
36590         cleanup macros.
36591         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36592         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
36593         cleanup macros.
36594         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36595         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
36596         macros.
36597         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36598         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
36599         macros.
36600         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36601         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
36602         macros.
36603         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36604         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
36605         cleanup macros.
36606         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36607         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
36608         cleanup macros.
36609         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36610         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
36611         macros.
36612         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36613         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
36614         cleanup macros.
36615         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36616         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
36617         macros.
36618         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36619         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
36620         macros.
36621         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36622         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
36623         cleanup macros.
36624         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36626 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
36628         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36629         to _sifields.sigfault.
36630         (si_addr_lsb): Define new macro.
36631         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36632         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36633         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36635 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
36637         [BZ #15441]
36638         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36639         returns -1.
36640         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36641         null return -1.
36642         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36643         loading the domain.
36645 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36647         * math/gen-libm-test.pl (parse_args): Do not include expected
36648         result in test name.
36649         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36650         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36651         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36652         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36653         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36656 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36658         * benchtests/Makefile: Sort function entries.
36660         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36661         tanh, asinh, acosh, atanh.
36662         * benchtests/acos-inputs: New file.
36663         * benchtests/acosh-inputs: New file.
36664         * benchtests/asin-inputs: New file.
36665         * benchtests/asinh-inputs: New file.
36666         * benchtests/atanh-inputs: New file.
36667         * benchtests/cosh-inputs: New file.
36668         * benchtests/log-inputs: New file.
36669         * benchtests/sinh-inputs: New file.
36670         * benchtests/tanh-inputs: New file.
36672 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
36674         [BZ #15339]
36675         * posix/tst-getaddrinfo4.c: New test.
36676         * posix/Makefile (tests): Add it.
36678 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36680         [BZ #15339]
36681         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36682         when no services were used.
36683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36684         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36686 2013-05-21  Andreas Schwab  <schwab@suse.de>
36688         [BZ #15014]
36689         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36690         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36691         successful.
36692         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36693         redundant variable declarations and reallocation of buffer when
36694         parsing as IPv6 address.  Always set NSS status when called from
36695         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
36696         buffer too small.  Correct computation of needed size.
36697         * nss/Makefile (tests): Add test-digits-dots.
36698         * nss/test-digits-dots.c: New test.
36700 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36702         * benchtests/Makefile: Remove instructions for adding
36703         benchmark tests.
36704         * benchtests/README: New file to explain how to execute and
36705         enhance the benchmark tests.
36707 2013-05-21  Andreas Schwab  <schwab@suse.de>
36709         [BZ #15493]
36710         * setjmp/Makefile (tests): Add tst-sigsetjmp.
36711         * setjmp/tst-sigsetjmp.c: New test.
36713 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36715         * sysdeps/x86_64/memset.S (memset): New implementation.
36716         (__bzero): Likewise.
36717         (__memset_tail): New function.
36719 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36721         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36722         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36723         __memcpy_sse2_unaligned ifunc selection.
36724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36725         Add memcpy-sse2-unaligned.S.
36726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36727         Add: __memcpy_sse2_unaligned.
36729 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
36731         [BZ #15490]
36732         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36733         math_force_eval before restoring floating-point envrionment.
36734         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36735         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36736         Likewise.
36737         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36738         <math_private.h>.
36739         (__nearbyintl): Use math_force_eval before restoring
36740         floating-point environment.
36741         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36743         * math/gen-libm-test.pl (special_functions): Remove.
36744         (parse_args): Don't handle TEST_extra.  Handle functions with no
36745         return value.
36746         * math/libm-test.inc (struct test_sincos_data): Replace with
36747         struct test_fFF_11_data.
36748         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36749         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36750         (sincos_test_data): Change element type to struct
36751         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
36752         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36753         RUN_TEST_LOOP_sincos.
36754         * math/README.libm-test: Don't mention special handling of
36755         individual functions.
36756         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36757         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36758         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36759         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36760         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36763         * math/gen-libm-test.pl (get_variable): Remove function.
36764         (parse_args): Don't show pointer parameters to call in test
36765         names.  Use "extra output N" in test names for extra outputs
36766         rather than naming variables.
36768 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
36770         [BZ #15488]
36771         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36772         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36773         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36774         double tests.
36775         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36776         disable.
36777         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36778         check_long_double.
36780         * math/gen-libm-test.pl (@tests): Remove variable.
36781         ($count): Likewise.
36782         (new_test): Remove function.
36783         (show_exceptions): New function.
36784         (special_functions): Use show_exceptions instead of new_test.
36785         (parse_args): Likewise.
36786         (generate_testfile): Pass only function name in generated call to
36787         print_max_error or print_complex_max_error.
36788         (get_ulps): Do not handle complex tests specially.
36789         (output_test): Rename to ...
36790         (get_all_ulps_for_test): ... this.  Return a string rather than
36791         printing to a file.  Require ulps to be present.
36792         (output_ulps): Generate arrays rather than #defines.
36793         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36794         (struct ulp_data): New type.
36795         (BUILD_COMPLEX_ULP): Remove macro.
36796         (compare_ulp_data): New function.
36797         (find_ulps): Likewise.
36798         (find_test_ulps): Likewise.
36799         (find_function_ulps): Likewise.
36800         (find_complex_function_ulps): Likewise.
36801         (print_max_error): Determine allowed ulps using
36802         find_function_ulps.
36803         (print_complex_max_error): Determine allowed ulps using
36804         find_complex_function_ulps.
36805         (check_float_internal): Determine max ulps using find_test_ulps.
36806         (check_float): Do not take max_ulp parameter.  Update call to
36807         check_float_internal.
36808         (check_complex): Likewise.
36809         (check_int): Do not take max_ulp parameter.
36810         (check_long): Likewise.
36811         (check_bool): Likewise.
36812         (check_longlong): Likewise.
36813         (struct test_f_f_data): Remove max_ulp field.
36814         (struct test_ff_f_data): Likewise.
36815         (struct test_ff_f_data_nexttoward): Likewise.
36816         (struct test_fi_f_data): Likewise.
36817         (struct test_fl_f_data): Likewise.
36818         (struct test_if_f_data): Likewise.
36819         (struct test_fff_f_data): Likewise.
36820         (struct test_c_f_data): Likewise.
36821         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36822         (struct test_fF_f1_data): Likewise.
36823         (struct test_ffI_f1_data): Likewise.
36824         (struct test_c_c_data): Remove max_ulp field.
36825         (struct test_cc_c_data): Likewise.
36826         (struct test_f_i_data): Likewise.
36827         (struct test_ff_i_data): Likewise.
36828         (struct test_f_l_data): Likewise.
36829         (struct test_f_L_data): Likewise.
36830         (struct test_sincos_data): Likewise.
36831         (RUN_TEST_f_f): Do not handle ulps.
36832         (RUN_TEST_LOOP_f_f): Likewise.
36833         (RUN_TEST_2_f): Likewise.
36834         (RUN_TEST_LOOP_2_f): Likewise.
36835         (RUN_TEST_fff_f): Likewise.
36836         (RUN_TEST_LOOP_fff_f): Likewise.
36837         (RUN_TEST_c_f): Likewise.
36838         (RUN_TEST_LOOP_c_f): Likewise.
36839         (RUN_TEST_f_f1): Likewise.
36840         (RUN_TEST_LOOP_f_f1): Likewise.
36841         (RUN_TEST_fF_f1): Likewise.
36842         (RUN_TEST_LOOP_fF_f1): Likewise.
36843         (RUN_TEST_fI_f1): Likewise.
36844         (RUN_TEST_LOOP_fI_f1): Likewise.
36845         (RUN_TEST_ffI_f1): Likewise.
36846         (RUN_TEST_LOOP_ffI_f1): Likewise.
36847         (RUN_TEST_c_c): Likewise.
36848         (RUN_TEST_LOOP_c_c): Likewise.
36849         (RUN_TEST_cc_c): Likewise.
36850         (RUN_TEST_LOOP_cc_c): Likewise.
36851         (RUN_TEST_f_i): Likewise.
36852         (RUN_TEST_LOOP_f_i): Likewise.
36853         (RUN_TEST_f_i_tg): Likewise.
36854         (RUN_TEST_LOOP_f_i_tg): Likewise.
36855         (RUN_TEST_ff_i_tg): Likewise.
36856         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36857         (RUN_TEST_f_b): Likewise.
36858         (RUN_TEST_LOOP_f_b): Likewise.
36859         (RUN_TEST_f_b_tg): Likewise.
36860         (RUN_TEST_LOOP_f_b_tg): Likewise.
36861         (RUN_TEST_f_l): Likewise.
36862         (RUN_TEST_LOOP_f_l): Likewise.
36863         (RUN_TEST_f_L): Likewise.
36864         (RUN_TEST_LOOP_f_L): Likewise.
36865         (RUN_TEST_sincos): Likewise.
36866         (RUN_TEST_LOOP_sincos): Likewise.
36868 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
36870         [BZ #15480]
36871         [BZ #15485]
36872         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36873         main case of finite arguments, set rounding mode to FE_TONEAREST
36874         and discard exceptions.
36875         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36876         exceptions.
36877         (remainder_tonearest_test_data): New variable.
36878         (remainder_test_tonearest): New function.
36879         (remainder_towardzero_test_data): New variable.
36880         (remainder_test_towardzero): New function.
36881         (remainder_downward_test_data): New variable.
36882         (remainder_test_downward): New function.
36883         (remainder_upward_test_data): New variable.
36884         (remainder_test_upward): New function.
36885         (main): Call the new test functions.
36887         * math/libm-test.inc (struct test_f_f1_data): Remove field
36888         extra_init.
36889         (struct test_fF_f1_data): Likewise.
36890         (struct test_ffI_f1_data): Likewise.
36891         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
36892         based on value of EXTRA_EXPECTED.
36893         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36894         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
36895         EXTRA_VAR based on value of EXTRA_EXPECTED.
36896         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36897         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
36898         EXTRA_VAR based on value of EXTRA_EXPECTED.
36899         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36900         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
36901         EXTRA_VAR based on value of EXTRA_EXPECTED.
36902         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36903         * math/gen-libm-test.pl (parse_args): Don't output initializers
36904         for extra output values.
36906         * math/libm-test.inc (check_int): Expect result to be exactly
36907         equal to expected value and do not handle ulps.
36908         (check_long): Likewise.
36909         (check_longlong): Likewise.
36911         * math/libm-test.inc (ceil_test_data): Test for "inexact"
36912         exceptions.
36913         (cimag_test_data): Likewise.
36914         (conj_test_data): Likewise.
36915         (copysign_test_data): Likewise.
36916         (cproj_test_data): Likewise.
36917         (creal_test_data): Likewise.
36918         (fabs_test_data): Likewise.
36919         (fdim_test_data): Likewise.
36920         (finite_test_data): Likewise.
36921         (floor_test_data): Likewise.
36922         (fmax_test_data): Likewise.
36923         (fmin_test_data): Likewise.
36924         (fmod_test_data): Likewise.
36925         (fpclassify_test_data): Likewise.
36926         (frexp_test_data): Likewise.
36927         (ilogb_test_data): Likewise.
36928         (isfinite_test_data): Likewise.
36929         (isgreater_test_data): Likewise.
36930         (isgreaterequal_test_data): Likewise.
36931         (isinf_test_data): Likewise.
36932         (isless_test_data): Likewise.
36933         (islessequal_test_data): Likewise.
36934         (islessgreater_test_data): Likewise.
36935         (isnan_test_data): Likewise.
36936         (isnormal_test_data): Likewise.
36937         (issignaling_test_data): Likewise.
36938         (isunordered_test_data): Likewise.
36939         (ldexp_test_data): Likewise.
36940         (lrint_test_data): Likewise.
36941         (lrint_test_data) [TEST_FLOAT]: Disable one test.
36942         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36943         (lrint_tonearest_test_data): Test for "inexact" exceptions.
36944         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36945         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36946         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36947         test input.
36948         (lrint_towardzero_test_data): Test for "inexact" exceptions.
36949         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36950         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36951         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36952         that test input.
36953         (lrint_downward_test_data): Test for "inexact" exceptions.
36954         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36955         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36956         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36957         test input.
36958         (lrint_upward_test_data): Test for "inexact" exceptions.
36959         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36960         test input.
36961         (llrint_test_data): Test for "inexact" exceptions.
36962         (llrint_test_data) [TEST_FLOAT]: Disable one test.
36963         (llrint_tonearest_test_data): Test for "inexact" exceptions.
36964         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36965         (llrint_towardzero_test_data): Test for "inexact" exceptions.
36966         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36967         (llrint_downward_test_data): Test for "inexact" exceptions.
36968         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36969         (llrint_upward_test_data): Test for "inexact" exceptions.
36970         (logb_test_data): Likewise.
36971         (logb_downward_test_data): Likewise.
36972         (nextafter_test_data): Likewise.
36973         (nexttoward_test_data): Likewise.
36974         (remainder_test_data): Likewise.
36975         (remquo_test_data): Likewise.
36976         (scalbn_test_data): Likewise.
36977         (scalbln_test_data): Likewise.
36978         (signbit_test_data): Likewise.
36979         (sqrt_test_data): Likewise.
36980         (significand_test_data): Likewise.
36982 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36984         [BZ #15424]
36985         * benchtests/bench-modf.c (struct args): Mark arg0 as
36986         volatile.
36987         * scripts/bench.pl: Mark members of struct args as volatile.
36989 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36991         [BZ # 15497]
36992         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36993         negative infinity on POWER6 or lower.
36994         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36996 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36998         [BZ #15442]
36999         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
37000         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
37001         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
37002         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
37003         (_FP_SETQNAN): New macro.
37004         (_FP_SETQNAN_SEMIRAW): Likewise.
37005         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
37006         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
37007         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
37008         (FP_EXTEND): Use _FP_FRAC_SNANP.
37009         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
37010         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
37011         into account.
37012         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37013         New macro.
37014         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37015         Likewise.
37017 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37019         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
37020         with DIVIDE_BY_ZERO_EXCEPTION.
37021         (gamma_test_data): Likewise.
37022         (lgamma_test_data): Likewise.
37023         (log_test_data): Likewise.
37024         (log10_test_data): Likewise.
37025         (log2_test_data): Likewise.
37026         (tgamma_test_data): Likewise.
37028         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
37029         (acos_test_tonearest): Likewise.
37030         (acos_test_towardzero): Likewise.
37031         (acos_test_downward): Likewise.
37032         (acos_test_upward): Likewise.
37033         (acosh_test): Likewise.
37034         (asin_test): Likewise.
37035         (asin_test_tonearest): Likewise.
37036         (asin_test_towardzero): Likewise.
37037         (asin_test_downward): Likewise.
37038         (asin_test_upward): Likewise.
37039         (asinh_test): Likewise.
37040         (atan_test): Likewise.
37041         (atanh_test): Likewise.
37042         (atan2_test): Likewise.
37043         (cabs_test): Likewise.
37044         (cacos_test): Likewise.
37045         (cacosh_test): Likewise.
37046         (casin_test): Likewise.
37047         (casinh_test): Likewise.
37048         (catan_test): Likewise.
37049         (catanh_test): Likewise.
37050         (cbrt_test): Likewise.
37051         (ccos_test): Likewise.
37052         (ccosh_test): Likewise.
37053         (cexp_test): Likewise.
37054         (clog_test): Likewise.
37055         (clog10_test): Likewise.
37056         (cos_test): Likewise.
37057         (cos_test_tonearest): Likewise.
37058         (cos_test_towardzero): Likewise.
37059         (cos_test_downward): Likewise.
37060         (cos_test_upward): Likewise.
37061         (cosh_test): Likewise.
37062         (cosh_test_tonearest): Likewise.
37063         (cosh_test_towardzero): Likewise.
37064         (cosh_test_downward): Likewise.
37065         (cosh_test_upward): Likewise.
37066         (cpow_test): Likewise.
37067         (csin_test): Likewise.
37068         (csinh_test): Likewise.
37069         (csqrt_test): Likewise.
37070         (ctan_test): Likewise.
37071         (ctan_test_tonearest): Likewise.
37072         (ctan_test_towardzero): Likewise.
37073         (ctan_test_downward): Likewise.
37074         (ctan_test_upward): Likewise.
37075         (ctanh_test): Likewise.
37076         (ctanh_test_tonearest): Likewise.
37077         (ctanh_test_towardzero): Likewise.
37078         (ctanh_test_downward): Likewise.
37079         (ctanh_test_upward): Likewise.
37080         (erf_test): Likewise.
37081         (erfc_test): Likewise.
37082         (exp_test): Likewise.
37083         (exp_test_tonearest): Likewise.
37084         (exp_test_towardzero): Likewise.
37085         (exp_test_downward): Likewise.
37086         (exp_test_upward): Likewise.
37087         (exp10_test): Likewise.
37088         (exp2_test): Likewise.
37089         (expm1_test): Likewise.
37090         (fmod_test): Likewise.
37091         (gamma_test): Likewise.
37092         (hypot_test): Likewise.
37093         (j0_test): Likewise.
37094         (j1_test): Likewise.
37095         (jn_test): Likewise.
37096         (lgamma_test): Likewise.
37097         (log_test): Likewise.
37098         (log10_test): Likewise.
37099         (log1p_test): Likewise.
37100         (log2_test): Likewise.
37101         (logb_test_downward): Likewise.
37102         (pow_test): Likewise.
37103         (pow_test_tonearest): Likewise.
37104         (pow_test_towardzero): Likewise.
37105         (pow_test_downward): Likewise.
37106         (pow_test_upward): Likewise.
37107         (remainder_test): Likewise.
37108         (remquo_test): Likewise.
37109         (sin_test): Likewise.
37110         (sin_test_tonearest): Likewise.
37111         (sin_test_towardzero): Likewise.
37112         (sin_test_downward): Likewise.
37113         (sin_test_upward): Likewise.
37114         (sincos_test): Likewise.
37115         (sinh_test): Likewise.
37116         (sinh_test_tonearest): Likewise.
37117         (sinh_test_towardzero): Likewise.
37118         (sinh_test_downward): Likewise.
37119         (sinh_test_upward): Likewise.
37120         (sqrt_test): Likewise.
37121         (tan_test): Likewise.
37122         (tan_test_tonearest): Likewise.
37123         (tan_test_towardzero): Likewise.
37124         (tan_test_downward): Likewise.
37125         (tan_test_upward): Likewise.
37126         (tanh_test): Likewise.
37127         (tgamma_test): Likewise.
37128         (y0_test): Likewise.
37129         (y1_test): Likewise.
37130         (yn_test): Likewise.
37132         * math/gen-libm-test.pl (adjust_arg): Remove function.
37133         (special_function): Remove argument $in_func.  Only handle
37134         generating output for tables of tests, not inside functions.
37135         (parse_args): Likewise.
37136         (generate_testfile): Remove variable $in_func.  Update call to
37137         parse_args.
37138         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37139         (MINUS_ZERO_INIT): Rename macro to minus_zero.
37140         (PLUS_INFTY_INIT): Rename macro to plus_infty.
37141         (MINUS_INFTY_INIT): Rename macro to minus_infty.
37142         (QNAN_VALUE_INIT): Rename macro to qnan_value.
37143         (MAX_VALUE_INIT): Rename macro to max_value.
37144         (MIN_VALUE_INIT): Rename macro to min_value.
37145         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37146         (plus_zero): Remove variable.
37147         (minus_zero): Likewise.
37148         (plus_infty): Likewise.
37149         (minus_infty): Likewise.
37150         (qnan_value): Likewise.
37151         (max_value): Likewise.
37152         (min_value): Likewise.
37153         (min_subnorm_value): Likewise.
37155 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37157         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37158         uint64_t or uint32_t usage.
37159         * crypt/sha256-block.c: Likewise.
37160         * crypt/sha256-crypt.c: Likewise.
37161         * crypt/sha256.c: Likewise.
37162         * crypt/sha512-block.c: Likewise.
37163         * crypt/sha512-crypt.c: Likewise.
37164         * crypt/sha512.c: Likewise.
37165         * debug/backtrace-tst.c: Likewise.
37166         * debug/pcprofiledump.c: Likewise.
37167         * elf/cache.c: Likewise.
37168         * elf/dl-cache.c: Likewise.
37169         * elf/dl-misc.c: Likewise.
37170         * elf/dl-profile.c: Likewise.
37171         * elf/dl-support.c: Likewise.
37172         * elf/ldconfig.c: Likewise.
37173         * elf/sprof.c: Likewise.
37174         * iconv/dummy-repertoire.c: Likewise.
37175         * iconv/iconv_charmap.c: Likewise.
37176         * iconv/skeleton.c: Likewise.
37177         * iconvdata/8bit-generic.c: Likewise.
37178         * iconvdata/cp737.h: Likewise.
37179         * iconvdata/cp775.h: Likewise.
37180         * iconvdata/ibm1008.h: Likewise.
37181         * iconvdata/ibm1025.h: Likewise.
37182         * iconvdata/ibm1046.h: Likewise.
37183         * iconvdata/ibm1097.h: Likewise.
37184         * iconvdata/ibm1112.h: Likewise.
37185         * iconvdata/ibm1122.h: Likewise.
37186         * iconvdata/ibm1123.h: Likewise.
37187         * iconvdata/ibm1124.h: Likewise.
37188         * iconvdata/ibm1129.h: Likewise.
37189         * iconvdata/ibm1130.h: Likewise.
37190         * iconvdata/ibm1132.h: Likewise.
37191         * iconvdata/ibm1133.h: Likewise.
37192         * iconvdata/ibm1137.h: Likewise.
37193         * iconvdata/ibm1140.h: Likewise.
37194         * iconvdata/ibm1141.h: Likewise.
37195         * iconvdata/ibm1142.h: Likewise.
37196         * iconvdata/ibm1143.h: Likewise.
37197         * iconvdata/ibm1144.h: Likewise.
37198         * iconvdata/ibm1145.h: Likewise.
37199         * iconvdata/ibm1146.h: Likewise.
37200         * iconvdata/ibm1147.h: Likewise.
37201         * iconvdata/ibm1148.h: Likewise.
37202         * iconvdata/ibm1149.h: Likewise.
37203         * iconvdata/ibm1153.h: Likewise.
37204         * iconvdata/ibm1154.h: Likewise.
37205         * iconvdata/ibm1155.h: Likewise.
37206         * iconvdata/ibm1156.h: Likewise.
37207         * iconvdata/ibm1157.h: Likewise.
37208         * iconvdata/ibm1158.h: Likewise.
37209         * iconvdata/ibm1160.h: Likewise.
37210         * iconvdata/ibm1161.h: Likewise.
37211         * iconvdata/ibm1162.h: Likewise.
37212         * iconvdata/ibm1163.h: Likewise.
37213         * iconvdata/ibm1164.h: Likewise.
37214         * iconvdata/ibm1166.h: Likewise.
37215         * iconvdata/ibm1167.h: Likewise.
37216         * iconvdata/ibm12712.h: Likewise.
37217         * iconvdata/ibm1390.h: Likewise.
37218         * iconvdata/ibm1399.h: Likewise.
37219         * iconvdata/ibm16804.h: Likewise.
37220         * iconvdata/ibm4517.h: Likewise.
37221         * iconvdata/ibm4899.h: Likewise.
37222         * iconvdata/ibm4909.h: Likewise.
37223         * iconvdata/ibm4971.h: Likewise.
37224         * iconvdata/ibm5347.h: Likewise.
37225         * iconvdata/ibm803.h: Likewise.
37226         * iconvdata/ibm856.h: Likewise.
37227         * iconvdata/ibm901.h: Likewise.
37228         * iconvdata/ibm902.h: Likewise.
37229         * iconvdata/ibm9030.h: Likewise.
37230         * iconvdata/ibm9066.h: Likewise.
37231         * iconvdata/ibm921.h: Likewise.
37232         * iconvdata/ibm922.h: Likewise.
37233         * iconvdata/ibm9448.h: Likewise.
37234         * iconvdata/isiri-3342.h: Likewise.
37235         * iconvdata/jis0201.h: Likewise.
37236         * include/link.h: Likewise.
37237         * include/netdb.h: Likewise.
37238         * inet/check_native.c: Likewise.
37239         * inet/check_pf.c: Likewise.
37240         * inet/getipv4sourcefilter.c: Likewise.
37241         * inet/getnameinfo.c: Likewise.
37242         * inet/getsourcefilter.c: Likewise.
37243         * inet/htonl.c: Likewise.
37244         * inet/setipv4sourcefilter.c: Likewise.
37245         * inet/setsourcefilter.c: Likewise.
37246         * inet/test-inet6_opt.c: Likewise.
37247         * inet/tst-network.c: Likewise.
37248         * locale/C-collate.c: Likewise.
37249         * locale/C-ctype.c: Likewise.
37250         * locale/C-time.c: Likewise.
37251         * locale/C-translit.h: Likewise.
37252         * locale/loadarchive.c: Likewise.
37253         * locale/programs/3level.h: Likewise.
37254         * locale/programs/charmap.c: Likewise.
37255         * locale/programs/charmap.h: Likewise.
37256         * locale/programs/ld-address.c: Likewise.
37257         * locale/programs/ld-collate.c: Likewise.
37258         * locale/programs/ld-ctype.c: Likewise.
37259         * locale/programs/ld-identification.c: Likewise.
37260         * locale/programs/ld-measurement.c: Likewise.
37261         * locale/programs/ld-messages.c: Likewise.
37262         * locale/programs/ld-monetary.c: Likewise.
37263         * locale/programs/ld-name.c: Likewise.
37264         * locale/programs/ld-numeric.c: Likewise.
37265         * locale/programs/ld-paper.c: Likewise.
37266         * locale/programs/ld-telephone.c: Likewise.
37267         * locale/programs/ld-time.c: Likewise.
37268         * locale/programs/linereader.c: Likewise.
37269         * locale/programs/locale.c: Likewise.
37270         * locale/programs/locarchive.c: Likewise.
37271         * locale/programs/locfile.h: Likewise.
37272         * locale/programs/repertoire.c: Likewise.
37273         * locale/programs/simple-hash.c: Likewise.
37274         * locale/programs/simple-hash.h: Likewise.
37275         * malloc/memusage.c: Likewise.
37276         * malloc/memusagestat.c: Likewise.
37277         * nis/nis_defaults.c: Likewise.
37278         * nis/nis_hash.c: Likewise.
37279         * nis/nis_print.c: Likewise.
37280         * nis/nis_xdr.c: Likewise.
37281         * nscd/connections.c: Likewise.
37282         * nscd/hstcache.c: Likewise.
37283         * nscd/nscd_gethst_r.c: Likewise.
37284         * nscd/nscd_getserv_r.c: Likewise.
37285         * nscd/nscd_helper.c: Likewise.
37286         * nscd/servicescache.c: Likewise.
37287         * nss/makedb.c: Likewise.
37288         * nss/nss_db/db-XXX.c: Likewise.
37289         * nss/nss_db/db-initgroups.c: Likewise.
37290         * nss/nss_db/db-netgrp.c: Likewise.
37291         * nss/nss_files/files-network.c: Likewise.
37292         * nss/nss_files/files-parse.c: Likewise.
37293         * posix/bug-regex5.c: Likewise.
37294         * posix/fnmatch_loop.c: Likewise.
37295         * posix/regcomp.c: Likewise.
37296         * posix/regexec.c: Likewise.
37297         * posix/tst-rfc3484-2.c: Likewise.
37298         * posix/tst-rfc3484-3.c: Likewise.
37299         * posix/tst-rfc3484.c: Likewise.
37300         * resolv/nss_dns/dns-canon.c: Likewise.
37301         * resolv/nss_dns/dns-network.c: Likewise.
37302         * resolv/res_init.c: Likewise.
37303         * resolv/res_mkquery.c: Likewise.
37304         * resolv/tst-aton.c: Likewise.
37305         * stdlib/cxa_atexit.c: Likewise.
37306         * stdlib/cxa_finalize.c: Likewise.
37307         * stdlib/gen-fpioconst.c: Likewise.
37308         * stdlib/strtol_l.c: Likewise.
37309         * string/tst-endian.c: Likewise.
37310         * sunrpc/auth_des.c: Likewise.
37311         * sunrpc/clnt_udp.c: Likewise.
37312         * sunrpc/rtime.c: Likewise.
37313         * sunrpc/svcauth_des.c: Likewise.
37314         * sunrpc/xdr.c: Likewise.
37315         * sunrpc/xdr_intXX_t.c: Likewise.
37316         * sunrpc/xdr_rec.c: Likewise.
37317         * sysdeps/generic/ldconfig.h: Likewise.
37318         * sysdeps/generic/ldsodefs.h: Likewise.
37319         * sysdeps/generic/memusage.h: Likewise.
37320         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37321         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37322         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37323         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37324         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37325         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37326         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37327         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37328         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37329         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37330         * sysdeps/posix/getaddrinfo.c: Likewise.
37331         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37332         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37333         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37334         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37335         * sysdeps/powerpc/test-gettimebase.c: Likewise.
37336         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37337         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37338         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37339         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37340         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37341         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37342         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37343         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37344         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37345         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37346         * sysdeps/x86_64/dl-tls.h: Likewise.
37347         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37348         * time/alt_digit.c: Likewise.
37349         * time/era.c: Likewise.
37350         * wcsmbs/tst-c16c32-1.c: Likewise.
37352 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37354         * math/libm-test.inc (struct test_sincos_data): New type.
37355         (RUN_TEST_LOOP_sincos): New macro.
37356         (sincos_test_data): New variable.
37357         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37359 2013-05-16  Richard Henderson  <rth@redhat.com>
37361         * math/atest-exp2.c (LIMB64): New macro.
37362         (CONSTSZ): New macro.
37363         (mp_exp1, mp_exp_m1, mp_log2): New variables.
37364         (hexdig): Move ...
37365         (print_mpn_fp): ... to function scope.
37366         (read_mpn_hex): Remove.
37367         (get_log2): Remove.
37368         (exp2_mpn): Use mp_log2.
37369         (main): Use mp_exp1.
37371 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37373         * math/libm-test.inc: Remove comment about not testing "inexact"
37374         exceptions.
37375         (INEXACT_EXCEPTION): New macro.
37376         (NO_INEXACT_EXCEPTION): Likewise.
37377         (INVALID_EXCEPTION_OK): Update value.
37378         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37379         (OVERFLOW_EXCEPTION_OK): Likewise.
37380         (UNDERFLOW_EXCEPTION_OK): Likewise.
37381         (IGNORE_ZERO_INF_SIGN): Likewise.
37382         (ERRNO_UNCHANGED): Likewise.
37383         (ERRNO_EDOM): Likewise.
37384         (ERRNO_ERANGE): Likewise.
37385         (test_exceptions): Handle testing "inexact" exceptions.
37386         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37387         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37388         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37389         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37390         INEXACT_EXCEPTION.
37391         (rint_towardzero_test_data): Likewise.
37392         (rint_downward_test_data): Likewise.
37393         (rint_upward_test_data): Likewise.
37395         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37396         with OVERFLOW_EXCEPTION.
37397         (exp10_test_data): Likewise.
37398         (exp2_test_data): Likewise.
37399         (expm1_test_data): Likewise.
37400         (lgamma_test_data): Likewise.
37401         (pow_test_data): Likewise.
37402         (tgamma_test_data): Likewise.
37403         (yn_test_data): Remove duplicate test of overflow.
37405         * math/libm-test.inc (struct test_cc_c_data): New type.
37406         (RUN_TEST_LOOP_cc_c): New macro.
37407         (cpow_test_data): New variable.
37408         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37410         * math/libm-test.inc (struct test_f_L_data): New type.
37411         (RUN_TEST_LOOP_f_L): New macro.
37412         (llrint_test_data): New variable.
37413         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37414         (llrint_tonearest_test_data): New variable.
37415         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37416         (llrint_towardzero_test_data): New variable.
37417         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37418         (llrint_downward_test_data): New variable.
37419         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37420         (llrint_upward_test_data): New variable.
37421         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37422         (llround_test_data): New variable.
37423         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37425 2013-05-13  Peter Collingbourne  <pcc@google.com>
37427         * math/atest-exp2.c (get_log2): Remove const attribute.
37429 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37431         * math/libm-test.inc (struct test_f_l_data): New type.
37432         (RUN_TEST_LOOP_f_l): New macro.
37433         (lrint_test_data): New variable.
37434         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37435         (lrint_tonearest_test_data): New variable.
37436         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37437         (lrint_towardzero_test_data): New variable.
37438         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37439         (lrint_downward_test_data): New variable.
37440         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37441         (lrint_upward_test_data): New variable.
37442         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37443         (lround_test_data): New variable.
37444         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37446 2013-05-15  Peter Collingbourne  <pcc@google.com>
37448         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37449         (EXTRACT_WORDS64) Use where appropriate.
37450         (INSERT_WORDS64) Likewise.
37452         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37453         constraints with x constraints.
37454         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37456         * malloc/obstack.c (_obstack_compat): Add initializer.
37458 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
37460         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37461         si_trapno and add si_addr_lsb to _sifields.sigfault.
37462         (si_trapno): Remove macro.
37463         (si_addr_lsb): Define new macro.
37464         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37466 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37468         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37469         instead of TEST_f_l.
37470         (llrint_test_tonearest): Likewise.
37471         (llrint_test_towardzero): Likewise.
37472         (llrint_test_downward): Likewise.
37473         (llrint_test_upward): Likewise.
37474         (llround_test): Likewise.
37476         * math/libm-test.inc (struct test_f_i_data): Add comment.
37477         (RUN_TEST_LOOP_f_b): New macro.
37478         (RUN_TEST_LOOP_f_b_tg): Likewise.
37479         (finite_test_data): New variable.
37480         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37481         (isfinite_test_data): New variable.
37482         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37483         (isinf_test_data): New variable.
37484         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37485         (isnan_test_data): New variable.
37486         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37487         (isnormal_test_data): New variable.
37488         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37489         (issignaling_test_data): New variable.
37490         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37491         (signbit_test_data): New variable.
37492         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37494         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37495         with INVALID_EXCEPTION.
37496         (acosh_test_data): Likewise.
37497         (asin_test_data): Likewise.
37498         (atanh_test_data): Likewise.
37499         (fmod_test_data): Likewise.
37500         (log_test_data): Likewise.
37501         (log10_test_data): Likewise.
37502         (log2_test_data): Likewise.
37503         (pow_test_data): Likewise.
37504         (sqrt_test_data): Likewise.
37505         (y0_test_data): Likewise.
37506         (y1_test_data): Likewise.
37507         (yn_test_data): Likewise.
37509         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37510         function contents.
37512         * math/libm-test.inc (struct test_ff_i_data): New type.
37513         (RUN_TEST_LOOP_ff_i_tg): New macro.
37514         (isgreater_test_data): New variable.
37515         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37516         (isgreaterequal_test_data): New variable.
37517         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37518         (isless_test_data): New variable.
37519         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37520         (islessequal_test_data): New variable.
37521         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37522         (islessgreater_test_data): New variable.
37523         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37524         (isunordered_test_data): New variable.
37525         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37527 2013-05-14  David S. Miller  <davem@davemloft.net>
37529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37531 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
37533         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37535         * math/libm-test.inc (struct test_fF_f1_data): Change type of
37536         extra_test to int.
37537         (struct test_f_i_data): Change type of max_ulp to int.
37539         * math/libm-test.inc (test_ffI_f1_data): New type.
37540         (RUN_TEST_LOOP_ffI_f1): New macro.
37541         (remquo_test_data): New variable.
37542         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37544         * setjmp/tst-setjmp-fp.c: New file.
37545         * setjmp/Makefile (tests): Add tst-setjmp-fp.
37546         (link-libm): New variable.
37547         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37549         * math/libm-test.inc (struct test_f_i_data): New type.
37550         (RUN_TEST_LOOP_f_i): New macro.
37551         (RUN_TEST_LOOP_f_i_tg): Likewise.
37552         (fpclassify_test_data): New variable.
37553         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37554         (ilogb_test_data): New variable.
37555         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37557         * math/libm-test.inc (scalbln_test): Correct function name in END
37558         call.
37560         * math/libm-test.inc (struct test_f_f1_data): Add comment.
37561         (RUN_TEST_LOOP_fI_f1): New macro.
37562         (frexp_test_data): New variable.
37563         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37565         * math/libm-test.inc (struct test_fF_f1_data): New type.
37566         (RUN_TEST_LOOP_fF_f1): New macro.
37567         (modf_test_data): New variable.
37568         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37570         * math/libm-test.inc (struct test_f_f1_data): New type.
37571         (RUN_TEST_LOOP_f_f1): New macro.
37572         (gamma_test_data): New variable.
37573         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37574         (lgamma_test_data): New variable.
37575         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37577 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
37579         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37580         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37581         (main): Comment "tls" pseudo-hwcap.
37583 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
37585         * math/libm-test.inc (struct test_fl_f_data): New type.
37586         (RUN_TEST_LOOP_fl_f): New variable.
37587         (scalbln_test_data): New variable.
37588         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37590         * math/libm-test.inc (struct test_fi_f_data): New type.
37591         (RUN_TEST_LOOP_fi_f): New macro.
37592         (ldexp_test_data): New variable.
37593         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37594         (scalbn_test_data): New variable.
37595         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37597         * math/libm-test.inc (struct test_c_f_data): New type.
37598         (RUN_TEST_LOOP_c_f): New macro.
37599         (cabs_test_data): New variable.
37600         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37601         (carg_test_data): New variable.
37602         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37603         (cimag_test_data): New variable.
37604         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37605         (creal_test_data): New variable.
37606         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37608         * math/libm-test.inc (struct test_if_f_data): New type.
37609         (RUN_TEST_LOOP_if_f): New macro.
37610         (jn_test_data): New variable.
37611         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37612         (yn_test_data): New variable.
37613         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37615         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37617 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37619         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37620         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37622 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37624         * benchtests/Makefile (CPPFLAGS-nonlib): Add
37625         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37626         (bench-deps): Add bench-timing.h.
37627         * benchtests-bench-skeleton.c: Include bench-timing.h.
37628         (main): Use TIMING_* macros instead of clock_gettime.
37629         * benchtests/bench-timing.h: New file.
37631         [BZ #14582]
37632         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37633         Renamed from _LIB_VERSION.
37634         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37636 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
37638         * math/libm-test.inc (struct test_fff_f_data): New type.
37639         (RUN_TEST_LOOP_fff_f): New macro.
37640         (fma_test_data): New variable.
37641         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37642         (fma_towardzero_test_data): New variable.
37643         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37644         (fma_downward_test_data): New variable.
37645         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37646         (fma_upward_test_data): New variable.
37647         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37649         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37650         (struct test_c_c_data): New type.
37651         (RUN_TEST_LOOP_c_c): New macro.
37652         (cacos_test_data): New variable.
37653         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37654         (cacosh_test_data): New variable.
37655         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37656         (casin_test_data): New variable.
37657         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37658         (casinh_test_data): New variable.
37659         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37660         (catan_test_data): New variable.
37661         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37662         (catanh_test_data): New variable.
37663         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37664         (ccos_test_data): New variable.
37665         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37666         (ccosh_test_data): New variable.
37667         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37668         (cexp_test_data): New variable.
37669         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37670         (clog_test_data): New variable.
37671         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37672         (clog10_test_data): New variable.
37673         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37674         (conj_test_data): New variable.
37675         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37676         (cproj_test_data): New variable.
37677         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37678         (csin_test_data): New variable.
37679         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37680         (csinh_test_data): New variable.
37681         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37682         (csqrt_test_data): New variable.
37683         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37684         (ctan_test_data): New variable.
37685         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37686         (ctan_tonearest_test_data): New variable.
37687         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37688         (ctan_towardzero_test_data): New variable.
37689         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37690         (ctan_downward_test_data): New variable.
37691         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37692         (ctan_upward_test_data): New variable.
37693         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37694         (ctanh_test_data): New variable.
37695         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37696         (ctanh_tonearest_test_data): New variable.
37697         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37698         (ctanh_towardzero_test_data): New variable.
37699         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37700         (ctanh_downward_test_data): New variable.
37701         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37702         (ctanh_upward_test_data): New variable.
37703         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37704         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37705         of BUILD_COMPLEX.
37707         * math/libm-test.inc (struct test_ff_f_data): New type.
37708         (struct test_ff_f_data_nexttoward): Likewise.
37709         (RUN_TEST_LOOP_2_f): New macro.
37710         (RUN_TEST_LOOP_ff_f): Likewise.
37711         (atan2_test_data): New variable.
37712         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37713         (copysign_test_data): New variable.
37714         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37715         (fdim_test_data): New variable.
37716         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37717         (fmax_test_data): New variable.
37718         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37719         (fmin_test_data): New variable.
37720         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37721         (fmod_test_data): New variable.
37722         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37723         (hypot_test_data): New variable.
37724         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37725         (nextafter_test_data): New variable.
37726         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37727         (nexttoward_test_data): New variable.
37728         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37729         (pow_test_data): New variable.
37730         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37731         (pow_tonearest_test_data): New variable.
37732         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37733         (pow_towardzero_test_data): New variable.
37734         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37735         (pow_downward_test_data): New variable.
37736         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37737         (pow_upward_test_data): New variable.
37738         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37739         (remainder_test_data): New variable.
37740         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37741         (scalb_test_data): New variable.
37742         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37743         * sysdeps/i386/fpu/libm-test-ulps: Update.
37745 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
37747         * math/libm-test.inc (fma_test): Use max_value instead of local
37748         variable fltmax.
37749         (nextafter_test): Likewise.
37751         * math/libm-test.inc (acos_towardzero_test_data): New variable.
37752         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37753         (acos_downward_test_data): New variable.
37754         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37755         (acos_upward_test_data): New variable.
37756         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37757         (acosh_test_data): New variable.
37758         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37759         (asin_test_data): New variable.
37760         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37761         (asin_tonearest_test_data): New variable.
37762         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37763         (asin_towardzero_test_data): New variable.
37764         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37765         (asin_downward_test_data): New variable.
37766         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37767         (asin_upward_test_data): New variable.
37768         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37769         (asinh_test_data): New variable.
37770         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37771         (atan_test_data): New variable.
37772         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37773         (atanh_test_data): New variable.
37774         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37775         (cbrt_test_data): New variable.
37776         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37777         (ceil_test_data): New variable.
37778         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37779         (cos_test_data): New variable.
37780         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37781         (cos_tonearest_test_data): New variable.
37782         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37783         (cos_towardzero_test_data): New variable.
37784         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37785         (cos_downward_test_data): New variable.
37786         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37787         (cos_upward_test_data): New variable.
37788         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37789         (cosh_test_data): New variable.
37790         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37791         (cosh_tonearest_test_data): New variable.
37792         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37793         (cosh_towardzero_test_data): New variable.
37794         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37795         (cosh_downward_test_data): New variable.
37796         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37797         (cosh_upward_test_data): New variable.
37798         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37799         (erf_test_data): New variable.
37800         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37801         (erfc_test_data): New variable.
37802         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37803         (exp_test_data): New variable.
37804         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37805         (exp_tonearest_test_data): New variable.
37806         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37807         (exp_towardzero_test_data): New variable.
37808         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37809         (exp_downward_test_data): New variable.
37810         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37811         (exp_upward_test_data): New variable.
37812         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37813         (exp10_test_data): New variable.
37814         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37815         (exp2_test_data): New variable.
37816         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37817         (expm1_test_data): New variable.
37818         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37819         (fabs_test_data): New variable.
37820         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37821         (floor_test_data): New variable.
37822         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37823         (j0_test_data): New variable.
37824         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37825         (j1_test_data): New variable.
37826         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37827         (log_test_data): New variable.
37828         (log_test): Run tests with RUN_TEST_LOOP_f_f.
37829         (log10_test_data): New variable.
37830         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37831         (log1p_test_data): New variable.
37832         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37833         (log2_test_data): New variable.
37834         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37835         (logb_test_data): New variable.
37836         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37837         (logb_downward_test_data): New variable.
37838         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37839         (nearbyint_test_data): New variable.
37840         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37841         (rint_test_data): New variable.
37842         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37843         (rint_tonearest_test_data): New variable.
37844         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37845         (rint_towardzero_test_data): New variable.
37846         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37847         (rint_downward_test_data): New variable.
37848         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37849         (rint_upward_test_data): New variable.
37850         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37851         (round_test_data): New variable.
37852         (round_test): Run tests with RUN_TEST_LOOP_f_f.
37853         (sin_test_data): New variable.
37854         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37855         (sin_tonearest_test_data): New variable.
37856         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37857         (sin_towardzero_test_data): New variable.
37858         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37859         (sin_downward_test_data): New variable.
37860         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37861         (sin_upward_test_data): New variable.
37862         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37863         (sinh_test_data): New variable.
37864         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37865         (sinh_tonearest_test_data): New variable.
37866         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37867         (sinh_towardzero_test_data): New variable.
37868         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37869         (sinh_downward_test_data): New variable.
37870         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37871         (sinh_upward_test_data): New variable.
37872         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37873         (sqrt_test_data): New variable.
37874         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37875         (tan_test_data): New variable.
37876         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37877         (tan_tonearest_test_data): New variable.
37878         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37879         (tan_towardzero_test_data): New variable.
37880         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37881         (tan_downward_test_data): New variable.
37882         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37883         (tan_upward_test_data): New variable.
37884         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37885         (tanh_test_data): New variable.
37886         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37887         (tgamma_test_data): New variable.
37888         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37889         (trunc_test_data): New variable.
37890         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37891         (y0_test_data): New variable.
37892         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37893         (y1_test_data): New variable.
37894         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37895         (significand_test_data): New variable.
37896         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37898 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
37900         [BZ #12387]
37901         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37903 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37905         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37907 2013-05-10  Andreas Jaeger  <aj@suse.de>
37909         [BZ #15448]
37910         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37911         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37913 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
37915         * math/gen-libm-test.pl (adjust_arg): New function.
37916         (special_functions): Handle generating output in both functions
37917         and arrays.
37918         (parse_args): Likewise.
37919         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
37920         $in_func argument to parse_args.
37921         * math/libm-test.inc (struct test_f_f_data): New type.
37922         (IF_ROUND_INIT_): New macro.
37923         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37924         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37925         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37926         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37927         (ROUND_RESTORE_): Likewise.
37928         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37929         (ROUND_RESTORE_FE_TONEAREST): Likewise.
37930         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37931         (ROUND_RESTORE_FE_UPWARD): Likewise.
37932         (RUN_TEST_LOOP_f_f): New macro.
37933         (acos_test_data): New variable.
37934         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37935         (acos_tonearest_test_data): New variable.
37936         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37938 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37940         * benchtests/bench-skeleton.c (startup): Fix coding style.
37942 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
37944         [BZ #6809]
37945         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37946         negative infinity argument.
37947         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37948         negative infinity argument.
37949         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37950         negative infinity argument.
37951         * math/libm-test.inc (tgamma_test): Expect errno to be set for
37952         domain errors.
37954 2013-05-10  Florian Weimer  <fweimer@redhat.com>
37956         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37957         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37958         * iconv/iconv_prog.c (main): Likewise.
37959         * locale/programs/charmap-dir.c (charmap_readdir)
37960         (fopen_uncompressed): Likewise.
37961         * locale/programs/locfile.c (siblings_uncached)
37962         (write_locale_data): Use lstat64 instead of lstat.
37963         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37964         stat.
37966 2013-05-10  Andreas Jaeger  <aj@suse.de>
37968         [BZ #15395]
37969         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37970         localization.
37971         Include <locale.h>.
37973 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
37975         * elf/dl-close.c (_dl_close_worker): Add comments.
37977 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
37979         [BZ #15359]
37980         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37981         high part of pi/2.
37982         (__ieee754_rem_pio2l): Update comments.
37984         [BZ #15429]
37985         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37986         high part of pi/2.
37987         (__ieee754_rem_pio2l): Update comments.
37989         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37990         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37992         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37993         M_PI_4l.
37995         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37996         (M_PI_34_LOG10El): Likewise.
37997         (M_PI2_LOG10El): Likewise.
37998         (M_PI4_LOG10El): Likewise.
37999         (M_PI_LOG10El): Likewise.
38001 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38005 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
38007         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
38008         (MINUS_ZERO_INIT): Likewise.
38009         (PLUS_INFTY_INIT): Likewise.
38010         (MINUS_INFTY_INIT): Likewise.
38011         (QNAN_VALUE_INIT): Likewise.
38012         (MAX_VALUE_INIT): Likewise.
38013         (MIN_VALUE_INIT): Likewise.
38014         (MIN_SUBNORM_VALUE_INIT): Likewise.
38015         (plus_zero): Initialize with PLUS_ZERO_INIT.
38016         (minus_zero): Initialize with MINUS_ZERO_INIT.
38017         (plus_infty): Initialize with PLUS_INFTY_INIT.
38018         (minus_infty): Initialize with MINUS_INFTY_INIT.
38019         (qnan_value): Initialize with QNAN_VALUE_INIT.
38020         (max_value): Initialize with MAX_VALUE_INIT.
38021         (min_value): Initialize with MIN_VALUE_INIT.
38022         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
38024         * math/libm-test.inc (RUN_TEST_if_f): New macro.
38025         (jn_test): Use TEST_if_f instead of TEST_ff_f.
38026         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
38027         (yn_test): Use TEST_if_f instead of TEST_ff_f.
38029         * math/libm-test.inc (RUN_TEST_f_f): New macro.
38030         (RUN_TEST_2_f): Likewise.
38031         (RUN_TEST_ff_f): Likewise.
38032         (RUN_TEST_fi_f): Likewise.
38033         (RUN_TEST_fl_f): Likewise.
38034         (RUN_TEST_fff_f): Likewise.
38035         (RUN_TEST_c_f): Likewise.
38036         (RUN_TEST_f_f1): Likewise.
38037         (RUN_TEST_fF_f1): Likewise.
38038         (RUN_TEST_fI_f1): Likewise.
38039         (RUN_TEST_ffI_f1): Likewise.
38040         (RUN_TEST_c_c): Likewise.
38041         (RUN_TEST_cc_c): Likewise.
38042         (RUN_TEST_f_i): Likewise.
38043         (RUN_TEST_f_i_tg): Likewise.
38044         (RUN_TEST_ff_i_tg): Likewise.
38045         (RUN_TEST_f_b): Likewise.
38046         (RUN_TEST_f_b_tg): Likewise.
38047         (RUN_TEST_f_l): Likewise.
38048         (RUN_TEST_f_L): Likewise.
38049         (RUN_TEST_sincos): Likewise.
38050         * math/gen-libm-test.pl (new_test): Take new argument to indicate
38051         whether to show exceptions.  Do not include ");\n" in return
38052         value.
38053         (special_functions): Output call to RUN_TEST_sincos instead of
38054         check_float calls.  Update calls to new_test.
38055         (parse_args): Output call to single RUN_TEST_* macro instead of
38056         check_* calls and other assignments.  Update calls to new_test.
38058         [BZ #2546]
38059         [BZ #2560]
38060         [BZ #5159]
38061         [BZ #15426]
38062         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
38063         input to result for tgamma overflow.
38064         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
38065         (gamma_coeff): New variable.
38066         (NCOEFF): New macro.
38067         (gamma_positive): New function.
38068         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
38069         underflow here.  Use gamma_positive instead of exp (lgamma) for
38070         other arguments.
38071         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
38072         (gamma_coeff): New variable.
38073         (NCOEFF): New macro.
38074         (gammaf_positive): New function.
38075         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
38076         underflow here.  Use gamma_positive instead of exp (lgamma) for
38077         other arguments.
38078         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
38079         (gamma_coeff): New variable.
38080         (NCOEFF): New macro.
38081         (gammal_positive): New function.
38082         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
38083         underflow here.  Use gamma_positive instead of exp (lgamma) for
38084         other arguments.
38085         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
38086         (gamma_coeff): New variable.
38087         (NCOEFF): New macro.
38088         (gammal_positive): New function.
38089         (__ieee754_gammal_r): Handle positive infinity, overflow and
38090         underflow here.  Handle NaN the same as positive infinity.  Remove
38091         check x < 0xffffffff for negative integers.  Use gamma_positive
38092         instead of exp (lgamma) for other arguments.
38093         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
38094         (gamma_coeff): New variable.
38095         (NCOEFF): New macro.
38096         (gammal_positive): New function.
38097         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
38098         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
38099         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
38100         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
38101         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
38102         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
38103         * sysdeps/generic/math_private.h (__gamma_productf): New
38104         prototype.
38105         (__gamma_product): Likewise.
38106         (__gamma_productl): Likewise.
38107         * math/Makefile (libm-calls): Add gamma_product.
38108         * math/libm-test.inc (tgamma_test): Add more tests.
38109         * sysdeps/i386/fpu/libm-test-ulps: Update.
38110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38112 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
38114         * benchtests/bench-skeleton.c (main): Preheat CPU.
38116 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
38118         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
38120 2013-05-07  Roland McGrath  <roland@hack.frob.com>
38122         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
38123         and _dl_skip_args_internal.
38125 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
38127         * manual/message.texi (Message Translation): Talk about users.
38128         Message to key mapping impacts design.
38130 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38132         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38134         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38136         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38137         * sysdeps/wordsize-64/glob64.c: ... here.
38139         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38140         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38141         New macros.
38143         * debug/getlogin_r_chk.c: Moved to ...
38144         * login/getlogin_r_chk.c: ... here.
38145         * debug/Makefile (routines): Move getlogin_r_chk to ...
38146         * login/Makefile (routines): ... here.
38147         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38148         * login/Versions (libc: GLIBC_2.4): ... here.
38150         * io/poll.c (__poll): Renamed from poll.
38151         Add libc_hidden_def.
38152         (poll): Define as weak alias.
38154         * debug/ptsname_r_chk.c: Moved to ...
38155         * login/ptsname_r_chk.c: ... here.
38156         * debug/Makefile (routines): Move ptsname_r_chk to ...
38157         * login/Makefile (routines): ... here.
38158         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38159         * login/Versions (libc: GLIBC_2.4): ... here.
38161         * posix/getlogin.c: Moved to ...
38162         * login/getlogin.c: ... here.
38163         * posix/getlogin_r.c: Moved to ...
38164         * login/getlogin_r.c: ... here.
38165         * posix/getlogin_r.c: Moved to ...
38166         * login/getlogin_r.c: ... here.
38167         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38168         * login/Makefile (routines): ... here.
38169         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38170         * login/Versions (libc: GLIBC_2.0): ... here.
38172         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38173         (setrlimit): Define as weak alias.
38175         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38176         Call __ names for open, ftruncate, and close.
38177         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38178         (truncate): Define as weak alias.
38180 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
38182         * math/gen-libm-test.pl (parse_args): Initialize x before each
38183         test of frexp, modf and remquo.
38185         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38186         test signgam value.
38188 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38190         [BZ #15418]
38191         [BZ #15419]
38192         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38193         internal tests.
38194         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38196 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38198         * elf/dl-writev.h: New file.
38199         * elf/dl-misc.c: Include it.
38200         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38201         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38203 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
38205         * math/libm-test.inc (noXFails): Remove variable.
38206         (noXPasses): Likewise.
38207         (BUILD_COMPLEX_INT): Remove macro.
38208         (print_screen): Remove xfail argument.
38209         (print_screen_max_error): Likewise.
38210         (update_stats): Likewise.
38211         (print_max_error): Likewise.  Update calls to other affected
38212         functions.
38213         (print_complex_max_error): Likewise.
38214         (test_single_exception): Update calls to print_screen.
38215         (test_single_errno): Likewise.
38216         (check_float_internal): Remove xfail argument.  Update calls to
38217         other affected functions.
38218         (check_float): Likewise.
38219         (check_complex): Likewise.
38220         (check_int): Likewise.
38221         (check_long): Likewise.
38222         (check_bool): Likewise.
38223         (check_longlong): Likewise.
38224         (main): Don't print noXFails and noXPasses.
38225         * math/gen-libm-test.pl (top level): Don't mention expected
38226         failure handling in comment.
38227         (new_test): Don't handle expected failures.
38228         (parse_args): Don't mention expected failure handling in comment.
38229         (generate_testfile): Don't handle expected failures.
38230         (parse_ulps): Likewise.
38231         (print_ulps_file): Likewise.
38232         (get_failure): Remove function.
38233         (output_test): Don't handle expected failures.
38234         * make/README.libm-test: Don't mention expected failure handling.
38236         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
38237         (minus_zero): Likewise.
38238         (plus_infty): Likewise.
38239         (minus_infty): Likewise.
38240         (qnan_value): Likewise.
38241         (max_value): Likewise.
38242         (min_value): Likewise.
38243         (min_subnorm_value): Likewise.
38244         (initialize): Do not initialize those variables dynamically.
38246 2013-05-03  Roland McGrath  <roland@hack.frob.com>
38248         * io/open.c (__open_2): Moved to ...
38249         * io/open_2.c: ... this new file.
38250         * io/open64.c (__open64_2): Moved to ...
38251         * io/open64_2.c: ... this new file.
38252         * io/openat.c (__openat_2): Moved to ...
38253         * io/openat_2.c: ... this new file.
38254         * io/openat64.c (__openat64_2): Moved to ...
38255         * io/openat64_2.c: ... this new file.
38256         * io/Makefile (routines): Add them.
38257         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38258         * sysdeps/unix/sysv/linux/open_2.c: File removed.
38259         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38260         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38261         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38262         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38263         (__openat64): Add hidden_ver.
38264         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38265         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38267         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38268         Separately conditionalize setting of GLRO(dl_sysinfo) so
38269         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38270         as well, but the actual setting is only under [NEED_DL_SYSINFO].
38272 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38274         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38275         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38276         definition.
38277         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38278         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38279         (_libc_vdso_platform_setup): Add __vdso_time initialization.
38280         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38281         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38283 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
38285         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38286         test signgam value.
38288         * math/libm-test.inc (hypot_test): Do not use
38289         IGNORE_ZERO_INF_SIGN.
38291 2013-05-03  Andreas Jaeger  <aj@suse.de>
38293         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38294         Linux 3.9.
38295         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38296         (PF_MAX): Adjust for VSOCK change.
38298 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38302 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
38304         [BZ #15264]
38305         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38306         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38307         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38309 2013-05-02  David S. Miller  <davem@davemloft.net>
38311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38313 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
38315         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38317 2013-05-01  Roland McGrath  <roland@hack.frob.com>
38319         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38321 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
38323         [BZ #14952]
38324         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38325         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38326         Use __attribute__ ((__gnu_inline__)).
38327         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38328         Don't use __attribute__ ((__gnu_inline__)).
38330 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
38332         [BZ #15423]
38333         * math/s_catan.c (__catan): Handle small real or imaginary part of
38334         input specially to avoid spurious underflow.
38335         * math/s_catanf.c (__catanf): Likewise.
38336         * math/s_catanh.c (__catanh): Likewise.
38337         * math/s_catanhf.c (__catanhf): Likewise.
38338         * math/s_catanhl.c (__catanhl): Likewise.
38339         * math/s_catanl.c (__catanl): Likewise.
38340         * math/libm-test.inc (catan_test): Add more tests.
38341         (catanh_test): Likewise.
38342         * sysdeps/i386/fpu/libm-test-ulps: Update.
38343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38345 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38349 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
38351         [BZ #15416]
38352         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38353         accurately for denominator in atan2.
38354         * math/s_catanf.c (__catanf): Likewise.
38355         * math/s_catanh.c (__catanh): Likewise.
38356         * math/s_catanhf.c (__catanhf): Likewise.
38357         * math/s_catanhl.c (__catanhl): Likewise.
38358         * math/s_catanl.c (__catanl): Likewise.
38359         * math/libm-test.inc (catan_test): Add more tests.
38360         (catanh_test): Likewise.
38361         * sysdeps/i386/fpu/libm-test-ulps: Update.
38362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38364 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38366         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38368         * benchtests/Makefile (bench): Remove slow benchmarks.
38369         * benchtests/atan-inputs: Add slow benchmark inputs.
38370         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38371         (BENCH_FUNC): Accept variant offset.
38372         (VARIANT): Define.
38373         * benchtests/bench-skeleton.c (main): Run benchmark for each
38374         variant.
38375         * benchtests/cos-inputs: Add slow benchmark inputs.
38376         * benchtests/exp-inputs: Likewise.
38377         * benchtests/pow-inputs: Likewise.
38378         * benchtests/sin-inputs: Likewise.
38379         * benchtests/slowatan-inputs: Remove.
38380         * benchtests/slowatan.c: Remove.
38381         * benchtests/slowcos-inputs: Remove.
38382         * benchtests/slowcos.c: Remove.
38383         * benchtests/slowexp-inputs: Remove.
38384         * benchtests/slowexp.c: Remove.
38385         * benchtests/slowpow-inputs: Remove.
38386         * benchtests/slowpow.c: Remove.
38387         * benchtests/slowsin-inputs: Remove.
38388         * benchtests/slowsin.c: Remove.
38389         * benchtests/slowtan-inputs: Remove.
38390         * benchtests/slowtan.c: Remove.
38391         * benchtests/tan-inputs: Add slow benchmark inputs.
38392         * scripts/bench.pl: Parse comments and directives.
38394         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
38395         in CPPFLAGS.
38396         ($(objpfx)bench-%.c): Remove *-ITER.
38397         * benchtests/bench-modf.c: Remove definition of ITER.
38398         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38399         (main): Loop for DURATION seconds instead of fixed number of
38400         iterations.
38401         * scripts/bench.pl: Don't expect iterations in parameters.
38403 2013-04-29  Roland McGrath  <roland@hack.frob.com>
38405         * io/fchdir.c (__fchdir): Renamed from fchdir.
38406         (fchdir): Define as weak alias.
38408 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38410         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38411         (ERRNO_EDOM): Likewise.
38412         (ERRNO_ERANGE): Likewise.
38413         (noErrnoTests): New variable.
38414         (init_max_error): Set errno to 0.
38415         (test_single_errno): New function.
38416         (test_errno): Likewise.
38417         (check_float_internal): Call test_errno.  Set errno to 0.
38418         (check_complex): Refer to errno tests in comment.
38419         (check_int): Call test_errno.  Set errno to 0.
38420         (check_long): Likewise.
38421         (check_bool): Likewise.
38422         (check_longlong): Likewise.
38423         (cos_test): Use ERRNO_* flags for errno tests instead of
38424         check_int.
38425         (expm1_test): Likewise.
38426         (fmod_test): Likewise.
38427         (ilogb_test): Likewise.
38428         (lgamma_test): Likewise.
38429         (pow_test): Likewise.
38430         (remainder_test): Likewise.
38431         (sin_test): Likewise.
38432         (tan_test): Likewise.
38433         (yn_test): Likewise.
38434         (initialize): Set errno to 0.
38435         (main): Print number of errno tests.
38436         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38438 2013-04-29  Andreas Jaeger  <aj@suse.de>
38440         [BZ #15084]
38441         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38442         and RES_USEVC.
38444         [BZ #15085]
38445         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38446         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38447         unimplemented.
38449         [BZ #15380]
38450         * stdlib/random.c (__initstate): Return NULL if
38451         __initstate fails.
38453         [BZ #15086]
38454         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38455         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38456         RES_SNGLKUPREOP.
38458 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38462 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38464         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38465         of individual tests.
38466         (casin_test): Likewise.
38467         (casinh_test): Likewise.
38469 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
38471         [BZ #15409]
38472         * math/s_catan.c (__catan): Handle arguments with large real or
38473         imaginary part separately without squaring.
38474         * math/s_catanf.c (__catanf): Likewise.
38475         * math/s_catanh.c (__catanh): Likewise.
38476         * math/s_catanhf.c (__catanhf): Likewise.
38477         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38478         and redefine.
38479         (__catanhl): Handle arguments with large real or imaginary part
38480         separately without squaring.
38481         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38482         and redefine.
38483         (__catanl): Handle arguments with large real or imaginary part
38484         separately without squaring.
38485         * math/libm-test.inc (catan_test): Add more tests.
38486         (catanh_test): Likewise.
38487         * sysdeps/i386/fpu/libm-test-ulps: Update.
38488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38490 2013-04-27  Andreas Jaeger  <aj@suse.de>
38492         [BZ #15007]
38493         * stdlib/stdlib.h: Update guards for qecvt.
38494         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38495         <stdlib.h>.
38497 2013-04-27  Allan McRae  <allan@archlinux.org>
38499         * sysdeps/i386/fpu/libm-test-ulps: Update.
38501 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
38503         [BZ #15406]
38504         * math/s_catan.c: Include <float.h>.
38505         (__catan): Ensure underflow exception occurs for underflowed
38506         result.
38507         * math/s_catanf.c: Include <float.h>.
38508         (__catanf): Ensure underflow exception occurs for underflowed
38509         result.
38510         * math/s_catanh.c: Include <float.h>.
38511         (__catanh): Ensure underflow exception occurs for underflowed
38512         result.
38513         * math/s_catanhf.c: Include <float.h>.
38514         (__catanhf): Ensure underflow exception occurs for underflowed
38515         result.
38516         * math/s_catanhl.c: Include <float.h>.
38517         (__catanhl): Ensure underflow exception occurs for underflowed
38518         result.
38519         * math/s_catanl.c: Include <float.h>.
38520         (__catanl): Ensure underflow exception occurs for underflowed
38521         result.
38522         * math/libm-test.inc (catan_test): Add more tests.
38523         (catanh_test): Likewise.
38525         [BZ #15405]
38526         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38527         underflowed result.
38528         * math/s_ccoshf.c (__ccoshf): Likewise.
38529         * math/s_ccoshl.c (__ccoshl): Likewise.
38530         * math/s_csin.c (__csin): Likewise.
38531         * math/s_csinf.c (__csinf): Likewise.
38532         * math/s_csinh.c (__csinh): Likewise.
38533         * math/s_csinhf.c (__csinhf): Likewise.
38534         * math/s_csinhl.c (__csinhl): Likewise.
38535         * math/s_csinl.c (__csinl): Likewise.
38536         * math/libm-test.inc (ccos_test): Add more tests.
38537         (ccosh_test): Likewise.
38538         (csin_test): Likewise.
38539         (csinh_test): Likewise.
38541 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38543         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38544         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38545         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38546         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38547         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38548         powerpc/power5+/fpu folders.
38549         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38552 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38556 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
38558         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38559         additions to variable.
38560         [$(config-machine) = x86_64] (modules-names): Likewise.
38561         ($(objpfx)tst-audit3): Remove dependency.
38562         ($(objpfx)tst-audit3.out): Likewise.
38563         ($(objpfx)tst-audit4): Likewise.
38564         ($(objpfx)tst-audit4.out): Likewise.
38565         ($(objpfx)tst-audit5): Likewise.
38566         ($(objpfx)tst-audit5.out): Likewise.
38567         ($(objpfx)tst-audit6): Likewise.
38568         ($(objpfx)tst-audit6.out): Likewise.
38569         ($(objpfx)tst-audit7): Likewise.
38570         ($(objpfx)tst-audit7.out): Likewise.
38571         (tst-audit3-ENV): Remove variable.
38572         (tst-audit4-ENV): Likewise.
38573         (tst-audit5-ENV): Likewise.
38574         (tst-audit6-ENV): Likewise.
38575         (tst-audit7-ENV): Likewise.
38576         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38577         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38578         addition to variable.
38579         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38580         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38581         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38582         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38583         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38584         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38585         tst-audit3, tst-audit4 and tst-audit5.
38586         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38587         tst-audit6 and tst-audit7.
38588         [$(subdir) = elf] (modules-names): Add audit modules for those
38589         tests.
38590         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38591         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38592         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38593         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38594         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38595         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38596         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38597         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38598         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38599         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38600         [$(subdir) = elf] (tst-audit3-ENV): New variable.
38601         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38602         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38603         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38604         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38605         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38606         Likewise.
38607         [$(subdir) = elf && $(config-cflags-avx) = yes]
38608         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38609         [$(subdir) = elf && $(config-cflags-avx) = yes]
38610         (CFLAGS-tst-auditmod4a.c): Likewise.
38611         [$(subdir) = elf && $(config-cflags-avx) = yes]
38612         (CFLAGS-tst-auditmod4b.c): Likewise.
38613         [$(subdir) = elf && $(config-cflags-avx) = yes]
38614         (CFLAGS-tst-auditmod6b.c): Likewise.
38615         [$(subdir) = elf && $(config-cflags-avx) = yes]
38616         (CFLAGS-tst-auditmod6c.c): Likewise.
38617         [$(subdir) = elf && $(config-cflags-avx) = yes]
38618         (CFLAGS-tst-auditmod7b.c): Likewise.
38619         * elf/tst-audit3.c: Move to ...
38620         * sysdeps/x86_64/tst-audit3.c: ... here.
38621         * elf/tst-audit4.c: Move to ...
38622         * sysdeps/x86_64/tst-audit4.c: ... here.
38623         * elf/tst-audit5.c: Move to ...
38624         * sysdeps/x86_64/tst-audit5.c: ... here.
38625         * elf/tst-audit6.c: Move to ...
38626         * sysdeps/x86_64/tst-audit6.c: ... here.
38627         * elf/tst-audit7.c: Move to ...
38628         * sysdeps/x86_64/tst-audit7.c: ... here.
38629         * elf/tst-auditmod3a.c: Move to ...
38630         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38631         * elf/tst-auditmod3b.c: Move to ...
38632         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38633         * elf/tst-auditmod4a.c: Move to ...
38634         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38635         * elf/tst-auditmod4b.c: Move to ...
38636         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38637         * elf/tst-auditmod5a.c: Move to ...
38638         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38639         * elf/tst-auditmod5b.c: Move to ...
38640         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38641         * elf/tst-auditmod6a.c: Move to ...
38642         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38643         * elf/tst-auditmod6b.c: Move to ...
38644         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38645         * elf/tst-auditmod6c.c: Move to ...
38646         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38647         * elf/tst-auditmod7a.c: Move to ...
38648         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38649         * elf/tst-auditmod7b.c: Move to ...
38650         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38652 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
38654         [BZ #15366]
38655         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38656         define unconditionally.
38657         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38658         define unconditionally.
38659         (INT8_C, INT16_C, etc.): Likewise.
38661 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
38663         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38664         __ehdr_start with hidden visibility.
38666         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38668 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
38670         * math/libm-test.inc (cos_test): Use accurate hex constants.
38671         (sincost_test): Likewise.
38673 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
38675         * math/libm-test.inc (catan_test): Add more tests.
38676         (catanh_test): Likewise.
38678         * math/s_catanf.c (__catanf): Use suffixed floating-point
38679         constants.
38680         * math/s_catanhf.c (__catanhf): Likewise.
38681         * math/s_catanhl.c (__catanhl): Likewise.
38682         * math/s_catanl.c (__catanl): Likewise.
38684         [BZ #15394]
38685         * math/s_catan.c (__catan): Calculate imaginary part of result
38686         with log1p not log unless computing log of number close to 0.
38687         * math/s_catanf.c (__catanf): Likewise.
38688         * math/s_catanl.c (__catanl): Likewise.
38689         * math/s_catanh.c (__catanh): Calculate real part of result with
38690         log1p not log unless computing log of number close to 0.
38691         * math/s_catanhf.c (__catanhf): Likewise.
38692         * math/s_catanhl.c (__catanhl): Likewise.
38693         * math/libm-test.inc (catan_test): Add more tests.
38694         (catanh_test): Likewise.
38695         * sysdeps/i386/fpu/libm-test-ulps: Update.
38696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38698 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38700         * benchtests/Makefile: Mention files in which fast and slow
38701         paths of math functions are implemented.
38703 2013-04-23  Roland McGrath  <roland@hack.frob.com>
38705         * sysdeps/posix/timespec_get.c: New file.
38707 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38709         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38710         POWER.
38711         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38712         for POWER.
38713         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38714         powerpc/power5/fpu folders.
38715         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38716         * benchtests/Makefile: Add modf testcase.
38717         * benchtests/bench-modf.c: New file: Benchmark test for mo
38719 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38721         [BZ #14888]
38722         * time/Makefile (tests): Add tst-strptime-whitespace.
38723         * time/strptime_l.c (get_number): Use ISSPACE.
38724         (__strptime_internal): Likewise.
38725         * time/tst-strptime-whitespace.c: New test case.
38727 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
38729         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38730         member.
38731         (_nss_files_init): Set it here.
38733 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
38735         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38736         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38737         unsigned.
38739 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
38741         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38743 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38745         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38746         size just once.
38748 2013-04-21  David S. Miller  <davem@davemloft.net>
38750         * po/ru.po: Update Russion translation from translation project.
38752 2013-04-17  Adam Conrad  <adconrad@0c3.net>
38754         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38755         and setfsgid.
38757 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
38759         * configure.in: Remove i386 configure warning. Remove i386 case.
38760         * configure: Regenerate.
38761         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38762         Add example to error message.
38763         * sysdeps/i386/configure: Regenerate.
38765 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38767         * benchtests/Makefile (bench): Add cos, tan, slowcos and
38768         slowtan.
38769         * benchtests/cos-inputs: New file.
38770         * benchtests/slowcos-inputs: New file.
38771         * benchtests/slowcos.c: New file.
38772         * benchtests/slowtan-inputs: New file.
38773         * benchtests/slowtan.c: New file.
38774         * benchtests/tan-inputs: New file.
38776 2013-04-16  Roland McGrath  <roland@hack.frob.com>
38778         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38779         considered kosher.
38781 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38783         * benchtests/Makefile: Include cppflags-iterator.mk to add
38784         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38786         * Makefile.in (bench-clean): New target.
38787         * benchtests/Makefile (bench-clean): Likewise.
38789 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
38791         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38793 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
38795         * stdio-common/tstdiomisc.c: Fix coding-style violation.
38797 2013-04-15  Andreas Schwab  <schwab@suse.de>
38799         * nscd/grpcache.c (cache_addgr): Properly check for short write.
38800         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38801         * nscd/pwdcache.c (cache_addpw): Likewise.
38802         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
38803         more than recsize.
38805 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38807         * benchtests/Makefile (bench): Write all output to
38808         bench-out.tmp together.
38810 2013-04-15  Andreas Schwab  <schwab@suse.de>
38812         * nscd/nscd.c (main): Don't fork again after closing files.
38814 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38816         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38818         * benchtests/Rules (bench-deps): Collect dependencies into a
38819         single variable.  Add Makefile to dependencies.
38820         ($(objpfx)bench-%.c): Depend on bench-deps.
38822 2013-04-12  Roland McGrath  <roland@hack.frob.com>
38823             Xavier Roche  <roche+kml2@exalead.com>
38825         [BZ #15361]
38826         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38827         just that it's a file descriptor.
38828         * manual/llio.texi (Synchronizing AIO Operations): Update description
38829         for EBADF error from aio_fsync.
38831 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38833         * Rules (bench): Move target definition...
38834         * benchtests/Makefile: ... here.
38836 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
38838         * math/libm-test.inc (cos_test): Fix PI/2 test.
38839         (sincos_test): Likewise.
38840         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38841         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38843 2013-04-11  Andreas Schwab  <schwab@suse.de>
38845         [BZ #13988]
38846         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38847         accept exponent character only when digits were seen.
38848         * stdio-common/Makefile (tests): Add bug26.
38849         * stdio-common/bug26.c: New file.
38851         [BZ #14293]
38852         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38853         non-freeable.
38855 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38857         * Makeconfig (rtld-prefix): Define built linker prefix.
38858         * Rules (run-bench): Use it.
38859         * math/Makefile (run-regen-ulps): Likewise.
38861         * Rules (bench): Remove eval.
38863 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38864             Roland McGrath  <roland@hack.frob.com>
38865             Ondrej Bilka  <neleai@seznam.cz>
38867         [BZ #15346]
38868         * time/getdate.c: Include ctype.h and alloca.h.
38869         (__getdate_r): Trim leading and trailing spaces of input.
38870         * time/tst-getdate.c (tests): Add tests with leading and
38871         trailing spaces.
38873 2013-04-08  Roland McGrath  <roland@hack.frob.com>
38875         [BZ #14280]
38876         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38877         when computing value.
38879 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38881         * math/README.libm-test (How can I generate "libm-test-ulps"?):
38882         Use testrun.sh to run libm tests.
38884         [BZ #15309]
38885         * elf/dl-open.c (dl_open_worker): memset all of seen array.
38887 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
38889         [BZ #15264]
38890         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38892 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38894         * Makefile.in (regen-ulps): New target.
38895         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38896         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38897         [ifneq (no,$(PERL)] (regen-ulps): New target.
38898         [ifeq (no,$(PERL)] (regen-ulps): New target.
38899         * math/libm-test.inc (ulps_file_name): Define.
38900         (output_dir): New variable.
38901         (options): Add "output-dir" option.
38902         (parse_opt): Handle 'o' case.
38903         (main): If output_dir is non-NULL use it as a prefix
38904         otherwise use "".
38905         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38907 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38909         [BZ #10060, #10062]
38910         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38911         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38912         fail configure if __sync_val_compare_and_swap is not inlined.
38913         * sysdeps/i386/configure: Regenerate.
38914         * configure.in: Build for i686 when configured for i386.
38915         * configure: Regenerate.
38916         * README: Remove i386 reference.
38918 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38920         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38921         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38923 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38925         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38926         (lmsnanval): New variables.
38927         (F): Add conversion tests.
38928         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38929         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38931         * stdio-common/tstdiomisc.c (F): Properly collect individual
38932         tests' results.
38934         [BZ #14686, #15336]
38935         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38936         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38937         Instead, use input NaN values or generate a qNaN by arithmetic
38938         operation.  Also fix bugs to comply with the standard.
38939         * math/libm-test.inc (remainder_test): Add more tests.
38941         [BZ #15335, #15342]
38942         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38943         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38944         input NaN values or generate a qNaN by arithmetic operation.
38946         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38947         unreachable code.
38949         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38950         definitions.
38952 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
38954         [BZ #14478]
38955         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38956         underflowed result.
38957         * math/s_cexpf.c (__cexpf): Likewise.
38958         * math/s_cexpl.c (__cexpl): Likewise.
38959         * math/libm-test.inc (cexp_test): Add more tests.
38961 2013-04-03  Andreas Schwab  <schwab@suse.de>
38963         [BZ #15330]
38964         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38965         order arrays from heap if bigger than alloca cutoff.
38967 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
38969         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38970         (SNAN_TESTS_double): Refer to GCC PR56831.
38971         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38972         GCC PR56828.
38974 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38976         * Rules (bench): Move bench.out after the run is complete.
38978         * Rules (bench): Echo currently running benchmark.
38980         * benchtests/Makefile (bench): Add atan and slowatan.
38981         * benchtests/atan-inputs: New file.
38982         * benchtests/slowatan-inputs: New file.
38983         * benchtests/slowatan.c: New file.
38985         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38986         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38987         its value.
38989         [BZ #15305]
38990         * sysdeps/unix/sysv/linux/kernel-features.h
38991         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38992         __ASSUME_XFS_RESTRICTED_CHOWN.
38993         * sysdeps/unix/sysv/linux/pathconf.c
38994         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38995         Save and restore errno.
38997 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
38999         [BZ #15327]
39000         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
39001         arguments using __kernel_casinh.
39002         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
39003         arguments using __kernel_casinhf.
39004         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
39005         arguments using __kernel_casinhl.
39006         * math/libm-test.inc (cacosh_test): Add more tests.
39007         * sysdeps/i386/fpu/libm-test-ulps: Update.
39008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39010 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39012         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
39013         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
39015         * bench/Makefile (bench): Add sin and slowsin.
39016         * benchtests/sin-inputs: New file.
39017         * benchtests/slowsin-inputs: New file.
39018         * benchtests/slowsin.c: New file.
39020         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
39021         (bench): Add slowexp and slowpow.
39022         (exp-ITER): Increase iterations.
39023         (pow-ITER): Likewise.
39024         * benchtests/exp-inputs: Change input.
39025         * benchtests/pow-inputs: Likewise.
39026         * benchtests/slowexp-inputs: New file.
39027         * benchtests/slowexp.c: New file.
39028         * benchtests/slowpow-inputs: New file.
39029         * benchtests/slowpow.c: New file.
39031 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39033         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
39034         instructions.
39035         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39036         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
39037         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39038         * benchtests/Makefile: Add rint benchtest.
39039         * benchtests/rint-inputs: Input for rint benchtest.
39041 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39043         * Versions.def (libm): Add GLIBC_2.18.
39044         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
39045         hidden libm prototypes.
39046         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
39047         * math/Makefile (libm-calls): Add s_issignaling.
39048         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
39049         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
39050         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
39051         declaration.
39052         * math/math.h [__USE_GNU] (issignaling): New macro.
39053         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
39054         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
39055         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
39056         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
39057         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
39058         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
39059         * manual/arith.texi (issignaling): New section.
39060         * manual/libm-err-tab.pl (@all_functions): Update comment.
39061         * math/gen-libm-test.pl (parse_args): Apply special handling for
39062         issignaling.
39063         * math/libm-test.inc (print_float, issignaling_test): New
39064         functions.
39065         (check_float_internal): Add issignaling checks.
39066         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
39067         default definition.
39068         * sysdeps/powerpc/math-tests.h: New file.
39069         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
39070         tests.
39071         * math/test-snan.c (TEST_FUNC): Likewise.
39073 2013-03-30  David S. Miller  <davem@davemloft.net>
39075         * po/de.po: Update from translation team.
39077 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
39079         [BZ #10357]
39080         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39081         imaginary part less than 1.0 and real part less than 0.5
39082         specially.
39083         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39084         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39085         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
39086         (cacos_test): Add more tests.
39087         (casin_test): Likewise.
39088         (casinh_test): Likewise.
39089         * sysdeps/i386/fpu/libm-test-ulps: Update.
39090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39092 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39094         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
39095         ONE with its value.
39097         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
39098         (__pow_mp): Replace ONE and MONE with their values.
39099         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39100         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
39101         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39102         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
39103         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39104         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39106         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
39108         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
39109         (__pow_mp): Replace ZERO and MZERO with their values.
39110         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39111         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39112         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39113         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39114         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39115         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
39116         (__sqr): Likewise.
39118         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
39120         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
39122 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39124         * include/stdlib.h [!SHARED] (__call_tls_dtors):
39125         Declare with __attribute__ ((weak)).
39126         * stdlib/exit.c (__libc_atexit) [!SHARED]:
39127         Call __call_tls_dtors only if it's not NULL.
39129 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39131         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39132         didn't do it already, then set _dl_phdr and _dl_phnum based on the
39133         magic __ehdr_start linker symbol if it's defined.
39134         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39135         them up here if it was already done.
39137         * elf/dl-support.c (_dl_phdr): Make pointer to const.
39138         (_dl_aux_init): Use const in cast when setting it.
39139         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39140         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39141         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39143         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39144         Declare them here.
39145         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39146         * csu/libc-tls.c: Nor here.
39147         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39149         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39150         (__libc_message): Never call vsyslog.
39152 2013-03-28  Alan Modra  <amodra@gmail.com>
39154         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39155         Define as empty.
39156         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39157         Likewise.
39159 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39161         [BZ #15214]
39162         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39163         underflow.
39164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39166 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39168         [BZ #15304]
39169         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39170         Don't add gid passed as argument.
39172         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39174 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
39176         [BZ #15307]
39177         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39178         imaginary part between 1.0 and 1.5 and real part less than 0.5
39179         specially.
39180         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39181         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39182         * math/libm-test.inc (cacos_test): Add more tests.
39183         (casin_test): Likewise.
39184         (casinh_test): Likewise.
39185         * sysdeps/i386/fpu/libm-test-ulps: Update.
39186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39188 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39190         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39191         constants.
39192         (norm): Likewise.
39193         (denorm): Likewise.
39194         (__dbl_mp): Likewise.
39195         (add_magnitudes): Likewise.
39196         (sub_magnitudes): Likewise.
39197         (__add): Likewise.
39198         (__sub): Likewise.
39199         (__mul): Likewise.
39200         (__sqr): Likewise.
39201         (__inv): Likewise.
39202         (__dvd): Likewise.
39204         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39205         commented code.
39206         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39207         (__dubcos): Likewise.
39208         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39209         (__ieee754_acos): Likewise.
39210         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39211         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39212         (__exp1): Likewise.
39213         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39214         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39215         (log1): Likewise.
39216         (my_log2): Likewise.
39217         (checkint): Likewise.
39218         * sysdeps/ieee754/dbl-64/e_remainder.c
39219         (__ieee754_remainder): Likewise.
39220         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39222         (bsloww): Likewise.
39223         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39225         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39226         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39227         MANTISSA_STORE_T to store computations on mantissa.  Use
39228         macros for rounding and division.
39229         (denorm): Likewise.
39230         (__dbl_mp): Likewise.
39231         (add_magnitudes): Likewise.
39232         (sub_magnitudes): Likewise.
39233         (__mul): Likewise.
39234         (__sqr): Likewise.
39235         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39236         powers of two in terms of TWOPOW macro.
39237         (mp_no): Make type of mantissa as MANTISSA_T.
39238         [!RADIXI]: Define RADIXI.
39239         [!TWO52]: Define TWO52.
39240         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39242 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39244         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39245         llroundl symbol when building for PPC32.
39247 2013-03-24  Mark H Weaver  <mhw@netris.org>
39249         * manual/arith.texi (Normalization Functions): Fix prototypes for
39250         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39252 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39254         [BZ #13889]
39255         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39256         high value to check if expl overflow.
39257         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39258         to check for underflow and overflow.
39259         * math/libm-test.inc: Add exp test.
39261 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
39263         [BZ #11120]
39264         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39265         with NOT_IN_libc.
39267 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39269         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39270         symbol.
39272 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39274         * math/gen-libm-test.pl (parse_args, special_functions): Properly
39275         wrap blocks consisting of several statements.
39277         * sysdeps/generic/math-tests.h: New file.
39278         * sysdeps/i386/fpu/math-tests.h: Likewise.
39279         * math/test-snan.c: Include it.
39280         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39282 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39284         [BZ #15285]
39285         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39286         (__ieee754_j0l): Do not improve calculations using cos of twice
39287         input for inputs above LDBL_MAX / 2.0L.
39288         (__ieee754_y0l): Likewise.
39289         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39290         (__ieee754_j1l): Do not improve calculations using cos of twice
39291         input for inputs above LDBL_MAX / 2.0L.
39292         (__ieee754_y1l): Likewise.
39293         * math/libm-test.inc (j0_test): Add another test.
39294         (j1_test): Likewise.
39295         (y0_test): Likewise.
39296         (y1_test): Likewise.
39297         * sysdeps/i386/fpu/libm-test-ulps: Update.
39299 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39301         * Rules ($(objpfx)bench-%.c): Include code from a C source
39302         file.
39304 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39306         [BZ #15287]
39307         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39308         imaginary part 1.0 and real part less than 0.5 specially.
39309         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39310         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39311         * math/libm-test.inc (cacos_test): Add more tests.
39312         (casin_test): Likewise.
39313         (casinh_test): Likewise.
39314         * sysdeps/i386/fpu/libm-test-ulps: Update.
39315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39317 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39319         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39320         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39322 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
39324         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39325         * config.make.in (config-cflags-sse4): Remove variable.
39326         (config-cflags-avx): Likewise.
39327         (config-cflags-sse2avx): Likewise.
39328         (config-cflags-novzeroupper): Likewise.
39329         (config-asflags-i686): Likewise.
39330         (have-mfma4): Likewise.
39331         (have-as-vis3): Likewise.
39332         (MIG): Likewise.
39333         * configure.in (MIG): Do not AC_SUBST.
39334         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39335         (libc_cv_cc_sse4): Do not AC_SUBST.
39336         (libc_cv_cc_avx): Likewise.
39337         (libc_cv_cc_sse2avx): Likewise.
39338         (libc_cv_cc_novzeroupper): Likewise.
39339         (libc_cv_cc_fma4): Likewise.
39340         (libc_cv_as_i686): Likewise.
39341         (libc_cv_sparc_as_vis3): Likewise.
39342         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39343         LIBC_CONFIG_VAR.
39344         (config-asflags-i686): Likewise.
39345         (config-cflags-avx): Likewise.
39346         (config-cflags-sse2avx): Likewise.
39347         (have-mfma4): Likewise.
39348         (config-cflags-novzeroupper): Likewise.
39349         * sysdeps/mach/configure.in (MIG): Likewise.
39350         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39351         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39352         LIBC_CONFIG_VAR.
39353         (config-cflags-avx): Likewise.
39354         (config-cflags-sse2avx): Likewise.
39355         (have-mfma4): Likewise.
39356         (config-cflags-novzeroupper): Likewise.
39357         * configure: Regenerated.
39358         * sysdeps/i386/configure: Likewise.
39359         * sysdeps/mach/configure: Likewise.
39360         * sysdeps/sparc/configure: Likewise.
39361         * sysdeps/x86_64/configure: Likewise.
39363 2013-03-20  Roland McGrath  <roland@hack.frob.com>
39365         [BZ #14812]
39366         * locale/programs/localedef.c (options): Put N_ translation marker
39367         on argument names, not just descriptions.
39369 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39371         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39373 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
39375         [BZ #14176]
39376         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39378 2013-03-19  Roland McGrath  <roland@hack.frob.com>
39380         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39381         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39382         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39383         [!BEFORE_ABORT] (before_abort): New function.
39384         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39385         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39386         (writev_for_fatal): New function.
39387         (WRITEV_FOR_FATAL): New macro; call that.
39388         (backtrace_and_maps): New function.
39389         (BEFORE_ABORT): New macro; call that.
39390         (struct str_list): Type removed.
39391         (__libc_message, __libc_fatal): Functions removed.
39392         Include <sysdeps/posix/libc_fatal.c> instead.
39394 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
39396         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39397         constants.
39398         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39399         double constants.
39401 2013-03-19  Andreas Schwab  <schwab@suse.de>
39403         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39404         * sysdeps/gnu/configure: Regenerate.
39406         * configure.in: Substitute libc_cv_rtlddir.
39407         * configure: Regenerate.
39408         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39409         * Makeconfig (rtlddir, inst_rtlddir): New variables.
39410         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39411         * elf/Makefile (install-others, CFLAGS-interp.c)
39412         (ldso_install, common-ldd-rewrite): Likewise.
39413         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39414         $(inst_slibdir)/$(rtld-installed-name).
39415         * scripts/rellns-sh: Add -p option.
39416         * Makerules (make-shlib-link): Use rellns-sh to get relative name
39417         for source.
39419 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39421         * manual/nptl.texi: Renamed to ...
39422         * manual/threads.texi: ... this.
39423         * manual/Makefile (chapters): Update.
39425 2013-03-18  Roland McGrath  <roland@hack.frob.com>
39427         [BZ #14812]
39428         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39429         on argument names, not just descriptions.
39430         * malloc/memusagestat.c (options): Likewise.
39431         * nss/getent.c (options): Likewise.
39433 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
39435         [BZ #14812]
39436         * iconv/iconv_prog.c (options): Put N_ translation marker
39437         on argument names, not just descriptions.
39438         * iconv/iconvconfig.c (options): Likewise.
39440 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
39442         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39443         implementation which is faster on all x86_64 architectures.
39444         Tested on AMD, Intel Nehalem, SNB, IVB.
39445         * sysdeps/x86_64/strnlen.S: Likewise.
39447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39448         Remove all multiarch strlen and strnlen versions.
39449         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39450         Remove strlen and strnlen related parts.
39452         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39453         Inline strlen part.
39454         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39456         * sysdeps/x86_64/multiarch/strlen.S: Remove.
39457         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39458         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39459         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39460         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39461         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39463 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
39465         * manual/memory.texi (Malloc Tunable Parameters):
39466         Sort parameters alphabetically. Add comments for missing entries.
39468 2013-03-17  David S. Miller  <davem@davemloft.net>
39470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39472 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
39474         [BZ #15283]
39475         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39476         for arguments at most half maximum finite value.
39477         * math/libm-test.inc (j0_test): Add more tests.
39478         (j1_test): Likewise.
39479         (y0_test): Likewise.
39480         (y1_test): Likewise.
39481         * sysdeps/i386/fpu/libm-test-ulps: Update.
39482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39484         [BZ #14155]
39485         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39486         1 / x and functions P and Q for arguments above 0x1p256L.
39487         (__ieee754_y0l): Likewise.
39488         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39489         (__ieee754_y1l): Likewise.
39490         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39491         (j1_test): Likewise.
39492         (y0_test): Likewise.
39493         (y1_test): Likewise.
39495 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
39497         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39498         variable.
39500 2013-03-15  Roland McGrath  <roland@hack.frob.com>
39502         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39503         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39504         zero since it's initialized to EXEC_PAGESIZE.
39506         * sysdeps/unix/sysv/linux/ldsodefs.h
39507         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39508         * sysdeps/generic/ldsodefs.h: ... here.
39510 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
39512         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39514         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39515         math/test-snan.c.
39516         * math/test-snan.c: Renamed from
39517         sysdeps/powerpc/fpu/test-powerpc-snan.c.
39518         * math/Makefile (tests): Add test-snan.
39519         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39520         test-powerpc-snan.
39522         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39523         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
39524         functions.
39525         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
39526         __builtin_nan family of functions.
39527         * math/libm-test.inc (initialize): Initialize qnan_value with
39528         __builtin_nan family of functions.
39529         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39530         Remove variables.
39531         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39532         Remove functions.
39533         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
39534         storage class.  Initialize qNaN_var and sNaN_var with
39535         __builtin_nan and __builtin_nans families of functions,
39536         respectively.
39538         * math/libm-test.inc (acosh_test): Also test with qNaN input.
39539         (sqrt_test): Remove duplicate test with qNaN input.
39540         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39541         (round_test, signbit_test, significand_test): Note missing +/-Inf
39542         as well as qNaN tests.
39544         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39545         qNaN_var.  Fix a few strings, too.
39546         * math/libm-test.inc (nan_value): Rename to qnan_value.
39547         * math/gen-libm-test.pl (%beautify): Adjust to that.
39548         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39549         * math/test-misc.c (main): Likewise.
39550         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39551         to __qnan_bytes, and __qnan_union, respectively.
39552         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39553         Likewise.
39554         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39555         and lqnanval, respectively.
39556         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39557         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39558         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39559         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39561         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39562         * math/test-misc.c (main) [__x86_64__]: Enable test for long
39563         doubles.
39565         * math/test-misc.c (main): Fix copy'n'pastos.
39566         * misc/tst-efgcvt.c (special): Likewise.
39568         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39569         Remove declarations.
39571 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39573         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39574         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39575         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39576         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39578 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39580         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39581         macro to return vdso values correctly in IFUNC implementations.
39582         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39583         Optimization by using IFUNC.
39585 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39586             Richard Henderson  <rth@redhat.com>
39587             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39589         * Makefile.in (bench): New target.
39590         * NEWS: Mention the benchmark framework.
39591         * Rules (bench): Likewise.
39592         (binaries-bench): Generate binaries for functions to
39593         benchmark.
39594         * benchtests/Makefile: New makefile for benchmark tests.
39595         * benchtests/bench-skeleton.c: New skeleton file for benchmark
39596         programs.
39597         * benchtests/exp-inputs: New input file for EXP function.
39598         * benchtests/pow-inputs: New input file for POW function.
39599         * scripts/bench.pl: New script to generate source files for
39600         benchmark programs.
39602 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39604         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39605         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39606         computations on mantissa.  Use macros for rounding and
39607         division.
39608         (denorm): Likewise.
39609         (__dbl_mp): Likewise.
39610         (add_magnitudes): Likewise.
39611         (sub_magnitudes): Likewise.
39612         (__mul): Likewise.
39613         (__sqr): Likewise.
39614         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39615         powers of two in terms of TWOPOW macro.
39616         (mp_no): Make type of mantissa as MANTISSA_T.
39617         [!RADIXI]: Define RADIXI.
39618         [!TWO52]: Define TWO52.
39619         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39621         * manual/nptl.texi (cindex): Modify threads to pthreads.
39623 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
39625         * sysdeps/x86_64/preconfigure: Regenerated.
39627 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
39629         [BZ #14155]
39630         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39631         0x1p28 and above.
39632         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39633         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39634         0x1p28 and above.
39635         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39636         * math/libm-test.inc (j0_test): Do not allow one spurious
39637         underflow exception.
39638         (y1_test): Likewise.
39640 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39642         * manual/Makefile (chapters): Add nptl.
39643         * manual/debug.texi (Debugging Support): Add link to Threads
39644         chapter.
39645         * manual/nptl.texi: New file.
39647         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39649 2013-03-14  Petr Baudis  <pasky@ucw.cz>
39651         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39652         for non-NULL pointer before the memory validity test. Pointed
39653         out by Holger Brunck <holger.brunck@keymile.com>.
39655 2013-03-13  Andreas Schwab  <schwab@suse.de>
39657         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39658         instead of .os.
39660 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
39662         * timezone/zic.c: Update from tzcode 2013b.
39664 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
39666         * manual/install.texi (Configuring and compiling):
39667         Mention i686 and i586.
39668         * INSTALL: Regenerate.
39670 2013-03-12  Roland McGrath  <roland@hack.frob.com>
39672         * sysdeps/init_array/elf-init.c: New file.
39673         * csu/elf-init.c
39674         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39675         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39677         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39678         __gmon_start__ as global, but as static with a .preinit_array pointer.
39679         * sysdeps/init_array/gmon-start.c: New file.  Use that.
39680         * sysdeps/init_array/crti.S: New file, empty except for comments.
39681         * sysdeps/init_array/crtn.S: Likewise.
39683 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
39685         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39686         definining bcopy.
39687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39688         Remove Prefer_SSE_for_memop.
39689         * sysdeps/x86_64/multiarch/init-arch.h: Remove
39690         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39691         HAS_PREFER_SSE_FOR_MEMOP.
39692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39693         memset-x86-64.
39694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39695         Remove bzero, memset ifunc support.
39696         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39697         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39698         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39699         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39701 2013-03-11  Andreas Schwab  <schwab@suse.de>
39703         [BZ #15234]
39704         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39705         by SHLIB_COMPAT.
39706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39707         (GLIBC_2.16): Remove pthread_atfork.
39709 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39711         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39712         (ptestcases.h): Likewise.
39714 2013-03-08  Roland McGrath  <roland@hack.frob.com>
39716         * Makeconfig ($(common-objpfx)config.status): Depend on
39717         sysdeps/*/preconfigure{,.in} too.
39719 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
39721         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39722         (__free_hook): Use void * instead of __malloc_ptr_t.
39723         (__malloc_hook): Likewise.
39724         (__realloc_hook): Likewise.
39725         (__memalign_hook): Likewise.
39726         (__after_morecore_hook): Likewise.
39727         * malloc/arena.c (save_malloc_hook): Likewise.
39728         (save_free_hook): Likewise.
39729         * malloc/hooks.c (malloc_hook_ini): Likewise.
39730         (realloc_hook_ini): Likewise.
39731         (memalign_hook_ini): Likewise.
39732         * malloc/malloc.c (malloc_hook_ini): Likewise.
39733         (realloc_hook_ini): Likewise.
39734         (memalign_hook_ini): Likewise.
39735         (__free_hook): Likewise.
39736         (__malloc_hook): Likewise.
39737         (__realloc_hook): Likewise.
39738         (__memalign_hook): Likewise.
39739         (__libc_malloc): Likewise.
39740         (__libc_free): Likewise.
39741         (__libc_realloc): Likewise.
39742         (__libc_memalign): Likewise.
39743         (__libc_valloc): Likewise.
39744         (__libc_pvalloc): Likewise.
39745         (__libc_calloc): Likewise.
39746         (__posix_memalign): Likewise.
39747         * malloc/morecore.c (__sbrk): Likewise.
39748         (__default_morecore): Likewise.
39750         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39752         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39753         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39754         __malloc_ptrdiff_t.
39756         * malloc/malloc.h (__malloc_size_t): Remove macro.
39757         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39758         __malloc_size_t.
39759         (old_memalign_hook): Likewise.
39760         (old_realloc_hook): Likewise.
39761         (struct hdr): Likewise.
39762         (flood): Likewise.
39763         (mallochook): Likewise.
39764         (memalignhook): Likewise.
39765         (reallochook): Likewise.
39766         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39767         (tr_old_realloc_hook): Likewise.
39768         (tr_old_memalign_hook): Likewise.
39769         (tr_mallochook): Likewise.
39770         (tr_reallochook): Likewise.
39771         (tr_memalignhook): Likewise.
39773 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39775         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39776         default_ldbl_pack and using as default implementation.
39777         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39778         implementation.
39779         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39780         redundant definition.
39781         (ldbl_insert_mantissa): Likewise.
39782         (ldbl_canonicalize): Likewise.
39783         (ldbl_nearbyint): Likewise.
39784         (ldbl_pack): Rename to ldbl_pack_ppc.
39785         (ldbl_unpack): Rename to ldbl_unpack_ppc.
39786         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39787         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39789 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39792         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39793         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39794         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39795         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39796         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39797         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39798         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39800 2013-03-07  Andreas Jaeger  <aj@suse.de>
39802         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39803         bits/mman-linux.h.
39805 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39807         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39808         Include mpa.h and declare __MPEXP.
39809         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39810         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39811         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39812         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39813         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39814         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39815         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39817         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39818         (__slowpow): Use long double EXPL and LOGL functions to
39819         compute POW.
39820         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39821         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39822         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39823         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39824         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39825         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39828         intermediate variable to calculate exponent.
39829         (__sqr): Likewise.
39830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39831         Likewise.
39832         (__sqr): Likewise.
39834         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39835         [!NO__SQR]: Define __sqr.
39836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39837         and NO__SQR.  Remove all code except __mul and __sqr.  Include
39838         sysdeps/ieee754/dbl-64/mpa.c.
39839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39841         [BZ #12723]
39842         * posix/Makefile (tests): Add tst-pathconf.
39843         * posix/tst-pathconf.c: New test case.
39844         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39845         _PC_PIPE_BUF.
39846         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39848 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
39850         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39852 2013-03-06  Andreas Jaeger  <aj@suse.de>
39854         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39855         definition via __MAP_ANONYMOUS.
39857         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39858         it's not part of Linux headers.
39860         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39861         (MAP_HUGE_MASK): Define.
39863         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39864         Define.
39865         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39866         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39867         Define.
39868         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39869         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39870         Define.
39871         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39872         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39873         Define.
39874         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39876         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39877         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39878         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39879         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39880         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39881         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39883         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39884         Handle f2fs.
39886         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39887         Handle f2fs and efivarfs.
39889         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39890         f2fs.
39892         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39893         (EFIVARFS_MAGIC): Add.
39894         (F2FS_LINK_MAX): Add.
39896 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39898         * stdio-common/vfprintf.c: Replace __builtin_expect with
39899         __glibc_unlikely.
39901 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
39903         [BZ #13550]
39904         * sysdeps/generic/bp-sym.h: Remove file.
39905         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39906         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39907         <bp-sym.h> and <bp-asm.h>.
39908         (__longjmp): Don't use BP_SYM.
39909         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39910         and <bp-asm.h>.
39911         (memcpy): Don't use BP_SYM.
39912         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39913         <bp-sym.h> and <bp-asm.h>.
39914         (memcpy): Don't use BP_SYM.
39915         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39916         <bp-asm.h>.
39917         (memcpy): Don't use BP_SYM.
39918         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39919         <bp-asm.h>.
39920         (memset): Don't use BP_SYM.
39921         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39922         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39923         (__bzero): Don't use BP_SYM.
39924         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39925         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39926         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39927         <bp-sym.h> and <bp-asm.h>.
39928         (memcmp): Don't use BP_SYM.  Remove comment about bounded
39929         pointers.
39930         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39931         <bp-sym.h> and <bp-asm.h>.
39932         (memcpy): Don't use BP_SYM.
39933         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39934         <bp-sym.h> and <bp-asm.h>.
39935         (memset): Don't use BP_SYM.
39936         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39937         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39938         (__bzero): Don't use BP_SYM.
39939         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39940         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39941         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39942         <bp-sym.h> and <bp-asm.h>.
39943         (strncmp): Don't use BP_SYM.  Remove comment about bounded
39944         pointers.
39945         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39946         <bp-sym.h> and <bp-asm.h>.
39947         (memcpy): Don't use BP_SYM.
39948         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39949         <bp-sym.h> and <bp-asm.h>.
39950         (memset): Don't use BP_SYM.
39951         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39952         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39953         (__bzero): Don't use BP_SYM.
39954         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39955         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39956         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39957         <bp-sym.h> and <bp-asm.h>.
39958         (__memchr): Don't use BP_SYM.
39959         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39960         <bp-sym.h> and <bp-asm.h>.
39961         (memcmp): Don't use BP_SYM.  Remove comment about bounded
39962         pointers.
39963         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39964         <bp-sym.h> and <bp-asm.h>.
39965         (memcpy): Don't use BP_SYM.
39966         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39967         <bp-sym.h> and <bp-asm.h>.
39968         (__mempcpy): Don't use BP_SYM.
39969         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39970         <bp-sym.h> and <bp-asm.h>.
39971         (__memrchr): Don't use BP_SYM.
39972         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39973         <bp-sym.h> and <bp-asm.h>.
39974         (memset): Don't use BP_SYM.
39975         (__bzero): Likewise.
39976         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39977         <bp-sym.h> and <bp-asm.h>.
39978         (__rawmemchr): Don't use BP_SYM.
39979         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39980         <bp-sym.h> and <bp-asm.h>.
39981         (__STRCMP): Don't use BP_SYM.
39982         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39983         <bp-sym.h> and <bp-asm.h>.
39984         (strchr): Don't use BP_SYM.
39985         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39986         <bp-sym.h> and <bp-asm.h>.
39987         (__strchrnul): Don't use BP_SYM.
39988         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39989         <bp-sym.h> and <bp-asm.h>.
39990         (strlen): Don't use BP_SYM.
39991         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39992         <bp-sym.h> and <bp-asm.h>.
39993         (strncmp): Don't use BP_SYM.  Remove comment about bounded
39994         pointers.
39995         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39996         <bp-sym.h> and <bp-asm.h>.
39997         (__strnlen): Don't use BP_SYM.
39998         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39999         <bp-sym.h> and <bp-asm.h>.
40000         (__GI__setjmp): Don't use BP_SYM.
40001         (_setjmp): Likewise.
40002         (__sigsetjmp): Likewise.
40003         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
40004         (L(start_addresses)): Don't use BP_SYM.
40005         (_start): Likewise.
40006         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
40007         <bp-asm.h>.
40008         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
40009         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
40010         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40011         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40012         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
40013         <bp-asm.h>.
40014         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
40015         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
40016         about bounded pointers.
40017         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40018         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40019         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
40020         <bp-asm.h>.
40021         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40022         about bounded pointers.  Remove GKM FIXME comments.
40023         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40024         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
40025         <bp-asm.h>.
40026         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
40027         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
40028         Remove GKM FIXME comments.
40029         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40030         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40031         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
40032         <bp-asm.h>.
40033         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40034         about bounded pointers.  Remove GKM FIXME comment.
40035         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
40036         and <bp-asm.h>.
40037         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40038         pointers.
40039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
40040         <bp-sym.h> and <bp-asm.h>.
40041         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
40043         <bp-sym.h> and <bp-asm.h>.
40044         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40045         comment.
40047 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40049         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
40050         call free(NULL).
40052 2013-03-05  David S. Miller  <davem@davemloft.net>
40054         * po/es.po: Update from translation team.
40056 2013-03-05  Andreas Jaeger  <aj@suse.de>
40058         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
40059         <bits/mman-linux.h>.
40060         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40061         is fine.
40062         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
40063         <bits/mman-linux.h> to end of file.
40064         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40065         is fine.
40066         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
40067         <bits/mman-linux.h> to end of file.
40068         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40069         is fine.
40070         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
40071         <bits/mman-linux.h> to end of file.
40073         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
40074         (MCL_CURRENT, MCL_FUTURE): Define here.
40076 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40078         [BZ #15232]
40079         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
40080         attribute_hidden.
40081         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40083 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40085         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
40086         fourth parameter needed for rt_sigprocmask syscall.
40087         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40088         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40089         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
40090         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40091         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40092         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
40094 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
40096         [BZ #13550]
40097         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
40098         comment about bounded pointers.
40099         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
40100         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
40102 2013-03-04  Andreas Jaeger  <aj@suse.de>
40104         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
40105         common definitions.
40107         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
40108         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
40109         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
40110         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40111         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40112         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40114 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40116         [BZ #15055]
40117         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
40118         __ieee754_sqrl instead of __sqrl.
40120 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
40122         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
40123         * sysdeps/powerpc/fpu_control.h: ... here.
40124         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40125         * sysdeps/powerpc/bits/fenvinline.h: ... here.
40126         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40127         * sysdeps/powerpc/bits/mathinline.h: ... here.
40129 2013-03-01  Roland McGrath  <roland@hack.frob.com>
40131         * elf/dl-hwcaps.c (_dl_important_hwcaps):
40132         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40133         to just [NEED_DL_SYSINFO_DSO].
40134         * elf/dl-support.c: Likewise.
40135         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40136         * elf/rtld.c (dl_main): Likewise.
40137         * elf/setup-vdso.h (setup_vdso): Likewise.
40138         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40139         * sysdeps/unix/sysv/linux/dl-sysdep.c
40140         (_dl_discover_osversion): Likewise.
40142 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
40144         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40145         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40147 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40149         * NEWS: Mention libm performance improvements and non-x86 PI
40150         futex support.
40152         * csu/libc-start.c (__pthread_initialize_minimal): Change
40153         function arguments.
40154         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40156 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
40158         [BZ #13550]
40159         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40160         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40161         <bp-sym.h> and <bp-asm.h>.
40162         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40163         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40164         and <bp-asm.h>.
40165         (memcpy): Don't use BP_SYM.
40166         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40167         <bp-asm.h>.
40168         (__mpn_add_n): Don't use BP_SYM.
40169         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40170         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40171         and <bp-asm.h>.
40172         (__mpn_addmul_1): Don't use BP_SYM.
40173         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40174         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40175         <bp-sym.h>.
40176         (_setjmp): Don't use BP_SYM.
40177         (__novmx_setjmp): Likewise.
40178         (__GI__setjmp): Likewise.
40179         (__vmx_setjmp): Likewise.
40180         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40181         <bp-sym.h>.
40182         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40183         (__bzero): Don't use BP_SYM.
40184         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40185         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40186         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40187         <bp-sym.h> and <bp-asm.h>.
40188         (memcpy): Don't use BP_SYM.
40189         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40190         <bp-sym.h> and <bp-asm.h>.
40191         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40192         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40193         <bp-sym.h> and <bp-asm.h>.
40194         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40195         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40196         <bp-asm.h>.
40197         (__mpn_lshift): Don't use BP_SYM.
40198         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40199         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40200         <bp-asm.h>.
40201         (memset): Don't use BP_SYM.
40202         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40203         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40204         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40205         <bp-asm.h>.
40206         (__mpn_mul_1): Don't use BP_SYM.
40207         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40208         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40209         <bp-sym.h> and <bp-asm.h>.
40210         (memcmp): Don't use BP_SYM.
40211         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40212         <bp-sym.h> and <bp-asm.h>.
40213         (memcpy): Don't use BP_SYM.
40214         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40215         <bp-sym.h> and <bp-asm.h>.
40216         (memset): Don't use BP_SYM.
40217         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40218         <bp-sym.h> and <bp-asm.h>.
40219         (strncmp): Don't use BP_SYM.
40220         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40221         <bp-sym.h> and <bp-asm.h>.
40222         (memcpy): Don't use BP_SYM.
40223         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40224         <bp-sym.h> and <bp-asm.h>.
40225         (memset): Don't use BP_SYM.
40226         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40227         <bp-sym.h> and <bp-asm.h>.
40228         (__memchr): Don't use BP_SYM.
40229         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40230         <bp-sym.h> and <bp-asm.h>.
40231         (memcmp): Don't use BP_SYM.
40232         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40233         <bp-sym.h> and <bp-asm.h>.
40234         (memcpy): Don't use BP_SYM.
40235         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40236         <bp-sym.h> and <bp-asm.h>.
40237         (__mempcpy): Don't use BP_SYM.
40238         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40239         <bp-sym.h> and <bp-asm.h>.
40240         (__memrchr): Don't use BP_SYM.
40241         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40242         <bp-sym.h> and <bp-asm.h>.
40243         (memset): Don't use BP_SYM.
40244         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40245         <bp-sym.h> and <bp-asm.h>.
40246         (__rawmemchr): Don't use BP_SYM.
40247         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40248         <bp-sym.h> and <bp-asm.h>.
40249         (__STRCMP): Don't use BP_SYM.
40250         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40251         <bp-sym.h> and <bp-asm.h>.
40252         (strchr): Don't use BP_SYM.
40253         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40254         <bp-sym.h> and <bp-asm.h>.
40255         (__strchrnul): Don't use BP_SYM.
40256         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40257         <bp-sym.h> and <bp-asm.h>.
40258         (strlen): Don't use BP_SYM.
40259         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40260         <bp-sym.h> and <bp-asm.h>.
40261         (strncmp): Don't use BP_SYM.
40262         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40263         <bp-sym.h> and <bp-asm.h>.
40264         (__strnlen): Don't use BP_SYM.
40265         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40266         <bp-asm.h>.
40267         (__mpn_rshift): Don't use BP_SYM.
40268         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40269         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40270         <bp-sym.h> and <bp-asm.h>.
40271         (__sigsetjmp): Don't use BP_SYM.
40272         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40273         (L(start_addresses)): Don't use BP_SYM.
40274         (_start): Likewise.
40275         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40276         <bp-asm.h>.
40277         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40278         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40279         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40280         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40281         <bp-asm.h>.
40282         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40283         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40284         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40285         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40286         <bp-asm.h>.
40287         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40288         comments.
40289         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40290         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40291         <bp-asm.h>.
40292         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
40293         FIXME comments.
40294         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40295         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40296         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40297         <bp-asm.h>.
40298         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40299         comment.
40300         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40301         and <bp-asm.h>.
40302         (strncmp): Don't use BP_SYM,
40303         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40304         <bp-asm.h>.
40305         (__mpn_sub_n): Don't use BP_SYM.
40306         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40307         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40308         and <bp-asm.h>.
40309         (__mpn_submul_1): Don't use BP_SYM.
40310         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40312         <bp-sym.h> and <bp-asm.h>.
40313         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40315         <bp-sym.h> and <bp-asm.h>.
40316         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40317         comment.
40319 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40322         Use ZK to minimize writes to Z.
40323         (sub_magnitudes): Simplify code a bit.
40324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40325         Use ZK to minimize writes to Z.
40326         (sub_magnitudes): Simplify code a bit.
40328 2013-02-27  Roland McGrath  <roland@hack.frob.com>
40330         * csu/gmon-start.c: Add special exception to license text.
40332 2013-02-27  Richard Henderson  <rth@redhat.com>
40334         * scripts/config.guess: Update from config.git.
40335         * scripts/config.sub: Likewise.
40337 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40339         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40341         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40343         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40345         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40347         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40349 2013-02-26  Roland McGrath  <roland@hack.frob.com>
40351         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40352         [$(build-shared = yes].
40354 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40356         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40357         (__mul): Reduce iterations for calculating mantissa.
40359         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40360         MPTWO.
40361         (__mpranred): Likewise.
40363         [BZ #15160]
40364         * malloc/memusagestat.c (main): Draw graphs for heap and stack
40365         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40367 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
40369         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40370         Define __attribute__.
40372 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40374         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40375         unused.
40376         * posix/regex_internal.h (__attribute): Remove.
40377         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40378         (re_string_context_at): Likewise.
40379         (bitset_not): Use __attribute__ and mark function as possibly
40380         unused.
40381         (bitset_merge): Likewise.
40382         (bitset_mask): Likewise.
40383         (re_string_char_size_at): Likewise.
40384         (re_string_wchar_at): Likewise.
40385         (re_string_elem_size_at): Likewise.
40387 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40389         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40390         code.
40391         (cc32): Likewise.
40393         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40394         (__acr): Likewise.
40395         (__cpy): Likewise.
40396         (norm): Likewise.
40397         (denorm): Likewise.
40398         (__dbl_mp): Likewise.
40399         (add_magnitudes): Likewise.
40400         (sub_magnitudes): Likewise.
40401         (__mul): Likewise.
40402         (__inv): Likewise.
40404         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40405         style.
40407         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40408         style.
40410         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40411         code.
40413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40414         up changes with default code.
40415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40416         Likewise.
40418 2013-02-24  Allan McRae  <allan@archlinux.org>
40420         * manual/socket.texi (The Internet Namespace): Order menu items
40421         to match that in the file.
40423         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40424         node listing of the info page menu.
40426 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
40428         [BZ #13550]
40429         * sysdeps/i386/bp-asm.h: Remove file.
40430         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40431         (PARMS): Do not use macros from bp-asm.h.
40432         (S1): Likewise.
40433         (S2): Likewise.
40434         (SIZE): Likewise.
40435         (__mpn_add_n): Do not use BP_SYM
40436         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40437         "bp-asm.h".
40438         (PARMS): Do not use macros from bp-asm.h.
40439         (S1): Likewise.
40440         (SIZE): Likewise.
40441         (__mpn_addmul_1): Do not use BP_SYM
40442         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40443         "bp-asm.h".
40444         (PARMS): Do not use macros from bp-asm.h.
40445         (SIGMSK): Likewise.
40446         (_setjmp): Likewise.  Do not use BP_SYM.
40447         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40448         "bp-asm.h".
40449         (PARMS): Do not use macros from bp-asm.h.
40450         (SIGMSK): Likewise.
40451         (setjmp): Likewise.  Do not use BP_SYM.
40452         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40453         "bp-asm.h".
40454         (PARMS): Do not use macros from bp-asm.h.
40455         (__frexp): Do not use BP_SYM.
40456         (frexp): Likewise.
40457         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40458         "bp-asm.h".
40459         (PARMS): Do not use macros from bp-asm.h.
40460         (__frexpf): Do not use BP_SYM.
40461         (frexpf): Likewise.
40462         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40463         "bp-asm.h".
40464         (PARMS): Do not use macros from bp-asm.h.
40465         (__frexpl): Do not use BP_SYM.
40466         (frexpl): Likewise.
40467         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40468         "bp-asm.h".
40469         (PARMS): Do not use macros from bp-asm.h.
40470         (__remquo): Do not use BP_SYM.
40471         (remquo): Likewise.
40472         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40473         "bp-asm.h".
40474         (PARMS): Do not use macros from bp-asm.h.
40475         (__remquof): Do not use BP_SYM.
40476         (remquof): Likewise.
40477         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40478         "bp-asm.h".
40479         (PARMS): Do not use macros from bp-asm.h.
40480         (__remquol): Do not use BP_SYM.
40481         (remquol): Likewise.
40482         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40483         "bp-asm.h".
40484         (PARMS): Do not use macros from bp-asm.h.
40485         (DEST): Likewise.
40486         (SRC): Likewise.
40487         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
40488         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40489         "bp-asm.h".
40490         (PARMS): Do not use macros from bp-asm.h.
40491         (strlen): Do not use BP_SYM.
40492         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40493         "bp-asm.h".
40494         (PARMS): Do not use macros from bp-asm.h.
40495         (S1): Likewise.
40496         (S2): Likewise.
40497         (SIZE): Likewise.
40498         (__mpn_add_n): Do not use BP_SYM.
40499         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40500         "bp-asm.h".
40501         (PARMS): Do not use macros from bp-asm.h.
40502         (S1): Likewise.
40503         (SIZE): Likewise.
40504         (__mpn_addmul_1): Do not use BP_SYM.
40505         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40506         weak_alias.
40507         (bzero): Likewise.
40508         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40509         "bp-asm.h".
40510         (PARMS): Do not use macros from bp-asm.h.
40511         (S): Likewise.
40512         (SIZE): Likewise.
40513         (__mpn_lshift): Do not use BP_SYM.
40514         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40515         "bp-asm.h".
40516         (PARMS): Do not use macros from bp-asm.h.
40517         (DEST): Likewise.
40518         (SRC): Likewise.
40519         (LEN): Likewise.
40520         (memcpy): Likewise.  Do not use BP_SYM.
40521         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40522         libc_hidden_def and weak_alias.
40523         (mempcpy): Do not use BP_SYM in weak_alias.
40524         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40525         "bp-asm.h".
40526         (PARMS): Do not use macros from bp-asm.h.
40527         (DEST): Likewise.
40528         (LEN): Likewise.
40529         [!BZERO_P] (CHR): Likewise.
40530         (memset): Likewise.  Do not use BP_SYM.
40531         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40532         "bp-asm.h".
40533         (PARMS): Do not use macros from bp-asm.h.
40534         (S1): Likewise.
40535         (SIZE): Likewise.
40536         (__mpn_mul_1): Do not use BP_SYM.
40537         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40538         "bp-asm.h".
40539         (PARMS): Do not use macros from bp-asm.h.
40540         (S): Likewise.
40541         (SIZE): Likewise.
40542         (__mpn_rshift): Do not use BP_SYM.
40543         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40544         "bp-asm.h".
40545         (PARMS): Do not use macros from bp-asm.h.
40546         (STR): Likewise.
40547         (CHR): Likewise.
40548         (strchr): Likewise.  Do not use BP_SYM.
40549         (index): Do not use BP_SYM in weak_alias.
40550         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40551         "bp-asm.h".
40552         (PARMS): Do not use macros from bp-asm.h.
40553         (DEST): Likewise.
40554         (SRC): Likewise.
40555         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
40556         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40557         "bp-asm.h".
40558         (PARMS): Do not use macros from bp-asm.h.
40559         (strlen): Do not use BP_SYM.
40560         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40561         "bp-asm.h".
40562         (PARMS): Do not use macros from bp-asm.h.
40563         (S1): Likewise.
40564         (S2): Likewise.
40565         (SIZE): Likewise.
40566         (__mpn_sub_n): Do not use BP_SYM.
40567         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40568         "bp-asm.h".
40569         (PARMS): Do not use macros from bp-asm.h.
40570         (S1): Likewise.
40571         (SIZE): Likewise.
40572         (__mpn_submul_1): Do not use BP_SYM.
40573         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40574         "bp-asm.h".
40575         (PARMS): Do not use macros from bp-asm.h.
40576         (S1): Likewise.
40577         (S2): Likewise.
40578         (SIZE): Likewise.
40579         (__mpn_add_n): Do not use BP_SYM.
40580         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40581         weak_alias.
40582         (bzero): Likewise.
40583         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40584         "bp-asm.h".
40585         (PARMS): Do not use macros from bp-asm.h.
40586         (BLK2): Likewise.
40587         (LEN): Likewise.
40588         (memcmp): Do not use BP_SYM.
40589         (bcmp): Do not use BP_SYM in weak_alias.
40590         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40591         "bp-asm.h".
40592         (PARMS): Do not use macros from bp-asm.h.
40593         (DEST): Likewise.
40594         (SRC): Likewise.
40595         (LEN): Likewise.
40596         (memcpy): Likewise.  Do not use BP_SYM.
40597         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40598         "bp-asm.h".
40599         (PARMS): Do not use macros from bp-asm.h.
40600         (DEST): Likewise.
40601         (SRC): Likewise.
40602         (LEN): Likewise.
40603         (memmove): Likewise.  Do not use BP_SYM.
40604         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40605         "bp-asm.h".
40606         (PARMS): Do not use macros from bp-asm.h.
40607         (DEST): Likewise.
40608         (SRC): Likewise.
40609         (LEN): Likewise.
40610         (__mempcpy): Likewise.  Do not use BP_SYM.
40611         (mempcpy): Do not use BP_SYM in weak_alias.
40612         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40613         "bp-asm.h".
40614         (PARMS): Do not use macros from bp-asm.h.
40615         (DEST): Likewise.
40616         (LEN): Likewise.
40617         [!BZERO_P] (CHR): Likewise.
40618         (memset): Likewise.  Do not use BP_SYM.
40619         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40620         "bp-asm.h".
40621         (PARMS): Do not use macros from bp-asm.h.
40622         (STR2): Likewise.
40623         (strcmp): Do not use BP_SYM.
40624         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40625         "bp-asm.h".
40626         (PARMS): Do not use macros from bp-asm.h.
40627         (STR): Likewise.
40628         (DELIM): Likewise.
40629         [USE_AS_STRTOK_R] (SAVE): Likewise.
40630         (FUNCTION): Likewise.  Do not use BP_SYM.
40631         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40632         aliases.
40633         (strtok_r): Likewise.
40634         (__GI___strtok_r): Likewise.
40635         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40636         (PARMS): Do not use macros from bp-asm.h.
40637         (S): Likewise.
40638         (SIZE): Likewise.
40639         (__mpn_lshift): Do not use BP_SYM.
40640         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40641         (PARMS): Do not use macros from bp-asm.h.
40642         (STR): Likewise.
40643         (CHR): Likewise.
40644         (__memchr): Do not use BP_SYM.
40645         (memchr): Do not use BP_SYM in weak_alias.
40646         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40647         (PARMS): Do not use macros from bp-asm.h.
40648         (BLK2): Likewise.
40649         (LEN): Likewise.
40650         (memcmp): Do not use BP_SYM.
40651         (bcmp): Do not use BP_SYM in weak_alias.
40652         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40653         (PARMS): Do not use macros from bp-asm.h.
40654         (S1): Likewise.
40655         (SIZE): Likewise.
40656         (__mpn_mul_1): Do not use BP_SYM.
40657         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40658         "bp-asm.h".
40659         (PARMS): Do not use macros from bp-asm.h.
40660         (STR): Likewise.
40661         (CHR): Likewise.
40662         (__rawmemchr): Do not use BP_SYM.
40663         (rawmemchr): Do not use BP_SYM in weak_alias.
40664         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40665         (PARMS): Do not use macros from bp-asm.h.
40666         (S): Likewise.
40667         (SIZE): Likewise.
40668         (__mpn_rshift): Do not use BP_SYM.
40669         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40670         (PARMS): Do not use macros from bp-asm.h.
40671         (SIGMSK): Likewise.
40672         (__sigsetjmp): Likewise.  Do not use BP_SYM.
40673         * sysdeps/i386/start.S: Do not include "bp-sym.h".
40674         (_start): Do not use BP_SYM.
40675         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40676         (PARMS): Do not use macros from bp-asm.h.
40677         (DEST): Likewise.
40678         (SRC): Likewise.
40679         (__stpcpy): Likewise.  Do not use BP_SYM.
40680         (stpcpy): Do not use BP_SYM in weak_alias.
40681         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40682         "bp-asm.h".
40683         (PARMS): Do not use macros from bp-asm.h.
40684         (DEST): Likewise.
40685         (SRC): Likewise.
40686         (LEN): Likewise.
40687         (__stpncpy): Likewise.  Do not use BP_SYM.
40688         (stpncpy): Do not use BP_SYM in weak_alias.
40689         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40690         (PARMS): Do not use macros from bp-asm.h.
40691         (STR): Likewise.
40692         (CHR): Likewise.
40693         (strchr): Likewise.  Do not use BP_SYM.
40694         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40695         "bp-asm.h".
40696         (PARMS): Do not use macros from bp-asm.h.
40697         (STR): Likewise.
40698         (CHR): Likewise.
40699         (__strchrnul): Likewise.  Do not use BP_SYM.
40700         (strchrnul): Do not use BP_SYM in weak_alias.
40701         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40702         "bp-asm.h".
40703         (PARMS): Do not use macros from bp-asm.h.
40704         (STOP): Likewise.
40705         (strcspn): Do not use BP_SYM.
40706         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40707         "bp-asm.h".
40708         (PARMS): Do not use macros from bp-asm.h.
40709         (STR): Likewise.
40710         (STOP): Likewise.
40711         (strpbrk): Likewise.  Do not use BP_SYM.
40712         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40713         "bp-asm.h".
40714         (PARMS): Do not use macros from bp-asm.h.
40715         (STR): Likewise.
40716         (CHR): Likewise.
40717         (strrchr): Likewise.  Do not use BP_SYM.
40718         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40719         (PARMS): Do not use macros from bp-asm.h.
40720         (SKIP): Likewise.
40721         (strspn): Do not use BP_SYM.
40722         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40723         (PARMS): Do not use macros from bp-asm.h.
40724         (STR): Likewise.
40725         (DELIM): Likewise.
40726         (SAVE): Likewise.
40727         (FUNCTION): Likewise.  Do not use BP_SYM.
40728         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40729         aliases.
40730         (strtok_r): Likewise.
40731         (__GI___strtok_r): Likewise.
40732         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40733         (PARMS): Do not use macros from bp-asm.h.
40734         (S1): Likewise.
40735         (S2): Likewise.
40736         (SIZE): Likewise.
40737         (__mpn_sub_n): Do not use BP_SYM.
40738         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40739         "bp-asm.h".
40740         (PARMS): Do not use macros from bp-asm.h.
40741         (S1): Likewise.
40742         (SIZE): Likewise.
40743         (__mpn_submul_1): Do not use BP_SYM.
40744         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40745         <bp-sym.h>.
40746         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40747         and <bp-asm.h>.
40748         (PARMS): Do not use macros from bp-asm.h.
40749         (FLAGS): Likewise.
40750         (PTID): Likewise.
40751         (TLS): Likewise.
40752         (CTID): Likewise.
40753         (__clone): Do not use BP_SYM.
40754         (clone): Do not use BP_SYM in weak_alias.
40755         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40756         and <bp-asm.h>.
40757         (PARMS): Do not use macros from bp-asm.h.
40758         (LEN): Likewise.
40759         (__mmap64): Do not use BP_SYM.
40760         (mmap64): Do not use BP_SYM in weak_alias.
40761         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40762         <bp-sym.h> and <bp-asm.h>.
40763         (PARMS): Do not use macros from bp-asm.h.
40764         (__posix_fadvise64_l64): Do not use BP_SYM.
40765         * sysdeps/unix/sysv/linux/i386/semtimedop.S
40766         (PARMS): Do not use macros from bp-asm.h.
40767         (NSOPS): Likewise.
40768         (semtimedop): Do not use BP_SYM.
40769         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40770         and <bp-asm.h>.
40772 2013-02-21  Allan McRae  <allan@archlinux.org>
40774         * manual/message.texi (Charset conversion in gettext):
40775         Move @end statement to beginning of line.
40777 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40780         static.
40781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40782         Likewise.
40784         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40785         (denorm): Likewise.
40786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40789 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40791         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40792         tail-call to the resolved function if pltexit isn't needed.
40794 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40797         or Y being zero as being unlikely.
40798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40799         Likewise.
40801 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
40803         * manual/nss.texi (System Databases and Name Service Switch):
40804         Remove frobnicate @pxref.
40806 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
40808         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40809         __attribute__ ((unused)) to __attribute__ ((__unused__)).
40811 2013-02-20  Petr Machata  <pmachata@redhat.com>
40813         * elf/elf.h (R_ARM_TARGET1): New macro.
40814         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40815         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40816         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40817         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40818         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40819         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40820         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40821         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40822         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40823         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40824         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40825         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40826         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40827         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40828         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40829         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40830         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40831         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40832         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40833         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40834         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40835         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40836         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40837         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40838         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40839         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40840         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40841         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40842         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40843         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40844         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40845         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40846         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40847         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40848         (R_ARM_THM_GOT_BREL12): Likewise.
40849         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40850         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40851         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40852         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40853         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40854         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40855         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40856         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40857         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40859 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
40861         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40862         __attribute_used__ to __attribute__ ((unused)).
40864 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40866         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40867         powerpc mpa.c.
40868         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40869         comment formatting.
40870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40872 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
40874         [BZ #13550]
40875         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40876         Remove macro.
40877         (ENTER): Remove both macro definitions.
40878         (LEAVE): Likewise.
40879         (CHECK_BOUNDS_LOW): Likewise.
40880         (CHECK_BOUNDS_HIGH): Likewise.
40881         (CHECK_BOUNDS_BOTH): Likewise.
40882         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40883         (RETURN_BOUNDED_POINTER): Likewise.
40884         (RETURN_NULL_BOUNDED_POINTER): Likewise.
40885         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40886         (POP_ERRNO_LOCATION_RETURN): Likewise.
40887         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40888         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40889         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40890         macros.
40891         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40892         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40893         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40894         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40895         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40896         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40897         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40898         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40899         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40900         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40901         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40902         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40903         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40904         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40905         removed macros.
40906         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40907         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40908         macros.
40909         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40910         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40911         * sysdeps/i386/i586/memset.S (memset): Likewise.
40912         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40913         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40914         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40915         macros.
40916         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40917         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40918         Change uses of L(2) to L(out).
40919         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40920         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40921         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40922         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40923         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40924         removed macros.
40925         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40926         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40927         macros.
40928         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40929         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40930         (RETURN): Do not use macro LEAVE.
40931         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40932         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40933         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40934         * sysdeps/i386/i686/memset.S (memset): Likewise.
40935         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40936         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40937         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40938         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40939         Likewise.
40940         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40941         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
40942         L(1_2) and L(1_3) into L(1).
40943         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40944         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40945         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40946         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40947         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40948         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40949         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40950         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40951         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40952         macros.
40953         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40954         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40955         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40956         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40957         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40958         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40959         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40960         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40961         * sysdeps/i386/strcspn.S (strcspn): Likewise.
40962         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40963         * sysdeps/i386/strrchr.S (strrchr): Likewise.
40964         * sysdeps/i386/strspn.S (strspn): Likewise.
40965         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40966         conditional code.
40967         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40968         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40969         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40970         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
40971         L(1_3) into L(1_1).
40972         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40973         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40974         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40975         macros.
40976         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40978 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
40980         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40981         macro.
40983 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40985         * math/atest-exp.c (exp_mpn): Remove ROUND.
40986         * math/atest-exp2.c (exp_mpn): Likewise.
40987         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40989         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40990         * stdlib/tst-tls-atexit-lib.c: Likewise.
40991         * stdlib/tst-tls-atexit.c: Likewise.
40993 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
40995         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40996         and __attribute_alloc_size__.
40998 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41000         * include/programs/xmalloc.h: Change __attribute_alloc_size to
41001         __attribute_alloc_size__.
41002         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
41003         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
41005 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41007         * include/programs/xmalloc.h: New file.
41008         * catgets/gencat.c: Include it.
41009         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
41010         * elf/pldd.c: Likewise.
41011         * iconv/iconv_charmap.c: Likewise.
41012         * iconv/iconvconfig.c: Likewise.
41013         * iconv/strtab.c: Likewise.
41014         * locale/programs/locale.c: Likewise.
41015         * locale/programs/localedef.h: Likewise.
41016         * locale/programs/simple-hash.c: Likewise.
41017         * nscd/nscd.h: Likewise.
41018         * nss/makedb.c: Likewise.
41019         * sysdeps/generic/ldconfig.h: Likewise.
41021 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41023         * Versions.def: Add GLIBC_2.18.
41024         * include/link.h (struct link_map): New member l_tls_dtor_count.
41025         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
41026         (__call_tls_dtors): Likewise.
41027         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
41028         __cxa_thread_atexit_impl.
41029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41030         Likewise.
41031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41032         Likewise.
41033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41034         Likewise.
41035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41036         Likewise.
41037         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
41039         Likewise.
41040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
41041         Likewise.
41042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41044         Likewise.
41045         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
41046         (tests): Add test case tst-tls-atexit.
41047         (modules-names): Add shared library for tst-tls-atexit.
41048         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
41049         (GLIBC_PRIVATE): Add __call_tls_dtors.
41050         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
41051         for libstdc++.
41052         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
41053         * stdlib/tst-tls-atexit.c: New test case.
41054         * stdlib/tst-tls-atexit-lib.c: New test case.
41056         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
41058         * elf/Versions (ld): Add _dl_find_dso_for_object.
41059         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
41060         * elf/dl-open.c (_dl_find_dso_for_object): New function.
41061         (dl_open_worker): Use _dl_find_dso_for_object.
41062         * elf/dl-sym.c (do_sym): Likewise.
41063         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
41065 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41067         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
41068         Syntactic changes only.
41069         (_dl_runtime_profile): Do a tail-call to the resolved function.
41071 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
41073         [BZ #13550]
41074         * sysdeps/x86_64/bp-asm.h: Remove file.
41075         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
41076         <bp-sym.h> and <bp-asm.h>.
41077         (__clone): Do not use BP_SYM.
41078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
41079         <bp-sym.h> and <bp-asm.h>.
41080         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41081         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
41082         "bp-asm.h".
41083         (_setjmp): Do not use BP_SYM.
41084         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
41085         "bp-asm.h".
41086         (setjmp): Do not use BP_SYM.
41087         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
41088         libc_hidden_def.
41089         (mempcpy): Do not use BP_SYM in weak_alias.
41090         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
41091         "bp-asm.h".
41092         (strchr): Do not use BP_SYM.
41093         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
41094         "bp-asm.h".
41095         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
41096         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
41097         (_start): Do not use BP_SYM.
41098         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
41099         "bp-asm.h".
41100         (strcat): Do not use BP_SYM.
41101         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
41102         "bp-asm.h".
41103         (STRCMP): Do not use BP_SYM.
41104         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
41105         "bp-asm.h".
41106         (STRCPY): Do not use BP_SYM.
41107         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
41108         "bp-asm.h".
41109         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
41110         "bp-asm.h".
41111         (FUNCTION): Do not use BP_SYM.
41112         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
41113         weak_alias.
41114         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
41116 2013-02-17  Andreas Jaeger  <aj@suse.de>
41118         * time/Versions: Sort entries.
41119         * string/Versions: Likewise.
41120         * resolv/Versions: Likewise.
41121         * posix/Versions: Likewise.
41122         * iconv/Versions: Likewise.
41123         * elf/Versions: Likewise.
41124         * wcsmbs/Versions: Likewise.
41126 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41128         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41129         loop termination condition.
41131         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41132         variable to calculate EZ.
41133         (__sqr): Likewise.
41135         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41136         the lower precision input.
41138 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
41140         [BZ #13550]
41141         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41142         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41143         (run-via-rtld-prefix): Do not handle %-bp tests.
41144         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41145         (all-object-suffixes): Remove .ob.
41146         (bppfx): Remove variable.
41147         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41148         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41149         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41150         [$(build-bounded) = yes] (libtype.ob): Likewise.
41151         * Makerules (elide-routines.ob): Remove variable.
41152         (do-tests-clean): Do not handle *-bp.out.
41153         (common-mostlyclean): Do not handle *-bp and *-bp.out.
41154         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41155         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41156         (tests): Do not include $(tests-bp.out).
41157         (xtests): Do not include $(xtests-bp.out).
41158         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41159         [$(build-bounded) = yes] ($(addprefix
41160         $(objpfx),$(binaries-bounded))): Remove rule.
41161         ($(objpfx)%-bp.out): Remove rule.
41162         * config.make.in (build-bounded): Remove variable.
41163         * crypt/Makefile [$(build-bounded) = yes]
41164         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41165         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41166         append to variable.
41167         [$(build-bounded) = yes] (install-lib): Likewise.
41168         [$(build-bounded) = yes] (generated): Likewise.
41169         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41170         Remove rule.
41171         * intl/Makefile [$(build-bounded) = yes]
41172         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41173         * math/Makefile [$(build-bounded) = yes]
41174         ($(tests:%=$(objpfx)%-bp): Likewise.
41175         * misc/Makefile [$(build-bounded) = yes]
41176         ($(objpfx)tst-tsearch-bp): Likewise.
41177         * nptl/Makeconfig (bounded-thread-library): Remove variable.
41178         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41179         Remove dependency.
41180         * string/Makefile (o-objects.ob): Remove variable.
41181         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41182         (CFLAGS-.ob): Remove variable.
41183         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41184         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41185         both definitions of variable.
41186         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41187         (ASFLAGS-.ob): Remove variable.
41189 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
41191         [BZ #13550]
41192         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41193         Remove __BOUNDED_POINTERS__ from condition.
41194         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41195         * string/bits/string2.h [!__NO_STRING_INLINES &&
41196         !__BOUNDED_POINTERS__]: Likewise.
41197         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41198         Likewise.
41199         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41200         Remove conditional code.
41201         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41202         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41203         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41204         condition.
41206         [BZ #13550]
41207         * csu/libc-start.c: Do not include <bp-sym.h>.
41208         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41209         * elf/dl-open.c: Do not include <bp-sym.h>.
41210         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41211         * math/fegetenv.c: Do not include <bp-sym.h>.
41212         (fegetenv): Do not use BP_SYM in versioned symbols.
41213         * nptl/sysdeps/pthread/bits/libc-lockP.h
41214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41215         <bp-sym.h>.
41216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41217         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41218         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41219         (__pthread_mutex_destroy): Likewise.
41220         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41221         (__pthread_mutex_lock): Likewise.
41222         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41223         (__pthread_mutex_trylock): Likewise.
41224         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41225         (__pthread_mutex_unlock): Likewise.
41226         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41227         (__pthread_mutexattr_init): Likewise.
41228         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41229         (__pthread_mutexattr_destroy): Likewise.
41230         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41231         (__pthread_mutexattr_settype): Likewise.
41232         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41233         (__pthread_rwlock_init): Likewise.
41234         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41235         (__pthread_rwlock_destroy): Likewise.
41236         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41237         (__pthread_rwlock_rdlock): Likewise.
41238         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41239         (__pthread_rwlock_tryrdlock): Likewise.
41240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41241         (__pthread_rwlock_wrlock): Likewise.
41242         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41243         (__pthread_rwlock_trywrlock): Likewise.
41244         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41245         (__pthread_rwlock_unlock): Likewise.
41246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41247         (__pthread_key_create): Likewise.
41248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41249         (__pthread_setspecific): Likewise.
41250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41251         (__pthread_getspecific): Likewise.
41252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41253         Likewise.
41254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41255         (_pthread_cleanup_push_defer): Likewise.
41256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41257         (_pthread_cleanup_pop_restore): Likewise.
41258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41259         (pthread_setcancelstate): Likewise.
41260         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41261         <bp-sym.h>.
41262         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41263         (memchr): Do not use BP_SYM in weak_alias.
41264         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41265         (fegetenv): Do not use BP_SYM in versioned symbols.
41266         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41267         (fesetenv): Do not use BP_SYM in versioned symbols.
41268         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41269         (feupdateenv): Do not use BP_SYM in versioned symbols.
41270         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41271         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41272         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41273         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41274         (open64): Do not use BP_SYM in weak_alias.
41275         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41276         (fegetenv): Do not use BP_SYM in versioned symbols.
41277         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41278         (fesetenv): Do not use BP_SYM in versioned symbols.
41279         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41280         (feupdateenv): Do not use BP_SYM in versioned symbols.
41281         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41282         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41283         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41284         (feraiseexcept): Do not use BP_SYM in versioned symbols.
41285         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41286         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41287         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41288         <bp-sym.h>.
41289         (__libc_start_main): Do not use BP_SYM.
41291 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41294         redundant return line.
41295         (norm): Likewise.
41296         (denorm): Likewise.
41297         (dbl_mp): Likewise.
41298         (sub_magnitudes): Likewise.
41299         (__add): Likewise.
41300         (__sub): Likewise.
41301         (__mul): Likewise.
41302         (__inv): Likewise.
41303         (__dvd): Likewise.
41304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41305         (norm): Likewise.
41306         (denorm): Likewise.
41307         (dbl_mp): Likewise.
41308         (sub_magnitudes): Likewise.
41309         (__add): Likewise.
41310         (__sub): Likewise.
41311         (__mul): Likewise.
41312         (__inv): Likewise.
41313         (__dvd): Likewise.
41315         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41316         instead of __mul.
41317         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41318         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41319         (cc32): Likewise.
41321         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41322         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41323         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41324         of __mul for squares.
41325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41326         function
41327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41328         Likewise.
41329         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41330         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41332 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
41334         [BZ #13550]
41335         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41336         code.
41337         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41338         prototype or function definition.  Rename ubp_* variables and
41339         parameters.  Remove argv definitions conditional on
41340         [__BOUNDED_POINTERS__].
41341         * debug/backtrace.c (__backtrace): Do not use __unbounded.
41342         * elf/dl-runtime.c (_dl_fixup): Likewise.
41343         * include/set-hooks.h (RUN_HOOK): Likewise.
41344         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41345         definition.
41346         * string/strcpy.c (strcpy): Do not use __unbounded.
41347         * sysdeps/generic/frame.h (struct layout): Likewise.
41348         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41349         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41350         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41351         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41352         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41353         (__backtrace): Likewise.
41354         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41355         use __ptrvalue.
41356         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41357         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41358         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41359         Likewise.
41360         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41361         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41362         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41363         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41364         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41365         Do not use __unbounded.
41366         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41367         Rename __unboundedrlimits parameter to rlimits in prototype.
41368         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41369         Do not use __unbounded.
41370         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41371         not use __ptrvalue.
41372         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41373         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41374         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41375         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41376         __ptrvalue or __unbounded.
41377         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41378         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41379         use __unbounded.
41380         (__new_msgctl): Do not use __ptrvalue.
41381         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41382         __unbounded.
41383         (__libc_msgrcv): Do not use __ptrvalue.
41384         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41385         startup_info): Do not use __unbounded.
41386         (__libc_start_main): Likewise.  Rename ubp_* variables and
41387         parameters.  Remove argv definitions conditional on
41388         [__BOUNDED_POINTERS__].
41389         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41390         __ptrvalue.
41391         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41392         use __unbounded.
41393         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41394         or __ptrvalue.
41395         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41396         use __unbounded.
41397         (__new_shmctl): Do not use __ptrvalue.
41398         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41399         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41400         Likewise.
41401         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41402         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41403         (__libc_sigaction): Likewise.
41404         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41405         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41406         Likewise.
41407         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41409 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
41411         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41413         * string/mempcpy.c: Implement by calling memcpy.
41415 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41417         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41420         evaluation.
41422         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41423         values in the mantissa.
41425         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41426         minimize writes to Z.
41427         (sub_magnitudes): Simplify code a bit.
41429 2013-02-12  Roland McGrath  <roland@hack.frob.com>
41431         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41432         from the message.  The linker prefixes all warnings with that already.
41434 2013-02-12  Andreas Schwab  <schwab@suse.de>
41436         [BZ #15078]
41437         * posix/regexec.c (extend_buffers): Add parameter min_len.
41438         (check_matching): Pass minimum needed length.
41439         (clean_state_log_if_needed): Likewise.
41440         (get_subexp): Likewise.
41441         * posix/Makefile (tests): Add bug-regex34.
41442         (bug-regex34-ENV): Define.
41443         * posix/bug-regex34.c: New file.
41445         [BZ #11561]
41446         * posix/regcomp.c (parse_bracket_exp): When looking up collating
41447         elements compare against the byte sequence of it, not its name.
41448         * posix/Makefile (tests): Add bug-regex35.
41449         (bug-regex35-ENV): Define.
41450         * posix/bug-regex35.c: New file.
41452 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41454         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
41455         comment.
41456         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41457         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41458         (CHECK_EOL): Add undef.
41460 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
41462         * bits/stdlib-bsearch.h: New file.
41463         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41464         * stdlib/stdlib.h: Likewise.
41466 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41468         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41469         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41470         declaration.
41471         * manual/search.texi (Array Search Function): Add missing const in
41472         lfind prototype.
41473         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41474         declaration to use rlim_t.
41475         (Basic Scheduling Functions): Remove erroneous const from
41476         sched_getparam prototype.  Remove erroneous * from
41477         sched_get_priority_max and sched_get_priority_min prototypes.
41478         (Resource Usage): Fix summary @comment on vtimes to refer to
41479         sys/vtimes.h rather than vtimes.h.
41480         Add missing *s in vtimes prototype.
41481         (Limits on Resources): Fix ulimit prototype to return long int.
41482         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41483         prototypes to use long int rather than double.
41484         (BSD Random): Fix initstate and setstate to use char *, not void *.
41485         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41486         prototype to make second argument 'struct aiocb64 *const[]'.
41487         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41488         (Status of AIO Operations): Remove erroneous const in aio_return and
41489         aio_return64 prototypes.
41490         (Synchronizing I/O): Fix sync prototype to return void.
41491         * manual/startup.texi (Suboptions): Remove an erroneous const in
41492         getsubopt prototype.
41493         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41494         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41495         use size_t rather than int.
41496         (Scanning All Users): Likewise for getpwent_r.
41497         (Setting Groups): Add missing const to setgroups prototype.
41498         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41499         * manual/socket.texi (Host Names): Fix gethostbyaddr and
41500         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41501         'const void *' rather than 'const char *'.
41502         (Host Address Functions): Likewise for inet_ntop.
41503         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41504         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41505         ssize_t for return value.
41506         (Sending Data): Likewise for send, sendto, sendmsg.
41507         (Socket Option Functions): Add a missing const in setsockopt prototype.
41508         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41509         use wchar_t for the argument.
41510         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41511         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41512         take no arguments.
41513         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41514         double/float/long double for second argument.
41515         Fix return types of significand, significandf, significandl.
41516         * manual/filesys.texi (Setting Permissions): Use mode_t for second
41517         argument in fchmod prototype.
41518         (File Owner): Use uid_t and gid_t in fchown prototype.
41519         (File Times): Add const to utimes, futimes, and lutimes prototypes.
41520         (Making Special Files): Use mode_t and dev_t in mknod prototype.
41521         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41522         use 'const struct dirent **' as argument types to CMP function pointer
41523         argument.
41524         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41525         (File Times): Fix summary magic @comment for struct utimbuf and utime
41526         to refer to utime.h, not time.h.
41527         * manual/string.texi (Argz Functions): Add missing const in
41528         argz_extract and argz_next prototypes.
41529         (Finding Tokens in a String): Likewise for basename.
41530         (String/Array Comparison): Fix typo in wcscasecmp prototype.
41531         (Copying and Concatenation): Fix typo in wmemmove prototype.
41532         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41533         (Signal Stack): Remove erroneous const in sigstack prototype.
41534         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41535         prototype.
41536         (Simple Calendar Time): Likewise for stime.
41537         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41538         prototype.
41539         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41540         say sys/sysctl.h instead.
41541         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41542         and vsyslog prototypes.
41544 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41546         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41547         Remove.
41549 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41551         * misc/sys/mman.h: Fix typo in mremap comment.
41553 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41555         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41556         the '\0' terminator.
41558 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41560         [BZ #13550]
41561         * debug/segfault.c: Don't include <bp-checks.h>.
41562         * sysdeps/generic/bp-checks.h: Remove file.
41563         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41564         (__GETDENTS): Don't use CHECK_N.
41565         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41566         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41567         (__getgroups): Don't use CHECK_N.
41568         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41569         (setgroups): Don't use CHECK_N.
41570         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41571         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41572         (__libc_msgrcv): Don't use CHECK_N.
41573         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41574         (__libc_msgsnd): Don't use CHECK_N.
41575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41576         <bp-checks.h>.
41577         (__libc_pread): Don't use CHECK_N.
41578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41579         include <bp-checks.h>.
41580         (__libc_pread64): Don't use CHECK_N.
41581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41582         include <bp-checks.h>.
41583         (__libc_pwrite): Don't use CHECK_N.
41584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41585         include <bp-checks.h>.
41586         (__libc_pwrite64): Don't use CHECK_N.
41587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41588         <bp-checks.h>.
41589         (__libc_pread): Don't use CHECK_N.
41590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41591         include <bp-checks.h>.
41592         (__libc_pread64): Don't use CHECK_N.
41593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41594         include <bp-checks.h>.
41595         (__libc_pwrite): Don't use CHECK_N.
41596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41597         include <bp-checks.h>.
41598         (__libc_pwrite64): Don't use CHECK_N.
41599         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41600         (do_pread): Don't use CHECK_N.
41601         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41602         (do_pread64): Don't use CHECK_N.
41603         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41604         (do_pwrite): Don't use CHECK_N.
41605         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41606         (do_pwrite64): Don't use CHECK_N.
41607         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41608         (__libc_readv): Don't use CHECK_N.
41609         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41610         (semop): Don't use CHECK_N.
41611         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41612         <bp-checks.h>.
41613         (semtimedop): Don't use CHECK_N.
41614         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41615         (__libc_pread): Don't use CHECK_N.
41616         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41617         <bp-checks.h>.
41618         (__libc_pread64): Don't use CHECK_N.
41619         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41620         <bp-checks.h>.
41621         (__libc_pwrite): Don't use CHECK_N.
41622         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41623         <bp-checks.h>.
41624         (__libc_pwrite64): Don't use CHECK_N.
41625         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41626         <bp-checks.h>.
41627         (__libc_msgrcv): Don't use CHECK_N.
41628         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41629         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
41630         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41631         (__libc_writev): Don't use CHECK_N.
41633 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41635         * string/strcpy.c: Removed unused variable.
41637         * Makeconfig (+sysdep-includes): Define with := rather than =.
41638         Use an existing include/ subdir of each sysdeps dir before it.
41640 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41642         * nscd/connection.c (register_traced_file): Comment function.
41643         [HAVE_INOTIFY] (union __inev): Define.
41644         [HAVE_INOTIFY] (inotify_check_files): New function.
41645         [HAVE_INOTIFY] (clear_db_cache): Likewise.
41646         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41647         clear_db_cache.
41648         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41650 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41652         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41653         loaded if not already and that a failure is permanent.
41655 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41657         [BZ #15006]
41658         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41659         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41661 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41663         [BZ #13550]
41664         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41665         (CHECK_1_NULL_OK): Likewise.
41666         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41667         (__fxstat): Do not use CHECK_1.
41668         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41669         <bp-checks.h>.
41670         (___fxstat64): Do not use CHECK_1.
41671         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41672         <bp-checks.h>.
41673         (__fxstatat): Do not use CHECK_1.
41674         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41675         <bp-checks.h>.
41676         (__fxstatat64): Do not use CHECK_1.
41677         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41678         <bp-checks.h>.
41679         (__fxstat): Do not use CHECK_1.
41680         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41681         <bp-checks.h>.
41682         (__fxstatat): Do not use CHECK_1.
41683         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41684         <bp-checks.h>.
41685         (__getresgid): Do not use CHECK_1.
41686         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41687         <bp-checks.h>.
41688         (__getresuid): Do not use CHECK_1.
41689         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41690         <bp-checks.h>.
41691         (__lxstat): Do not use CHECK_1.
41692         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41693         <bp-checks.h>.
41694         (__old_msgctl): Do not use CHECK_1.
41695         (__new_msgctl): Likewise.
41696         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41697         <bp-checks.h>.
41698         (__new_setrlimit): Do not use CHECK_1.
41699         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41700         <bp-checks.h>.
41701         (__old_shmctl): Do not use CHECK_1.
41702         (__new_shmctl): Likewise.
41703         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41704         <bp-checks.h>.
41705         (__xstat): Do not use CHECK_1.
41706         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41707         (__lxstat): Do not use CHECK_1.
41708         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41709         <bp-checks.h>.
41710         (___lxstat64): Do not use CHECK_1.
41711         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41712         (__old_msgctl): Do not use CHECK_1.
41713         (__new_msgctl): Likewise.
41714         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41715         <bp-checks.h>.
41716         (__gettimeofday): Do not use CHECK_1.
41717         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41718         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41719         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41720         <bp-checks.h>.
41721         (__gettimeofday): Do not use CHECK_1.
41722         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41723         (__old_shmctl): Do not use CHECK_1_NULL_OK.
41724         (__new_shmctl): Do not use CHECK_1.
41725         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41726         <bp-checks.h>.
41727         (do_sigtimedwait): Do not use CHECK_1.
41728         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41729         <bp-checks.h>.
41730         (do_sigwaitinfo): Do not use CHECK_1.
41731         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41732         <bp-checks.h>.
41733         (msgctl): Do not use CHECK_1.
41734         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41735         <bp-checks.h>.
41736         (shmctl): Do not use CHECK_1.
41737         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41738         (ustat): Do not use CHECK_1.
41739         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41740         <bp-checks.h>.
41741         (__fxstat): Do not use CHECK_1.
41742         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41743         <bp-checks.h>.
41744         (__fxstatat): Do not use CHECK_1.
41745         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41746         <bp-checks.h>.
41747         (__lxstat): Do not use CHECK_1.
41748         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41749         <bp-checks.h>.
41750         (__xstat): Do not use CHECK_1.
41751         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41752         (__xstat): Do not use CHECK_1.
41753         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41754         (___xstat64): Do not use CHECK_1.
41756         [BZ #13550]
41757         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41758         definitions.
41759         (CHECK_BOUNDS_HIGH): Likewise.
41760         * string/strcpy.c: Do not include <bp-checks.h>.
41761         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41763 2013-02-07  Roland McGrath  <roland@hack.frob.com>
41765         * nscd/nscd-client.h (__nscd_drop_map_ref):
41766         Add __attribute__ ((unused)).
41767         * nis/nss-nisplus.h (niserr2nss): Likewise.
41769         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41770         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41772         * csu/libc-tls.c (init_static_tls, init_slotinfo):
41773         Remove inline keyword.
41774         * include/rounding-mode.h (round_away): Likewise.
41775         * libio/wfileops.c (adjust_wide_data): Likewise.
41776         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41777         (__m128i_strloadu_tolower): Likewise.
41778         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41779         (__m128i_strloadu_tolower): Likewise.
41780         * time/mktime.c (ydhms_diff): Likewise.
41781         * locale/elem-hash.h (elem_hash): Likewise.
41782         * locale/setlocale.c (setdata): Likewise.
41783         * posix/regex_internal.h (re_string_char_size_at): Likewise.
41784         (re_string_wchar_at): Likewise.
41785         (bitset_not, bitset_merge, bitset_mask): Likewise.
41786         [!(__GNUC__ > 3)] (inline): Remove macro.
41787         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41788         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41789         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41790         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41791         * string/memcmp.c (memcmp_bytes): Likewise.
41792         * locale/programs/locarchive.c (compute_hashval): Likewise.
41793         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41794         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41795         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41796         * nss/getent.c (print_rpc, print_protocols): Likewise.
41797         (print_passwd, print_group, print_aliases): Likewise.
41798         * nis/nss-nisplus.h (niserr2nss): Likewise.
41799         * nscd/connections.c (restart_p): Likewise.
41800         Change return type to bool.
41802 2013-02-05  Roland McGrath  <roland@hack.frob.com>
41804         * Makeconfig (all-Depend-files): Add existing
41805         $(sorted-subdirs:=/Depend) files.
41806         (all-subdirs): Remove nss.
41807         * sysdeps/unix/inet/Subdirs: Add it here instead.
41808         * hesiod/Depend: New file.
41810         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41811         instead of calling alloca.
41813         * io/lseek.c (__lseek): Rename to __libc_lseek.
41814         Define __lseek as an alias.
41816         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41818 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
41820         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41821         else clause and remove check for non-standard endianness.
41823 2013-02-04  David S. Miller  <davem@davemloft.net>
41825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41827 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
41829         [BZ #13550]
41830         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41831         (__ubp_memchr): Remove prototype.
41832         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41833         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41834         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41835         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41836         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41837         Remove alias.
41838         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41839         (__ubp_memchr): Likewise.
41840         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41841         (__ubp_memchr): Likewise.
41842         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41843         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41844         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41845         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41846         CHECK_STRING.
41847         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41848         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41849         (__getcwd): Do not use CHECK_STRING.
41850         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41851         <bp-checks.h>.
41852         (__real_chown): Do not use CHECK_STRING.
41853         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41854         <bp-checks.h>.
41855         (fchownat): Do not use CHECK_STRING.
41856         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41857         CHECK_STRING.
41858         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41859         <bp-checks.h>.
41860         (__lchown): Do not use CHECK_STRING.
41861         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41862         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41863         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41864         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41866         include <bp-checks.h>.
41867         (truncate64): Do not use CHECK_STRING.
41868         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41869         <bp-checks.h>.
41870         (__real_chown): Do not use CHECK_STRING.
41871         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41872         <bp-checks.h>.
41873         (__lchown): Do not use CHECK_STRING.
41874         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41875         <bp-checks.h>.
41876         (__chown): Do not use CHECK_STRING.
41877         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41878         <bp-checks.h>.
41879         (truncate64): Do not use CHECK_STRING.
41880         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41881         Likewise.
41882         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41883         (__xmknod): Do not use CHECK_STRING.
41884         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41885         <bp-checks.h>.
41886         (__xmknodat): Do not use CHECK_STRING.
41887         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41888         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41890 2013-02-04  Andreas Schwab  <schwab@suse.de>
41892         [BZ #14142]
41893         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41894         * include/netdb.h: Likewise for h_errno.
41895         * elf/tst-stackguard1.c: Include <tls.h>.
41897 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
41899         * elf/link.h (struct link_map): Extend the l_addr comment.
41900         * include/link.h (struct link_map): Likewise.
41902 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
41904         [BZ #13550]
41905         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41906         (BOUNDED_1): Remove macro.
41907         * debug/backtrace.c: Don't include <bp-checks.h>.
41908         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41909         (__backtrace): Likewise.
41910         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41911         <bp-checks.h>.
41912         (__backtrace): Don't use BOUNDED_1.
41913         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41914         <bp-checks.h>.
41915         (__backtrace): Don't use BOUNDED_1.
41916         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41917         (__backtrace): Don't use BOUNDED_1.
41918         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41919         (shmat): Don't use BOUNDED_N.
41921 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
41923         [BZ #13550]
41924         * sysdeps/generic/bp-start.h: Remove file.
41925         * csu/libc-start.c: Don't include <bp-start.h>.
41926         (LIBC_START_MAIN): Set up __environ directly instead of using
41927         INIT_ARGV_and_ENVIRON.
41928         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41929         <bp-start.h>.
41931         [BZ #13550]
41932         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41933         definitions.
41934         (CHECK_FCNTL): Likewise.
41935         (CHECK_N_PAGES): Likewise.
41937         [BZ #13550]
41938         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41939         definitions.
41940         (CHECK_SIGSET_NULL_OK): Likewise.
41941         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41942         <bp-checks.h>.
41943         (sigpending): Don't use CHECK_SIGSET.
41944         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41945         <bp-checks.h>.
41946         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41947         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41948         <bp-checks.h>.
41949         (do_sigsuspend): Don't use CHECK_SIGSET.
41950         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41951         use CHECK_SIGSET.
41952         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41953         (do_sigwait): Don't use CHECK_SIGSET.
41954         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41955         use CHECK_SIGSET.
41956         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41957         include <bp-checks.h>.
41958         (sigpending): Don't use CHECK_SIGSET.
41959         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41960         include <bp-checks.h>.
41961         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41962         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41963         <bp-checks.h>.
41964         (sigpending): Don't use CHECK_SIGSET.
41965         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41966         <bp-checks.h>.
41967         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41969         [BZ #13550]
41970         * sysdeps/generic/bp-semctl.h: Remove file.
41971         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41972         <bp-checks.h> and <bp-semctl.h>.
41973         (__old_semctl): Don't use CHECK_SEMCTL.
41974         (__new_semctl): Likewise.
41975         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41976         and <bp-semctl.h>.
41977         (__old_semctl): Don't use CHECK_SEMCTL.
41978         (__new_semctl): Likewise.
41979         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41980         <bp-checks.h> and <bp-semctl.h>.
41981         (__old_semctl): Don't use CHECK_SEMCTL.
41982         (__new_semctl): Likewise.
41983         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41984         <bp-checks.h> and <bp-semctl.h>.
41985         (semctl): Don't use CHECK_SEMCTL.
41987         [BZ #13550]
41988         * Makerules (elide-bp-thunks): Remove variable.
41989         (elide-routines.oS): Don't use $(elide-bp-thunks).
41990         (elide-routines.os): Likewise.
41991         (elide-routines.o): Likewise.
41992         (elide-routines.op): Likewise.
41993         (elide-routines.og): Likewise.
41994         (objects): Don't use $(bp-thunks).
41995         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41996         include.
41997         (common-generated): Do not add s-proto-bp.d.
41998         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41999         (int): Likewise.
42000         (typ): Likewise.
42001         Do not generate makefile rules for bounded-pointer thunks.
42002         * sysdeps/generic/bp-thunks.h: Remove file.
42003         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
42004         * sysdeps/unix/s-proto-bp.S: Likewise.
42006         [BZ #15062]
42007         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
42008         parts of result separately when argument is not close to line from
42009         -i to i and one part of argument is small.
42010         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42011         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42012         * math/libm-test.inc (cacos_test): Add more tests.
42013         (casin_test): Likewise.
42014         (casinh_test): Likewise.
42015         * sysdeps/i386/fpu/libm-test-ulps: Update.
42016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42018 2013-01-31  David S. Miller  <davem@davemloft.net>
42020         * po/de.po: Update from translation team.
42022 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
42024         * time/tzfile.c: Include stdint.h for SIZE_MAX.
42026 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
42028         * configure.in (_AC_PROG_CC_C89): New definition.
42029         * configure: Regenerate.
42031         * configure.in (AC_PROG_CPP): New definition.
42032         * configure: Regenerate.
42034 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42036         * debug/tst-backtrace.h: New file.
42037         * debug/tst-backtrace2.c: Include tst-backtrace.h.
42038         (ret): Remove variable.
42039         (x): Likewise.
42040         (FAIL): Remove macro.
42041         (NO_INLINE): Likewise.
42042         (fn1): Use match function instead of strstr.
42043         * debug/tst-backtrace3.c: Include tst-backtrace.h.
42044         (ret): Remove variable.
42045         (x): Likewise.
42046         (FAIL): Remove macro.
42047         (NO_INLINE): Likewise.
42048         (fn): Use match function instead of strstr.
42049         * debug/tst-backtrace4.c: Include tst-backtrace.h.
42050         (ret): Remove variable.
42051         (x): Likewise.
42052         (FAIL): Remove macro.
42053         (NO_INLINE): Likewise.
42054         (handle_signal): Use match function instead of strstr.
42055         * debug/tst-backtrace5.c: Include tst-backtrace.h.
42056         (ret): Remove variable.
42057         (x): Likewise.
42058         (FAIL): Remove macro.
42059         (NO_INLINE): Likewise.
42060         (handle_signal): Use match function instead of strstr.
42062 2013-01-23  Roland McGrath  <roland@hack.frob.com>
42064         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
42066 2013-01-23  David S. Miller  <davem@davemloft.net>
42068         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
42069         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
42070         argument of CAS if possible.
42071         * sysdeps/sparc/sparc64/bits/atomic.h
42072         (__arch_compare_and_exchange_val_32_acq): Likewise.
42073         (__arch_compare_and_exchange_val_64_acq): Likewise.
42075 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
42077         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
42078         * sysdeps/posix/ulimit.c: ... this.
42079         Include <limits.h>.
42080         * sysdeps/unix/bsd/ulimit.c: Remove file.
42082 2013-01-23  Adam Conrad  <adconrad@0c3.net>
42084         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
42085         (LDFLAGS-tst-array5): Likewise.
42087 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42089         [BZ #15036]
42090         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
42091         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
42092         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
42093         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
42095 2013-01-21  David S. Miller  <davem@davemloft.net>
42097         * sysdeps/sparc/backtrace.c: New file.
42098         * sysdeps/sparc/sparc32/backtrace.h: New file.
42099         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
42100         * sysdeps/sparc/sparc64/backtrace.h: New file.
42101         * sysdeps/sparc/sparc64/backtrace.c: Delete.
42102         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
42103         -funwind-tables.
42105 2013-01-21  Andreas Schwab  <schwab@suse.de>
42107         [BZ #15020]
42108         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
42109         closed its stdout.
42111 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
42113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
42114         "mpa2.h".
42115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42117 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
42118             Mark Mitchell  <mark@codesourcery.com>
42119             Tom de Vries  <tom@codesourcery.com>
42120             Paul Pluzhnikov  <ppluzhnikov@google.com>
42122         * debug/tst-backtrace2.c: New file.
42123         * debug/tst-backtrace3.c: Likewise.
42124         * debug/tst-backtrace4.c: Likewise.
42125         * debug/tst-backtrace5.c: Likewise.
42126         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42127         (CFLAGS-tst-backtrace3.c): Likewise.
42128         (CFLAGS-tst-backtrace4.c): Likewise.
42129         (CFLAGS-tst-backtrace5.c): Likewise.
42130         (LDFLAGS-tst-backtrace2): Likewise.
42131         (LDFLAGS-tst-backtrace3): Likewise.
42132         (LDFLAGS-tst-backtrace4): Likewise.
42133         (LDFLAGS-tst-backtrace5): Likewise.
42134         (tests): Add new tests tst-backtrace2, tst-backtrace3,
42135         tst-backtrace4 and tst-backtrace5.
42137 2013-01-18  Anton Blanchard  <anton@samba.org>
42138             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42140         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42141         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42142         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42143         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42145         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42146         "+r" and remove output regs list as redundant.  Add explicit inline
42147         asm to specify register of return val to work around compiler codegen
42148         bug.  Remove (int) cast on return value.  Add return type parameter to
42149         use in macro so that this macro does not truncate return value for
42150         64-bit values.
42151         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42152         pass to INTERNAL_VSYSCALL_NCS.
42153         (INLINE_VSYSCALL): Add 'long int' as return type to
42154         INTERNAL_VSYSCALL_NCS macro invocation.
42155         (INTERNAL_VSYSCALL): Add 'long int' as return type to
42156         INTERNAL_VSYSCALL_NCS macro invocation.
42157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42159 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42161         [BZ #14496]
42162         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42163         Fix application of SIMD FP exception mask.
42165         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42166         mp_no from a power of two.
42167         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42168         __mpexp_twomm1.  Use __pow_mp.
42170         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42171         multiplication.
42173 2013-01-17  David S. Miller  <davem@davemloft.net>
42175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42177 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42179         [BZ #15023]
42180         * include/complex.h: Condition contents on [!_COMPLEX_H].
42181         (__kernel_casinhf): New prototype.
42182         (__kernel_casinh): Likewise.
42183         (__kernel_casinhl): Likewise.
42184         * math/Makefile (libm_calls): Add k_casinh.
42185         * math/k_casinh.c: New file.
42186         * math/k_casinhf.c: Likewise.
42187         * math/k_casinhl.c: Likewise.
42188         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42189         finite nonzero arguments.
42190         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42191         finite nonzero arguments.
42192         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42193         finite nonzero arguments.
42194         * math/s_casinh.c: Do not include <float.h>.
42195         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42196         * math/s_casinhf.c: Do not include <float.h>.
42197         (__casinhf): Move code for finite nonzero arguments to
42198         k_casinhf.c.
42199         * math/s_casinhl.c: Do not include <float.h>.
42200         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42201         redefine.
42202         (__casinhl): Move code for finite nonzero arguments to
42203         k_casinhl.c.
42204         * math/libm-test.inc (cacos_test): Add more tests.
42205         * sysdeps/i386/fpu/libm-test-ulps: Update.
42206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42208 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
42210         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42211         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42212         [!HAVE_MREMAP]: Remove [defined linux] case.
42213         * malloc/arena.c: Do not include <malloc-sysdep.h>.
42215 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42217         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42219 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
42221         * elf/elf.h (R_386_SIZE32): New relocation.
42222         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42223         R_386_SIZE32.
42224         (elf_machine_rela): Likewise.
42225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42226         R_X86_64_SIZE64 and R_X86_64_SIZE32.
42228 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42230         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42231         (FP_FAST_FMA): Do not define.
42232         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42233         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42234         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42235         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42236         !_SOFT_FLOAT]: Likewise.
42237         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42238         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42239         value.
42240         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42241         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42242         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42243         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42244         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42245         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42246         file.
42248 2013-01-16  Andreas Schwab  <schwab@suse.de>
42250         [BZ #14327]
42251         * include/stdlib.h (__mktemp): Add declaration.
42252         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42253         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42255 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42257         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42258         definitions.
42259         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42260         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42261         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42262         definitions here.
42263         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42264         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42265         definitions.
42266         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42267         and ONE.
42268         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42269         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42270         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42271         definitions.
42272         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42273         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42274         definitions.
42275         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42277         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42279 2013-01-15  David S. Miller  <davem@davemloft.net>
42281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42282         trunc{,f} to libm-sysdep_routes.
42283         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42285         file.
42286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42288         file.
42289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42290         file.
42291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42293         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42294         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42295         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42296         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42297         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42298         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42301         nearbyint{,f} to libm-sysdep_routes.
42302         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42304         New file.
42305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42306         file.
42307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42308         New file.
42309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42310         file.
42311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42313         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42314         file.
42315         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42316         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42317         file.
42318         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42319         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42320         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42322         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42323         libc_feholdexcept and libc_fesetenv.
42325 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
42327         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42329 2013-01-14  David S. Miller  <davem@davemloft.net>
42331         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42332         (SPARC_ASM_VIS2_IFUNC): Likewise.
42333         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42335         use of 'siam' instruction.
42336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42337         Likewise.
42338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42339         Likewise.
42340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42341         Likewise.
42342         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42343         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42344         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42345         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42347         file.
42348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42349         file.
42350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42351         file.
42352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42353         file.
42354         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42355         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42356         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42359         new VIS2 routines.
42360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42363         Likewise.
42364         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42365         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42366         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42367         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42369         routines to libm-sysdep_routines.
42370         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42373         fdim/fdimf to libm-sysdep_routines.
42374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42375         file.
42376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42378         file.
42379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42382         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42383         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42384         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42385         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42387 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42389         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42390         to optimize copies.
42392         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42394         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42397         local variable MPTWO.
42398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42399         Likewise.
42401 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42403         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42404         GLOB_NOESCAPE.
42406 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42408         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42410 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42412         * manual/pattern.texi (glob_t): Document gl_flags.
42413         (glob64_t): Likewise.
42415 2013-01-11  David S. Miller  <davem@davemloft.net>
42417         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42418         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42419         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
42420         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42421         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42422         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42423         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42424         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42425         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42426         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42427         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42428         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42429         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42431         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42432         sparc V9 rather than using V8 code.
42433         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42434         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42436         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42437         Move to...
42438         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42439         Here.
42441 2013-01-11  Roland McGrath  <roland@hack.frob.com>
42443         [BZ #14941]
42444         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42445         not in the main loop.
42446         * configure: Regenerated.
42448 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
42450         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42451         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42452         to just #else.
42453         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
42454         [!__GLIBC_HAVE_LONG_LONG] case.
42455         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42456         condition to just #else.
42457         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42458         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42459         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42460         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42461         unconditional.
42462         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42463         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42464         #elif condition to just #else.
42465         * sysdeps/unix/sysv/linux/sys/sysmacros.h
42466         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42467         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42468         #elif condition to just #else.
42470 2013-01-11  Steve Ellcey  <sellcey@mips.com>
42472         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42473         (EF_MIPS_ARCH_64): Fix value.
42474         (EF_MIPS_ARCH_32R2): New.
42475         (EF_MIPS_ARCH_64R2): New.
42477 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
42479         * Makeconfig (+link-pie-before-libc): New.
42480         (+link-pie-after-libc): Likewise.
42481         (+link-pie-tests): Likewise.
42482         (+link-pie): Rewritten.
42483         (link-before-libc): Remove $(config-LDFLAGS).
42484         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42485         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42486         (config-LDFLAGS): Renamed to ...
42487         (rtld-LDFLAGS): This.
42488         (rtld-tests-LDFLAGS): New macro.
42489         (link-libc-rpath-link): Likewise.
42490         (link-libc-tests-rpath-link): Likewise.
42491         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42492         (link-libc): Prepand $(link-libc-rpath-link).
42493         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42494         (test-program-prefix): New macro.
42495         (test-via-rtld-prefix): Likewise.
42496         (test-program-cmd): Likewise.
42497         (host-test-program-cmd): Likewise.
42498         * Makefile ($(common-objpfx)testrun.sh): Replace
42499         $(run-program-prefix) with $(test-program-prefix).
42500         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42501         $(rtld-LDFLAGS).
42502         ($(common-objpfx)shlib.lds): Likewise.
42503         (build-module-helper): Likewise.
42504         ($(common-objpfx)format.lds): Likewise.
42505         * Rules (binaries-pie-tests): New.
42506         (binaries-pie-notests): Likewise.
42507         (binaries-pie): Rewritten.
42508         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42509         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42510         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42511         (make-test-out): Replace $(host-built-program-cmd) with
42512         $(host-test-program-cmd).
42513         * config.make.in (build-hardcoded-path-in-tests): New variable.
42514         * configure.in (--enable-hardcoded-path-in-tests): New configure
42515         option.
42516         (hardcoded_path_in_tests): New AC_SUBST.
42517         * configure: Regenerated.
42518         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42519         $(built-program-cmd) with $(test-program-cmd).
42520         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42521         (test_program_cmd): This.
42522         * elf/Makefile ($(objpfx)order.out): Run test with
42523         $(test-program-prefix).
42524         ($(objpfx)order2.out): Likewise.
42525         ($(objpfx)tst-initorder.out): Likewise.
42526         ($(objpfx)tst-initorder2.out): Likewise.
42527         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42528         $(test-program-cmd).
42529         ($(objpfx)tst-array1-static.out): Likewise.
42530         ($(objpfx)tst-array2.out): Likewise.
42531         ($(objpfx)tst-array3.out): Likewise.
42532         ($(objpfx)tst-array4.out): Likewise.
42533         ($(objpfx)tst-array5.out): Likewise.
42534         ($(objpfx)tst-array5-static.out): Likewise.
42535         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42536         $(test-program-cmd).
42537         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42538         $(run-program-prefix) with $(test-program-prefix).
42539         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42540         (test_program_prefix): This.
42541         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42542         $(run-program-prefix) with $(test-program-prefix).
42543         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42544         (test_program_prefix): This.
42545         * iconvdata/tst-tables.sh: Likewise.
42546         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42547         $(run-program-prefix) with $(test-program-prefix).
42548         ($(objpfx)tst-translit.out): Likewise.
42549         ($(objpfx)tst-gettext2.out): Likewise.
42550         ($(objpfx)tst-gettext4.out): Likewise.
42551         ($(objpfx)tst-gettext6.out): Likewise.
42552         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42553         (test_program_prefix): This.
42554         * intl/tst-gettext2.sh: Likewise.
42555         * intl/tst-gettext4.sh  Likewise.
42556         * intl/tst-gettext6.sh: Likewise.
42557         * intl/tst-translit.sh: Likewise.
42558         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42559         with $(test-program-cmd).
42560         * libio/Makefile ($(objpfx)test-freopen.out): Replace
42561         $(run-program-prefix) with $(test-program-prefix).
42562         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42563         (test_program_prefix): This.
42564         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42565         $(run-program-prefix) with $(test-program-prefix).
42566         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42567         (test_program_prefix): This.
42568         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42569         * posix/Makefile ($(objpfx)globtest.out): Replace
42570         $(run-via-rtld-prefix) and $(test-wrapper) with
42571         $(test-program-prefix) and $(test-via-rtld-prefix).
42572         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42573         $(test-program-prefix).
42574         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42575         $(host-test-program-cmd).
42576         (tst-spawn-ARGS): Likewise.
42577         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42578         $(test-program-prefix).
42579         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42580         (test_via_rtld_prefix): This.
42581         (test_wrapper): Renamed to ...
42582         (test_program_prefix): This.
42583         (run_program_prefix): Replaced by test_program_prefix.
42584         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42585         (test_program_prefix): This.
42586         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42587         with $(host-test-program-cmd).
42588         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42589         $(run-program-prefix) with $(test-program-prefix).
42590         ($(objpfx)tst-printf.out): Likewise.
42591         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42592         $(test-program-cmd).
42593         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42594         (test_program_prefix): This.
42595         * stdio-common/tst-unbputc.sh: Likewise.
42596         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42597         $(run-program-prefix) with $(test-program-prefix).
42598         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42599         (test_program_prefix): This.
42600         * string/Makefile ($(objpfx)tst-svc.out):  Replace
42601         $(built-program-cmd) with $(test-program-cmd).
42603 2013-01-11  Andreas Jaeger  <aj@suse.de>
42605         [BZ #15003]
42606         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42607         value. Sync with Linux 3.7.
42609 2013-01-10  David S. Miller  <davem@davemloft.net>
42611         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42612         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42613         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42615 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42617         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42618         never set.
42619         * configure: Regenerated.
42621 2013-01-10  David S. Miller  <davem@davemloft.net>
42623         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42624         sparc V9 rather than using V8 code.
42625         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42626         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42628 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42630         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42631         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42632         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42633         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42634         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42635         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42636         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42637         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42638         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42639         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42640         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42641         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42642         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42643         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42644         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42645         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42646         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42647         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42648         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42649         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42650         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42651         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42652         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42653         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42654         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42655         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42656         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42658 2013-01-10  David S. Miller  <davem@davemloft.net>
42660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42662 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42664         * posix/Makefile (tests-static): New variable.
42665         (tests): Add $(tests-static).
42666         (tst-exec-static-ARGS): New variable.
42667         (tst-spawn-static-ARGS): Likewise.
42668         * posix/tst-exec-static.c: New file.
42669         * posix/tst-spawn-static.c: Likewise.
42670         * posix/tst-exec.c: Support run directly.
42671         * posix/tst-spawn.c: Likewise.
42673 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
42675         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42676         long.
42677         * math/bits/mathcalls.h (llrint): Likewise.
42678         (llround): Likewise.
42679         * stdlib/stdlib.h (struct drand48_data): Likewise.
42680         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42681         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42682         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42683         Likewise.
42684         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42685         Likewise.
42686         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42687         (elf_greg_t): Likewise.
42688         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42689         (__jmp_buf): Likewise.
42690         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42691         definitions.
42692         (llrint): Likewise, for all definitions.
42693         (llrintl): Likewise.
42695         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42696         Remove [__GNUC__] condition.
42697         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42698         condition to just [__USE_ISOC99].
42699         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42701 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42703         [BZ #14200]
42704         * sysdeps/unix/sysv/linux/x86/bits/environments.h
42705         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42706         defined.
42707         (_POSIX_V6_ILP32_OFF32): Likewise.
42708         (_XBS5_ILP32_OFF32): Likewise.
42709         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42710         (__ILP32_OFFBIG_LDFLAGS): Likewise.
42712 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42714         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42717         doubles __mpexp_twomm1.  Adjust usage.
42718         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42719         Remove.
42721 2013-01-10  Andreas Schwab  <schwab@suse.de>
42723         [BZ #14964]
42724         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42725         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42727 2013-01-09  David S. Miller  <davem@davemloft.net>
42729         [BZ #15003]
42730         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42731         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42732         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42733         (TCP_FASTOPEN): Define.
42734         (tcp_repair_opt): New structure.
42735         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42736         enum values.
42737         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42738         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42739         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42740         (tcp_cookie_transactions): New structure.
42742 2013-01-09  Anton Blanchard  <anton@samba.org>
42744         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42745         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42746         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42747         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42749 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
42751         * include/features.h (__USE_ANSI): Remove.
42753 2013-01-09  Roland McGrath  <roland@hack.frob.com>
42755         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42757         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42759 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
42761         * sysdeps/s390/fpu/libm-test-ulps: Update.
42763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42765         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42766         (__acr): Likewise.
42767         (__cpy): Likewise.
42768         (norm): Likewise.
42769         (denorm): Likewise.
42770         (__mp_dbl): Likewise.
42771         (__dbl_mp): Likewise.
42772         (add_magnitudes): Likewise.
42773         (sub_magnitudes): Likewise.
42774         (__add): Likewise.
42775         (__sub): Likewise.
42776         (__mul): Likewise.
42777         (__inv): Likewise.
42778         (__dvd): Likewise.
42779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42780         (__acr): Likewise.
42781         (__cpy): Likewise.
42782         (norm): Likewise.
42783         (denorm): Likewise.
42784         (__mp_dbl): Likewise.
42785         (__dbl_mp): Likewise.
42786         (add_magnitudes): Likewise.
42787         (sub_magnitudes): Likewise.
42788         (__add): Likewise.
42789         (__sub): Likewise.
42790         (__mul): Likewise.
42791         (__inv): Likewise.
42792         (__dvd): Likewise.
42793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42794         (__acr): Likewise.
42795         (__cpy): Likewise.
42796         (norm): Likewise.
42797         (denorm): Likewise.
42798         (__mp_dbl): Likewise.
42799         (__dbl_mp): Likewise.
42800         (add_magnitudes): Likewise.
42801         (sub_magnitudes): Likewise.
42802         (__add): Likewise.
42803         (__sub): Likewise.
42804         (__mul): Likewise.
42805         (__inv): Likewise.
42806         (__dvd): Likewise.
42808 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
42810         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42811         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42812         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42813         2 && __USE_EXTERN_INLINES]: Likewise.
42815 2013-01-08  Andreas Jaeger  <aj@suse.de>
42817         [BZ# 14985]
42818         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42819         Remove.
42820         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42821         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42823 2013-01-07  Anton Blanchard  <anton@samba.org>
42825         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42826         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42827         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42828         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42829         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42830         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42831         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42832         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42834         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42835         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42836         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42837         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42838         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42839         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42840         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42841         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42842         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42843         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42844         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42845         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42846         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42847         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42848         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42849         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42850         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42851         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42852         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42853         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42854         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42855         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42857         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42858         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42859         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42860         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42861         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42862         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42863         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42864         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42865         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42866         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42867         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42869 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
42871         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42872         (__MALLOC_PMT): Likewise.
42873         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42874         [__GNUC__], only on [_LIBC].
42875         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42876         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42877         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42878         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42879         forward declaration.
42880         (realloc_hook_ini): Likewise.
42881         (memalign_hook_ini): Likewise.
42882         (__libc_memalign): Do not use __MALLOC_PMT in variable
42883         declaration.
42884         (__libc_valloc): Likewise.
42885         (__libc_pvalloc): Likewise.
42886         (__libc_calloc): Likewise.
42887         (__posix_memalign): Likewise.
42889         [BZ #14996]
42890         * math/s_casinh.c: Include <float.h>.
42891         (__casinh): Do not do computation with squaring and square root
42892         for large arguments.
42893         * math/s_casinhf.c: Include <float.h>.
42894         (__casinhf): Do not do computation with squaring and square root
42895         for large arguments.
42896         * math/s_casinhl.c: Include <float.h>.
42897         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42898         (__casinhl): Do not do computation with squaring and square root
42899         for large arguments.
42900         * math/libm-test.inc (casin_test): Add more tests.
42901         (casinh_test): Likewise.
42902         * sysdeps/i386/fpu/libm-test-ulps: Update.
42903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42905 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
42907         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42908         (__x86_64_raw_data_cache_size): Likewise.
42909         (__x86_64_data_cache_size_half): Likewise.
42910         (__x86_64_raw_data_cache_size_half): Likewise.
42911         (__x86_64_shared_cache_size): Likewise.
42912         (__x86_64_raw_shared_cache_size): Likewise.
42913         (__x86_64_shared_cache_size_half): Likewise.
42914         (__x86_64_raw_shared_cache_size_half): Likewise.
42915         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42916         to ...
42917         (__x86_data_cache_size): This.
42918         (__x86_64_raw_data_cache_size): Renamed to ...
42919         (__x86_raw_data_cache_size): This.
42920         (__x86_64_data_cache_size_half): Renamed to ...
42921         (__x86_data_cache_size_half): This.
42922         (__x86_64_raw_data_cache_size_half): Renamed to ...
42923         (__x86_raw_data_cache_size_half): This.
42924         (__x86_64_shared_cache_size): Renamed to ...
42925         (__x86_shared_cache_size): This.
42926         (__x86_64_raw_shared_cache_size): Renamed to ...
42927         (__x86_raw_shared_cache_size): This.
42928         (__x86_64_shared_cache_size_half): Renamed to ...
42929         (__x86_shared_cache_size_half): This.
42930         (__x86_64_raw_shared_cache_size_half): Renamed to ...
42931         (__x86_raw_shared_cache_size_half): This.
42932         * sysdeps/x86_64/memcpy.S: Updated.
42933         * sysdeps/x86_64/memset.S: Likewise.
42934         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42935         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42936         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42938 2013-01-04  David S. Miller  <davem@davemloft.net>
42940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42942 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
42944         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42945         1 to avoid redefinition warning.
42946         (__USE_GNU): Don't define.
42947         (init_signaling_nan): Protoize.
42949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42951 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42953         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42955         (__cpymn): Likewise.
42956         (norm): Remove commented code.
42957         (denorm): Likewise.
42958         (__mp_dbl): Likewise.
42959         (__inv): Likewise.
42960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42961         (__cpymn): Likewise.
42962         (norm): Remove commented code.
42963         (denorm): Likewise.
42964         (__mp_dbl): Likewise.
42965         (__inv): Likewise.
42967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42968         mp_no value for 1.0 and 2.0.
42969         (norm): Use RADIXI instead of radixi.d.
42970         (denorm): Likewise.
42971         (__mul): Use 0.0 instead of zero.d.
42972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42973         mp_no value for 1.0 and 2.0.
42974         (norm): Use RADIXI instead of radixi.d.
42975         (denorm): Likewise.
42976         (__mul): Use 0.0 instead of zero.d.
42978 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
42980         [BZ #14994]
42981         * math/s_casinh.c (__casinh): Reduce finite argument to first
42982         quadrant then set signs of results at the end.
42983         * math/s_casinhf.c (__casinhf): Likewise.
42984         * math/s_casinhl.c (__casinhl): Likewise.
42985         * math/libm-test.inc (casin_test): Add more tests.
42986         (casinh_test): Likewise.
42987         * sysdeps/i386/fpu/libm-test-ulps: Update.
42988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42990 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42992         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42994         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42996         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42997         declarations.
42998         (denorm): Likewise.
42999         (__mp_dbl): Likewise.
43000         (__inv): Likewise.
43002         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
43003         and adjust the header comment.
43005         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
43006         variable name from declaration.
43008 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
43010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43011         Initialize COMMON_CPUID_INDEX_7 element.
43012         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
43013         (CPUID_RTM): Likewise.
43014         (HAS_RTM): Likewise.
43015         (COMMON_CPUID_INDEX_7): New enum.
43017 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
43019         [BZ #14981]
43020         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
43021         size is zero, record memory as freed.
43023 2013-01-03  Andreas Jaeger  <aj@suse.de>
43025         * po/ia.po: Add new Interlingua translation.
43027 2012-01-03  Allan McRae  <allan@archlinux.org>
43029         * locale/programs/localedef.c: Fix description of '--posix' flag.
43031 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
43033         * NEWS: Update dates in second copyright notice.
43034         * README: Update copyright dates in example.
43035         * manual/libc.texinfo: Update copyright dates.
43036         * scripts/test-installation.pl: Update copyright date in --version
43037         output.
43039         * hurd/ctty-input.c: Fix copyright notice formatting.
43040         * hurd/ctty-output.c: Likewise.
43041         * hurd/dtable.c: Likewise.
43042         * hurd/hurd-raise.c: Likewise.
43043         * hurd/hurdprio.c: Likewise.
43044         * hurd/msgportdemux.c: Likewise.
43045         * misc/sys/file.h: Likewise.
43046         * misc/sys/ioctl.h: Likewise.
43047         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43048         * sysdeps/mach/hurd/chdir.c: Likewise.
43049         * sysdeps/mach/hurd/fchdir.c: Likewise.
43050         * sysdeps/mach/hurd/rename.c: Likewise.
43051         * sysdeps/mach/hurd/rmdir.c: Likewise.
43052         * sysdeps/mach/hurd/seekdir.c: Likewise.
43053         * sysdeps/mach/hurd/setsid.c: Likewise.
43054         * sysdeps/posix/wait3.c: Likewise.
43056         * All files with FSF copyright notices: Update copyright dates
43057         using scripts/update-copyrights.
43058         * intl/plural.c: Regenerated.
43059         * locale/programs/charmap-kw.h: Likewise.
43060         * locale/programs/locfile-kw.h: Likewise.
43062 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43064         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
43065         four values.
43067         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
43068         calculation loop and add branch prediction.
43070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
43071         check access beyond bounds of m1np.
43073         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43074         MPTWO.
43075         (__inv): Remove local variable MPTWO to use the global
43076         constant.
43077         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
43078         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43079         variable MPTWO.
43080         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
43081         MP3HALFS static const.
43083 2013-01-01  David S. Miller  <davem@davemloft.net>
43085         * po/ca.po: Update from translation team.
43087 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
43089         * scripts/update-copyrights: New file.
43090         * Makeconfig: Reformat copyright notice.
43091         * ctype/ctype.h: Likewise.
43092         * debug/swprintf_chk.c: Likewise.
43093         * elf/dl-cache.c: Likewise.
43094         * elf/dl-debug.c: Likewise.
43095         * elf/dl-object.c: Likewise.
43096         * grp/initgroups.c: Likewise.
43097         * hurd/Makefile: Likewise.
43098         * hurd/hurd/signal.h: Likewise.
43099         * hurd/hurdfault.c: Likewise.
43100         * hurd/hurdioctl.c: Likewise.
43101         * hurd/hurdlookup.c: Likewise.
43102         * hurd/intr-msg.c: Likewise.
43103         * iconv/gconv_open.c: Likewise.
43104         * libio/swprintf.c: Likewise.
43105         * locale/lc-ctype.c: Likewise.
43106         * locale/nl_langinfo.c: Likewise.
43107         * mach/Machrules: Likewise.
43108         * mach/Makefile: Likewise.
43109         * malloc/obstack.h: Likewise.
43110         * manual/Makefile: Likewise.
43111         * manual/tsort.awk: Likewise.
43112         * misc/bits/stab.def: Likewise.
43113         * nis/nis_print_group_entry.c: Likewise.
43114         * nis/nis_table.c: Likewise.
43115         * nis/nss_compat/compat-pwd.c: Likewise.
43116         * nis/nss_compat/compat-spwd.c: Likewise.
43117         * po/Makefile: Likewise.
43118         * posix/fnmatch.c: Likewise.
43119         * posix/regex.h: Likewise.
43120         * resolv/Makefile: Likewise.
43121         * resolv/nss_dns/dns-network.c: Likewise.
43122         * resolv/res_hconf.c: Likewise.
43123         * scripts/gen-sorted.awk: Likewise.
43124         * soft-fp/soft-fp.h: Likewise.
43125         * stdio-common/printf.h: Likewise.
43126         * stdlib/monetary.h: Likewise.
43127         * stdlib/random.c: Likewise.
43128         * stdlib/random_r.c: Likewise.
43129         * sysdeps/generic/Makefile: Likewise.
43130         * sysdeps/gnu/Makefile: Likewise.
43131         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43132         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43133         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43134         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43135         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43136         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43137         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43138         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43139         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43140         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43141         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43142         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43143         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43144         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43145         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43146         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43147         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43148         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43149         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43150         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43151         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43152         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43153         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43154         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43155         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43156         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43157         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43158         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43159         * sysdeps/mach/hurd/errnos.awk: Likewise.
43160         * sysdeps/mach/hurd/fork.c: Likewise.
43161         * sysdeps/mach/hurd/getcwd.c: Likewise.
43162         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43163         * sysdeps/mach/hurd/mmap.c: Likewise.
43164         * sysdeps/mach/hurd/utimes.c: Likewise.
43165         * sysdeps/mach/hurd/xmknod.c: Likewise.
43166         * sysdeps/posix/profil.c: Likewise.
43167         * sysdeps/posix/readdir_r.c: Likewise.
43168         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43169         * sysdeps/powerpc/bits/setjmp.h: Likewise.
43170         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43171         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43172         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43173         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43174         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43175         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43176         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43177         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43178         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43179         * sysdeps/pthread/lio_listio.c: Likewise.
43180         * sysdeps/sparc/dl-procinfo.h: Likewise.
43181         * sysdeps/unix/i386/sysdep.S: Likewise.
43182         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43183         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43184         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43185         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43187         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43188         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43189         * sysdeps/unix/sysv/linux/speed.c: Likewise.
43190         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43191         * sysdeps/wordsize-32/divdi3.c: Likewise.
43192         * time/sys/time.h: Likewise.
43193         * wcsmbs/Makefile: Likewise.
43195 2013-01-01  David S. Miller  <davem@davemloft.net>
43197         * po/fr.po: Update from translation team.
43199         * catgets/gencat.c: Update copyright year.
43200         * csu/version.c: Likewise.
43201         * debug/catchsegv.sh: Likewise.
43202         * debug/pcprofiledump.c: Likewise.
43203         * debug/xtrace.sh: Likewise.
43204         * elf/ldconfig.c: Likewise.
43205         * elf/ldd.bash.in: Likewise.
43206         * elf/pldd.c: Likewise.
43207         * elf/sotruss.ksh: Likewise.
43208         * elf/sprof.c: Likewise.
43209         * iconv/iconv_prog.c: Likewise.
43210         * iconv/iconvconfig.c: Likewise.
43211         * locale/programs/locale.c: Likewise.
43212         * locale/programs/localedef.c: Likewise.
43213         * login/programs/pt_chown.c: Likewise.
43214         * malloc/memusage.sh: Likewise.
43215         * malloc/memusagestat.c: Likewise.
43216         * malloc/mtrace.pl: Likewise.
43217         * nscd/nscd.c: Likewise.
43218         * nss/getent.c: Likewise.
43219         * nss/makedb.c: Likewise.
43220         * posix/getconf.c: Likewise.
43222 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43224         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43225         numbers.
43227 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
43229         * math/bits/mathcalls.h (modf): Use __nonnull.
43231 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43233         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43234         (split): Use macro CN instead of the bare value.
43235         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43236         could be used.
43237         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43238         instead of the bare value.
43239         (power1): Likewise.
43241 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43243         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43244         __ATAN_TWOM.
43245         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43247         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43248         their values.
43249         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43250         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43251         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43252         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43254 2012-12-28  Andreas Jaeger  <aj@suse.de>
43256         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
43257         values are from Linux 3.7.
43259         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43260         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
43262 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43264         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43265         TRUE case.
43267         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43268         (norm): Likewise.
43269         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43270         variables with preprocessor constants.
43271         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43272         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43273         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43275 2012-12-27  Bruno Haible  <bruno@clisp.org>
43277         [BZ #14317]
43278         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43279         only if needed.
43281 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43284         and use variable directly.
43285         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43287         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43288         MPONE.
43289         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43290         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43291         variable MPONE.
43292         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43293         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43294         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43295         include directive.  Remove local variable MPONE.
43296         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43297         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43298         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43300 2012-12-25  David S. Miller  <davem@davemloft.net>
43302         * version.h (RELEASE): Set to "development".
43303         (VERSION): Set to "2.17.90".
43304         * NEWS: Add 2.18 section.
43306 2012-12-21  David S. Miller  <davem@davemloft.net>
43308         * po/hr.po: Update from translation team.
43310 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43312         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43314 2012-12-19  Steve Ellcey  <sellcey@mips.com>
43316         * NEWS:  Mention new memcpy for MIPS.
43318 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43320         * manual/contrib.texi (Contributors): Spelling correction.
43322 2012-12-15  David S. Miller  <davem@davemloft.net>
43324         * po/ru.po: Update from translation team.
43326 2012-12-13  David S. Miller  <davem@davemloft.net>
43328         * NEWS: Mention IFUNC testsuite enhancements.
43330         * po/pl.po: Update from translation team.
43331         * po/bg.po: Likewise.
43333         * manual/contrib.texi (Contributors): Update entries for Hongjiu
43334         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
43336 2012-12-11  David S. Miller  <davem@davemloft.net>
43338         * po/sv.po: Update from translation team.
43340         * po/vi.po: Update from translation team.
43342         * po/cs.po: Update from translation team.
43344         * po/de.po: Update from translation team.
43345         * po/eo.po: Likewise.
43346         * po/nl.po: Likewise.
43348 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43350         [BZ #14246]
43351         * manual/argp.texi (Argp Helper Functions): Move node to follow
43352         Argp Parsing State.
43354         [BZ #14872]
43355         * manual/conf.texi (Limits on File System Capacity): Mention if
43356         terminating null is included in the max size.
43358 2012-12-10  Andreas Jaeger  <aj@suse.de>
43360         * po/cs.po: Update from translation team.
43362 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43364         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43365         void pointer and cast to uintptr_t.
43366         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43367         path.
43368         * sysdeps/s390/s390-64/memcpy.S: Likewise.
43369         * sysdeps/s390/s390-64/memset.S: Likewise.
43371 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
43373         [BZ #14833]
43374         * menual/message.texi (Message Translation): Fix typos.
43375         (Helper programs for gettext): Likewise.
43377 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
43379         [BZ #14898]
43380         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43381         Change to -1.
43383 2012-12-07  David S. Miller  <davem@davemloft.net>
43385         * po/libc.pot: Update.
43387 2012-12-07  Richard Henderson  <rth@redhat.com>
43389         [BZ #10114]
43390         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43391         normal/normal case to before the switch.
43392         (_FP_DIV): Likewise.
43394 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
43395             Mike Frysinger  <vapier@gentoo.org>
43397         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43398         check for __NR_fadvise64_64.
43400 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
43402         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43403         0, not just to plain "0" as a statement.
43404         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43405         with cw.
43407 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
43409         * NEWS: Use sourceware.org in Bugzilla URL.
43411 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43414         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43416         * stdio-common/tst-put-error.c (do_test): Add newline to the
43417         padded test to ensure flush.
43419 2012-12-05  Jeff Law  <law@redhat.com>
43421         * sunrpc/etc.rpc (fedfs_admin): Add entry.
43423 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
43425         * README: Don't refer to ports add-on as distributed separately.
43426         Mention AArch64 in list of systems supported in the ports add-on.
43428         * LICENSES: Add more non-FSF copyright and license notices.
43430         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43431         ((unused)).
43433         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43435         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43436         10000 as width of padded output.
43438 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43440         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43442         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43443         variable LX with __attribute__ ((unused)).
43444         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43445         Likewise.
43446         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43447         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43448         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43449         with __attribute__ ((unused)).
43451 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
43453         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43455 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43457         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43458         (CFLAGS-nldbl-acos.c): New variable.
43459         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43460         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43461         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43462         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43463         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43464         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43465         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43466         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43467         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43468         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43469         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43470         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43471         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43472         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43473         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43474         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43475         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43476         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43477         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43478         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43479         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43480         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43481         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43482         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43483         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43484         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43485         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43486         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43487         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43488         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43489         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43490         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43491         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43492         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43493         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43494         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43495         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43496         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43497         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43498         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43499         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43500         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43501         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43502         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43503         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43504         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43505         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43506         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43507         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43508         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43509         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43510         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43511         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43512         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43513         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43514         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43515         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43516         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43517         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43518         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43519         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43520         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43521         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43522         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43523         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43524         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43525         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43526         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43527         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43528         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43529         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43530         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43531         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43532         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43533         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43534         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43535         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43536         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43537         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43538         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43539         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43540         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43541         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43542         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43543         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43544         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43545         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43546         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43547         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43548         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43549         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43550         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43551         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43552         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43553         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43554         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43555         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43558         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43560         [BZ #14914]
43561         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43562         whole low double instead of just low 47 bits when splitting values
43563         into two parts.
43565 2012-12-03  Allan McRae  <allan@archlinux.org>
43567         * manual/stdio.texi (Predefined Printf Handlers): Remove
43568         @hsep and @vsep usage.
43570 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
43572         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43573         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43575 2012-12-03  Jeff Law  <law@redhat.com>
43577         * time/sys/time.h (settimeofday): Do not mark TV argument
43578         as __nonnull.
43580 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
43582         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43583         when currently writing and seek to current position when not.
43584         * libio/Makefile (tests): Remove bug-fclose1.
43585         * libio/bug-fclose1.c: Delete.
43587 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
43589         * manual/arith.texi (feenableexcept): Fix typo.
43590         (fedisableexcept): Likewise.
43592 2012-11-30  Roland McGrath  <roland@hack.frob.com>
43594         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43595         second, differently-typed declaration, rather than a cast.
43597 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43599         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43600         * include/rpc/svc.h: ... here.
43602 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
43604         [BZ #13013]
43605         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43606         depending n and resplen2 to catch cases where answer
43607         equals answerp2.
43609 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
43611         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43612         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43614 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
43616         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43618 2012-11-29  Roland McGrath  <roland@hack.frob.com>
43620         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43622 2012-11-28  Jeff Law  <law@redhat.com>
43624         [BZ #13761]
43625         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43626         dataset_temporary.  Track alloca usage into alloca_used.
43627         If dataset is large allocate and release it via malloc/free.
43629 2012-06-04  Florian Weimer  <fweimer@redhat.com>
43631         [BZ #14197]
43632         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43634 2012-11-28  David S. Miller  <davem@davemloft.net>
43636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43638 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43640         [BZ #14803]
43641         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43642         of pi/2 rounded to nearest to 64 bits.
43643         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43644         nearest to 64 bits.
43645         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43646         bits.
43648 2012-11-28  Jeff Law <law@redhat.com>
43649             Martin Osvald <mosvald@redhat.com>
43651         [BZ #14889]
43652         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43653         * sunrpc/svc.c: Include time.h.
43654         (__svc_accept_failed): New function.
43655         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43656         any reason other than EINTR, call __svc_accept_failed.
43657         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43658         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43660 2012-11-28  Andreas Schwab  <schwab@suse.de>
43662         * scripts/abilist.awk: Also handle indirect functions in .opd
43663         section.
43665 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43667         [BZ #13881]
43668         * sysdeps/x86/fpu/powl_helper.c: New file.
43669         * sysdeps/x86/fpu/Makefile: Likewise.
43670         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43671         (p3): New object.
43672         (__ieee754_powl): Use __powl_helper for finite arguments except
43673         integer exponents below 8.
43674         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43675         (p3): New object.
43676         (__ieee754_powl): Use __powl_helper for finite arguments except
43677         integer exponents below 8.
43678         * math/libm-test.inc (pow_test): Add more tests and enable some
43679         previously disabled tests.
43680         * sysdeps/i386/fpu/libm-test-ulps: Update.
43681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43683 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43684             Carlos O'Donell  <carlos_odonell@mentor.com>
43686         * nss/makedb.c (is_prime): Assert that input is odd and greater
43687         than 4.  Note that fact in a comment too.
43688         (next_prime): Add 4 to input.
43690 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43692         [BZ #11741]
43693         * libio/Makefile (tests): Add test case tst-fwrite-error.
43694         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43695         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43696         * libio/tst-fwrite-error.c: New test case.
43698 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
43700         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43701         before casting to void *.
43702         * include/libc-internal.h (__pointer_type): New macro.
43703         (__integer_if_pointer_type_sub): Likewise.
43704         (__integer_if_pointer_type): Likewise.
43705         (cast_to_integer): Likewise.
43706         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43707         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43708         before casting to atomic64_t.
43709         (atomic_exchange_acq): Likewise.
43710         (__arch_exchange_and_add_body): Likewise.
43711         (__arch_add_body): Likewise.
43712         (atomic_add_negative): Likewise.
43713         (atomic_add_zero): Likewise.
43715 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
43717         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43718         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43719         (add_fdes): Likewise.
43720         (linear_search_fdes): Likewise.
43721         (binary_search_unencoded_fdes): Likewise.
43723 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
43725         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43727 2012-11-24  Adam Conrad  <adconrad@0c3.net>
43729         * configure.in: Autodetect C++ header directories.
43730         * configure: Regenerated.
43732 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
43734         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43736 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
43738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43740 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
43742         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43743         LDBL_MANT_DIG == 106]: Disable some tests.
43744         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43745         Likewise.
43746         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43747         Likewise.
43749         [BZ #14871]
43750         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43751         input for small inputs.  Return +/- pi/2 for large inputs.
43752         * math/libm-test.inc (atan_test): Add more tests.
43754         * sysdeps/generic/unwind-dw2-fde-glibc.c
43755         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43756         __attribute__ ((unused)).
43758         [BZ #14645]
43759         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43760         x * y if x and y are nonzero and z is zero.
43762         [BZ #14811]
43763         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43764         nonzero exponents with absolute value below 0x1p-117 to +/-
43765         0x1p-117.
43767         [BZ #14869]
43768         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43769         up arguments below 2**-450, not just those below 2**-500.
43770         * math/libm-test.inc (hypot_test): Add another test.
43772         [BZ #14868]
43773         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43774         Return a+b for ratio over 2**120, not 2**60.
43775         * math/libm-test.inc (hypot_test): Add another test.
43777         * math/libm-test.inc (clog_test): Use
43778         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43779         (clog10_test): Likewise.
43781         [BZ #6778]
43782         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43784 2012-11-22  Andreas Schwab  <schwab@suse.de>
43786         * sysdeps/i386/fpu/libm-test-ulps: Update.
43788 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
43790         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43791         printf output with newline.
43793 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
43795         [BZ #14865]
43796         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43797         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43798         -z nodlopen, -z initfirst and -z execstack support.
43799         * configure: Regenerated.
43801         * elf/elf.h (DF_1_NODIRECT): New macro.
43802         (DF_1_IGNMULDEF): Likewise.
43803         (DF_1_NOKSYMS): Likewise.
43804         (DF_1_NOHDR): Likewise.
43805         (DF_1_EDITED): Likewise.
43806         (DF_1_NORELOC): Likewise.
43807         (DF_1_SYMINTPOSE): Likewise.
43808         (DF_1_GLOBAUDIT): Likewise.
43809         (DF_1_SINGLETON): Likewise.
43810         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43811         DT_1_SUPPORTED_MASK bits.
43812         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43814 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
43816         * sysdeps/unix/make-syscalls.sh: Document prefixes.
43818 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
43820         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43821         macro.
43823         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43824         (sendmmsg): Move declarations...
43825         * socket/sys/socket.h: ... here.
43826         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43827         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43828         include it from...
43829         * socket/recvmmsg.c: ... this new file.
43830         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43831         (sendmmsg): Rename to __sendmmsg, create weak alias and make
43832         definition of __sendmmsg hidden.
43833         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43834         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43835         Move ENOSYS stub into and include it from...
43836         * socket/sendmmsg.c: ... this new file.
43837         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43838         (sysdep_routines): Move recvmmsg and sendmmsg...
43839         * socket/Makefile (routines): ... here.
43840         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43841         (GLIBC_PRIVATE): Add __sendmmsg.
43842         * include/sys/socket.h (__sendmmsg): Add declarations.
43843         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43844         sendmmsg.
43846 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
43848         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43849         variable I1 with __attribute__ ((unused)).
43850         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43852 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
43854         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43855         DUMMY variables with __attribute__ ((unused)).
43857         * bits/byteswap.h: Include <bits/types.h>.
43858         (__bswap_64): Use __uint64_t instead of unsigned long long int.
43860 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
43862         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43863         string_t.  Do not manually set errno.
43864         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43865         length with __strnlen.  Make sure to both set errno and return it on
43866         failure.
43868 2012-11-19  David S. Miller  <davem@davemloft.net>
43870         With help from Joseph Myers.
43871         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43872         very large arguments properly.
43873         * math/libm-test.inc (atan_test): New tests.
43874         (atan2_test): New tests.
43875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43878 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
43880         [BZ #14856]
43881         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43882         Define to 3.
43884         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43885         [POSIX] (EADDRNOTAVAIL): Likewise.
43886         [POSIX] (EAFNOSUPPORT): Likewise.
43887         [POSIX] (EALREADY): Likewise.
43888         [POSIX] (ECONNABORTED): Likewise.
43889         [POSIX] (ECONNREFUSED): Likewise.
43890         [POSIX] (ECONNRESET): Likewise.
43891         [POSIX] (EDESTADDRREQ): Likewise.
43892         [POSIX] (EDQUOT): Likewise.
43893         [POSIX] (EHOSTUNREACH): Likewise.
43894         [POSIX] (EIDRM): Likewise.
43895         [POSIX] (EISCONN): Likewise.
43896         [POSIX] (ELOOP): Likewise.
43897         [POSIX] (EMULTIHOP): Likewise.
43898         [POSIX] (ENETDOWN): Likewise.
43899         [POSIX] (ENETUNREACH): Likewise.
43900         [POSIX] (ENOBUFS): Likewise.
43901         [POSIX] (ENODATA): Likewise.
43902         [POSIX] (ENOLINK): Likewise.
43903         [POSIX] (ENOMSG): Likewise.
43904         [POSIX] (ENOPROTOOPT): Likewise.
43905         [POSIX] (ENOSR): Likewise.
43906         [POSIX] (ENOSTR): Likewise.
43907         [POSIX] (ENOTCONN): Likewise.
43908         [POSIX] (ENOTSOCK): Likewise.
43909         [POSIX] (EOPNOTSUPP): Likewise.
43910         [POSIX] (EOVERFLOW): Likewise.
43911         [POSIX] (EPROTO): Likewise.
43912         [POSIX] (EPROTONOSUPPORT): Likewise.
43913         [POSIX] (EPROTOTYPE): Likewise.
43914         [POSIX] (ESTALE): Likewise.
43915         [POSIX] (ETIME): Likewise.
43916         [POSIX] (ETXTBSY): Likewise.
43917         [POSIX] (EWOULDBLOCK): Likewise.
43918         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43919         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43920         [POSIX] (SEEK_CUR): Likewise.
43921         [POSIX] (SEEK_END): Likewise.
43922         [POSIX || UNIX98] (mode_t): Do not require.
43923         [POSIX] (off_t): Likewise.
43924         [POSIX] (pid_t): Likewise.
43925         [POSIX] (sys/stat.h): Do not allow header.
43926         [POSIX] (unistd.h): Likewise.
43927         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43928         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43929         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43930         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43931         require.
43932         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43933         sigevent): Specify elements.
43934         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43935         entry.
43936         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43937         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43939         * conform/data/cpio.h-data [POSIX]: Disable whole file.
43940         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43941         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43942         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43943         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43944         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43945         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43946         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43947         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43948         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43949         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43950         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43951         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43952         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43953         Likewise.
43954         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43955         Likewise.
43956         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43957         Likewise.
43958         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43959         Likewise.
43960         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43961         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43962         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43963         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43964         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43965         Specify lower bound on value.
43966         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43967         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43968         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43969         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43970         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43971         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43972         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43973         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43974         value.
43975         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43976         as optional.
43977         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43978         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43979         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43980         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43981         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43982         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43983         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43984         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43985         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43986         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43987         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43988         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43989         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43990         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43991         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43992         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43993         entry.
43994         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43995         optional.
43996         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43997         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43998         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43999         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
44000         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
44001         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
44002         Likewise.
44003         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
44004         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
44005         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
44006         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
44007         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
44008         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
44009         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
44010         as optional.
44011         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
44012         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
44013         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
44014         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
44015         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
44016         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
44017         specify as optional.
44018         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
44019         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
44020         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
44021         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
44022         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
44023         [XPG3] (NL_LANGMAX): Likewise.
44024         [POSIX || XPG3] (NL_MSGMAX): Likewise.
44025         [POSIX || XPG3] (NL_NMAX): Likewise.
44026         [POSIX || XPG3] (NL_SETMAX): Likewise.
44027         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
44028         [XPG3] (NZERO): Likewise.
44029         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
44030         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
44031         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
44032         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
44033         (REG_ERANGE): Expect.
44034         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
44035         optional-constant.
44036         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
44037         Use (void) in prototype.
44038         [POSIX] (*_t): Allow.
44039         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
44040         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
44041         (WRDE_BADVAL): Expect.
44043         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
44044         expect.
44045         [XPG3 || XPG4] (O_RSYNC): Likewise.
44046         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
44047         Likewise.
44048         [XPG3 || XPG4] (pthread_sigmask): Likewise.
44049         [XPG3 || XPG4] (sigqueue): Likewise.
44050         [XPG3 || XPG4] (sigtimedwait): Likewise.
44051         [XPG3 || XPG4] (sigwaitinfo): Likewise.
44052         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
44053         [XPG3 || XPG4] (vsnprintf): Likewise.
44054         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
44055         Likewise.
44056         [XPG3 || XPG4] (blksize_t): Likewise.
44057         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
44058         Likewise.
44059         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
44060         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44061         [XPG3 || XPG4] (struct itimerspec): Likewise.
44062         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
44063         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
44064         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
44065         [XPG3 || XPG4] (clockid_t): Likewise.
44066         [XPG3 || XPG4] (timer_t): Likewise.
44067         [XPG3 || XPG4] (clock_getres): Likewise.
44068         [XPG3 || XPG4] (clock_gettime): Likewise.
44069         [XPG3 || XPG4] (clock_settime): Likewise.
44070         [XPG3 || XPG4] (nanosleep): Likewise.
44071         [XPG3 || XPG4] (timer_create): Likewise.
44072         [XPG3 || XPG4] (timer_delete): Likewise.
44073         [XPG3 || XPG4] (timer_gettime): Likewise.
44074         [XPG3 || XPG4] (timer_getoverrun): Likewise.
44075         [XPG3 || XPG4] (timer_settime): Likewise.
44076         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
44077         [XPG3 || XPG4] (getlogin_r): Likewise.
44078         [XPG3 || XPG4] (pread): Likewise.
44079         [XPG3 || XPG4] (pthread_atfork): Likewise.
44080         [XPG3 || XPG4] (pwrite): Likewise.
44082         [BZ #14835]
44083         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
44084         <bits/siginfo.h>.
44086 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
44088         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
44089         finalizing MALLSTREAM.
44091         * sysdeps/mach/hurd/syncfs.c: New file.
44093 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44095         [BZ #14719]
44096         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
44097         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
44098         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
44099         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
44100         (_nss_dns_gethostbyname4_r): Likewise.
44101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
44102         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
44104 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
44106         [BZ #13763]
44107         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
44109 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
44111         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
44112         * elf/cache.c (print_entry): Print ",AArch64" for
44113         FLAG_AARCH64_LIB64
44115         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
44116         * elf/cache.c (print_entry): Print ",hard-float" for
44117         FLAG_ARM_LIBHF.
44119 2012-11-18  David S. Miller  <davem@davemloft.net>
44121         With help from Joseph Myers.
44122         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
44123         cutoff to 2**-13.
44124         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44125         cutoff to 2**-25.
44126         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44127         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44128         small.
44129         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44130         * math/libm-test.inc (y0_test): New tests.
44131         (y1_test): New tests.
44132         * sysdeps/i386/fpu/libm-test-ulps: Update.
44133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44136 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
44138         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44139         64-bit targets.
44140         * configure: Regenerated.
44142 2012-11-17  David S. Miller  <davem@davemloft.net>
44144         [BZ #14811]
44145         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44146         nonzero exponents with absolute value below 0x1p-128 to +/-
44147         0x1p-128.
44149 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
44151         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44153         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44155         * posix/getconf-speclist.c: New file.
44156         * posix/posix-envs.def: Likewise.
44157         * posix/confstr.c (START_ENV_GROUP): New macro.
44158         (END_ENV_GROUP): Likewise.
44159         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44160         (KNOWN_PRESENT_ENV_STRING): Likewise.
44161         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44162         (UNKNOWN_ENVIRONMENT): Likewise.
44163         (confstr): Include posix-envs.def instead of handling
44164         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44165         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44166         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44167         (END_ENV_GROUP): Likewise.
44168         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44169         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44170         (UNKNOWN_ENVIRONMENT): Likewise.
44171         (__sysconf): Include posix-envs.def instead of handling associated
44172         cases directly here.
44173         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44174         preprocessing getconf-speclist.c rather than running getconf or
44175         generating empty file.
44177 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
44179         * scripts/check-local-headers.sh: Ignore 'mach' headers.
44181 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
44183         [BZ #14672]
44184         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44186 2012-11-16  David S. Miller  <davem@davemloft.net>
44188         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44189         smaller than LDBL_EPSILON/2.0L, just return xm1.
44191 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
44193         * elf/tst-array1.c (init): Set constructor priority to 1000.
44194         (fini): Set destructor priority to 1000.
44195         * elf/tst-array2dep.c: Likewise.
44197 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44199         [BZ #11741]
44200         * libio/fileops.c (_IO_new_file_write): Correctly return error.
44201         (_IO_new_file_xsputn): Also return EOF if none of the input
44202         data was written when overflow failed.
44203         * libio/iopadn.c (_IO_padn): Likewise.
44204         * libio/iowpadn.c (_IO_wpadn): Likewise.
44205         * stdio-common/tst-put-error.c: Add copyright notice.
44206         (do_test): Add case for printing padded string.
44207         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44208         _IO_padn returned error.
44209         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44210         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44211         return EOF.
44213 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44215         * libio/libioP.h: Add comment note that the references to C++
44216         bits are now obsolete.
44218 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44220         * math/libm-test.inc (check_complex): Use asprintf.
44222 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
44224         * debug/pcprofiledump.c (print_version): Update copyright year.
44225         * malloc/memusagestat.c (print_version): Likewise.
44227 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
44229         [BZ #14831]
44230         * elf/Makefile (tests): Add tst-audit8.
44231         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44232         ($(objpfx)tst-audit8.out): New target.
44233         (tst-audit8-ENV): New variable.
44234         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44235         audit if l_reloc_result is NULL.
44236         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44237         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44238         * elf/tst-audit8.c: New file.
44240 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44242         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44243         * misc/Makefile (CFLAGS-select.c): Define.
44244         * posix/Makefile (CFLAGS-pause.c): Define.
44246 2012-11-13  David S. Miller  <davem@davemloft.net>
44248         * crypt/Makefile: Move test targets after toplevel Rules
44249         inclusion.  Grab any necessary sysdep routines when linking.
44250         * crypt/md5.c (md5_process_block): Remove define, we will always
44251         name it __md5_process_block.
44252         (md5_finish_ctx): Update md5_process_block call.
44253         (md5_stream): Likewise.
44254         (md5_process_bytes): Likewise.
44255         (md5_process_block): Rename to __md5_process_block and move to ...
44256         * crypt/md5-block.c: ... here.
44257         * crypt/sha256.c (sha256_process_block): Move to ...
44258         * crypt/sha256-block.c: ... here.
44259         * crypt/sha512.c (sha512_process_block): Move to ...
44260         * crypt/sha512-block.c: ... here.
44261         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44262         path.
44263         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44264         * sysdeps/sparc/sparc64/multiarch/Makefile
44265         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44266         crypt subdir.
44267         (localedef-aux): Add md5 crypto assembler when in locale subdir.
44268         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44269         multiarch changes.
44270         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44271         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44272         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44273         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44274         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44275         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44276         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44277         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44278         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44279         file.
44280         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44281         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44282         file.
44283         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44285 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
44287         * timezone/tzselect.ksh: Update from tzcode git revision
44288         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44289         * timezone/zdump.c: Likewise.
44290         * timezone/zic.c: Likewise.
44291         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44292         in TZVERSION setting, not $(PKGVERSION).
44293         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
44294         REPORT_BUGS_TO settings.
44296         [BZ #14838]
44297         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44298         macro.
44300 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44302         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44303         detection to immediately after _FP_ROUND().
44304         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44305         bits are 0.
44307 2012-11-11  David S. Miller  <davem@davemloft.net>
44309         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44310         inttypes.h
44311         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44312         __close rather than their public counterparts.
44314 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
44316         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44317         file.
44318         [UNIX98] (sem_timedwait): Do not expect.
44319         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44320         [XPG4 || UNIX98] (sockatmark): Do not expect.
44321         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44322         (clock_getcpuclockid): Do not expect.
44323         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44324         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44325         Do not expect.
44326         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44327         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44328         [UNIX98] (vwscanf): Likewise.
44329         [UNIX98] (vswscanf): Likewise.
44331 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
44333         * timezone/version.h: Remove file.
44334         * timezone/README: Do not refer to version.h.
44335         * timezone/Makefile ($(objpfx)zic.o): New dependency on
44336         $(objpfx)version.h.
44337         ($(objpfx)zdump.o): Likewise.
44338         ($(objpfx)version.h): New target.
44340         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44341         2012i.
44342         * timezone/README: Don't mention modification to tzselect.ksh.
44343         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44344         work on unmodified tzselect.ksh.  Substitute version numbers in
44345         tzselect.ksh.
44347         * Makefile (format-me): Remove.
44348         (INSTALL): Adjust indentation.  Use commands directly instead of
44349         using $(format-me).
44351         * aclocal.m4 (ACX_PKGVERSION): New macro.
44352         (ACX_BUGURL): Likewise.
44353         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44354         (PKGVERSION): New AC_DEFINE_UNQUOTED.
44355         (REPORT_BUGS_TO): Likewise.
44356         * configure: Regenerated.
44357         * config.h.in (PKGVERSION): New macro.
44358         (REPORT_BUGS_TO): Likewise.
44359         * config.make.in (PKGVERSION): New variable.
44360         (PKGVERSION_TEXI): Likewise.
44361         (REPORT_BUGS_TO): Likewise.
44362         (REPORT_BUGS_TEXI): Likewise.
44363         * Makefile (format-me): Use -I$(common-objpfx)manual.
44364         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44365         ($(common-objpfx)manual/%): New target.
44366         (manual/%): Remove target.
44367         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44368         (print_version): Use PKGVERSION.
44369         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44370         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44371         and REPORT_BUGS_TO.
44372         ($(objpfx)xtrace): Likewise.
44373         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44374         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44375         (print_version): Use PKGVERSION.
44376         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44377         (do_version): Use PKGVERSION.
44378         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44379         REPORT_BUGS_TO.
44380         (common-ldd-rewrite): Likewise.
44381         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44382         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44383         (print_version): Use PKGVERSION.
44384         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44385         * elf/pldd.c (argp_program_bug_address): Remove variable.
44386         (more_help): New function.
44387         (argp): Use more_help.
44388         (print_version): Use PKGVERSION.
44389         * elf/sln.c (main): Use PKGVERSION.
44390         (usage): Use REPORT_BUGS_TO.
44391         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44392         (top level): Use PKGVERSION.
44393         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44394         (print_version): Use PKGVERSION.
44395         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44396         (print_version): Use PKGVERSION.
44397         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44398         (print_version): Use PKGVERSION.
44399         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44400         (print_version): Use PKGVERSION.
44401         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44402         (print_version): Use PKGVERSION.
44403         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44404         (print_version): Use PKGVERSION.
44405         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44406         and BUGURL.
44407         ($(objpfx)memusage): Likewise.
44408         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44409         (do_version): Use PKGVERSION.
44410         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44411         (print_version): Use PKGVERSION.
44412         * malloc/mtrace.pl ($PACKAGE): Remove variable.
44413         ($PKGVERSION): New variable.
44414         ($REPORT_BUGS_TO): Likewise.
44415         (usage): Use $REPORT_BUGS_TO.
44416         (top level): Use $PKGVERSION.
44417         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44418         ($(objpfx)pkgvers.texi): New rule.
44419         ($(objpfx)stamp-pkgvers): Likewise.
44420         * manual/install.texi: Include pkgvers.texi.
44421         (--with-pkgversion): Document new configure option.
44422         (--with-bugurl): Likewise.
44423         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44424         than necessarily for this particular distribution.  Use
44425         REPORT_BUGS_TO for where to report bugs.
44426         * INSTALL: Regenerated.
44427         * manual/libc.texinfo: Include pkgvers.texi.
44428         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44429         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44430         (print_version): Use PKGVERSION.
44431         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44432         (print_version): Use PKGVERSION.
44433         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44434         (print_version): Use PKGVERSION.
44435         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44436         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44437         macro.
44438         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44439         (print_version): Use PKGVERSION.
44440         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44441         (print_version): Use PKGVERSION.
44442         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44443         and PKGVERSION.
44445         * timezone/checktab.awk: Update from tzcode 2012i.
44446         * timezone/ialloc.c: Likewise.
44447         * timezone/private.h: Likewise.
44448         * timezone/scheck.c: Likewise.
44449         * timezone/tzfile.h: Likewise.
44450         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44451         (TZVERSION): Hardcode tzcode version number.
44452         * timezone/zdump.c: Update from tzcode 2012i.
44453         * timezone/zic.c: Likewise.
44454         * timezone/version.h: New file.
44455         * timezone/README: Describe version.h.  Update upstream location.
44457         [BZ #14824]
44458         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44459         (mktemp): Enable declaration.
44460         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44461         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44462         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44463         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44464         Likewise.
44465         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44466         Likewise.
44467         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44468         Likewise.
44469         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44470         Likewise.
44471         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44472         Likewise.
44473         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44474         Likewise.
44476         [BZ #14821]
44477         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44478         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
44479         for copies of such integer values.
44480         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44481         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44483 2012-11-09  Andreas Jaeger  <aj@suse.de>
44485         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44486         definitions and declarations that are provided by
44487         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44489 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44491         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44492         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44493         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44494         definition.
44496 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44498         * elf/elf.h: Update comment before AArch64 relocations.
44500 2012-11-07  David S. Miller  <davem@davemloft.net>
44502         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44503         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44504         (__start_context): Declare.
44505         (__makecontext_ret): Delete.
44506         (__makecontext): Hook up __start_context instead of
44507         __makecontext_ret.
44508         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44509         (sysdep_routines): Add __start_context when in stdlib.
44511 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44513         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44514         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44515         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
44516         hardcoded "nm".
44517         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
44518         (READELF): New variable.  Use it instead of hardcoded "readelf".
44520 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44522         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44523         * sysdeps/x86/Makefile: Here.
44524         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44525         * sysdeps/x86/tst-xmmymm.sh: This.
44527 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44529         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44530         expectations.
44531         [UNIX98] (pthread_barrier_t): Do not expect.
44532         [UNIX98] (pthread_barrierattr_t): Likewise.
44533         [UNIX98] (pthread_spinlock_t): Likewise.
44534         [UNIX98] (pthread_barrier_destroy): Likewise.
44535         [UNIX98] (pthread_barrier_init): Likewise.
44536         [UNIX98] (pthread_barrier_wait): Likewise.
44537         [UNIX98] (pthread_barrierattr_destroy): Likewise.
44538         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44539         [UNIX98] (pthread_barrierattr_init): Likewise.
44540         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44541         [UNIX98] (pthread_getcpuclockid): Likewise.
44542         [UNIX98] (pthread_mutex_timedlock): Likewise.
44543         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44544         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44545         [UNIX98] (pthread_sigmask): Likewise.
44546         [UNIX98] (pthread_spin_destroy): Likewise.
44547         [UNIX98] (pthread_spin_init): Likewise.
44548         [UNIX98] (pthread_spin_lock): Likewise.
44549         [UNIX98] (pthread_spin_trylock): Likewise.
44550         [UNIX98] (pthread_spin_unlock): Likewise.
44551         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44552         Do not expect.
44553         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44554         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44555         [XPG3 || XPG4] (pthread_cond_t): Likewise.
44556         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44557         [XPG3 || XPG4] (pthread_key_t): Likewise.
44558         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44559         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44560         [XPG3 || XPG4] (pthread_once_t): Likewise.
44561         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44562         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44563         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44564         [XPG3 || XPG4] (pthread_t): Likewise.
44566         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44567         not expect.
44568         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44570         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44571         Change function return type to int.
44573         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44574         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44575         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44576         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44577         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44578         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44579         [!POSIX] (posix_madvise): Likewise.
44580         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44581         && !UNIX98].
44582         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44583         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44584         (mode_t): Likewise.
44585         (posix_mem_offset): Likewise.
44586         (posix_typed_mem_get_info): Likewise.
44587         (posix_typed_mem_open): Likewise.
44589         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44590         Change condition to [XOPEN2K8].
44592         * conform/conformtest.pl: Preprocess allow-header data with -x c
44593         instead of from stdin.
44594         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44595         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44596         [C99-based standards] (cerfc): Likewise.
44597         [C99-based standards] (cexp2): Likewise.
44598         [C99-based standards] (cexpm1): Likewise.
44599         [C99-based standards] (clog10): Likewise.
44600         [C99-based standards] (clog1p): Likewise.
44601         [C99-based standards] (clog2): Likewise.
44602         [C99-based standards] (clgamma): Likewise.
44603         [C99-based standards] (ctgamma): Likewise.
44604         [C99-based standards] (cerff): Likewise.
44605         [C99-based standards] (cerfcf): Likewise.
44606         [C99-based standards] (cexp2f): Likewise.
44607         [C99-based standards] (cexpm1f): Likewise.
44608         [C99-based standards] (clog10f): Likewise.
44609         [C99-based standards] (clog1pf): Likewise.
44610         [C99-based standards] (clog2f): Likewise.
44611         [C99-based standards] (clgammaf): Likewise.
44612         [C99-based standards] (ctgammaf): Likewise.
44613         [C99-based standards] (cerfl): Likewise.
44614         [C99-based standards] (cerfcl): Likewise.
44615         [C99-based standards] (cexp2l): Likewise.
44616         [C99-based standards] (cexpm1l): Likewise.
44617         [C99-based standards] (clog10l): Likewise.
44618         [C99-based standards] (clog1pl): Likewise.
44619         [C99-based standards] (clog2l): Likewise.
44620         [C99-based standards] (clgammal): Likewise.
44621         [C99-based standards] (ctgammal): Likewise.
44622         * conform/data/inttypes.h-data [C99-based standards]: Include
44623         stdint.h-data.  Remove all expectations for stdint.h contents.
44624         [C99-based standards] (PRI*): Do not allow.
44625         [C99-based standards] (SCN*): Likewise.
44626         [C99-based standards] (*_t): Likewise.
44627         [C99-based-standards] (PRId8): Expect macro.
44628         [C99-based-standards] (PRIi8): Likewise.
44629         [C99-based-standards] (PRIo8): Likewise.
44630         [C99-based-standards] (PRIu8): Likewise.
44631         [C99-based-standards] (PRIx8): Likewise.
44632         [C99-based-standards] (PRIX8): Likewise.
44633         [C99-based-standards] (SCNd8): Likewise.
44634         [C99-based-standards] (SCNi8): Likewise.
44635         [C99-based-standards] (SCNo8): Likewise.
44636         [C99-based-standards] (SCNu8): Likewise.
44637         [C99-based-standards] (SCNx8): Likewise.
44638         [C99-based-standards] (PRIdLEAST8): Likewise.
44639         [C99-based-standards] (PRIiLEAST8): Likewise.
44640         [C99-based-standards] (PRIoLEAST8): Likewise.
44641         [C99-based-standards] (PRIuLEAST8): Likewise.
44642         [C99-based-standards] (PRIxLEAST8): Likewise.
44643         [C99-based-standards] (PRIXLEAST8): Likewise.
44644         [C99-based-standards] (SCNdLEAST8): Likewise.
44645         [C99-based-standards] (SCNiLEAST8): Likewise.
44646         [C99-based-standards] (SCNoLEAST8): Likewise.
44647         [C99-based-standards] (SCNuLEAST8): Likewise.
44648         [C99-based-standards] (SCNxLEAST8): Likewise.
44649         [C99-based-standards] (PRIdFAST8): Likewise.
44650         [C99-based-standards] (PRIiFAST8): Likewise.
44651         [C99-based-standards] (PRIoFAST8): Likewise.
44652         [C99-based-standards] (PRIuFAST8): Likewise.
44653         [C99-based-standards] (PRIxFAST8): Likewise.
44654         [C99-based-standards] (PRIXFAST8): Likewise.
44655         [C99-based-standards] (SCNdFAST8): Likewise.
44656         [C99-based-standards] (SCNiFAST8): Likewise.
44657         [C99-based-standards] (SCNoFAST8): Likewise.
44658         [C99-based-standards] (SCNuFAST8): Likewise.
44659         [C99-based-standards] (SCNxFAST8): Likewise.
44660         [C99-based-standards] (PRId16): Likewise.
44661         [C99-based-standards] (PRIi16): Likewise.
44662         [C99-based-standards] (PRIo16): Likewise.
44663         [C99-based-standards] (PRIu16): Likewise.
44664         [C99-based-standards] (PRIx16): Likewise.
44665         [C99-based-standards] (PRIX16): Likewise.
44666         [C99-based-standards] (SCNd16): Likewise.
44667         [C99-based-standards] (SCNi16): Likewise.
44668         [C99-based-standards] (SCNo16): Likewise.
44669         [C99-based-standards] (SCNu16): Likewise.
44670         [C99-based-standards] (SCNx16): Likewise.
44671         [C99-based-standards] (PRIdLEAST16): Likewise.
44672         [C99-based-standards] (PRIiLEAST16): Likewise.
44673         [C99-based-standards] (PRIoLEAST16): Likewise.
44674         [C99-based-standards] (PRIuLEAST16): Likewise.
44675         [C99-based-standards] (PRIxLEAST16): Likewise.
44676         [C99-based-standards] (PRIXLEAST16): Likewise.
44677         [C99-based-standards] (SCNdLEAST16): Likewise.
44678         [C99-based-standards] (SCNiLEAST16): Likewise.
44679         [C99-based-standards] (SCNoLEAST16): Likewise.
44680         [C99-based-standards] (SCNuLEAST16): Likewise.
44681         [C99-based-standards] (SCNxLEAST16): Likewise.
44682         [C99-based-standards] (PRIdFAST16): Likewise.
44683         [C99-based-standards] (PRIiFAST16): Likewise.
44684         [C99-based-standards] (PRIoFAST16): Likewise.
44685         [C99-based-standards] (PRIuFAST16): Likewise.
44686         [C99-based-standards] (PRIxFAST16): Likewise.
44687         [C99-based-standards] (PRIXFAST16): Likewise.
44688         [C99-based-standards] (SCNdFAST16): Likewise.
44689         [C99-based-standards] (SCNiFAST16): Likewise.
44690         [C99-based-standards] (SCNoFAST16): Likewise.
44691         [C99-based-standards] (SCNuFAST16): Likewise.
44692         [C99-based-standards] (SCNxFAST16): Likewise.
44693         [C99-based-standards] (PRId32): Likewise.
44694         [C99-based-standards] (PRIi32): Likewise.
44695         [C99-based-standards] (PRIo32): Likewise.
44696         [C99-based-standards] (PRIu32): Likewise.
44697         [C99-based-standards] (PRIx32): Likewise.
44698         [C99-based-standards] (PRIX32): Likewise.
44699         [C99-based-standards] (SCNd32): Likewise.
44700         [C99-based-standards] (SCNi32): Likewise.
44701         [C99-based-standards] (SCNo32): Likewise.
44702         [C99-based-standards] (SCNu32): Likewise.
44703         [C99-based-standards] (SCNx32): Likewise.
44704         [C99-based-standards] (PRIdLEAST32): Likewise.
44705         [C99-based-standards] (PRIiLEAST32): Likewise.
44706         [C99-based-standards] (PRIoLEAST32): Likewise.
44707         [C99-based-standards] (PRIuLEAST32): Likewise.
44708         [C99-based-standards] (PRIxLEAST32): Likewise.
44709         [C99-based-standards] (PRIXLEAST32): Likewise.
44710         [C99-based-standards] (SCNdLEAST32): Likewise.
44711         [C99-based-standards] (SCNiLEAST32): Likewise.
44712         [C99-based-standards] (SCNoLEAST32): Likewise.
44713         [C99-based-standards] (SCNuLEAST32): Likewise.
44714         [C99-based-standards] (SCNxLEAST32): Likewise.
44715         [C99-based-standards] (PRIdFAST32): Likewise.
44716         [C99-based-standards] (PRIiFAST32): Likewise.
44717         [C99-based-standards] (PRIoFAST32): Likewise.
44718         [C99-based-standards] (PRIuFAST32): Likewise.
44719         [C99-based-standards] (PRIxFAST32): Likewise.
44720         [C99-based-standards] (PRIXFAST32): Likewise.
44721         [C99-based-standards] (SCNdFAST32): Likewise.
44722         [C99-based-standards] (SCNiFAST32): Likewise.
44723         [C99-based-standards] (SCNoFAST32): Likewise.
44724         [C99-based-standards] (SCNuFAST32): Likewise.
44725         [C99-based-standards] (SCNxFAST32): Likewise.
44726         [C99-based-standards] (PRId64): Likewise.
44727         [C99-based-standards] (PRIi64): Likewise.
44728         [C99-based-standards] (PRIo64): Likewise.
44729         [C99-based-standards] (PRIu64): Likewise.
44730         [C99-based-standards] (PRIx64): Likewise.
44731         [C99-based-standards] (PRIX64): Likewise.
44732         [C99-based-standards] (SCNd64): Likewise.
44733         [C99-based-standards] (SCNi64): Likewise.
44734         [C99-based-standards] (SCNo64): Likewise.
44735         [C99-based-standards] (SCNu64): Likewise.
44736         [C99-based-standards] (SCNx64): Likewise.
44737         [C99-based-standards] (PRIdLEAST64): Likewise.
44738         [C99-based-standards] (PRIiLEAST64): Likewise.
44739         [C99-based-standards] (PRIoLEAST64): Likewise.
44740         [C99-based-standards] (PRIuLEAST64): Likewise.
44741         [C99-based-standards] (PRIxLEAST64): Likewise.
44742         [C99-based-standards] (PRIXLEAST64): Likewise.
44743         [C99-based-standards] (SCNdLEAST64): Likewise.
44744         [C99-based-standards] (SCNiLEAST64): Likewise.
44745         [C99-based-standards] (SCNoLEAST64): Likewise.
44746         [C99-based-standards] (SCNuLEAST64): Likewise.
44747         [C99-based-standards] (SCNxLEAST64): Likewise.
44748         [C99-based-standards] (PRIdFAST64): Likewise.
44749         [C99-based-standards] (PRIiFAST64): Likewise.
44750         [C99-based-standards] (PRIoFAST64): Likewise.
44751         [C99-based-standards] (PRIuFAST64): Likewise.
44752         [C99-based-standards] (PRIxFAST64): Likewise.
44753         [C99-based-standards] (PRIXFAST64): Likewise.
44754         [C99-based-standards] (SCNdFAST64): Likewise.
44755         [C99-based-standards] (SCNiFAST64): Likewise.
44756         [C99-based-standards] (SCNoFAST64): Likewise.
44757         [C99-based-standards] (SCNuFAST64): Likewise.
44758         [C99-based-standards] (SCNxFAST64): Likewise.
44759         [C99-based-standards] (PRIdMAX): Likewise.
44760         [C99-based-standards] (PRIiMAX): Likewise.
44761         [C99-based-standards] (PRIoMAX): Likewise.
44762         [C99-based-standards] (PRIuMAX): Likewise.
44763         [C99-based-standards] (PRIxMAX): Likewise.
44764         [C99-based-standards] (PRIXMAX): Likewise.
44765         [C99-based-standards] (SCNdMAX): Likewise.
44766         [C99-based-standards] (SCNiMAX): Likewise.
44767         [C99-based-standards] (SCNoMAX): Likewise.
44768         [C99-based-standards] (SCNuMAX): Likewise.
44769         [C99-based-standards] (SCNxMAX): Likewise.
44770         [C99-based-standards] (PRIdPTR): Likewise.
44771         [C99-based-standards] (PRIiPTR): Likewise.
44772         [C99-based-standards] (PRIoPTR): Likewise.
44773         [C99-based-standards] (PRIuPTR): Likewise.
44774         [C99-based-standards] (PRIxPTR): Likewise.
44775         [C99-based-standards] (PRIXPTR): Likewise.
44776         [C99-based-standards] (SCNdPTR): Likewise.
44777         [C99-based-standards] (SCNiPTR): Likewise.
44778         [C99-based-standards] (SCNoPTR): Likewise.
44779         [C99-based-standards] (SCNuPTR): Likewise.
44780         [C99-based-standards] (SCNxPTR): Likewise.
44781         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44782         allow.
44783         * conform/data/stdint.h-data: Update comments to clarify
44784         requirements.
44785         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
44786         type.
44787         [C99-based standards] (INT8_MAX): Likewise.
44788         [C99-based standards] (INT16_MIN): Likewise.
44789         [C99-based standards] (INT16_MAX): Likewise.
44790         [C99-based standards] (INT32_MIN): Likewise.
44791         [C99-based standards] (INT32_MAX): Likewise.
44792         [C99-based standards] (INT64_MIN): Likewise.
44793         [C99-based standards] (INT64_MAX): Likewise.
44794         [C99-based standards] (UINT8_MAX): Likewise.
44795         [C99-based standards] (UINT16_MAX): Likewise.
44796         [C99-based standards] (UINT32_MAX): Likewise.
44797         [C99-based standards] (UINT64_MAX): Likewise.
44798         [C99-based standards] (INT_LEAST8_MIN): Likewise.
44799         [C99-based standards] (INT_LEAST8_MAX): Likewise.
44800         [C99-based standards] (INT_LEAST16_MIN): Likewise.
44801         [C99-based standards] (INT_LEAST16_MAX): Likewise.
44802         [C99-based standards] (INT_LEAST32_MIN): Likewise.
44803         [C99-based standards] (INT_LEAST32_MAX): Likewise.
44804         [C99-based standards] (INT_LEAST64_MIN): Likewise.
44805         [C99-based standards] (INT_LEAST64_MAX): Likewise.
44806         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44807         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44808         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44809         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44810         [C99-based standards] (INT_FAST8_MIN): Likewise.
44811         [C99-based standards] (INT_FAST8_MAX): Likewise.
44812         [C99-based standards] (INT_FAST16_MIN): Likewise.
44813         [C99-based standards] (INT_FAST16_MAX): Likewise.
44814         [C99-based standards] (INT_FAST32_MIN): Likewise.
44815         [C99-based standards] (INT_FAST32_MAX): Likewise.
44816         [C99-based standards] (INT_FAST64_MIN): Likewise.
44817         [C99-based standards] (INT_FAST64_MAX): Likewise.
44818         [C99-based standards] (UINT_FAST8_MAX): Likewise.
44819         [C99-based standards] (UINT_FAST16_MAX): Likewise.
44820         [C99-based standards] (UINT_FAST32_MAX): Likewise.
44821         [C99-based standards] (UINT_FAST64_MAX): Likewise.
44822         [C99-based standards] (INTPTR_MIN): Likewise.
44823         [C99-based standards] (INTPTR_MAX): Likewise.
44824         [C99-based standards] (UINTPTR_MAX): Likewise.
44825         [C99-based standards] (INTMAX_MIN): Likewise.
44826         [C99-based standards] (INTMAX_MAX): Likewise.
44827         [C99-based standards] (UINTMAX_MAX): Likewise.
44828         [C99-based standards] (PTRDIFF_MIN): Likewise.
44829         [C99-based standards] (PTRDIFF_MAX): Likewise.
44830         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44831         [C99-based standards] (SIZE_MAX): Likewise.
44832         [C99-based standards] (WCHAR_MAX): Likewise.
44833         [C99-based standards] (WINT_MAX): Likewise.
44834         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
44835         constraint on value.
44836         [C99-based standards] (WCHAR_MIN): Likewise.
44837         [C99-based standards] (WINT_MIN): Likewise.
44838         [C99-based standards] (*_t): Allow.
44839         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44840         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44841         Include math.h-data and complex.h-data.  Remove all expectations
44842         of math.h and complex.h contents.
44843         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44844         at end of line.
44845         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44846         (struct tm): Expect tag.
44847         [C99-based-standards] (wcstof): Expect function.
44848         [C99-based-standards] (wcstold): Likewise.
44849         [C99-based-standards] (wcstoll): Likewise.
44850         [C99-based-standards] (wcstoull): Likewise.
44851         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44852         macro-int-constant.  Specify type.
44853         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
44854         constraint on value.
44855         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44856         Specify type.
44857         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44858         Specify value.
44859         [ISO C standards]: Do not allow headers.
44860         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44861         wcs[abcdefghijklmnopqrstuvwxyz]*.
44862         [ISO C standards] (*_t): Do not allow.
44863         * conform/data/wctype.h-data [C99-based standards] (iswblank):
44864         Expect function.
44865         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44866         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44867         Specify type.
44868         [ISO C standards]: Do not allow headers.
44869         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44870         is[abcdefghijklmnopqrstuvwxyz]*.
44871         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44872         to[abcdefghijklmnopqrstuvwxyz]*.
44873         [ISO C standards] (*_t): Do not allow.
44874         * conform/data/stdalign.h-data: New file.
44875         * conform/data/stdbool.h-data: Likewise.
44876         * conform/data/stdnoreturn.h-data: Likewise.
44878 2012-11-07  Roland McGrath  <roland@hack.frob.com>
44880         [BZ #14815]
44881         * manual/filesys.texi (Directory Entries): Typo fix.
44882         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44884 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44886         * elf/elf.h (EM_AARCH64): New macro.
44887         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44888         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44889         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44890         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44891         (R_AARCH64_TLSDESC): Likewise.
44892         (NT_ARM_TLS): Likewise.
44893         (NT_ARM_HW_BREAK): Likewise.
44894         (NT_ARM_HW_WATCH): Likewise.
44896 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44898         [BZ #14811]
44899         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44900         (__ieee754_powl): Saturate nonzero exponents with absolute value
44901         below 0x1p-79 to +/- 0x1p-79.
44902         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44903         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44904         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44905         nonzero exponents with absolute value below 0x1p-32 to +/-
44906         0x1p-32.
44907         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44908         (__ieee754_powl): Saturate nonzero exponents with absolute value
44909         below 0x1p-79 to +/- 0x1p-79.
44910         * math/libm-test.inc (pow_test): Add more tests.
44912 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44914         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44915         _dl_s390_cap_flags with kernel. Increase string length.
44916         (_dl_s390_platforms): Add z196 and zEC12.
44918 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44920         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44921         Change XOPEN21K to XOPEN2K.
44923 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
44925         * string/memmove.c: Use memcpy when possible.
44927 2012-11-06  Andreas Jaeger  <aj@suse.de>
44929         * po/eo.po: Update from translation team.
44931 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
44933         [BZ #14793]
44934         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44935         exponent and small x and y exponents, scale x or y up.  Increase
44936         by 2 the exponent used in scaling up.
44937         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44938         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44939         * math/libm-test.inc (fma_test): Add more tests.
44940         (fma_test_towardzero): Likewise.
44941         (fma_test_downward): Likewise.
44942         (fma_test_upward): Likewise.
44944 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
44946         [BZ #14805]
44947         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44948         fenv_t *.
44950         [BZ #14801]
44951         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44952         namespace for names of struct fields.
44953         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44954         fenv_t fields.
44955         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44956         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44958 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44960         [BZ #3665]
44961         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44963 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
44965         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44966         PTR_DEMANGLE.
44968         [BZ #5246]
44969         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44970         PTR_DEMANGLE.
44972 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
44974         [BZ #14797]
44975         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44976         definitely overflow as x * y not x * y + z.
44977         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44978         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44979         * math/libm-test.inc (fma_test): Add more tests.
44980         (fma_test_towardzero): Likewise.
44981         (fma_test_downward): Likewise.
44982         (fma_test_upward): Likewise.
44984 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
44986         [BZ #157]
44988         * include/stub-tag.h: Remove file.
44989         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44990         '#include' of it.
44991         * manual/maint.texi (Porting): Don't reference it.
44992         * Makerules ($(objpfx)stubs): Likewise.
44993         * dirent/closedir.c: Don't include <stub-tag.h>.
44994         * dirent/dirfd.c: Likewise.
44995         * dirent/fdopendir.c: Likewise.
44996         * dirent/getdents.c: Likewise.
44997         * dirent/getdents64.c: Likewise.
44998         * dirent/opendir.c: Likewise.
44999         * dirent/readdir.c: Likewise.
45000         * dirent/readdir64.c: Likewise.
45001         * dirent/readdir64_r.c: Likewise.
45002         * dirent/readdir_r.c: Likewise.
45003         * dirent/rewinddir.c: Likewise.
45004         * dirent/seekdir.c: Likewise.
45005         * dirent/telldir.c: Likewise.
45006         * gmon/profil.c: Likewise.
45007         * grp/setgroups.c: Likewise.
45008         * inet/if_index.c: Likewise.
45009         * io/access.c: Likewise.
45010         * io/chdir.c: Likewise.
45011         * io/chmod.c: Likewise.
45012         * io/chown.c: Likewise.
45013         * io/close.c: Likewise.
45014         * io/dup.c: Likewise.
45015         * io/dup2.c: Likewise.
45016         * io/dup3.c: Likewise.
45017         * io/euidaccess.c: Likewise.
45018         * io/faccessat.c: Likewise.
45019         * io/fchdir.c: Likewise.
45020         * io/fchmod.c: Likewise.
45021         * io/fchmodat.c: Likewise.
45022         * io/fchown.c: Likewise.
45023         * io/fchownat.c: Likewise.
45024         * io/fcntl.c: Likewise.
45025         * io/flock.c: Likewise.
45026         * io/fstatfs.c: Likewise.
45027         * io/fstatfs64.c: Likewise.
45028         * io/fstatvfs.c: Likewise.
45029         * io/fstatvfs64.c: Likewise.
45030         * io/futimens.c: Likewise.
45031         * io/fxstat.c: Likewise.
45032         * io/fxstat64.c: Likewise.
45033         * io/fxstatat.c: Likewise.
45034         * io/fxstatat64.c: Likewise.
45035         * io/getcwd.c: Likewise.
45036         * io/isatty.c: Likewise.
45037         * io/lchmod.c: Likewise.
45038         * io/lchown.c: Likewise.
45039         * io/link.c: Likewise.
45040         * io/linkat.c: Likewise.
45041         * io/lseek.c: Likewise.
45042         * io/lseek64.c: Likewise.
45043         * io/lxstat64.c: Likewise.
45044         * io/mkdir.c: Likewise.
45045         * io/mkdirat.c: Likewise.
45046         * io/mkfifo.c: Likewise.
45047         * io/mkfifoat.c: Likewise.
45048         * io/open.c: Likewise.
45049         * io/open64.c: Likewise.
45050         * io/openat.c: Likewise.
45051         * io/openat64.c: Likewise.
45052         * io/pipe.c: Likewise.
45053         * io/pipe2.c: Likewise.
45054         * io/poll.c: Likewise.
45055         * io/posix_fadvise.c: Likewise.
45056         * io/posix_fadvise64.c: Likewise.
45057         * io/posix_fallocate.c: Likewise.
45058         * io/posix_fallocate64.c: Likewise.
45059         * io/read.c: Likewise.
45060         * io/readlink.c: Likewise.
45061         * io/readlinkat.c: Likewise.
45062         * io/rmdir.c: Likewise.
45063         * io/sendfile.c: Likewise.
45064         * io/sendfile64.c: Likewise.
45065         * io/statfs.c: Likewise.
45066         * io/statfs64.c: Likewise.
45067         * io/statvfs.c: Likewise.
45068         * io/statvfs64.c: Likewise.
45069         * io/symlink.c: Likewise.
45070         * io/symlinkat.c: Likewise.
45071         * io/ttyname.c: Likewise.
45072         * io/ttyname_r.c: Likewise.
45073         * io/umask.c: Likewise.
45074         * io/unlink.c: Likewise.
45075         * io/unlinkat.c: Likewise.
45076         * io/utime.c: Likewise.
45077         * io/utimensat.c: Likewise.
45078         * io/write.c: Likewise.
45079         * io/xmknod.c: Likewise.
45080         * io/xmknodat.c: Likewise.
45081         * io/xstat.c: Likewise.
45082         * io/xstat64.c: Likewise.
45083         * login/getpt.c: Likewise.
45084         * login/grantpt.c: Likewise.
45085         * login/unlockpt.c: Likewise.
45086         * math/e_acoshl.c: Likewise.
45087         * math/e_acosl.c: Likewise.
45088         * math/e_asinl.c: Likewise.
45089         * math/e_atan2l.c: Likewise.
45090         * math/e_atanhl.c: Likewise.
45091         * math/e_coshl.c: Likewise.
45092         * math/e_expl.c: Likewise.
45093         * math/e_fmodl.c: Likewise.
45094         * math/e_gammal_r.c: Likewise.
45095         * math/e_hypotl.c: Likewise.
45096         * math/e_j0l.c: Likewise.
45097         * math/e_j1l.c: Likewise.
45098         * math/e_jnl.c: Likewise.
45099         * math/e_lgammal_r.c: Likewise.
45100         * math/e_log10l.c: Likewise.
45101         * math/e_log2l.c: Likewise.
45102         * math/e_logl.c: Likewise.
45103         * math/e_powl.c: Likewise.
45104         * math/e_rem_pio2l.c: Likewise.
45105         * math/e_sinhl.c: Likewise.
45106         * math/e_sqrtl.c: Likewise.
45107         * math/fclrexcpt.c: Likewise.
45108         * math/fedisblxcpt.c: Likewise.
45109         * math/feenablxcpt.c: Likewise.
45110         * math/fegetenv.c: Likewise.
45111         * math/fegetexcept.c: Likewise.
45112         * math/fegetround.c: Likewise.
45113         * math/feholdexcpt.c: Likewise.
45114         * math/fesetenv.c: Likewise.
45115         * math/fesetround.c: Likewise.
45116         * math/feupdateenv.c: Likewise.
45117         * math/fgetexcptflg.c: Likewise.
45118         * math/fraiseexcpt.c: Likewise.
45119         * math/fsetexcptflg.c: Likewise.
45120         * math/ftestexcept.c: Likewise.
45121         * math/k_cosl.c: Likewise.
45122         * math/k_rem_pio2l.c: Likewise.
45123         * math/k_sinl.c: Likewise.
45124         * math/k_tanl.c: Likewise.
45125         * math/s_asinhl.c: Likewise.
45126         * math/s_atanl.c: Likewise.
45127         * math/s_cbrtl.c: Likewise.
45128         * math/s_erfl.c: Likewise.
45129         * math/s_expm1l.c: Likewise.
45130         * math/s_log1pl.c: Likewise.
45131         * math/s_tanhl.c: Likewise.
45132         * misc/acct.c: Likewise.
45133         * misc/brk.c: Likewise.
45134         * misc/chflags.c: Likewise.
45135         * misc/chroot.c: Likewise.
45136         * misc/fchflags.c: Likewise.
45137         * misc/fgetxattr.c: Likewise.
45138         * misc/flistxattr.c: Likewise.
45139         * misc/fremovexattr.c: Likewise.
45140         * misc/fsetxattr.c: Likewise.
45141         * misc/fsync.c: Likewise.
45142         * misc/ftruncate.c: Likewise.
45143         * misc/futimes.c: Likewise.
45144         * misc/futimesat.c: Likewise.
45145         * misc/getdomain.c: Likewise.
45146         * misc/getdtsz.c: Likewise.
45147         * misc/gethostid.c: Likewise.
45148         * misc/gethostname.c: Likewise.
45149         * misc/getloadavg.c: Likewise.
45150         * misc/getpagesize.c: Likewise.
45151         * misc/getsysstats.c: Likewise.
45152         * misc/getxattr.c: Likewise.
45153         * misc/gtty.c: Likewise.
45154         * misc/ioctl.c: Likewise.
45155         * misc/lgetxattr.c: Likewise.
45156         * misc/listxattr.c: Likewise.
45157         * misc/llistxattr.c: Likewise.
45158         * misc/lremovexattr.c: Likewise.
45159         * misc/lsetxattr.c: Likewise.
45160         * misc/lutimes.c: Likewise.
45161         * misc/madvise.c: Likewise.
45162         * misc/mincore.c: Likewise.
45163         * misc/mlock.c: Likewise.
45164         * misc/mlockall.c: Likewise.
45165         * misc/mmap.c: Likewise.
45166         * misc/mprotect.c: Likewise.
45167         * misc/msync.c: Likewise.
45168         * misc/munlock.c: Likewise.
45169         * misc/munlockall.c: Likewise.
45170         * misc/munmap.c: Likewise.
45171         * misc/preadv.c: Likewise.
45172         * misc/preadv64.c: Likewise.
45173         * misc/ptrace.c: Likewise.
45174         * misc/pwritev.c: Likewise.
45175         * misc/pwritev64.c: Likewise.
45176         * misc/readv.c: Likewise.
45177         * misc/reboot.c: Likewise.
45178         * misc/remap_file_pages.c: Likewise.
45179         * misc/removexattr.c: Likewise.
45180         * misc/revoke.c: Likewise.
45181         * misc/select.c: Likewise.
45182         * misc/setdomain.c: Likewise.
45183         * misc/setegid.c: Likewise.
45184         * misc/seteuid.c: Likewise.
45185         * misc/sethostid.c: Likewise.
45186         * misc/sethostname.c: Likewise.
45187         * misc/setregid.c: Likewise.
45188         * misc/setreuid.c: Likewise.
45189         * misc/setxattr.c: Likewise.
45190         * misc/sstk.c: Likewise.
45191         * misc/stty.c: Likewise.
45192         * misc/swapoff.c: Likewise.
45193         * misc/swapon.c: Likewise.
45194         * misc/sync.c: Likewise.
45195         * misc/syncfs.c: Likewise.
45196         * misc/syscall.c: Likewise.
45197         * misc/truncate.c: Likewise.
45198         * misc/ualarm.c: Likewise.
45199         * misc/usleep.c: Likewise.
45200         * misc/ustat.c: Likewise.
45201         * misc/utimes.c: Likewise.
45202         * misc/vhangup.c: Likewise.
45203         * misc/writev.c: Likewise.
45204         * posix/_exit.c: Likewise.
45205         * posix/alarm.c: Likewise.
45206         * posix/execve.c: Likewise.
45207         * posix/fexecve.c: Likewise.
45208         * posix/fork.c: Likewise.
45209         * posix/fpathconf.c: Likewise.
45210         * posix/getaddrinfo.c: Likewise.
45211         * posix/getegid.c: Likewise.
45212         * posix/geteuid.c: Likewise.
45213         * posix/getgid.c: Likewise.
45214         * posix/getgroups.c: Likewise.
45215         * posix/getlogin.c: Likewise.
45216         * posix/getlogin_r.c: Likewise.
45217         * posix/getpgid.c: Likewise.
45218         * posix/getpid.c: Likewise.
45219         * posix/getppid.c: Likewise.
45220         * posix/getresgid.c: Likewise.
45221         * posix/getresuid.c: Likewise.
45222         * posix/getsid.c: Likewise.
45223         * posix/getuid.c: Likewise.
45224         * posix/glob64.c: Likewise.
45225         * posix/nanosleep.c: Likewise.
45226         * posix/pathconf.c: Likewise.
45227         * posix/pause.c: Likewise.
45228         * posix/posix_madvise.c: Likewise.
45229         * posix/pread.c: Likewise.
45230         * posix/pread64.c: Likewise.
45231         * posix/pwrite.c: Likewise.
45232         * posix/pwrite64.c: Likewise.
45233         * posix/sched_getaffinity.c: Likewise.
45234         * posix/sched_getp.c: Likewise.
45235         * posix/sched_gets.c: Likewise.
45236         * posix/sched_primax.c: Likewise.
45237         * posix/sched_primin.c: Likewise.
45238         * posix/sched_rr_gi.c: Likewise.
45239         * posix/sched_setaffinity.c: Likewise.
45240         * posix/sched_setp.c: Likewise.
45241         * posix/sched_sets.c: Likewise.
45242         * posix/sched_yield.c: Likewise.
45243         * posix/setgid.c: Likewise.
45244         * posix/setlogin.c: Likewise.
45245         * posix/setpgid.c: Likewise.
45246         * posix/setresgid.c: Likewise.
45247         * posix/setresuid.c: Likewise.
45248         * posix/setsid.c: Likewise.
45249         * posix/setuid.c: Likewise.
45250         * posix/sleep.c: Likewise.
45251         * posix/spawni.c: Likewise.
45252         * posix/sysconf.c: Likewise.
45253         * posix/times.c: Likewise.
45254         * posix/wait.c: Likewise.
45255         * posix/wait3.c: Likewise.
45256         * posix/wait4.c: Likewise.
45257         * posix/waitpid.c: Likewise.
45258         * resolv/gai_sigqueue.c: Likewise.
45259         * resource/getpriority.c: Likewise.
45260         * resource/getrlimit.c: Likewise.
45261         * resource/getrusage.c: Likewise.
45262         * resource/nice.c: Likewise.
45263         * resource/setpriority.c: Likewise.
45264         * resource/setrlimit.c: Likewise.
45265         * resource/ulimit.c: Likewise.
45266         * rt/aio_cancel.c: Likewise.
45267         * rt/aio_fsync.c: Likewise.
45268         * rt/aio_read.c: Likewise.
45269         * rt/aio_sigqueue.c: Likewise.
45270         * rt/aio_suspend.c: Likewise.
45271         * rt/aio_write.c: Likewise.
45272         * rt/clock_getres.c: Likewise.
45273         * rt/clock_gettime.c: Likewise.
45274         * rt/clock_nanosleep.c: Likewise.
45275         * rt/clock_settime.c: Likewise.
45276         * rt/lio_listio.c: Likewise.
45277         * rt/mq_close.c: Likewise.
45278         * rt/mq_getattr.c: Likewise.
45279         * rt/mq_notify.c: Likewise.
45280         * rt/mq_open.c: Likewise.
45281         * rt/mq_receive.c: Likewise.
45282         * rt/mq_send.c: Likewise.
45283         * rt/mq_setattr.c: Likewise.
45284         * rt/mq_timedreceive.c: Likewise.
45285         * rt/mq_timedsend.c: Likewise.
45286         * rt/mq_unlink.c: Likewise.
45287         * rt/shm_open.c: Likewise.
45288         * rt/shm_unlink.c: Likewise.
45289         * rt/timer_create.c: Likewise.
45290         * rt/timer_delete.c: Likewise.
45291         * rt/timer_getoverr.c: Likewise.
45292         * rt/timer_gettime.c: Likewise.
45293         * rt/timer_settime.c: Likewise.
45294         * setjmp/__longjmp.c: Likewise.
45295         * setjmp/setjmp.c: Likewise.
45296         * signal/kill.c: Likewise.
45297         * signal/killpg.c: Likewise.
45298         * signal/raise.c: Likewise.
45299         * signal/sigaction.c: Likewise.
45300         * signal/sigaltstack.c: Likewise.
45301         * signal/sigblock.c: Likewise.
45302         * signal/sigignore.c: Likewise.
45303         * signal/sigintr.c: Likewise.
45304         * signal/signal.c: Likewise.
45305         * signal/sigpause.c: Likewise.
45306         * signal/sigpending.c: Likewise.
45307         * signal/sigqueue.c: Likewise.
45308         * signal/sigreturn.c: Likewise.
45309         * signal/sigset.c: Likewise.
45310         * signal/sigsetmask.c: Likewise.
45311         * signal/sigstack.c: Likewise.
45312         * signal/sigsuspend.c: Likewise.
45313         * signal/sigtimedwait.c: Likewise.
45314         * signal/sigvec.c: Likewise.
45315         * signal/sigwait.c: Likewise.
45316         * signal/sigwaitinfo.c: Likewise.
45317         * signal/sysv_signal.c: Likewise.
45318         * socket/accept.c: Likewise.
45319         * socket/accept4.c: Likewise.
45320         * socket/bind.c: Likewise.
45321         * socket/connect.c: Likewise.
45322         * socket/getpeername.c: Likewise.
45323         * socket/getsockname.c: Likewise.
45324         * socket/getsockopt.c: Likewise.
45325         * socket/isfdtype.c: Likewise.
45326         * socket/listen.c: Likewise.
45327         * socket/recv.c: Likewise.
45328         * socket/recvfrom.c: Likewise.
45329         * socket/recvmsg.c: Likewise.
45330         * socket/send.c: Likewise.
45331         * socket/sendmsg.c: Likewise.
45332         * socket/sendto.c: Likewise.
45333         * socket/setsockopt.c: Likewise.
45334         * socket/shutdown.c: Likewise.
45335         * socket/sockatmark.c: Likewise.
45336         * socket/socket.c: Likewise.
45337         * socket/socketpair.c: Likewise.
45338         * stdio-common/ctermid.c: Likewise.
45339         * stdio-common/cuserid.c: Likewise.
45340         * stdio-common/remove.c: Likewise.
45341         * stdio-common/rename.c: Likewise.
45342         * stdio-common/renameat.c: Likewise.
45343         * stdio-common/tempname.c: Likewise.
45344         * stdlib/getcontext.c: Likewise.
45345         * stdlib/makecontext.c: Likewise.
45346         * stdlib/setcontext.c: Likewise.
45347         * stdlib/swapcontext.c: Likewise.
45348         * stdlib/system.c: Likewise.
45349         * streams/fattach.c: Likewise.
45350         * streams/fdetach.c: Likewise.
45351         * streams/getmsg.c: Likewise.
45352         * streams/getpmsg.c: Likewise.
45353         * streams/putmsg.c: Likewise.
45354         * streams/putpmsg.c: Likewise.
45355         * sysdeps/unix/bsd/getpt.c: Likewise.
45356         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45357         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45358         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45360         Likewise.
45361         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45362         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45363         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45364         * sysvipc/msgctl.c: Likewise.
45365         * sysvipc/msgget.c: Likewise.
45366         * sysvipc/msgrcv.c: Likewise.
45367         * sysvipc/msgsnd.c: Likewise.
45368         * sysvipc/semctl.c: Likewise.
45369         * sysvipc/semget.c: Likewise.
45370         * sysvipc/semop.c: Likewise.
45371         * sysvipc/semtimedop.c: Likewise.
45372         * sysvipc/shmat.c: Likewise.
45373         * sysvipc/shmctl.c: Likewise.
45374         * sysvipc/shmdt.c: Likewise.
45375         * sysvipc/shmget.c: Likewise.
45376         * termios/tcdrain.c: Likewise.
45377         * termios/tcflow.c: Likewise.
45378         * termios/tcflush.c: Likewise.
45379         * termios/tcgetattr.c: Likewise.
45380         * termios/tcgetpgrp.c: Likewise.
45381         * termios/tcsendbrk.c: Likewise.
45382         * termios/tcsetattr.c: Likewise.
45383         * termios/tcsetpgrp.c: Likewise.
45384         * time/adjtime.c: Likewise.
45385         * time/clock.c: Likewise.
45386         * time/getitimer.c: Likewise.
45387         * time/gettimeofday.c: Likewise.
45388         * time/setitimer.c: Likewise.
45389         * time/settimeofday.c: Likewise.
45390         * time/stime.c: Likewise.
45391         * time/time.c: Likewise.
45393 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
45395         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45396         /usr/old/bin.
45398         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45399         instead of spaces.
45400         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45402 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
45404         [BZ #14796]
45405         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45406         FE_TONEAREST before applying Dekker multiplication and Knuth
45407         addition.  Clear inexact exceptions and check for exact zero
45408         results afterwards.
45409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45410         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45411         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45412         * math/libm-test.inc (fma_test): Add more tests.
45413         (fma_test_towardzero): Likewise.
45414         (fma_test_downward): Likewise.
45415         (fma_test_upward): Likewise.
45416         * sysdeps/generic/math_private.h (default_libc_fesetround): New
45417         function.
45418         (libc_fesetround): New macro.
45419         (libc_fesetroundf): Likewise.
45420         (libc_fesetroundl): Likewise.
45421         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45422         function.
45423         (libc_fesetround_387): Likewise.
45424         (libc_fesetroundf): New macro.
45425         (libc_fesetround): Likewise.
45426         (libc_fesetroundl): Likewise.
45427         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45428         function.
45429         (libc_fesetroundf): New macro.
45430         (libc_fesetround): Likewise.
45431         (libc_fesetroundl): Likewise.
45432         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45433         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45434         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45435         libm_hidden_ver.
45436         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45437         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45438         libm_hidden_def.
45439         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45440         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45441         libm_hidden_ver.
45442         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45443         libm_hidden_def.
45445         [BZ #3439]
45446         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45447         integer constant usable in #if and use that to give value to enum
45448         constant.
45449         (FE_DIVBYZERO): Likewise.
45450         (FE_UNDERFLOW): Likewise.
45451         (FE_OVERFLOW): Likewise.
45452         (FE_INVALID): Likewise.
45453         (FE_INVALID_SNAN): Likewise.
45454         (FE_INVALID_ISI): Likewise.
45455         (FE_INVALID_IDI): Likewise.
45456         (FE_INVALID_ZDZ): Likewise.
45457         (FE_INVALID_IMZ): Likewise.
45458         (FE_INVALID_COMPARE): Likewise.
45459         (FE_INVALID_SOFTWARE): Likewise.
45460         (FE_INVALID_SQRT): Likewise.
45461         (FE_INVALID_INTEGER_CONVERSION): Likewise.
45462         (FE_TONEAREST): Likewise.
45463         (FE_TOWARDZERO): Likewise.
45464         (FE_UPWARD): Likewise.
45465         (FE_DOWNWARD): Likewise.
45466         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45467         (FE_DIVBYZERO): Likewise.
45468         (FE_OVERFLOW): Likewise.
45469         (FE_UNDERFLOW): Likewise.
45470         (FE_INEXACT): Likewise.
45471         (FE_TONEAREST): Likewise.
45472         (FE_DOWNWARD): Likewise.
45473         (FE_UPWARD): Likewise.
45474         (FE_TOWARDZERO): Likewise.
45475         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45476         (FE_UNDERFLOW): Likewise.
45477         (FE_OVERFLOW): Likewise.
45478         (FE_DIVBYZERO): Likewise.
45479         (FE_INVALID): Likewise.
45480         (FE_TONEAREST): Likewise.
45481         (FE_TOWARDZERO): Likewise.
45482         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45483         (FE_OVERFLOW): Likewise.
45484         (FE_UNDERFLOW): Likewise.
45485         (FE_DIVBYZERO): Likewise.
45486         (FE_INEXACT): Likewise.
45487         (FE_TONEAREST): Likewise.
45488         (FE_TOWARDZERO): Likewise.
45489         (FE_UPWARD): Likewise.
45490         (FE_DOWNWARD): Likewise.
45491         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45492         (FE_DIVBYZERO): Likewise.
45493         (FE_OVERFLOW): Likewise.
45494         (FE_UNDERFLOW): Likewise.
45495         (FE_INEXACT): Likewise.
45496         (FE_TONEAREST): Likewise.
45497         (FE_DOWNWARD): Likewise.
45498         (FE_UPWARD): Likewise.
45499         (FE_TOWARDZERO): Likewise.
45501 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
45503         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45505 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
45507         * scripts/cross-test-ssh.sh (command): Use newlines to separate
45508         commands.  Quote $PWD.
45509         (blacklist_exports): Don't use remove_newlines.  Replace "declare
45510         -x" by "export".
45511         (remove_newlines): Remove.
45513 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
45515         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45516         * stdlib/stdlib.h (atof): Moved to ...
45517         * include/bits/stdlib-float.h: Here.  New file.
45518         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45519         * stdlib/bits/stdlib-float.h: New file.
45520         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45521         -mno-sse -mno-mmx.
45522         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45523         <xmmintrin.h>.
45525 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
45527         * conform/conformtest.pl (@headers): Add fenv.h.
45528         * conform/data/fenv.h-data: New file.
45529         * include/fenv.h [_ISOMAC]: Disable all contents of file except
45530         include of <math/fenv.h>.
45532         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45533         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45534         && !UNIX98].  Enables tests for XOPEN2K8.
45535         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45536         POSIX2008]: Likewise.
45538         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45539         (struct rusage): Do not expect type or its members.
45541         [BZ #3439]
45542         * math/math.h (FP_NAN): Define macro to integer constant usable in
45543         #if and use that to give value to enum constant.
45544         (FP_INFINITE): Likewise.
45545         (FP_ZERO): Likewise.
45546         (FP_SUBNORMAL): Likewise.
45547         (FP_NORMAL): Likewise.
45549 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
45551         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45552         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45553         arguments.
45555 2012-11-02  Roland McGrath  <roland@hack.frob.com>
45557         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45558         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45559         autoconf-time if not.
45560         * configure.in: Remove AC_PREREQ.
45562 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45564         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45565         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45566         of the internal implementation.
45568 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
45570         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45571         except include of <misc/sys/syslog.h>.
45573 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45576         function returns with a NULL context exit with zero.
45578 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45580         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45582 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
45584         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45585         (run_program_cmd): This.
45586         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45587         (tst_langinfo): New variable.  Use it.
45589 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
45591         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45592         floating point opcodes.
45594 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45596         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45597         variable.
45599         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45601         * sysdeps/mach/hurd/powerpc: Remove directory.
45602         * sysdeps/mach/powerpc: Likewise.
45604 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45606         * scripts/check-local-headers.sh: Ignore c++ headers.
45608 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45610         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45611         __libc_cleanup_region_start argument.
45613 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
45615         [BZ #14784]
45616         [BZ #14785]
45617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45618         x * y using scaling, not as x * y + z.
45619         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45620         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45621         * math/libm-test.inc (fma_test): Add more tests.
45622         (fma_test_towardzero): Likewise.
45623         (fma_test_downward): Likewise.
45624         (fma_test_upward): Likewise.
45626 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45628         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45630 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45632         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45633         New variable.
45635 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
45637         * rt/tst-shm.c (worker): Correct checking for mmap failure.
45639 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45642         Fix sort order.
45643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45644         Likewise.
45646 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45649         Fix the order of the list for glibc 2.17.
45650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45651         Likewise.
45653 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45657 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45659         [BZ #14610]
45660         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45661         for low part of x being zero before using __atanl (y).
45662         * math/libm-test.inc (atan2_test): Add another test.
45664         * manual/install.texi (Configuring and compiling): Document
45665         general use of test-wrapper and test-wrapper-env.
45666         * INSTALL: Regenerated.
45668         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45669         (__fma): Do not extract and scale down low bits on after-rounding
45670         systems when result rounded to normal precision would have normal
45671         exponent.
45672         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45673         (__fmal): Do not extract and scale down low bits on after-rounding
45674         systems when result rounded to normal precision would have normal
45675         exponent.
45676         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45677         (__fmal): Do not extract and scale down low bits on after-rounding
45678         systems when result rounded to normal precision would have normal
45679         exponent.
45680         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45681         macro.
45682         (fma_test): Add more tests.
45683         (fma_test_towardzero): Likewise.
45684         (fma_test_downward): Likewise.
45685         (fma_test_upward): Likewise.
45687 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
45689         * sysdeps/i386/tininess.h: Renamed to ...
45690         * sysdeps/x86/tininess.h: This.
45691         * sysdeps/x86_64/tininess.h: Removed.
45693 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45695         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45696         input.  Use $(build-program-cmd).
45697         ($(objpfx)tst-array1-static.out): Likewise.
45698         ($(objpfx)tst-array2.out): Likewise.
45699         ($(objpfx)tst-array3.out): Likewise.
45700         ($(objpfx)tst-array4.out): Likewise.
45701         ($(objpfx)tst-array5.out): Likewise.
45702         ($(objpfx)tst-array5-static.out): Likewise.
45704 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
45706         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45707         if defined.
45709         * nss/nsswitch.h (nss_interface_function): Provide new
45710         macro for use with NSS functions.
45711         * grp/initgroups.c: Use new macro.
45712         * nss/getXXbyYY.c: Likewise.
45713         * nss/getXXbyYY_r.c: Likewise.
45714         * nss/getXXent.c: Likewise.
45715         * nss/getXXent_r.c: Likewise.
45716         * sysdeps/posix/getaddrinfo.c: Likewise.
45718 2012-10-30  Andreas Jaeger  <aj@suse.de>
45720         * po/ru.po: Update Russion translation from translation project.
45722 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45724         [BZ #14152]
45725         [BZ #14783]
45726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45727         result and shift together with sticky bit instead of replicating
45728         round-to-nearest rounding.
45729         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45730         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45731         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
45732         missing underflow exceptions.
45733         (fma_test_towardzero): Add more tests.
45734         (fma_test_downward): Likewise.
45735         (fma_test_upward): Likewise.
45737         [BZ #14047]
45738         * sysdeps/generic/tininess.h: New file.
45739         * sysdeps/i386/tininess.h: Likewise.
45740         * sysdeps/sh/tininess.h: Likewise.
45741         * sysdeps/x86_64/tininess.h: Likewise.
45742         * stdlib/tst-strtod-underflow.c: Likewise.
45743         * stdlib/tst-tininess.c: Likewise.
45744         * stdlib/strtod_l.c: Include <tininess.h>.
45745         (round_and_return): Do not set errno for exact underflow cases.
45746         Force an underflow exception when setting errno for underflow.
45747         Determine underflow based on rounding to normal precision if
45748         TININESS_AFTER_ROUNDING.
45749         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45750         ERANGE for exact underflow cases.
45751         * stdlib/Makefile (tests): Add tst-tininess and
45752         tst-strtod-underflow.
45753         ($(objpfx)tst-tininess): Use $(link-libm).
45754         ($(objpfx)tst-strtod-underflow): Likewise.
45756 2012-10-30  Andreas Jaeger  <aj@suse.de>
45758         [BZ#14767]
45759         * elf/Makefile (tests): Remove conditional for have-initfini-array
45760         since this is now always required and the variable does not exist
45761         anymore.
45762         (tests-static): Likewise.
45763         (modules-names): Likewise.
45765         * po/eo.po: Add Esperanto translation from translation project.
45767         * elf/tst-array1.c (fini_array): Make writeable so that it can be
45768         merged with constructor/destructor.
45769         (init_array): Likewise.
45770         * elf/tst-array2dep.c (fini_array): Likewise.
45771         (init_array): Likewise.
45773 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
45775         * manual/message.texi: Delete @cartouche tags.
45777 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
45779         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45780         EOPNOTSUPP.
45781         * sysdeps/mach/hurd/fsync.c: Likewise.
45783         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45784         [_POSIX_REALTIME_SIGNALS]: Change condition to
45785         [_POSIX_REALTIME_SIGNALS > 0].
45787 2012-10-27  Andreas Jaeger  <aj@suse.de>
45789         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45790         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45791         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45792         [__WORDSIZE != 64]: Likewise.
45794 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
45796         *  iconvdata/tst-table.sh: Remove ${SHELL}.
45797         *  iconvdata/tst-tables.sh: Likewise.
45799 2012-10-25  David S. Miller  <davem@davemloft.net>
45801         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45802         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45803         of strtoull.
45805         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45806         ifunc-impl-list.c
45807         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45808         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45809         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45810         file.
45812 2012-10-25  Roland McGrath  <roland@hack.frob.com>
45814         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45815         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45816         __getdirentries.
45818 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
45819             Jim Blandy  <jimb@codesourcery.com>
45821         * scripts/cross-test-ssh.sh: New file.
45822         * manual/install.texi (Configuring and compiling): Document use of
45823         cross-test-ssh.sh.
45824         * INSTALL: Regenerated.
45826 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
45828         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45829         EOPNOTSUPP.
45831 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
45833         * Makeconfig (run-program-prefix): Fix comment.
45835 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
45836             Jim Blandy  <jimb@codesourcery.com>
45838         * Makeconfig (test-wrapper): New variable,
45839         (test-wrapper-env): Likewise.
45840         [$(cross-compiling) = yes && $(test-wrapper) != ""]
45841         (run-built-tests): Define to yes.
45842         (run-program-prefix): Use $(test-wrapper).
45843         (built-program-cmd): Likewise.
45844         * Rules (make-test-out): Use $(test-wrapper-env) and
45845         $(host-built-program-cmd).
45846         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45847         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45848         tst-pathopt.sh.
45849         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45850         $(test-wrapper-env) to tst-rtld-load-self.sh.
45851         ($(objpfx)order2.out): Use $(test-wrapper).
45852         ($(objpfx)tst-initorder.out): Likewise.
45853         ($(objpfx)tst-initorder2.out): Likewise.
45854         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45855         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45856         (test_wrapper_env): New variable.  Use it to run ld.so.
45857         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45858         Use it to run ld.so.
45859         (test_wrapper_env): Likewise.
45860         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45861         $(test-wrapper) to run-iconv-test.sh.
45862         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45863         (ICONV): Use $test_wrapper.
45864         * posix/Makefile ($(objpfx)globtest.out): Pass
45865         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45866         globtest.sh, not $(run-program-prefix).
45867         * posix/globtest.sh (run_via_rtld_prefix): New variable.
45868         (test_wrapper): Likewise.
45869         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
45870         set together with run_via_rtld_prefix.
45871         (run_program_prefix): Define in terms of test_wrapper and
45872         run_via_rtld_prefix.
45874 2012-10-24  Roland McGrath  <roland@hack.frob.com>
45876         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45877         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45878         Targets removed.
45880         [BZ #14743]
45881         * include/time.h: Remove librt_hidden_proto (clock_gettime).
45882         Declare __clock_getres, __clock_gettime, __clock_settime,
45883         __clock_nanosleep, and __clock_getcpuclockid.
45884         * rt/clock_gettime.c: Define __clock_gettime as an alias.
45885         Remove librt_hidden_def (clock_gettime).
45886         * sysdeps/unix/clock_gettime.c: Likewise.
45887         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45888         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45889         * rt/clock_getres.c: Define __clock_getres as an alias.
45890         * sysdeps/posix/clock_getres.c: Likewise.
45891         * rt/clock_settime.c: Define __clock_settime as an alias.
45892         * sysdeps/unix/clock_settime.c: Likewise.
45893         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45894         * sysdeps/unix/clock_nanosleep.c: Likewise.
45895         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45896         * rt/clock-compat.c: New file.
45897         * rt/Makefile (librt-routines): Add clock-compat and move
45898         $(clock-routines) to ...
45899         (routines): ... here, new variable.
45900         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45901         Don't add get_clockfreq here.
45902         * rt/Versions (libc: GLIBC_2.17): New version set.
45903         Add clock_* symbols here.
45904         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
45905         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45906         (GLIBC_2.17): Add clock_* symbols.
45907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45909         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45911         Likewise.
45912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45913         Likewise.
45914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45918         * NEWS: Mention the move.
45920         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45921         Use __open, __read, __close rather than their public counterparts.
45922         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45923         (__get_clockfreq_via_cpuinfo): Likewise.
45924         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45925         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45927         * config.h.in (HAVE_IFUNC): New #undef.
45928         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45929         was successful.
45930         * configure: Regenerated.
45932 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
45934         * configure.in: Move READELF check to start of file.
45935         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45936         libc_cv_asm_gnu_indirect_function in the process.
45937         * configure: Regenerated.
45939 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
45941         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45942         send the output to /dev/null.
45943         (libc_cv_cc_with_libunwind): Likewise.
45944         (libc_cv_as_noexecstack): Likewise.
45945         * configure: Regenerate.
45947 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
45949         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45951         * posix/globtest.sh (TMPDIR): Do not set.
45952         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45953         (testout): Likewise.
45955 2012-10-24  Andreas Jaeger  <aj@suse.de>
45957         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45958         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45959         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45960         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45961         posix_fadvise64, posix_fallocate64.
45963         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45964         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45965         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45966         Likewise.
45967         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45968         Likewise.
45969         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45971         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45972         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45973         <bits/fcntl-linux.h>.
45974         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45976         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45977         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45978         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45979         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45980         [__WORDSIZE != 64]: Likewise.
45982 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
45984         * Makeconfig (run-built-tests): New variable.
45985         * Rules [$(cross-compiling) = yes]: Change condition to
45986         [$(run-built-tests) = no].
45987         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45988         to [$(run-built-tests) = yes].
45989         * elf/Makefile [$(cross-compiling) = no]: Likewise
45990         * grp/Makefile [$(cross-compiling) = no]: Likewise.
45991         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45992         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45993         * intl/Makefile [$(cross-compiling) = no]: Likewise.
45994         * io/Makefile [$(cross-compiling) = no]: Likewise.
45995         * libio/Makefile [$(cross-compiling) = no]: Likewise.
45996         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45997         * misc/Makefile [$(cross-compiling) = no]: Likewise.
45998         * posix/Makefile [$(cross-compiling) = no]: Likewise.
45999         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
46000         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
46001         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
46002         * string/Makefile [$(cross-compiling) = no]: Likewise.
46004         * posix/Makefile ($(objpfx)globtest.out): Pass
46005         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
46006         $(rtld-installed-name).
46007         * posix/globtest.sh (elf_objpfx): Remove variable.
46008         (rtld_installed_name): Likewise.
46009         (library_path): Likewise.
46010         (run_program_prefix): New variable.  Use for running globtest
46011         binary.
46013 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
46014             Joseph Myers  <joseph@codesourcery.com>
46016         * Makeconfig (host-built-program-cmd): New variable.
46017         * elf/Makefile (tst-stackguard1-ARGS): Use
46018         $(host-built-program-cmd).
46019         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
46020         (tst-spawn-ARGS): Likewise.
46021         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
46023 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46024             Jim Blandy  <jimb@codesourcery.com>
46026         * Makeconfig (run-via-rtld-prefix): New variable.
46027         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
46028         (built-program-cmd): Likewise.
46030 2012-10-22  Andreas Jaeger  <aj@suse.de>
46032         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
46033         __O_RSYNC if it exists, otherwise to O_SYNC.
46035 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
46036             Joseph Myers  <joseph@codesourcery.com>
46038         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
46039         /dev/null.
46040         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
46041         from /dev/null
46042         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
46043         /dev/null.
46045 2012-10-22  Andreas Jaeger  <aj@suse.de>
46047         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
46048         Define always.
46049         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
46051         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46052         bits/fcntl-linux.h.
46054         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
46055         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
46057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
46058         to __O_LARGEFILE.
46059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
46060         to __O_LARGEFILE.
46062 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
46063             Joseph Myers  <joseph@codesourcery.com>
46065         * config.make.in (NM): New variable.
46067 2012-10-21  Andreas Jaeger  <aj@suse.de>
46069         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
46070         definitions and declarations that are provided by
46071         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46073 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46075         [BZ #14683]
46076         * elf/Makefile (tests-static): Add tst-leaks1-static.
46077         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
46078         ($(objpfx)tst-leaks1-static): New rule.
46079         ($(objpfx)tst-leaks1-static-mem): Likewise.
46080         (tst-leaks1-static-ENV): New macro.
46081         * elf/dl-open.c (dl_open_worker): Check the main application
46082         only if SHARED is defined.
46083         * elf/tst-leaks1-static.c: New file.
46085 2012-10-20  Andreas Jaeger  <aj@suse.de>
46087         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
46088         generic values for Linux.
46089         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
46090         and declarations that are provided by <bits/fcntl-linux.h> and
46091         include <bits/fcntl-linux.h>.
46092         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46093         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46095 2012-10-20  Roland McGrath  <roland@hack.frob.com>
46097         * io/fcntl.h: Move include of <bits/types.h> to the top and
46098         include it unconditionally.
46100 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46102         * wcsmbs/Makefile (tests-ifunc): New variable.
46103         (tests): Add $(tests-ifunc).
46104         * wcsmbs/test-wcschr-ifunc.c: New file.
46105         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
46106         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
46107         * wcsmbs/test-wcslen-ifunc.c: Likewise.
46108         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
46109         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
46111         * string/Makefile (tests-ifunc): New variable.
46112         (tests): Add $(tests-ifunc).
46113         * string/test-memccpy.c (TEST_NAME): New macro.
46114         * string/test-memchr.c (TEST_NAME): Likewise.
46115         * string/test-memcmp.c (TEST_NAME): Likewise.
46116         * string/test-memcpy.c (TEST_NAME): Likewise.
46117         * string/test-memmem.c (TEST_NAME): Likewise.
46118         * string/test-memmove.c (TEST_NAME): Likewise.
46119         * string/test-memset.c (TEST_NAME): Likewise.
46120         * string/test-rawmemchr.c (TEST_NAME): Likewise.
46121         * string/test-stpcpy.c (TEST_NAME): Likewise.
46122         * string/test-stpncpy.c (TEST_NAME): Likewise.
46123         * string/test-strcasecmp.c (TEST_NAME): Likewise.
46124         * string/test-strcasestr.c (TEST_NAME): Likewise.
46125         * string/test-strcat.c (TEST_NAME): Likewise.
46126         * string/test-strchr.c (TEST_NAME): Likewise.
46127         * string/test-strcmp.c(TEST_NAME): Likewise.
46128         * string/test-strcpy.c (TEST_NAME): Likewise.
46129         * string/test-strcspn.c (TEST_NAME): Likewise.
46130         * string/test-strlen.c (TEST_NAME): Likewise.
46131         * string/test-strncasecmp.c (TEST_NAME): Likewise.
46132         * string/test-strncmp.c (TEST_NAME): Likewise.
46133         * string/test-strncpy.c (TEST_NAME): Likewise.
46134         * string/test-strnlen.c (TEST_NAME): Likewise.
46135         * string/test-strpbrk.c (TEST_NAME): Likewise.
46136         * string/test-strrchr.c (TEST_NAME): Likewise.
46137         * string/test-strspn.c (TEST_NAME): Likewise.
46138         * string/test-strstr.c (TEST_NAME): Likewise.
46139         * string/test-bcopy-ifunc.c: New file.
46140         * string/test-bzero-ifunc.c: Likewise.
46141         * string/test-memccpy-ifunc.c: Likewise.
46142         * string/test-memchr-ifunc.c: Likewise.
46143         * string/test-memcmp-ifunc.c: Likewise.
46144         * string/test-memcpy-ifunc.c: Likewise.
46145         * string/test-memmem-ifunc.c: Likewise.
46146         * string/test-memmove-ifunc.c: Likewise.
46147         * string/test-mempcpy-ifunc.c: Likewise.
46148         * string/test-memset-ifunc.c: Likewise.
46149         * string/test-rawmemchr-ifunc.c: Likewise.
46150         * string/test-stpcpy-ifunc.c: Likewise.
46151         * string/test-stpncpy-ifunc.c: Likewise.
46152         * string/test-strcasecmp-ifunc.c: Likewise.
46153         * string/test-strcasestr-ifunc.c: Likewise.
46154         * string/test-strcat-ifunc.c: Likewise.
46155         * string/test-strchr-ifunc.c: Likewise.
46156         * string/test-strchrnul-ifunc.c: Likewise.
46157         * string/test-strcmp-ifunc.c: Likewise.
46158         * string/test-strcpy-ifunc.c: Likewise.
46159         * string/test-strcspn-ifunc.c: Likewise.
46160         * string/test-strlen-ifunc.c: Likewise.
46161         * string/test-strncasecmp-ifunc.c: Likewise.
46162         * string/test-strncat-ifunc.c: Likewise.
46163         * string/test-strncmp-ifunc.c: Likewise.
46164         * string/test-strncpy-ifunc.c: Likewise.
46165         * string/test-strnlen-ifunc.c: Likewise.
46166         * string/test-strpbrk-ifunc.c: Likewise.
46167         * string/test-strrchr-ifunc.c: Likewise.
46168         * string/test-strspn-ifunc.c: Likewise.
46169         * string/test-strstr-ifunc.c: Likewise.
46171         * debug/Makefile (tests-ifunc): New variable.
46172         (tests): Add $(tests-ifunc).
46173         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46174         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46175         * debug/test-stpcpy_chk-ifunc.c: New file.
46176         * debug/test-strcpy_chk-ifunc.c: Likewise.
46178 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46180         [BZ #13601]
46181         * elf/dl-load.c (open_verify): Retry read if the entire ELF
46182         header is not read in.
46184 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
46186         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
46187         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
46188         directly.  Pass built executable to script as
46189         $(built-program-cmd).
46190         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
46191         $testprogram without using LD_LIBRARY_PATH and $ldso.
46193         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46194         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46195         $(rtld-installed-name).
46196         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46197         (rtld_installed_name): Likewise.
46198         (library_path): Likewise.
46199         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
46200         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46201         $(run-program-prefix) to tst-tables.sh.
46202         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
46203         it to run tst-table-from and tst-table-to.
46204         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46205         Pass it to tst-table.sh.
46206         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46207         $(run-program-prefix) to tst-gettext.sh.
46208         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46209         tst-translit.sh.
46210         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46211         tst-gettext2.sh.
46212         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
46213         to run tst-gettext.
46214         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
46215         to run tst-gettext2.
46216         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
46217         to run tst-translit.
46218         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46219         $(run-program-prefix) to tst-mtrace.sh.
46220         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
46221         to run tst-mtrace.
46222         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46223         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46224         $(rtld-installed-name).
46225         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46226         (rtld_installed_name): Likewise.
46227         (run_program_prefix): New variable.  Use it to run wordexp-test.
46229         * Makeconfig (ARCH): Remove all definitions.
46230         (machine): Likewise.
46231         [ARCH]: Remove conditional code.
46232         [!objdir]: Give error.
46233         [!objdir] (objpfx): Remove.
46234         [!objdir] (common-objpfx): Likewise.
46235         [!objdir] (common-objdir): Likewise.
46236         * configure.in (config_makefile): Remove.  Hardcode Makefile in
46237         AC_CONFIG_FILES call.
46238         * configure: Regenerated.
46240         [BZ #13888]
46241         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46242         or TMPDIR.
46243         (testout): Likewise.
46245         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46246         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46247         $(rtld-installed-name).
46248         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46249         (rtld_installed_name): Likwise.
46250         (runit): Remove function.
46251         (run_getconf): New variable,  Use it for running getconf binary.
46253 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
46255         [BZ #14716]
46256         * string/test-memmem.c (check_result): New function.
46257         (do_one_test): Use it.
46258         (check1): New function.
46259         (test_main): Use it.
46261 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
46263         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46265 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
46267         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46268         (_G_LSEEK64): Likewise.
46269         (_G_MMAP64): Likewise.
46270         (_G_FSTAT64): Likewise.
46271         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46272         (_G_LSEEK64): Likewise.
46273         (_G_MMAP64): Likewise.
46274         (_G_FSTAT64): Likewise.
46275         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46276         unconditional.  Call __mmap64 directly.
46277         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46278         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
46279         __lseek64 directly.
46280         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46281         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
46282         __mmap64 directly.
46283         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46284         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46285         __lseek64 directly.
46286         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46287         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46288         __lseek64 directly.
46289         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46290         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
46291         __lseek64 directly.
46292         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46293         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
46294         __fxstat64 directly.
46295         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46296         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46297         unconditional.
46298         (freopen64) [!_G_OPEN64]: Remove conditional code.
46299         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46300         unconditional.
46301         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46302         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46303         unconditional.
46304         (ftello64) [!_G_LSEEK64]: Remove conditional code.
46305         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46306         unconditional.
46307         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46308         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46309         unconditional.
46310         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46311         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46312         unconditional.
46313         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46314         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46315         unconditional.
46316         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46317         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46318         unconditional.
46319         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46321 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46323         [BZ #12140]
46324         * manual/memory.texi (Malloc Tunable Parameters): Add note
46325         about free list pointers overwriting some perturb bytes.
46326         Wording suggested by Roland McGrath.
46328 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
46330         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46331         (lgamma_test): Likewise.
46332         (tgamma_test): Likewise.
46334 2012-10-16  Florian Weimer  <fweimer@redhat.com>
46336         [BZ #14700]
46337         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46338         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46340 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
46342         * NEWS: Mention BZ #14716.
46343         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46344         when removing AVAILABLE1_USES_J macro.
46346 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
46348         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46349         (__bswap_64): __uint64_t for unsigned 64-bit int.
46351 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
46353         * include/string.h (memmem): Declare libc hidden alias.
46354         * string/memmem.c (memmem): Define libc hidden alias.
46355         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46356         __read, __close instead of open, read, close.
46358 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
46360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46361         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46362         global and hidden.
46363         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46364         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46365         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46366         Likewise.
46367         (__rawmemchr_sse2): Likewise.
46368         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46369         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46370         (__strchr_sse2): Likewise.
46371         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46372         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46373         (__strcasecmp_sse2): Likewise.
46374         (__strncasecmp_sse2): Likewise.
46375         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46376         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46377         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46378         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46379         (__strrchr_sse2): Likewise.
46380         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46381         ifunc-impl-list.c.
46382         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46383         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46384         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46385         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46386         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46387         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46388         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46389         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46390         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46391         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46392         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46393         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46394         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46395         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46396         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46397         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46398         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46399         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46400         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46401         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46402         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46403         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46404         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46405         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46406         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46407         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46408         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46409         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46410         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46411         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46413         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46414         global and hidden.
46415         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46416         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46417         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46418         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46419         Likewise.
46420         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46421         Likewise.
46422         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46423         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46424         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46425         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46426         ifunc-impl-list.c.
46427         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46428         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46429         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46430         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46431         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46432         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46433         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46434         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46435         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46436         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46437         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46438         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46439         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46440         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46441         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46442         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46443         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46444         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46445         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46446         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46447         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46448         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46449         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46450         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46451         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46452         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46453         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46454         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46455         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46456         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46457         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46458         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46459         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46460         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46461         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46462         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46463         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46464         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46465         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46466         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46467         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46469         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46470         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46471         * include/ifunc-impl-list.h: New file.
46472         * misc/ifunc-impl-list.c: Likewise.
46473         * misc/Makefile (routines): Add ifunc-impl-list.
46474         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46475         * string/test-string.h: Include <ifunc-impl-list.h>.
46476         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46477         TEST_NAME]: New variables.
46478         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46479         are defined.
46480         (test_init): Call __libc_ifunc_impl_list to initialize
46481         func_list if TEST_IFUNC and TEST_NAME are defined.
46483         * string/Makefile (strop-tests): Add bcopy and bzero.
46484         * string/test-bcopy.c: New file.
46485         * string/test-bzero.c: Likewise.
46486         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46487         defined.
46488         * string/test-memset.c: Support bzero test if TEST_BZERO is
46489         defined.
46490         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46491         __libc_memmove.
46492         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46493         __libc_memset.
46494         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46495         of memset.
46497 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
46499         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46500         * configure: Regenerated.
46502         * Makeconfig (+link-static-before-libc): Don't include
46503         $(link-static-libc).
46505         * libio/libio.h (_IO_pos_t): Remove.
46507 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46509         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
46510         McGrath.
46512 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46514         * crypt/crypt-entry.c: Include fips-private.h.
46515         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46516         * crypt/md5c-test.c (main): Tolerate disabled MD5.
46517         * sysdeps/unix/sysv/linux/fips-private.h: New file.
46518         * sysdeps/generic/fips-private.h: New file, dummy fallback.
46520 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46522         * crypt/crypt-private.h: Include stdbool.h.
46523         (_ufc_setup_salt_r): Return bool.
46524         * crypt/crypt-entry.c: Include errno.h.
46525         (__crypt_r): Return NULL with EINVAL for bad salt.
46526         * crypt/crypt_util.c (bad_for_salt): New.
46527         (_ufc_setup_salt_r): Check that salt is long enough and within
46528         the specified alphabet.
46529         * crypt/badsalttest.c: New file.
46530         * crypt/Makefile (tests): Add it.
46531         ($(objpfx)badsalttest): New.
46533 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
46535         * NEWS: Add entry for BZ #14602.
46537 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
46539         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46540         type-generic.
46541         * math/libm-test.inc: Update comment listing what functions and
46542         macros are tested.
46543         (isgreater_test): New function.
46544         (isgreaterequal_test): Likewise.
46545         (isless_test): Likewise.
46546         (islessequal_test): Likewise.
46547         (islessgreater_test): Likewise.
46548         (isunordered_test): Likewise.
46549         (main): Call the new functions.
46551 2012-10-09  Roland McGrath  <roland@hack.frob.com>
46553         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46554         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46555         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46556         * sysdeps/i386/configure: Regenerated.
46557         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46558         * sysdeps/mach/configure: Regenerated.
46559         * sysdeps/mach/hurd/configure: Regenerated.
46560         * sysdeps/powerpc/configure: Regenerated.
46561         * sysdeps/powerpc/powerpc32/configure: Regenerated.
46562         * sysdeps/powerpc/powerpc64/configure: Regenerated.
46563         * sysdeps/s390/s390-32/configure: Regenerated.
46564         * sysdeps/s390/s390-64/configure: Regenerated.
46565         * sysdeps/sh/configure: Regenerated.
46566         * sysdeps/sparc/configure: Regenerated.
46567         * sysdeps/unix/sysv/linux/configure: Regenerated.
46568         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46569         * sysdeps/x86_64/configure: Regenerated.
46571         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46572         defined.  Don't check if MAP is NULL.
46574 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
46576         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46577         (_G_stat64): Likewise.
46578         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46579         (_G_stat64): Likewise.
46580         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46581         instead of struct _G_stat64.
46582         * libio/fileops.c (mmap_remap_check): Likewise.
46583         (decide_maybe_mmap): Likewise.
46584         (_IO_new_file_seekoff): Likewise.
46585         (_IO_file_stat): Likewise.
46586         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46587         _G_off64_t.
46588         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46589         instead of struct _G_stat64.
46590         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46592 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
46594         [BZ #14602]
46595         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46596         Replace with ...
46597         (CHECK_EOL): New macro.
46598         (two_way_short_needle): Check beginning of haystack for EOL.  Use
46599         CHECK_EOL.
46600         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46601         Replace with CHECK_EOL.
46602         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46603         Replace with CHECK_EOL.
46605 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
46607         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46608         type-generic.
46609         * math/libm-test.inc: Update comment listing what functions and
46610         macros are tested.
46611         (finite_test): New function.
46612         (isinf_test): Likewise.
46613         (isnan_test): Likewise.
46614         (fpclassify_test): Test subnormal input.
46615         (isfinite_test): Likewise.
46616         (isnormal_test): Likewise.
46617         (main): Call the new functions.
46619 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
46621         [BZ #14660]
46622         * Makerules (%.dynsym): Force C locale when running
46623         $(OBJDUMP) --dynamic-syms.
46625 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
46627         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46628         <stdint.h>.
46630 2012-10-06  David S. Miller  <davem@davemloft.net>
46632         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46633         upper 32-bits of the length value in %o2 since we use branch-on-register
46634         tests which consider the entire 64-bit register.
46636 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
46638         * string/test-strstr.c (check2): Add a test for page boundary.
46640 2012-10-05  David S. Miller  <davem@davemloft.net>
46642         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46643         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46644         file.
46645         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46646         sysdep_routines.
46647         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46648         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46649         and bzero when HWCAP_SPARC_CRYPTO is present.
46651 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
46653         [BZ #14602]
46654         * string/test-strstr.c (check2): New function.
46655         (test_main): Call check2.
46657         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46658         and bug-strchr1.
46659         * string/bug-strcasestr1.c (do_test): Moved to ...
46660         * string/test-strcasestr.c (check1): Here.  New function.
46661         (do_one_test): Break out result checking code into ...
46662         (check_result): This.  New function.
46663         (do_one_test): Call check_result.
46664         (test_main): Call check1.
46665         * string/bug-strchr1.c (do_test): Moved to ...
46666         * string/test-strchr.c (check1): Here.  New function.
46667         (do_one_test): Break out result checking code into ...
46668         (check_result): This.  New function.
46669         (do_one_test): Call check_result.
46670         (test_main): Call check1.
46671         * string/bug-strstr1.c (main): Moved to ...
46672         * string/test-strstr.c (check1): Here.  New function.
46673         (do_one_test): Break out result checking code into ...
46674         (check_result): This.  New function.
46675         (do_one_test): Call check_result.
46676         (test_main): Call check1.
46677         * string/bug-strcasestr1.c: Removed.
46678         * string/bug-strchr1.c: Likewise.
46679         * string/bug-strstr1.c: Likewise.
46681         * elf/Makefile (dl-routines): Add hwcaps.
46682         * elf/dl-support.c (_dl_important_hwcaps): Removed.
46683         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46684         (_dl_important_hwcaps): Moved to ...
46685         * elf/dl-hwcaps.c: Here.  New file.
46686         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46688         [BZ #14557]
46689         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46690         if IS_IN_rtld isn't defined.
46692         * elf/dl-support.c (_dl_sysinfo_map): New.
46693         Include "get-dynamic-info.h" and "setup-vdso.h".
46694         (_dl_non_dynamic_init): Call setup_vdso.
46695         * elf/dynamic-link.h: Don't include <assert.h>.
46696         (elf_get_dynamic_info): Moved to ...
46697         * elf/get-dynamic-info.h: Here.  New file.
46698         * elf/dynamic-link.h: Include "get-dynamic-info.h".
46699         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46700         * elf/setup-vdso.h: Here.  New file.
46701         * elf/rtld.c: Include "setup-vdso.h".
46702         (dl_main): Call setup_vdso.
46704 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
46706         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46707         creal in comment listing functions tested.  List finite, isinf,
46708         isnan, isless, islessequal, isgreater, isgreaterequal,
46709         islessgreater, isunordered, lgamma_r and pow10 as functions and
46710         macros not tested.  Mention which functions not tested are aliases
46711         for other functions.  Fix typo.  Note that signs of NaNs are not
46712         tested.
46714         * scripts/config.guess: Update from config.git.
46715         * scripts/config.sub: Likewise.
46717 2012-10-04  Roland McGrath  <roland@hack.frob.com>
46719         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46720         * misc/madvise.c (madvise): Renamed to __madvise.
46721         Make madvise a weak alias.
46722         * include/sys/mman.h: Declare __madvise.
46723         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46724         * sysdeps/unix/syscalls.list
46725         (madvise): Make __madvise the strong name, and madvise a weak alias.
46726         * sysdeps/unix/sysv/linux/syscalls.list
46727         (madvise, mmap): Remove redundant entries.
46728         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46729         * malloc/malloc.c (mtrim): Likewise.
46730         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46732 2012-10-03  Roland McGrath  <roland@hack.frob.com>
46734         * sysdeps/mach/hurd/dl-cache.c: File removed.
46735         * config.h.in (USE_LDCONFIG): New #undef.
46736         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46737         * configure: Regenerated.
46738         * elf/Makefile (dl-routines): Add dl-cache only under
46739         [$(use-ldconfig) = yes].
46740         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46741         cache on [USE_LDCONFIG].
46742         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46743         [USE_LDCONFIG].
46744         * elf/rtld.c (dl_main): Likewise.
46746 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
46748         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46749         _SC_LEVEL4_CACHE_LINESIZE.
46751 2012-10-03  Roland McGrath  <roland@hack.frob.com>
46753         * sysdeps/unix/bsd/confstr.h: File removed.
46755 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
46757         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46758         sys/sdt-config.h.
46760 2012-10-02  Roland McGrath  <roland@hack.frob.com>
46762         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46763         Make 'mapoff' field ElfW(Off) rather than off_t.
46765 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
46767         * nscd/Makefile: Remove nscd-cflags and all its users.
46768         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46769         (CFLAGS-nonlib): Add compiler flags for nscd modules.
46771         [BZ #10631]
46772         * malloc.c (malloc_printerr): Clarify error message.
46774 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
46776         [BZ #14648]
46777         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46778         Set bit_FMA_Usable if FMA is supported.
46779         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46780         macro.
46781         (bit_FMA4_Usable): Updated.
46782         (index_FMA_Usable): New macro.
46783         (CPUID_FMA): Likewise
46784         (HAS_FMA): Defined with bit_FMA_Usable.
46786 2012-10-01  Roland McGrath  <roland@hack.frob.com>
46788         * bits/types.h (__swblk_t): Type removed.
46789         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46790         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46791         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46792         (__SWBLK_T_TYPE): Likewise.
46793         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46794         (__SWBLK_T_TYPE): Likewise.
46795         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46796         (__SWBLK_T_TYPE): Likewise.
46797         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46798         (__SWBLK_T_TYPE): Likewise.
46800 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
46801             Honza Horak <hhorak@redhat.com>
46803         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46804         (xdr_mapname): Use YPMAXMAP as maxsize.
46805         (xdr_peername): Use YPMAXPEER as maxsize.
46806         (xdr_keydat): Use YPAXRECORD as maxsize.
46807         (xdr_valdat): Use YPMAXRECORD as maxsize.
46809 2012-10-01  Roland McGrath  <roland@hack.frob.com>
46811         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46813         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46814         * csu/init-first.c: ... here.
46815         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46816         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46817         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46818         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46819         * sysdeps/i386/init-first.c: File removed.
46820         * sysdeps/sh/init-first.c: File removed.
46822 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
46824         [BZ #14645]
46825         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46826         if x * y might underflow to zero and z is zero.
46827         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46828         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46829         * math/libm-test.inc (min_subnorm_value): New variable.
46830         (fma_test): Add more tests.
46831         (fma_test_towardzero): Likewise.
46832         (fma_test_downward): Likewise
46833         (fma_test_upward): Likewise.
46834         (initialize): Set min_subnorm_value.
46836 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
46838         [BZ #14638]
46839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46840         0 + 0.
46841         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46842         mode for addition resulting in exact zero.
46843         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46845         exact 0 + 0.
46846         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46847         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46848         * math/libm-test.inc (fma_test): Add more tests.
46849         (fma_test_towardzero): New function.
46850         (fma_test_downward): Likewise.
46851         (fma_test_upward): Likewise.
46852         (main): Call the new functions.
46854 2012-09-28  David S. Miller  <davem@davemloft.net>
46856         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46858 2012-09-28  Roland McGrath  <roland@hack.frob.com>
46860         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46861         instead of SIGALRM.
46863         * sysdeps/gnu/_G_config.h: Moved to ...
46864         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46865         * sysdeps/mach/hurd/_G_config.h: Moved to ...
46866         * sysdeps/generic/_G_config.h: ... here.
46868         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
46870         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46872         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46873         Conditionalize target on [libnss_test1.so-version].
46875         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46877         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46878         (elfobjdir): Move out of conditionals.
46880         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46881         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46882         (__nss_lookup_function): Conditionalize label remove_from_tree on
46883         [!DO_STATIC_NSS || SHARED], matching its only use.
46885 2012-09-28  David S. Miller  <davem@davemloft.net>
46887         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46888         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46889         file.
46890         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46891         sysdep_routines.
46892         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46893         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46894         when HWCAP_SPARC_CRYPTO is present.
46896 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46898         * io/tst-mknodat.c: Create a FIFO instead of a socket.
46900 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
46902         [BZ #6530]
46903         * stdio-common/vfprintf.c (process_string_arg): Revert
46904         2000-07-22 change.
46906 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
46908         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46909         for testcase.
46910         * stdio-common/tst-sprintf.c: Include <locale.h>
46911         (main): Test sprintf's handling of incomplete multibyte
46912         characters.
46914 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
46916         * elf/dl-runtime.c (VERSYMIDX): Removed.
46917         * elf/dl-version.c (VERSYMIDX): Likewise.
46918         * elf/do-rel.h (VERSYMIDX): Likewise.
46919         (VALIDX): Likewise.
46920         * elf/dynamic-link.h (VERSYMIDX): Likewise.
46921         * elf/rtld.c (VALIDX): Likewise.
46922         (ADDRIDX): Likewise.
46923         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46924         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46925         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46926         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46927         (VALIDX): Likewise.
46928         (ADDRIDX): Likewise.
46930 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46932         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46934 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
46936         [BZ #11438]
46937         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46938         to global scope.
46939         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46940         addresses are in the same scope as 192.0.2/24.
46941         * posix/gai.conf: Document new scope table defaults.
46943 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46945         [BZ #5298]
46946         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46947         for ftell.  Compute offsets from write pointers instead.
46948         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46950 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46952         [BZ #14543]
46953         * libio/Makefile (tests): New test case tst-fseek.
46954         * libio/tst-fseek.c: New test case to verify that fseek/ftell
46955         combination works in wide mode.
46956         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46957         state when the external buffer state changes.
46959 2012-09-27  David S. Miller  <davem@davemloft.net>
46961         [BZ #14376]
46962         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46963         pass reloc->r_addend in as the 'high' argument to
46964         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46968 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46970         * rt/tst-aio2.c: Include <pthread.h>.
46971         * rt/tst-aio3.c: Likewise.
46973 2012-09-27  Steve Ellcey  <sellcey@mips.com>
46975         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46977 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
46979         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46980         contents on [SHARED].
46982 2012-09-26  Marek Polacek  <polacek@redhat.com>
46984         [BZ #14530]
46985         [BZ #13741]
46986         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46987         for C++ and GCC <4.3 as well as for non GCC compilers.
46989 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46993 2012-09-25  Roland McGrath  <roland@hack.frob.com>
46995         * Makefile.in (all, install): Declare with .PHONY.
46996         Reported by Michael Hope <michael.hope@linaro.org>.
46998 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47000         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
47001         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
47002         system header.
47003         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
47004         Likewise.
47005         (sydep_routines): Add the new and the internal functions.
47006         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
47007         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
47008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
47009         (GLIBC_2.17): Add the new function.
47010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47011         (GLIBC_2.17): Likewise.
47012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
47013         (GLIBC_2.17): Likewise.
47014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
47015         (GLIBC_2.17): Likewise.
47016         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
47018 2012-09-25  Alan Modra  <amodra@gmail.com>
47020         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
47021         Add release barrier before setting once_control to say
47022         initialisation is done.  Add hints on lwarx.  Use macro in
47023         place of isync.
47024         (clear_once_control): Add release barrier.
47026 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47028         [BZ #13629]
47029         * math/s_clog.c (__clog): Handle more values close to |z| = 1
47030         specially.
47031         * math/s_clog10.c (__clog10): Likewise.
47032         * math/s_clog10f.c (__clog10f): Likewise.
47033         * math/s_clog10l.c (__clog10l): Likewise.
47034         * math/s_clogf.c (__clogf): Likewise.
47035         * math/s_clogl.c (__clogl): Likewise.
47036         * math/Makefile (libm-calls): Add x2y2m1.
47037         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
47038         (__x2y2m1): Likewise.
47039         (__x2y2m1l): Likewise.
47040         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
47041         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
47042         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
47043         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47044         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
47045         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
47046         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
47047         * sysdeps/i386/fpu/libm-test-ulps: Update.
47048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47050         [BZ #14621]
47051         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
47052         int as type of variable DEPTH.
47053         (glob): Use size_t instead of int as type of variables NEWCOUNT
47054         and OLD_PATHC.
47056 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47058         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47059         Add s_sincosf-sse2.
47060         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
47061         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
47062         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
47063         macros for using routine as __sincosf_ia32.
47064         Use macro for function declaration and weak_alias.
47065         * sysdeps/i386/fpu/libm-test-ulps: Update.
47067         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
47068         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47070         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
47071         subnormal argument.
47072         * math/s_cexpf.c (__cexpf): Likewise.
47073         * math/s_csinf.c (__csinf): Likewise.
47074         * math/s_csinhf.c (__csinhf): Likewise.
47075         * math/s_ctanf.c (__ctanf): Likewise.
47076         * math/s_ctanhf.c (__ctanhf): Likewise.
47077         * math/s_ccosh.c (__ccoshf): Likewise.
47078         * math/s_cexp.c (__cexpl): Likewise.
47079         * math/s_csin.c (__csin): Likewise.
47080         * math/s_csinh.c (__csinh): Likewise.
47081         * math/s_ctan.c (__ctan): Likewise.
47082         * math/s_ctanh.c (ctanh): Likewise.
47083         * math/s_ccoshl.c (__ccoshl): Likewise.
47084         * math/s_cexpl.c (__cexpl): Likewise.
47085         * math/s_csinl.c (__csinl): Likewise.
47086         * math/s_csinhl.c (__csinhl): Likewise.
47087         * math/s_ctanl.c (__ctanl): Likewise.
47088         * math/s_ctanhl.c (__ctanhl): Likewise.
47090 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47092         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
47093         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
47094         (_IO_off_t): Define to __off_t, not _G_off_t.
47095         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
47096         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
47097         (_IO_wint_t): Define to wint_t, not _G_wint_t.
47098         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
47099         type of __dummy and __dummy2 fields.
47100         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
47101         (_G_ssize_t): Likewise.
47102         (_G_off_t): Likewise.
47103         (_G_pid_t): Likewise.
47104         (_G_uid_t): Likewise.
47105         (_G_wchar_t): Likewise.
47106         (_G_wint_t): Likewise.
47107         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
47108         (_G_ssize_t): Likewise.
47109         (_G_off_t): Likewise.
47110         (_G_pid_t): Likewise.
47111         (_G_uid_t): Likewise.
47112         (_G_wchar_t): Likewise.
47113         (_G_wint_t): Likewise.
47114         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
47115         (_G_ssize_t): Likewise.
47116         (_G_off_t): Likewise.
47117         (_G_pid_t): Likewise.
47118         (_G_uid_t): Likewise.
47119         (_G_wchar_t): Likewise.
47120         (_G_wint_t): Likewise.
47122 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47124         * malloc/arena.c: Include malloc-sysdep.h.
47125         (shrink_heap): Use check_may_shrink_heap to decide if madvise
47126         is sufficient to shrink the heap or an unmap is needed.
47127         * sysdeps/generic/malloc-sysdep.h: New file.  Define
47128         new function check_may_shrink_heap.
47129         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
47130         new function check_may_shrink_heap.
47132 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47134         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47135         comments.
47137 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
47139         * catgets/test-gencat.sh: Add "set -e".
47140         * elf/tst-pathopt.sh: Likewise.
47141         * grp/tst_fgetgrent.sh: Likewise.
47142         * iconvdata/run-iconv-test.sh: Likewise.
47143         * intl/tst-gettext.sh: Likewise.
47144         * intl/tst-gettext2.sh: Likewise.
47145         * intl/tst-gettext4.sh: Likewise.
47146         * intl/tst-gettext6.sh: Likewise.
47147         * intl/tst-translit.sh: Likewise.
47148         * io/ftwtest-sh: Likewise.
47149         * libio/test-freopen.sh: Likewise.
47150         * malloc/tst-mtrace.sh: Likewise.
47151         * posix/globtest.sh: Likewise.
47152         * posix/tst-getconf.sh: Likewise.
47153         * posix/wordexp-tst.sh: Likewise.
47154         * stdio-common/tst-printf.sh: Likewise.
47155         * stdio-common/tst-unbputc.sh: Likewise.
47156         * stdlib/tst-fmtmsg.sh: Likewise.
47157         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47158         * catgets/Makefile: Do not specify -e option when running
47159         testsuite shell scripts.
47160         * elf/Makefile: Likewise.
47161         * grp/Makefile: Likewise.
47162         * iconvdata/Makefile: Likewise.
47163         * intl/Makefile: Likewise.
47164         * io/Makefile: Likewise.
47165         * libio/Makefile: Likewise.
47166         * malloc/Makefile: Likewise.
47167         * posix/Makefile: Likewise.
47168         * stdio-common/Makefile: Likewise.
47169         * stdlib/Makefile: Likewise.
47170         * sysdeps/x86_64/Makefile: Likewise.
47172         * io/ftwtest-sh: Add copyright header.
47173         * posix/globtest.sh: Likewise.
47174         * posix/tst-getconf.sh: Likewise.
47175         * posix/wordexp-tst.sh: Likewise.
47176         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47178 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
47180         [BZ #13679]
47181         * Makeconfig (+link): Defined as $(+link-static) if
47182         $(build-shared) isn't yes.
47183         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47184         isn't yes.
47185         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47187         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47189         [BZ #14562]
47190         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47191         new chunk size with MALLOC_ALIGN_MASK.
47193 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
47195         [BZ #5044]
47196         * stdio-common/printf_fphex.c: Include <stdbool.h> and
47197         <rounding-mode.h>.
47198         (__printf_fphex): Determine rounding using get_rounding_mode and
47199         round_away.
47200         * stdio-common/tst-printf-round.c (struct hex_test): New
47201         structure.
47202         (hex_tests): New variable.
47203         (test_hex_in_one_mode): New function.
47204         (do_test): Also run tests for hex float output.
47206 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
47208         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47209         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47210         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47211         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47212         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47213         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47214         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47215         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47217 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
47219         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47220         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47221         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47222         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47224 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
47226         [BZ #14579]
47227         * elf/rtld.c (dl_main): Limit the check for self loading to normal
47228         mode only.
47229         * elf/tst-rtld-load-self.sh: New test.
47230         * elf/Makefile: Run it.
47232 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
47234         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47235         (tst-writev-ENV): Remove.
47236         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47238 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
47240         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47242 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
47244         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47245         unconditional.
47246         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47247         Likewise.
47248         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47249         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47250         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47251         Likewise.
47253 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
47255         [BZ #14587]
47256         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47257         * config.make.in (have-cpp-asm-debuginfo): Removed.
47258         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47259         * configure: Regenerated.
47261 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
47263         [BZ #5044]
47264         * stdio-common/printf_fp.c: Include <stdbool.h> and
47265         <rounding-mode.h>.
47266         (___printf_fp): Determine rounding using get_rounding_mode and
47267         round_away.
47268         * stdio-common/tst-printf-round.c: New file.
47269         * stdio-common/Makefile (tests): Add tst-printf-round.
47270         (link-libm): New variable.
47271         ($(objpfx)tst-printf-round): Depend in $(link-libm).
47273 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
47275         [BZ #14576]
47276         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47277         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47278         Likewise.
47279         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47280         Likewise.
47282 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
47284         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47285         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47286         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47287         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47289 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
47291         [BZ #14518]
47292         * include/rounding-mode.h: New file.
47293         * sysdeps/generic/get-rounding-mode.h: Likewise.
47294         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47295         * stdlib/strtod_l.c: Include <rounding-mode.h>.
47296         (MAX_VALUE): New macro.
47297         (MIN_VALUE): Likewise.
47298         (overflow_value): New function.
47299         (underflow_value): Likewise.
47300         (round_and_return): Use overflow_value and underflow_value to
47301         determine return values in overflow and underflow cases.  Use
47302         round_away to determine rounding depending on rounding mode.
47303         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47304         determine return values in overflow and underflow cases.
47305         * stdlib/tst-strtod-round.c: Include <fenv.h>.
47306         (struct test_results): New structure.
47307         (struct test): Use struct test_results to store expected results
47308         for all rounding modes.
47309         (TEST): Include expected results for all rounding modes.
47310         (test_in_one_mode): New function.
47311         (do_test): Use test_in_one_mode to compute and check results.
47312         Check results for all rounding modes.
47313         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47314         $(link-libm).
47316 2012-12-09  Allan McRae  <allan@archlinux.org>
47318         * sysdeps/i386/fpu/libm-test-ulps: Update
47320 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
47322         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47323         (_G_int32_t): Likewise.
47324         (_G_uint16_t): Likewise.
47325         (_G_uint32_t): Likewise.
47326         (_G_HAVE_BOOL): Likewise.
47327         (_G_HAVE_ATEXIT): Likewise.
47328         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47329         (_G_HAVE_IO_FILE_OPEN): Likewise.
47330         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47331         (_G_int32_t): Likewise.
47332         (_G_uint16_t): Likewise.
47333         (_G_uint32_t): Likewise.
47334         (_G_HAVE_BOOL): Likewise.
47335         (_G_HAVE_ATEXIT): Likewise.
47336         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47337         (_G_HAVE_IO_FILE_OPEN): Likewise.
47338         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47339         (_G_int32_t): Likewise.
47340         (_G_uint16_t): Likewise.
47341         (_G_uint32_t): Likewise.
47342         (_G_HAVE_BOOL): Likewise.
47343         (_G_HAVE_ATEXIT): Likewise.
47344         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47345         (_G_HAVE_IO_FILE_OPEN): Likewise.
47347 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
47349         * csu/libc-tls.c: Update copyright years.
47351 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
47353         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47354         [!_G_USING_THUNKS]: Remove conditional code.
47355         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47356         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47358         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47359         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47360         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47361         (_G_VTABLE_LABEL_PREFIX): Likewise.
47362         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47363         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47364         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47365         (_G_VTABLE_LABEL_PREFIX): Likewise.
47366         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47367         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47368         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47369         (_G_VTABLE_LABEL_PREFIX): Likewise.
47370         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47372 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
47374         * libio/Makefile: Include ../Makeconfig before tests.
47375         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47376         only if $(build-shared) is yes.
47378         * iconv/gconv_db.c: Update copyright years.
47380 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47382         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47383         unwind info if defined PIC. Fix special cases description.
47384         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47386         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47387         DP_HI_MASK entry.
47388         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47390 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
47392         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47394         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47395         is NULL.
47397         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47398         (LDLIBS-tst-chk4): This.
47399         (LDFLAGS-tst-chk5): Renamed to ...
47400         (LDLIBS-tst-chk5): This.
47401         (LDFLAGS-tst-chk6): Renamed to ...
47402         (LDLIBS-tst-chk6): This.
47403         (LDFLAGS-tst-lfschk4): Renamed to ...
47404         (LDLIBS-tst-lfschk4): This.
47405         (LDFLAGS-tst-lfschk5): Renamed to ...
47406         (LDLIBS-tst-lfschk5): This.
47407         (LDFLAGS-tst-lfschk6): Renamed to ...
47408         (LDLIBS-tst-lfschk6): This.
47410         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47411         on $(common-objpfx)soversions.mk.
47413 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
47415         [BZ #10014]
47416         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47417         example host name.
47419 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47421         * malloc/arena.c (arena_get_retry): New function that gets
47422         another arena for the caller to try its request on.
47423         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47424         current arena cannot fulfill the request.
47425         (__libc_memalign): Likewise.
47426         (__libc_memalign): Likewise.
47427         (__libc_pvalloc): Likewise.
47428         (__libc_calloc): Likewise.
47430 2012-09-05  John Tobey  <john.tobey@gmail.com>
47432         [BZ #13542]
47433         * manual/arith.texi (Operations on Complex): Fix description
47434         of carg branch cut.
47436 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47438         [BZ #10014]
47439         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47440         host name.
47442         [BZ #10038]
47443         * manual/memory.texi (Memory): Make order of menu items match
47444         order of sections.
47446 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47448         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47449         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
47450         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47452 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47454         * csu/libc-tls.c (static_dtv): Renamed to ...
47455         (_dl_static_dtv): This.  Make it global.
47456         (_dl_initial_dtv): Removed.
47457         (__libc_setup_tls): Updated.
47458         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47459         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47460         DL_INITIAL_DTV.
47462 2012-09-06  Petr Machata  <pmachata@redhat.com>
47464         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47465         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47466         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47467         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47469 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47471         [BZ #14545]
47472         * csu/libc-tls.c (_dl_initial_dtv): New variable.
47473         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47474         freeing dtv[-1].
47476 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47478         [BZ #14544]
47479         * Makeconfig (link-static-before-libc): Replace $(+prector)
47480         with $(+prectorT).
47481         (link-static-after-libc): Replace $(+postctor) with
47482         $(+postctorT).
47483         (link-bounded): Replace $(+prector)/$(+postctor) with
47484         $(+prectorT)/$(+postctorT).
47485         (+prectorT): New macro.
47486         (+postctorT): Likewise.
47488 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47490         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47491         (round_str): Handle values above the maximum for IBM long double
47492         as inexact.
47493         * stdlib/tst-strtod-round.c (tests): Regenerated.
47495 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47497         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47498         assembler flag.
47499         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47500         zarch_nohighgprs around the zarch optimized routines.
47501         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47502         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47503         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47504         for zarch.
47506 2012-09-05  David S. Miller  <davem@davemloft.net>
47508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47510         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47511         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47512         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47513         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47514         entries.
47516 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47518         * malloc/arena.c: Fold copyright years.
47519         * malloc/mcheck.c, malloc/memusage.c: Likewise.
47521 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47523         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47525 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47527         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
47529 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47531         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47532         change internal state upon failure.
47534 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47536         * malloc/mcheck.c (mcheck_check_all): Fix typo.
47537         * malloc/memusage.c (mmap): Likewise.
47538         (mmap64, mremap): Likewise.  Adjust name in comment.
47540 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47542         * libio/fileops.c: Fix typos in comments.
47543         * libio/oldfileops.c: Likewise.
47544         * libio/wfileops.c: Likewise.
47546 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47548         [BZ #1349]
47549         * malloc/Makefile (tests): Add tst-malloc-usable test case.
47550         (tst-malloc-usable-ENV): Set environment for test case.
47551         * malloc/hooks.c (malloc_check_get_size): New function to get
47552         requested size.
47553         * malloc/malloc.c (musable): Use malloc_check_get_size.
47554         * malloc/tst-malloc-usable.c: New test case.
47556 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47558         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47560 2012-09-05  Allan McRae  <allan@archlinux.org>
47562         [BZ #13966]
47563         * configure.in (CXX_SYSINCLUDES): Use compiler output to
47564         determine header location.
47565         * configure: Regenerated.
47567 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47569         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47570         float format.
47571         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47572         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47573         format.
47574         (test): Regenerate.
47576 2012-09-04  David S. Miller  <davem@davemloft.net>
47578         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47579         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47580         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47582 2012-09-04  Florian Weimer  <fweimer@redhat.com>
47584         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47585         failures.
47587         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47589 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
47591         [BZ #9914]
47592         * libio/iogetdelim.c: Include <limits.h>.
47593         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47594         + len + 1 would overflow.
47596 2012-09-03  Andreas Jaeger  <aj@suse.de>
47598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47599         * sysdeps/i386/fpu/libm-test-ulps: Update.
47601 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47603         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47604         Add s_sinf-sse2, s_conf-sse2.
47606         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47607         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47608         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47609         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47611         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47612         for using routine as __sinf_ia32.
47613         Use macro for function declaration and weak_alias.
47614         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47615         for using routine as __cosf_ia32.
47616         Use macro for function declaration and weak_alias.
47618         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47619         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47621         * sysdeps/x86_64/fpu/s_sinf.S: New file.
47622         * sysdeps/x86_64/fpu/s_cosf.S: New file.
47623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47625         * math/libm-test.inc (cos_test): Add more test cases.
47626         (sin_test): Likewise.
47627         (sincos_test): Likewise.
47629 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47631         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47632         (IFUNC_RESOLVE): Make pointers to the specialized implementations
47633         hidden.
47634         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47636 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
47638         [BZ #14538]
47639         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47640         first element of the GOT.
47641         (elf_machine_load_address): Return the difference between
47642         the runtime address of _DYNAMIC and elf_machine_dynamic ().
47644 2012-09-01  Allan McRae  <allan@archlinux.org>
47646         [BZ #13412]
47647         * configure.in (AWK): Require gawk version 3.0 or later.
47648         * configure: Regenerated.
47650 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
47652         * sysdeps/unix/sysv/linux/kernel-features.h
47653         (__ASSUME_POSIX_CPU_TIMERS): Remove.
47654         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47655         [__NR_clock_getres]: Make code unconditional.
47656         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47657         (clock_getcpuclockid): Remove code left unreachable by removal of
47658         conditionals.
47659         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47660         code unconditional.
47661         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47662         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47663         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47664         Make code unconditional.
47665         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47666         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47667         * sysdeps/unix/sysv/linux/clock_settime.c
47668         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47669         conditional code.
47670         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47671         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47673 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
47675         [BZ #14476]
47676         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47677         scripts/test-installation.pl.
47679         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47680         and $ld_so_version if it is set.
47682 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47684         [BZ #14516]
47685         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47686         failure if reading from procfs failed.
47687         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47689 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47691         * sysdeps/unix/sysv/linux/kernel-features.h
47692         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47693         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47694         Remove conditional code.
47695         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47696         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47697         Remove conditional code.
47698         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47699         * sysdeps/unix/sysv/linux/i386/fxstat.c
47700         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47701         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47702         * sysdeps/unix/sysv/linux/i386/fxstatat.c
47703         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47704         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47705         * sysdeps/unix/sysv/linux/i386/lxstat.c
47706         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47707         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47708         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47709         Remove conditional code.
47710         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47711         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47712         Remove conditional code.
47713         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47714         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47715         <kernel-features.h>.
47716         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47717         Remove.
47718         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47719         Remove conditional code.
47720         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47721         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47722         Remove conditional.
47724 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
47726         [BZ #5400]
47727         * NEWS: Add fixed bug number.
47729 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47731         [BZ #14519]
47732         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47733         underflowing exponent in case of negative sign.
47734         * stdlib/tst-strtod-round-data: Add more tests.
47735         * stdlib/tst-strtod-round.c (tests): Regenerated.
47737         [BZ #3479]
47738         * stdlib/strtod_l.c (NDIG): Remove.
47739         (HEXNDIG): Likewise.
47740         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47741         smallest representable value.
47742         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47743         lie within an exact representation of 1/2 ulp of the result.
47744         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47745         unconditionally.
47746         (TENS_P9_IDX): Define unconditionally.
47747         (TENS_P9_SIZE): Likewise.
47748         (TENS_P10_IDX): Likewise.
47749         (TENS_P10_SIZE): Likewise.
47750         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47751         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47752         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47753         entries for 10^2^13 and 10^2^14.
47754         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47755         (TENS_P13_IDX): Define.
47756         (TENS_P13_SIZE): Likewise.
47757         (TENS_P14_IDX): Likewise.
47758         (TENS_P14_SIZE): Likewise.
47759         (_fpioconst_pow10): Change array size to
47760         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
47761         unconditional.
47762         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47763         1024]: Add entries for 10^2^13 and 10^2^14.
47764         [LAST_POW10 > _LAST_POW10]: Remove #error.
47765         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47766         (_fpioconst_pow10): Change array size to
47767         FPIOCONST_POW10_ARRAY_SIZE.
47768         * stdlib/gen-fpioconst.c: New file.
47769         * stdlib/gen-tst-strtod-round.c: Likewise.
47770         * stdlib/tst-strtod-round-data: Likewise.
47771         * stdlib/tst-strtod-round.c: Likewise.
47772         * stdlib/Makefile (tests): Add tst-strtod-round.
47774         [BZ #14459]
47775         * stdlib/strtod_l.c: Include <stdint.h>.
47776         (NDEBUG): Do not define.
47777         (round_and_return): Change EXPONENT parameter to type intmax_t.
47778         Rearrange calculations to avoid internal overflow possibilities.
47779         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47780         Rearrange calculations to avoid internal overflow possibilities.
47781         Assert that number fits inside MPNSIZE limbs.
47782         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47783         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
47784         calculations and add assertions to avoid internal overflow
47785         possibilities.  Add casts to avoid signed/unsigned operations.
47786         * stdlib/tst-strtod-overflow.c: New file.
47787         * stdlib/Makefile (tests): Add tst-strtod-overflow.
47789 2012-08-25  Marek Polacek  <polacek@redhat.com>
47791         * time/time.h: Fix some typos in comments.
47793 2012-08-23  Roland McGrath  <roland@hack.frob.com>
47795         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47796         * posix/tst-rfc3484-2.c: Likewise.
47797         * posix/tst-rfc3484-3.c: Likewise.
47799 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
47801         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47802         (EF_ARM_ABI_FLOAT_HARD): Likewise.
47804 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
47806         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47807         #include of fxstatat64.c.
47809 2012-08-22  Roland McGrath  <roland@hack.frob.com>
47811         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47812         * shadow/getspent_r.c: Likewise.
47813         * shadow/getspnam.c: Likewise.
47814         * shadow/getspnam_r.c: Likewise.
47815         * gshadow/getsgent.c: Likewise.
47816         * gshadow/getsgent_r.c: Likewise.
47817         * gshadow/getsgnam.c: Likewise.
47818         * gshadow/getsgnam_r.c: Likewise.
47819         * inet/getnetbyad.c: Likewise.
47820         * inet/getnetbyad_r.c: Likewise.
47821         * inet/getnetbynm.c: Likewise.
47822         * inet/getnetbynm_r.c: Likewise.
47823         * inet/getnetent.c: Likewise.
47824         * inet/getnetent_r.c: Likewise.
47825         * inet/getproto.c: Likewise.
47826         * inet/getproto_r.c: Likewise.
47827         * inet/getprtent.c: Likewise.
47828         * inet/getprtent_r.c: Likewise.
47829         * inet/getprtname.c: Likewise.
47830         * inet/getprtname_r.c: Likewise.
47831         * inet/getrpcbyname.c: Likewise.
47832         * inet/getrpcbyname_r.c: Likewise.
47833         * inet/getrpcbynumber.c: Likewise.
47834         * inet/getrpcbynumber_r.c: Likewise.
47835         * inet/getrpcent.c: Likewise.
47836         * inet/getrpcent_r.c: Likewise.
47837         * inet/getaliasent.c: Likewise.
47838         * inet/getaliasent_r.c: Likewise.
47839         * inet/getaliasname.c: Likewise.
47840         * inet/getaliasname_r.c: Likewise.
47841         * nscd/getgrgid_r.c: Likewise.
47842         * nscd/getgrnam_r.c: Likewise.
47843         * nscd/gethstbyad_r.c: Likewise.
47844         * nscd/gethstbynm3_r.c: Likewise.
47845         * nscd/getpwnam_r.c: Likewise.
47846         * nscd/getpwuid_r.c: Likewise.
47847         * nscd/getsrvbynm_r.c: Likewise.
47848         * nscd/getsrvbypt_r.c: Likewise.
47849         * nscd/gai.c: Likewise.
47851         * configure.in (build_nscd): New substituted variable, set
47852         by --disable-build-nscd and defaults to $use_nscd.
47853         * configure: Regenerated.
47854         * config.make.in (build-nscd): New substituted variable.
47855         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47856         Change conditional to require [$(build-nscd) = yes] as well.
47857         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47859         [BZ# 13696]
47860         * configure.in (use_nscd): New substituted variable, set by
47861         --disable-nscd.  If enabled, define USE_NSCD.
47862         * configure: Regenerated.
47863         * config.h.in: Add USE_NSCD.
47864         * config.make.in (use-nscd): New substituted variable.
47865         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47866         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47867         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47868         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47869         (CFLAGS-getgrnam_r.c): Likewise.
47870         (CFLAGS-initgroups.c): Likewise.
47871         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47872         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47873         Variables removed.
47874         * inet/getnetgrent_r.c
47875         (nscd_setnetgrent): New function, broken out of ...
47876         (setnetgrent): ... here.  Call it.
47877         (innetgr): Conditionalize nscd bits on [USE_NSCD].
47878         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47879         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47880         * nscd/Makefile (routines, aux): Move definitions after include of
47881         Makeconfig.  Conditionalize on [$(use-nscd) != no].
47882         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47883         Conditionalize on [USE_NSCD].
47884         (is_nscd, nscd_init_cb): Likewise.
47885         (nss_load_library): Conditionalize init callback on [USE_NSCD].
47886         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47887         * nss/nss_db/db-init.c: Likewise.
47888         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47889         [USE_NSCD].
47890         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47891         (make_request): Use it.
47892         (cache_valid_p): New function.
47893         (__check_pf): Use it.
47894         * NEWS: Add item for --disable-nscd.
47896 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
47898         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47899         to support sed >= 4.2.1-20-ga9bf076.
47900         * configure: Regenerated.
47902 2012-08-22  Roland McGrath  <roland@hack.frob.com>
47904         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47905         Conditionalize whole body on [IREL].
47907 2012-08-22  Jeff Law <law@redhat.com>
47909         [BZ #14505]
47910         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47911         if the family is PF_UNSPEC.
47913 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
47915         * Makerules (lib-version): Rename from V.
47916         (install-lib-nosubdir): Change V to lib-version.
47918 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
47920         [BZ #14252]
47921         * powerpc32/power6/wcschr.c: New file.
47922         * powerpc32/power6/wcscpy.c: New file.
47923         * powerpc32/power6/wcsrchr.c: New file.
47924         * powerpc64/power6/wcschr.c: New file.
47925         * powerpc64/power6/wcscpy.c: New file.
47926         * powerpc64/power6/wcsrchr.c: New file.
47928 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
47930         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47931         (two_way_short_needle): Use it.
47932         * string/strstr.c (AVAILABLE1_USES_J): Define.
47933         * string/strcasestr.c: Likewise.
47935         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47936         array references.
47937         * string/strcasestr.c (TOLOWER): Make side-effect safe.
47939         [BZ #11607]
47940         * NEWS: Add an entry.
47941         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47942         define their defaults.
47943         (two_way_short_needle): Detect end-of-string on-the-fly.
47944         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47945         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47946         * string/bug-strcasestr1.c: New test.
47947         * string/Makefile: Run it.
47949 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
47951         [BZ #11607]
47952         * string/str-two-way.h (two_way_short_needle): Optimize matching of
47953         the first character.
47955 2012-08-21  Roland McGrath  <roland@hack.frob.com>
47957         * csu/elf-init.c (__libc_csu_irel): Function removed.
47958         * csu/libc-start.c (apply_irel): New function.
47959         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47961 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
47963         * sysdeps/unix/sysv/linux/kernel-features.h
47964         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47965         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47966         <kernel-features.h>.
47967         [__NR_fadvise64_64]: Make code unconditional.
47968         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47969         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47970         !__NR_fadvise64_64)]: Likewise.
47971         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47972         !__NR_fadvise64_64))]: Likewise.
47973         [__NR_fadvise64]: Make code unconditional.
47974         [!__NR_fadvise64]: Remove conditional code.
47975         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47976         <kernel-features.h>.
47977         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47978         unconditional.
47979         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47980         conditional code.
47981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47982         not include <kernel-features.h>.
47983         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47984         unconditional.
47985         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47986         conditional code.
47987         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47988         include <kernel-features.h>.
47989         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47990         unconditional.
47991         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47992         conditional code.
47994 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47996         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47997         slight instruction rearrangements per scrollpipe analysis.
47998         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48000 2012-08-20  Roland McGrath  <roland@hack.frob.com>
48002         * manual/syslog.texi (syslog; vsyslog, closelog):
48003         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
48004         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
48006         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
48007         DSOCAPS to match condition on defining it.
48009 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
48011         * sysdeps/unix/sysv/linux/kernel-features.h
48012         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
48013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
48014         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48015         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
48017         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48018         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
48020         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48021         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48023         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
48024         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
48026         * sysdeps/unix/sysv/linux/kernel-features.h
48027         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
48028         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
48029         unconditional.
48030         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48031         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
48032         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48033         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48034         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
48035         Make code unconditional.
48036         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48037         (__mmap64) [!__NR_mmap2]: Likewise.
48038         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
48039         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48040         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48041         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
48042         [__NR_mmap2]: Make code unconditional.
48043         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48044         (__mmap64) [!__NR_mmap2]: Likewise.
48046 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48048         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
48050 2012-08-18  Andreas Jaeger  <aj@suse.de>
48052         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
48054 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48056         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
48057         * include/unistd.h (__have_sock_cloexec): Likewise.
48058         (__have_pipe2): Likewise.
48059         (__have_dup3): Likewise.
48061 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48063         [BZ #9685]
48064         * include/unistd.h (__have_pipe2): Change define into an extern int.
48065         (__have_dup3): Likewise.
48066         * socket/have_sock_cloexec.c: Include fcntl.h.
48067         (__have_pipe2): New variable.
48068         (__have_dup3): Likewise.
48070 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
48072         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
48074 2012-08-17  Marek Polacek  <polacek@redhat.com>
48076         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
48077         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
48079 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48081         * configure.in: Add AC_SUBST for sysheaders.
48082         * configure: Regenerated.
48083         * config.make.in (sysheaders): New substituted variable.
48085         * sysdeps/unix/mkfifo.c: Moved ...
48086         * sysdeps/posix/mkfifo.c: ... here.
48087         * sysdeps/unix/mkfifoat.c: Moved ...
48088         * sysdeps/posix/mkfifoat.c: ... here.
48090         * sysdeps/unix/utime.c: Moved ...
48091         * sysdeps/posix/utime.c: ... here.
48093         * sysdeps/unix/time.c: Moved ...
48094         * sysdeps/posix/time.c: ... here.
48095         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
48096         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
48098         * sysdeps/unix/nice.c: Moved ...
48099         * sysdeps/posix/nice.c: ... here.
48101         * sysdeps/unix/alarm.c: Moved ...
48102         * sysdeps/posix/alarm.c: ... here.
48104         * intl/Makefile ($(codeset_mo)): Depend on the input file.
48106 2012-08-17  Jeff Law <law@redhat.com>
48108         * intl/Makefile (codeset_mo): New variable.
48109         ($(codeset_mo)): New target.
48110         (tst-codeset.out): Depend on that.  Remove explicit rule.
48111         (tst-gettext3.out, tst-gettext5.out): Likewise.
48112         (LOCPATH-ENV, tst-codeset-ENV): New variables.
48113         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
48114         * intl/tst-codeset.sh: Remove.
48115         * intl/tst-gettext3.sh: Likewise.
48116         * intl/tst-gettext5.sh: Likewise.
48118 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48120         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
48121         * sysdeps/unix/syscalls.list: ... here.
48123         * sysdeps/posix/getaddrinfo.c
48124         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48125         (gaiconf_init, gaiconf_reload): Use them.
48126         [!_STATBUF_ST_NSEC]
48127         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48128         Define using time_t rather than struct timespec.
48130         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48131         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48132         Macros removed.
48133         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48134         [!NO_THREADS].
48135         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48136         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48137         Likewise.
48139         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48140         __libc_cleanup_push argument.
48142         * bits/param.h: New file.
48143         * misc/sys/param.h: New file.
48144         * include/sys/param.h: New file.
48145         * misc/Makefile (headers): Add bits/param.h.
48146         * sysdeps/generic/sys/param.h: File removed.
48147         * sysdeps/unix/sysv/linux/bits/param.h: New file.
48148         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48149         * sysdeps/mach/hurd/bits/param.h: New file.
48150         * sysdeps/mach/hurd/sys/param.h: File removed.
48152         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48153         last change.
48155         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48156         [_IO_MTSAFE_IO].
48157         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48158         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48159         New macros.
48161         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48162         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48163         rather than -D_IO_MTSAFE_IO conditionally.
48164         * stdio-common/Makefile (CPPFLAGS): Likewise.
48165         * wcsmbs/Makefile (CPPFLAGS): Likewise.
48166         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48167         Use $(libio-mtsafe).
48168         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48169         of -D_IO_MTSAFE_IO.
48170         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48171         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48172         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48173         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48174         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48175         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48176         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48177         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48178         (CFLAGS-fread_u_chk.c): Likewise.
48179         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48180         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48181         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48182         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48183         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48184         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48185         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48186         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48187         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48189         * libio/Makefile: Test [$(libc-reentrant) = yes]
48190         instead of [$(filter %REENTRANT, $(defines)) nonempty].
48192         * Makeconfig
48193         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48194         * sysdeps/pthread/configure: File removed.
48195         * sysdeps/pthread/Makeconfig: New file.
48196         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48197         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48199 2012-08-16  Gary Benson  <gbenson@redhat.com>
48201         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48202         unmapping the first object in a namespace.
48204 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48206         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48207         (__internal_setnetgrent): ... this.  Add internal_function to
48208         definition.  Add libc_hidden_def.
48209         (setnetgrent): Update caller.
48210         (internal_endnetgrent): Renamed to ...
48211         (__internal_endnetgrent): ... this.  Add internal_function to
48212         definition.  Add libc_hidden_def.
48213         (endnetgrent): Update caller.
48214         (internal_getnetgrent_r): Renamed to ...
48215         (__internal_getnetgrent_r): ... this.  Add internal_function to
48216         definition.  Add libc_hidden_def.
48217         (__getnetgrent_r): Update caller.
48218         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
48220 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48222         * stdlib/longlong.h: Update from GCC.
48224 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48226         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48227         on _QL, which is set by umul_ppmm but never used.
48228         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48229         variables, which are set by GMP macros but never used.
48230         * stdio-common/_itowa.c (_itowa): Likewise.
48231         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48232         * stdlib/mod_1.c (mpn_mod_1): Likewise.
48234 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
48236         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48237         struct La_sh_regs is not constant.
48238         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48239         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48240         and struct La_sparc64_regs are not constant.
48242 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48244         * sysdeps/unix/sysv/linux/kernel-features.h
48245         (__ASSUME_POSIX_TIMERS): Remove.
48246         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48247         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48248         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48249         Make code unconditional.
48250         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48251         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48252         Make code unconditional.
48253         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48254         * sysdeps/unix/sysv/linux/clock_nanosleep.c
48255         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48256         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48257         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48258         Make code unconditional.
48259         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48260         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48261         (__libc_missing_posix_timers): Remove.
48263 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48265         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48266         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48268         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48270         * elf/dl-sym.c: Include <stdlib.h>.
48272         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48273         constants, which avoids warnings in 32-bit builds.
48275         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48276         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48278         * misc/lseek.c: File moved to ...
48279         * io/lseek.c: ... here.
48281         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48283         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48284         shifting LEN more than 31 bits at once.
48286 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48288         [BZ #14195]
48289         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48290         segmentation fault for a case of two empty input strings.
48291         * string/test-strncasecmp.c (check1): Renamed to...
48292         (bz12205): ...this.
48293         (bz14195): Add new testcase for two empty input strings and N > 0.
48294         (test_main): Call new testcase, adapt for renamed function.
48296 2012-08-15  Andreas Jaeger  <aj@suse.de>
48298         [BZ #14090]
48299         * crypt/md5test2.c: New test, based on test supplied by Serge
48300         Belyshev <belyshev@depni.sinp.msu.ru>.
48301         * crypt/Makefile (xtests): Add md5test-giant..
48302         * crypt/Makefile ($(objpfx)md5test-giant): Add.
48304 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
48306         [BZ #14090]
48307         * crypt/md5.c (md5_process_block): Don't assume the buffer
48308         length is less than 2**32.
48309         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48310         length is less than 2**64.
48312 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48314         * string/str-two-way.h: Include <sys/param.h>.
48315         (MAX): Macro removed.
48317         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48318         Move #define and #undef of memmove to just before and after
48319         including <string.h>.
48321         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48322         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48323         and after including <string.h>.  Move declarations of
48324         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48325         to before #include "string/memmove.c".
48327         * include/dirent.h: Declare __getdirentries.
48329         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48330         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48332 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
48334         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48335         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48336         * sysdeps/i386/configure: Regenerated.
48337         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48338         STABS_CURRENT_FILE, and STABS_FUN.
48339         (END): Remove call to STABS_FUN_END.
48340         (STABS_CURRENT_FILE1): Delete.
48341         (STABS_CURRENT_FILE): Likewise.
48342         (STABS_FUN): Likewise.
48343         (STABS_FUN_END): Likewise.
48344         (STABS_FUN2): Likewise.
48345         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48346         * sysdeps/x86_64/configure: Regenerated.
48348 2012-08-14  Roland McGrath  <roland@hack.frob.com>
48350         * elf/dl-open.c: Include <atomic.h>.
48351         * elf/dl-lookup.c: Likewise.
48353 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
48355         * sysdeps/unix/sysv/linux/kernel-features.h
48356         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48357         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48358         unconditionally.
48359         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48360         unconditionally.
48361         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48362         condition on __ASSUME_CLONE_THREAD_FLAGS.
48364 2012-08-14  Andreas Jaeger  <aj@suse.de>
48366         * sysdeps/i386/fpu/libm-test-ulps: Update.
48368 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
48370         * include/atomic.h (atomic_exchange_and_add): Split into ...
48371         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48372         New atomic macros.
48374 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
48376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48378 2012-08-13  Jeff Law <law@redhat.com>
48380         * manual/stdio.texi (snprintf): Clarify handling of the trailing
48381         null byte in the output string.
48383 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
48385         * sysdeps/unix/sysv/linux/kernel-features.h
48386         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48387         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48388         (__ASSUME_ARG_MAX_STACK_BASED): Define.
48389         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48390         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48391         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
48392         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48394 2012-08-09  Jeff Law <law@redhat.com>
48396         [BZ #13939]
48397         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48398         When avoid_arena is set, don't retry in the that arena.  Pick the
48399         next one, whatever it might be.
48400         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48401         (arena_lock): Pass in new parameter to arena_get2.
48402         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48403         arena_get2.
48404         (__libc_malloc): Unify retrying after main arena failure with
48405         __libc_memalign version.
48406         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48408 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
48410         [BZ #14166]
48411         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48412         to __redirect_strstr.
48413         (__strstr_sse42): Use typeof __redirect_strstr.
48414         (__strstr_ia32): Likewise.
48415         (__libc_strstr): New prototype.
48416         (strstr): Renamed to ...
48417         (__libc_strstr): This.
48418         (strstr): New strong alias of __libc_strstr.
48419         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48420         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48421         __redirect_time.
48422         Include <time.h>.
48423         (__libc_time): New prototype.
48424         (time_ifunc): Replace time with __libc_time.
48425         (time): New strong alias and hidden definition of __libc_time.
48426         (__GI_time): Remove strong alias.
48427         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48428         Include <stddef.h>.
48429         (memmove): Redefined to __redirect_memmove.
48430         (__memmove_sse2): Use typeof __redirect_memmove.
48431         (__memmove_ssse3): Likewise.
48432         (__memmove_ssse3_back): Likewise.
48433         (__libc_memmove): New prototype.
48434         (memmove): Renamed to ...
48435         (__libc_memmove): This.
48436         (memmove): New strong alias of __libc_memmove.
48438 2012-08-08  Mark Salter  <msalter@redhat.com>
48440         * elf/elf.h
48441         (R_MN10300_TLS_GD): Define.
48442         (R_MN10300_TLS_LD): Likewise.
48443         (R_MN10300_TLS_LDO): Likewise.
48444         (R_MN10300_TLS_GOTIE): Likewise.
48445         (R_MN10300_TLS_IE): Likewise.
48446         (R_MN10300_TLS_LE): Likewise.
48447         (R_MN10300_TLS_DTPMOD): Likewise.
48448         (R_MN10300_TLS_DTPOFF): Likewise.
48449         (R_MN10300_TLS_TPOFF): Likewise.
48450         (R_MN10300_SYM_DIFF): Likewise.
48451         (R_MN10300_ALIGN): Likewise.
48452         (R_MN10300_NUM): Update.
48454 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
48456         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48457         Remove.
48459 2012-08-08  Roland McGrath  <roland@hack.frob.com>
48461         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48463         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48464         sysdeps/unix -> sysdeps/posix move.
48465         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48467 2012-08-07      Allan McRae     <allan@archlinux.org>
48469         [BZ #14303]
48470         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48471         (SUNOS_CPP): Likewise.
48472         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48473         not found.
48474         (open_input): Call CPP using execvp.
48476 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48478         * sysdeps/unix/sysv/linux/kernel-features.h
48479         (__ASSUME_PROT_GROWSUPDOWN): Remove.
48480         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48481         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48482         (__ASSUME_WAITID_SYSCALL): Likewise.
48483         * sysdeps/unix/sysv/linux/dl-execstack.c
48484         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48485         code unconditional.
48486         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48487         conditional code.
48488         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48489         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48490         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48491         code.
48492         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48493         unconditional.
48494         [__ASSUME_WAITID_SYSCALL]: Likewise.
48495         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48497 2012-08-07  Roland McGrath  <roland@hack.frob.com>
48499         * sysdeps/unix/closedir.c: Renamed to ...
48500         * sysdeps/posix/closedir.c: ... here.
48501         * sysdeps/unix/dirfd.c: Renamed to ...
48502         * sysdeps/posix/dirfd.c: ... here.
48503         * sysdeps/unix/dirstream.h: Renamed to ...
48504         * sysdeps/posix/dirstream.h: ... here.
48505         * sysdeps/unix/fdopendir.c: Renamed to ...
48506         * sysdeps/posix/fdopendir.c: ... here.
48507         * sysdeps/unix/opendir.c: Renamed to ...
48508         * sysdeps/posix/opendir.c: ... here.
48509         * sysdeps/unix/readdir.c: Renamed to ...
48510         * sysdeps/posix/readdir.c: ... here.
48511         * sysdeps/unix/readdir_r.c: Renamed to ...
48512         * sysdeps/posix/readdir_r.c: ... here.
48513         * sysdeps/unix/rewinddir.c: Renamed to ...
48514         * sysdeps/posix/rewinddir.c: ... here.
48515         * sysdeps/unix/seekdir.c: Renamed to ...
48516         * sysdeps/posix/seekdir.c: ... here.
48517         * sysdeps/unix/telldir.c: Renamed to ...
48518         * sysdeps/posix/telldir.c: ... here.
48519         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48520         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48521         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48522         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48524         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48525         * bits/fcntl.h: ... here.
48527         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48528         not 0.
48529         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48530         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48531         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48532         (struct flock): Move l_start, l_len to the beginning.
48533         Use __pid_t for l_pid.
48534         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48535         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48536         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48537         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48538         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48539         [__USE_LARGEFILE64] (struct flock64): New type.
48540         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48542         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48543         * bits/dirent.h: ... here.
48545         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48546         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48548 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48550         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48551         Change from 2.6.0 to 2.6.16.
48552         * sysdeps/unix/sysv/linux/configure: Regenerated.
48553         * sysdeps/unix/sysv/linux/kernel-features.h
48554         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48555         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48556         version.
48557         (__ASSUME_UTIMES): Likewise.
48558         (__ASSUME_CLONE_STOPPED): Remove.
48559         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48560         architectures, not kernel version.
48561         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48562         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48563         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48564         (__ASSUME_WAITID_SYSCALL): Likewise.
48565         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48566         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48567         * README: State 2.6.16 as minimum Linux kernel version.  Do not
48568         refer to older versions.
48570 2012-08-06  Roland McGrath  <roland@hack.frob.com>
48572         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48573         Define alphasort64 as an alias.
48574         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48575         Define versionsort64 as an alias.
48576         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48577         Define scandir64 as an alias.
48578         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48579         Define scandirat64 as an alias.
48580         * dirent/alphasort64.c (alphasort64):
48581         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48582         * dirent/versionsort64.c: Likewise.
48583         * dirent/scandir64.c: Likewise.
48584         * dirent/scandirat64.c: Likewise.
48585         * sysdeps/wordsize-64/alphasort.c: File removed.
48586         * sysdeps/wordsize-64/alphasort64.c: File removed.
48587         * sysdeps/wordsize-64/scandir.c: File removed.
48588         * sysdeps/wordsize-64/scandir64.c: File removed.
48589         * sysdeps/wordsize-64/scandirat.c: File removed.
48590         * sysdeps/wordsize-64/scandirat64.c: File removed.
48591         * sysdeps/wordsize-64/versionsort.c: File removed.
48592         * sysdeps/wordsize-64/versionsort64.c: File removed.
48593         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48594         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48595         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48596         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48597         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48598         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48599         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48600         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48602         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48603         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48604         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48605         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48606         [defined __arch64__ || defined __sparcv9]
48607         (__INO_T_MATCHES_INO64_T): New macro.
48608         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48609         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48610         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48611         * sysdeps/unix/sysv/linux/bits/dirent.h
48612         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48613         (_DIRENT_MATCHES_DIRENT64): New macro.
48615         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48616         Define lockf64 as an alias.
48617         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48618         Define fseeko64 as an alias.
48619         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48620         Define ftello64 as an alias.
48621         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48622         Define _IO_fgetpos64 and fgetpos64 as aliases.
48623         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48624         Define _IO_fsetpos64 and fsetpos64 as aliases.
48625         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48626         Conditionalize body on this.
48627         * libio/fseeko64.c: Likewise.
48628         * libio/ftello64.c: Likewise.
48629         * libio/iofgetpos64.c: Likewise.
48630         * libio/iofsetpos64.c: Likewise.
48631         * sysdeps/wordsize-64/lockf.c: File removed.
48632         * sysdeps/wordsize-64/lockf64.c: File removed.
48633         * sysdeps/wordsize-64/fseeko.c: File removed.
48634         * sysdeps/wordsize-64/fseeko64.c: File removed.
48635         * sysdeps/wordsize-64/ftello.c: File removed.
48636         * sysdeps/wordsize-64/ftello64.c: File removed.
48637         * sysdeps/wordsize-64/iofgetpos.c: File removed.
48638         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48639         * sysdeps/wordsize-64/iofsetpos.c: File removed.
48640         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48641         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48642         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48643         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48644         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48645         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48646         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48647         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48648         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48649         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48650         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48652         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48653         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48654         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48655         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48656         [defined __arch64__ || defined __sparcv9]
48657         (__OFF_T_MATCHES_OFF64_T): New macro.
48658         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48659         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48660         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48661         (__OFF_T_MATCHES_OFF64_T): New macro.
48663 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48665         * stdlib/secure-getenv.c (__secure_getenv): Replace
48666         GLIBC_2_16 with GLIBC_2_17.
48668 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48670         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48671         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48673 2012-08-03  David S. Miller  <davem@davemloft.net>
48675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48677 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48679         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48680         Remove.
48681         (__ASSUME_CORRECT_SI_PID): Likewise.
48682         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48683         (__ASSUME_TMPFS_NAME): Likewise.
48684         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48685         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48686         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48687         (HAVE_AUX_SECURE): Make definition unconditional.
48688         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48689         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48691 2012-08-03  Roland McGrath  <roland@hack.frob.com>
48693         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48694         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48695         * sysdeps/mach/hurd/eloop-threshold.h: New file.
48696         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48697         __eloop_threshold instead of SYMLOOP_MAX.
48699         * sysdeps/generic/eloop-threshold.h: New file.
48700         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48701         of MAXSYMLINKS.
48702         * elf/chroot_canon.c (chroot_canon): Likewise.
48704 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48706         [BZ #13717]
48707         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48708         Change to 2.6.0 everywhere.
48709         * sysdeps/unix/sysv/linux/configure: Regenerated.
48710         * sysdeps/unix/sysv/linux/kernel-features.h
48711         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48712         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48713         kernel versions.
48714         (__ASSUME_POSIX_TIMERS): Define unconditionally.
48715         (__ASSUME_FUTEX_REQUEUE): Remove.
48716         (__ASSUME_STATFS64): Define unconditionally.
48717         (__ASSUME_AT_SECURE): Likewise.
48718         (__ASSUME_CORRECT_SI_PID): Likewise.
48719         (__ASSUME_TGKILL): Define without depending on kernel version for
48720         i386.
48721         (__ASSUME_UTIMES): Likewise.
48722         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48723         kernel version.
48724         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48725         (__ASSUME_TMPFS_NAME): Likewise.
48726         * README: Update reference to Linux kernel versions.
48728 2012-08-02  Marek Polacek  <polacek@redhat.com>
48730         [BZ# 14150]
48731         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
48732         libc_cv_asm_type_prefix with %.
48733         * configure: Regenerated.
48734         * include/libc-symbols.h: Remove comment about
48735         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48736         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48737         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48738         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48739         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48740         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48741         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48742         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48743         * elf/tst-unique2mod1.c: Likewise.
48744         * elf/tst-unique1mod2.c: Likewise.
48745         * elf/tst-unique1mod1.c: Likewise.
48746         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48747         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48748         Replace ASM_TYPE_DIRECTIVE with .type.
48749         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48750         * sysdeps/i386/sysdep.h: Likewise.
48751         * sysdeps/x86_64/sysdep.h: Likewise.
48752         * sysdeps/sh/sysdep.h: Likewise.
48753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48754         Do not define ASM_TYPE_DIRECTIVE.
48755         * sysdeps/powerpc/sysdep.h: Likewise.
48756         * sysdeps/powerpc/powerpc32/sysdep.h:
48757         Replace ASM_TYPE_DIRECTIVE with .type.
48758         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48759         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48760         * sysdeps/i386/fpu/e_powf.S: Likewise.
48761         * sysdeps/i386/fpu/e_expl.S: Likewise.
48762         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48763         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48764         * sysdeps/i386/fpu/e_pow.S: Likewise.
48765         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48766         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48767         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48768         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48769         * sysdeps/i386/fpu/e_log2.S: Likewise.
48770         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48771         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48772         * sysdeps/i386/fpu/e_powl.S: Likewise.
48773         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48774         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48775         * sysdeps/i386/fpu/e_logl.S: Likewise.
48776         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48777         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48778         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48779         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48780         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48781         * sysdeps/i386/fpu/e_log.S: Likewise.
48782         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48783         * sysdeps/i386/fpu/e_logf.S: Likewise.
48784         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48785         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48786         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48787         * sysdeps/i386/fpu/e_log10.S: Likewise.
48788         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48789         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48790         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48791         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48792         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48793         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48794         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48795         * sysdeps/i386/i686/strtok.S: Likewise.
48796         * sysdeps/i386/i386-mcount.S: Likewise.
48797         * sysdeps/i386/strtok.S: Likewise.
48798         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48799         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48800         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48801         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48802         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48803         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48804         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48805         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48806         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48807         * sysdeps/x86_64/_mcount.S: Likewise.
48808         * sysdeps/x86_64/strtok.S: Likewise.
48809         * sysdeps/sh/_mcount.S: Likewise.
48811 2012-08-01  Roland McGrath  <roland@hack.frob.com>
48813         * libio/iofopen.c: Include <fcntl.h>.
48814         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48815         (_IO_fopen64, fopen64): Define as aliases.
48816         * libio/iofopen64.c: Include <fcntl.h>.
48817         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48818         Conditionalize body on this.
48819         * sysdeps/wordsize-64/iofopen.c: File removed.
48820         * sysdeps/wordsize-64/iofopen64.c: File removed.
48822 2012-08-01  Marek Polacek  <polacek@redhat.com>
48824         * libc/Makeconfig: Use elf in place of binfmt-subdir.
48825         Use dlfcn directly instead of a variable.
48826         (binfmt-subdir): Do not define.
48827         (dlfcn): Likewise.
48829 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
48831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48832         Remove all definitions.
48833         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48834         <kernel-features.h>.
48835         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48836         (miss_F_GETOWN_EX): Remove all definitions.
48837         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48838         macro definition.
48839         [!__ASSUME_FCNTL64]: Remove conditional code.
48840         [__ASSUME_FCNTL64]: Make code unconditional.
48841         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48842         <kernel-features.h>.
48843         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48844         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48845         (lockf64) [__NR_fcntl64]: Make code unconditional.
48846         (lockf64) [__ASSUME_FCNTL64]: Likewise.
48848         * sysdeps/unix/sysv/linux/kernel-features.h
48849         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48850         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48851         Make code unconditional.
48852         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48853         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48855         [__NR_vfork]: Make code unconditional.
48856         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48857         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48859         [__NR_vfork]: Make code unconditional.
48860         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48861         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48863 2012-08-01  Roland McGrath  <roland@hack.frob.com>
48865         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48866         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48868         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48869         Define mkstemp64 as an alias.
48870         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48871         Define mkstemps64 as an alias.
48872         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48873         Define mkostemp64 as an alias.
48874         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48875         Define mkostemps64 as an alias.
48876         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48877         Conditionalize body on this.
48878         * misc/mkostemp64.c: Likewise.
48879         * misc/mkostemps64.c: Likewise.
48880         * misc/mkstemps64.c: Likewise.
48881         * sysdeps/wordsize-64/mkstemp64.c: File removed.
48882         * sysdeps/wordsize-64/mkostemp64.c: File removed.
48883         * sysdeps/wordsize-64/mkostemp.c: File removed.
48884         * sysdeps/wordsize-64/mkstemp.c: File removed.
48885         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48886         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48887         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48888         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48890         [BZ #14138]
48891         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48892         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48893         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48894         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48896         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48897         compat_symbol macros from <shlib-compat.h> rather than the underlying
48898         default_symbol_version and symbol_version macros, so that DEFAULT
48899         lines in shlib-versions are respected.
48900         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48902 2012-08-01  Florian Weimer  <fweimer@redhat.com>
48904         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48905         Declare with warn_unused_result.
48906         (setgid, setregid, setegid, setresgid): Likewise.
48907         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48908         Likewise.
48909         * WUR-REPORT: Remove set*id functions.
48911 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
48913         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48915 2012-07-31  Roland McGrath  <roland@hack.frob.com>
48917         [BZ #10191]
48918         * include/sys/socket.h (__libc_accept, __libc_accept4):
48919         Add attribute_hidden.
48920         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48922         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48923         use of PTR_MANGLE.
48924         * inet/getnetgrent_r.c (setup): Likewise.
48926         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48928 2012-07-31  David S. Miller  <davem@davemloft.net>
48930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48932 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
48934         [BZ #13629]
48935         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48936         value between 1.0 and 2.0 and smaller part has absolute value less
48937         than 1.0.
48938         * math/s_clog10.c (__clog10): Likewise.
48939         * math/s_clog10f.c (__clog10f): Likewise.
48940         * math/s_clog10l.c (__clog10l): Likewise.
48941         * math/s_clogf.c (__clogf): Likewise.
48942         * math/s_clogl.c (__clogl): Likewise.
48943         * math/libm-test.inc (clog_test): Add more tests.
48944         (clog10_test): Likewise.
48945         * sysdeps/i386/fpu/libm-test-ulps: Update.
48946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48948 2012-07-31  Florian Weimer  <fweimer@redhat.com>
48950         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48951         Exit with zero in case no suitable GID is found, and write a
48952         message to standard error.
48954 2012-07-30  Roland McGrath  <roland@hack.frob.com>
48956         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48957         rather than to 1.
48958         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48959         (MAXPATHLEN): Removed.
48960         (NOGROUP, NODEV): New macros.
48961         (setbit, clrbit, isset, isclr): New macros.
48962         (howmany, roundup, powerof2): New macros.
48963         (DEV_BSIZE): New macro.
48965         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48966         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48968         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48969         definition on [!__NO_LONG_DOUBLE_MATH].
48971         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48972         PTR_MANGLE and PTR_DEMANGLE.
48974         * socket/accept4.c (accept4): Rename to __libc_accept4.
48975         Define accept4 as a weak alias.
48977         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48978         on [_DIRENT_HAVE_D_TYPE].
48979         * io/ftw.c (ftw_dir): Likewise.
48981         * io/xmknod.c (__xmknod): Don't check PATH for being null.
48983         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48985         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48986         Use the BSD numbers rather than the arbitrary ones we had.
48987         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48988         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48989         (SIGXCPU, SIGXFSZ): New macros.
48990         (_NSIG): Now 32.
48992         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48993         initializer on [_LIBC_REENTRANT].
48995         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48996         definitions inside [_POSIX_MAPPED_FILES].
48998         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
49000         * dirent/opendir.c: Include <fcntl.h>.
49002         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
49003         (__libc_getspecific): Likewise.
49004         (__libc_key_create): Likewise.
49006         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
49007         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
49008         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
49009         (tmpfile64): Define as alias.
49010         * sysdeps/wordsize-64/tmpfile.c: File removed.
49011         * sysdeps/wordsize-64/tmpfile64.c: File removed.
49012         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
49013         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
49015         * stdio-common/vfscanf.c: Include <stdbool.h>.
49016         * nss/makedb.c: Likewise.
49017         * stdio-common/_i18n_number.h: Likewise.
49018         * argp/argp-help.c: Likewise.
49019         * posix/wordexp.c: Likewise.
49020         * sysdeps/posix/spawni.c: Likewise.
49021         * nss/nss_files/files-initgroups.c: Likewise.
49022         * stdio-common/reg-modifier.c: Include <stdlib.h>.
49023         * nss/nss_files/files-initgroups.c: Likewise.
49024         * nss/nss_db/db-netgrp.c: Likewise.
49025         * nss/nss_db/db-initgroups.c: Likewise.
49026         * io/fchmodat.c: Include <sys/stat.h>.
49028         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
49029         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
49031         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
49032         [HAVE_MMAP].
49034         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
49035         Add multiple inclusion protection.
49037 2012-07-27  David S. Miller  <davem@davemloft.net>
49039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49041 2012-07-27  Gary Benson  <gbenson@redhat.com>
49043         [BZ #14298]
49044         * elf/rtld.c: Include <stap-probe.h>.
49045         (dl_main): Added static probes "init_start" and "init_complete".
49046         * elf/dl-load.c: Include <stap-probe.h>.
49047         (lose): Take new parameter "nsid".
49048         Added static probe "map_failed".
49049         (_dl_map_object_from_fd): Pass namespace id to lose.
49050         Added static probe "map_start".
49051         (open_verify): Pass namespace id to lose.
49052         * elf/dl-open.c: Include <stap-probe.h>.
49053         (dl_open_worker) Added static probes "map_complete", "reloc_start"
49054         and "reloc_complete".
49055         * elf/dl-close.c: Include <stap-probe.h>.
49056         (_dl_close_worker): Added static probes "unmap_start" and
49057         "unmap_complete".
49058         * elf/rtld-debugger-interface.txt: New file documenting the above.
49060 2012-07-26  Roland McGrath  <roland@hack.frob.com>
49062         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
49063         rather than a string variable.
49064         * sunrpc/rpc_main.c (h_output): Likewise.
49065         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
49067 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
49069         * inet/check_native.c: New file.
49071 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
49073         [BZ #13629]
49074         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
49075         if larger part has absolute value 1.0.
49076         * math/s_clog10.c (__clog10): Likewise.
49077         * math/s_clog10f.c (__clog10f): Likewise.
49078         * math/s_clog10l.c (__clog10l): Likewise.
49079         * math/s_clogf.c (__clogf): Likewise.
49080         * math/s_clogl.c (__clogl): Likewise.
49081         * math/libm-test.inc (clog_test): Add more tests.
49082         (clog10_test): Likewise.
49083         * sysdeps/i386/fpu/libm-test-ulps: Update.
49084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49086         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
49087         (pltexit): Likewise.
49088         (La_regs): Likewise.
49089         (La_retval): Likewise.
49090         (int_retval): Likewise.
49091         Update #error for removed macros to refer only to definitions in
49092         tst-audit.h.
49093         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
49094         macro.
49095         (pltexit): Likewise.
49096         (La_regs): Likewise.
49097         (La_retval): Likewise.
49098         (int_retval): Likewise.
49099         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
49100         macro.
49101         (pltexit): Likewise.
49102         (La_regs): Likewise.
49103         (La_retval): Likewise.
49104         (int_retval): Likewise.
49105         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
49106         macro.
49107         (pltexit): Likewise.
49108         (La_regs): Likewise.
49109         (La_retval): Likewise.
49110         (int_retval): Likewise.
49111         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
49112         macro.
49113         (pltexit): Likewise.
49114         (La_regs): Likewise.
49115         (La_retval): Likewise.
49116         (int_retval): Likewise.
49117         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
49118         macro.
49119         (pltexit): Likewise.
49120         (La_regs): Likewise.
49121         (La_retval): Likewise.
49122         (int_retval): Likewise.
49123         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49124         macro.
49125         (pltexit): Likewise.
49126         (La_regs): Likewise.
49127         (La_retval): Likewise.
49128         (int_retval): Likewise.
49129         * sysdeps/generic/tst-audit.h: Update comment to refer only to
49130         macro definitions in tst-audit.h.
49131         * sysdeps/i386/tst-audit.h: New file.
49132         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49133         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49134         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49135         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49136         * sysdeps/sh/tst-audit.h: Likewise.
49137         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49138         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49139         * sysdeps/x86_64/tst-audit.h: Likewise.
49141 2012-07-26  Andreas Jaeger  <aj@suse.de>
49143         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49144         ptrace.
49146         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49147         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49148         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49149         PTRACE_O_MASK.
49150         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49151         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49152         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49154         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49155         value.
49157         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49158         _sigsys.
49159         (si_call_addr, si_syscall, si_arch): Define new macro.
49160         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49161         _sigsys.
49162         (si_call_addr, si_syscall, si_arch): Define new marcro.
49163         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49164         _sigsys.
49165         (si_call_addr, si_syscall, si_arch): Define new macro.
49166         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49167         _sigsys.
49168         (si_call_addr, si_syscall, si_arch): Define new macro.
49170 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49172         [BZ #13717]
49173         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49174         Change to 2.4.21 where previously 2.4.1.
49175         * sysdeps/unix/sysv/linux/configure: Regenerated.
49176         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49177         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49178         Linux kernel version.
49179         (__ASSUME_STD_AUXV): Remove.
49180         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49181         kernel version.
49182         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49183         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49184         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49185         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49186         (__ASSUME_NETLINK_SUPPORT): Likewise.
49187         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49188         (__no_netlink_support): Remove conditional definition.
49189         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49190         Remove.
49191         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49192         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49193         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49194         (if_nameindex_ioctl): Remove.
49195         (if_nameindex_netlink): Do not handle __no_netlink_support.
49196         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49197         code.
49198         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49199         Remove conditional code.
49200         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49201         code.
49202         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49203         unconditional.
49204         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49205         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49206         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49207         Remove.
49208         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49209         [!__ASSUME_STD_AUXV]: Remove conditional code.
49210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49211         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49212         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49214         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49215         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49216         code.
49217         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49219         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49220         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49221         conditional code.
49222         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49224         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49225         code.
49226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49227         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49228         conditional code.
49229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49230         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49231         code unconditional.
49232         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49233         conditional code.
49234         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49235         unconditional.
49236         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49237         conditional code.
49238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49239         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49240         unconditional.
49241         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49242         conditional code.
49243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49244         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49245         code unconditional.
49246         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49247         conditional code.
49248         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49249         unconditional.
49250         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49251         conditional code.
49252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49253         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49254         code unconditional.
49255         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49256         conditional code.
49257         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49258         unconditional.
49259         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49260         conditional code.
49262 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
49264         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49265         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49266         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49267         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49268         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49269         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49270         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49271         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49272         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49273         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49274         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49275         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49276         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49277         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49278         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49279         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49280         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49281         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49282         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49284         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49285         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49286         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49288 2012-07-25  Florian Weimer  <fweimer@redhat.com>
49290         * Versions.def: Add GLIBC_2.17.
49291         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49292         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49293         Introduce __libc_secure_getenv.
49294         * stdlib/Versions (2.17): Add secure_getenv
49295         (GLIBC_PRIVATE): Add __libc_secure_getenv.
49296         * stdlib/secure-getenv.c: Rename __secure_getenv to
49297         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
49298         symbol __secure_getenv for GLIBC_2.0.
49299         * stdlib/tst-secure-getenv.c: New.
49300         * stdlib/Makefile (tests): Add testcase.
49301         * manual/startup.texi (Environment Access): Document
49302         secure_getenv.
49303         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49304         __libc_secure_getenv.
49305         * inet/ruserpass.c (ruserpass): Likewise.
49306         * malloc/mtrace.c (mtrace): Likewise.
49307         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49308         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49309         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49310         * sysdeps/posix/tempname.c: Likewise.  Evaluate
49311         HAVE_SECURE_GETENV.
49312         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49313         __secure_getenv to __libc_secure_getenv.
49314         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49316         Likewise.
49317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49318         Likewise.
49319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49321         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49327 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49329         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49330         (struct La_i86_retval): Likewise.
49331         (struct La_x86_64_regs): Likewise.
49332         (struct La_x86_64_retval): Likewise.
49333         (struct La_x32_regs): Likewise.
49334         (struct La_x32_retval): Likewise.
49335         (struct La_ppc32_regs): Likewise.
49336         (struct La_ppc32_retval): Likewise.
49337         (struct La_ppc64_regs): Likewise.
49338         (struct La_ppc64_retval): Likewise.
49339         (struct La_sh_regs): Likewise.
49340         (struct La_sh_retval): Likewise.
49341         (struct La_s390_32_regs): Likewise.
49342         (struct La_s390_32_retval): Likewise.
49343         (struct La_s390_64_regs): Likewise.
49344         (struct La_s390_64_retval): Likewise.
49345         (struct La_sparc32_regs): Likewise.
49346         (struct La_sparc32_retval): Likewise.
49347         (struct La_sparc64_regs): Likewise.
49348         (struct La_sparc64_retval): Likewise.
49349         (struct audit_ifaces): Remove architecture-specific pltenter and
49350         pltexit members.
49351         * sysdeps/i386/ldsodefs.h: New file.
49352         * sysdeps/powerpc/ldsodefs.h: Likewise.
49353         * sysdeps/s390/ldsodefs.h: Likewise.
49354         * sysdeps/sh/ldsodefs.h: Likewise.
49355         * sysdeps/sparc/ldsodefs.h: Likewise.
49356         * sysdeps/x86_64/ldsodefs.h: Likewise.
49358 2012-07-25  Marek Polacek  <polacek@redhat.com>
49360         [BZ #6808]
49361         * math/libm-test.inc (yn_test): Add another test.
49362         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49363         to ERANGE when the result is +-Inf.
49364         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49365         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49366         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49367         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49369 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
49371         * conform/data/time.h-data (NULL): Use macro-constant.  Require
49372         equal to 0.
49373         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
49374         clock_t.
49375         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
49377 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
49379         * configure.in <sysdeps resolving>: Correct printing
49380         Implies_before.
49381         * configure: Regenerate.
49383 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
49385         * math/w_ilogb.c: Include <limits.h>.
49386         * math/w_ilogbl.c: Likewise.
49388 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49390         * manual/lang.texi (__va_copy): Document primarily as ISO C99
49391         va_copy.  Document allowing for unavailable va_copy only as
49392         pre-C99 compatibility.
49393         * manual/string.texi (Copying and Concatenation): Use va_copy
49394         instead of __va_copy in concat example.
49396 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
49398         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49399         (__sendto): Use create_address_port.  Initialize APORT and deallocate
49400         it if not null.
49402         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49403         with O_NOLINK passed to __file_name_lookup.
49405         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49406         with O_NOLINK passed to __file_name_lookup.
49408         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49409         negative N or less than NGIDS.
49411         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49412         type to string_t.  Set ERANGE as errno and return it if NAME is not big
49413         enough.  Use memcpy instead of strncpy.
49415 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49417         * elf/Makefile (check-data): Remove.
49418         (localplt.data): New vpath directive.
49419         ($(objpfx)check-localplt.out): Use localplt.data from vpath
49420         instead of $(check-data).
49421         * scripts/data/localplt-generic.data: Move to ...
49422         * sysdeps/generic/localplt.data: ... here.
49423         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49424         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49425         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49427         ... here.
49428         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49430         ... here.
49431         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49433         ... here.
49434         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49436         ... here.
49437         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49439         ... here.
49440         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49442         ... here.
49444 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49446         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49447         PPC32 and PPC64 files.
49448         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49449         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49451 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49453         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49454         __makecontext_ret to ...
49455         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49456         ... here and call exit if uc_link is NULL.  New file.
49457         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49458         __makecontext_ret.S.
49459         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49460         __makecontext_ret to ...
49461         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49462         ... here and call exit if uc_link is NULL.  New file.
49463         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49464         __makecontext_ret.S.
49466 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49468         * elf/elf.h (R_390_IRELATIVE): New definition.
49469         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49470         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
49471         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49472         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49473         (elf_machine_lazy_rel): Likewise.
49474         * sysdeps/s390/dl-irel.h: New file.
49475         * sysdeps/s390/s390-64/memcpy.S: New asm code.
49476         * sysdeps/s390/s390-64/memset.S: New asm code.
49477         * sysdeps/s390/s390-64/memcmp.S: New asm code.
49478         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49479         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49480         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49481         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49482         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49483         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49484         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49485         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49486         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49487         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49488         * sysdeps/s390/s390-32/memcpy.S: New asm code.
49489         * sysdeps/s390/s390-32/memset.S: New asm code.
49490         * sysdeps/s390/s390-32/memcmp.S: New asm code.
49492 2012-07-17  Marek Polacek  <polacek@redhat.com>
49494         [BZ #14349]
49495         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49496         * sysdeps/s390/s390-64/configure.in: Likewise.
49497         * sysdeps/sparc/configure.in: Likewise.
49498         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49499         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49500         * sysdeps/i386/configure.in: Likewise.
49501         * sysdeps/x86_64/configure.in: Likewise.
49502         * sysdeps/sh/configure.in: Likewise.
49503         * sysdeps/s390/s390-32/configure: Regenerated.
49504         * sysdeps/s390/s390-64/configure: Likewise.
49505         * sysdeps/x86_64/configure: Likewise.
49506         * sysdeps/sh/configure: Likewise.
49507         * sysdeps/powerpc/powerpc64/configure: Likewise.
49508         * sysdeps/powerpc/powerpc32/configure: Likewise.
49509         * sysdeps/sparc/configure: Likwise.
49510         * sysdeps/i386/configure: Likewise.
49512         * elf/dl-open.c: Comment fixes.
49514 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
49516         * Makefile [CXX] (check-data): Remove.
49517         [CXX] (c++-types.data): New vpath directive.
49518         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49519         vpath.  Do not allow for C++ type data being missing.
49520         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49521         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49522         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49523         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49524         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49525         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49526         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49528         ... here.
49529         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49531         ... here.
49532         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49534         ... here.
49535         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49537         ... here.
49538         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49540         ... here.
49541         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49543         ... here.
49544         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49546         ... here.
49547         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49550         * elf/tls-macros.h (TLS_LE): Move architecture-specific
49551         definitions to architecture-specific files.
49552         (TLS_IE): Likewise.
49553         (TLS_LD): Likewise.
49554         (TLS_GD): Likewise.
49555         * sysdeps/i386/tls-macros.h: New file.
49556         * sysdeps/powerpc/tls-macros.h: Likewise.
49557         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49558         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49559         * sysdeps/sh/tls-macros.h: Likewise.
49560         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49561         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49562         * sysdeps/x86_64/tls-macros.h: Likewise.
49564 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
49566         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49567         zero value for regular exit case.
49569         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49570         (__start_context): Preserve zero value for regular exit case.
49572 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
49573             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49575         * manual/setjmp.texi (setcontext): Clarify normal process
49576         termination when uc_link is the null pointer.
49577         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49578         exit call.
49580 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
49582         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49583         preprocessor.  Test for each exception mask separately.
49585 2012-07-16  Andreas Jaeger  <aj@suse.de>
49587         * po/ru.po: Update from translation team.
49589 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
49591         * conform/data/string.h-data (NULL): Use macro-constant.  Require
49592         equal to 0.
49593         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49594         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49595         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49596         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49597         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49599 2012-07-13  Andreas Jaeger  <aj@suse.de>
49601         * po/fr.po: Update from translation team.
49603 2012-07-12  Marek Polacek  <polacek@redhat.com>
49605         [BZ #14173]
49606         * math/libm-test.inc (yn_test): Add test for BZ #14173.
49607         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49608         loop condition.
49610 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
49612         [BZ #13717]
49613         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49614         Change to 2.4.1 where previously 2.4.0.
49615         * sysdeps/unix/sysv/linux/configure: Regenerated.
49616         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49617         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49618         version.
49619         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49620         (__ASSUME_AT_CLKTCK): Remove.
49621         (__ASSUME_AT_PAGESIZE): Likewise.
49622         (__ASSUME_AT_XID): Likewise.
49623         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49624         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49625         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49626         unconditionally.
49627         (HAVE_AUX_PAGESIZE): Likewise.
49628         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49629         [__ASSUME_AT_CLKTCK]: Make code unconditional.
49630         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49632 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
49634         [BZ #14307]
49635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49636         the temporary buffer used to invoke __gethostbyname2_r,
49637         __gethostbyaddr_r and gethostbyname4_r to make room for struct
49638         host_data / struct gaih_addrtuple.
49639         * resolv/nss_dns/dns-host.c (global scope): Move definition of
49640         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49641         header file nss/nsswitch.h.
49642         * nss/nsswitch.h (global scope): Add definition of implementation
49643         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49644         resolv/nss_dns/dns-host.c).
49646 2012-07-11  Andreas Jaeger  <aj@suse.de>
49648         * po/fr.po: Update from translation team.
49650         * po/sv.po: Update from translation team
49651         * po/fr.po: Another update from translation team.
49653 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49655         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49656         for subnormals or multiply small sinh result by itself.
49657         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49660 2012-07-11  David S. Miller  <davem@davemloft.net>
49662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49664 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
49666         [BZ #14347]
49667         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49668         (INTERNAL_MARK): Shift it here.
49670 2012-07-10  Marek Polacek  <polacek@redhat.com>
49672         [BZ #14151]
49673         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
49674         libc_cv_asm_global_directive with .globl.
49675         * configure: Regenerated.
49676         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49677         with .globl.
49678         * sysdeps/i386/configure: Regenerated.
49679         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49680         with .globl.
49681         * sysdeps/x86_64/configure: Regenerated.
49682         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49683         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49684         * elf/tst-unique2mod2.c: Likewise.
49685         * elf/tst-unique2mod1.c: Likewise.
49686         * elf/tst-unique1mod2.c: Likewise.
49687         * elf/tst-unique1mod1.c: Likewise.
49688         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49689         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49690         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49691         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49692         * sysdeps/mach/sysdep.h: Likewise.
49693         * sysdeps/i386/sysdep.h: Likewise.
49694         * sysdeps/i386/i386-mcount.S: Likewise.
49695         * sysdeps/x86_64/_mcount.S: Likewise.
49696         * sysdeps/x86_64/sysdep.h: Likewise.
49697         * sysdeps/sh/_mcount.S: Likewise.
49698         * sysdeps/sh/sysdep.h: Likewise.
49699         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49700         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49701         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49702         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49703         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49704         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49705         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49706         * locale/localeinfo.h: Likewise.
49707         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49708         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49710 2012-07-09  Roland McGrath  <roland@hack.frob.com>
49712         [BZ #14336]
49713         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49714         system".
49715         * manual/message.texi (The Uniforum approach): Likewise.
49716         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49717         (glibc iconv Implementation): Likewise.
49719 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
49721         [BZ #14337]
49722         * math/s_clog.c (__clog): Avoid scaling a value down where that
49723         could result in underflow.
49724         * math/s_clog10.c (__clog10): Likewise.
49725         * math/s_clog10f.c (__clog10f): Likewise.
49726         * math/s_clog10l.c (__clog10l): Likewise.
49727         * math/s_clogf.c (__clogf): Likewise.
49728         * math/s_clogl.c (__clogl): Likewise.
49729         * math/libm-test.inc (clog_test): Add more tests.
49730         (clog10_test): Likewise.
49731         * sysdeps/i386/fpu/libm-test-ulps: Update.
49732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49734 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
49736         [BZ #14283]
49737         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49738         by 7 not 8 to examine high bit of fractional part.
49740         [BZ #14042]
49741         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49742         for call to __mcount_internal.
49743         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49744         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49745         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49747 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
49749         [BZ #14154]
49750         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49751         approximation for values within 0x1p-13f of an odd multiple of
49752         pi/4.
49753         * math/libm-test.inc (tan_test): Do not allow spurious underflow
49754         exception.  Add more tests.
49755         * sysdeps/i386/fpu/libm-test-ulps: Update.
49757         [BZ #6778]
49758         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49759         inputs and return -1 for them.  Do not check for +Inf in case not
49760         reachable for +Inf.
49761         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49762         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49763         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49764         and return -1 for them.  Do not check for +Inf in case not
49765         reachable for +Inf.
49766         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49767         define.
49768         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49769         and return -1 for them.  Do not check for +Inf in case not
49770         reachable for +Inf.
49771         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
49772         spurious underflow.
49773         * sysdeps/i386/fpu/libm-test-ulps: Update.
49774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49776 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
49778         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49780 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
49782         [BZ #14157]
49783         [BZ #14331]
49784         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49785         could result in spurious underflow.  Scale down values above
49786         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49787         * math/s_csqrtf.c (__csqrtf): Likewise.
49788         * math/s_csqrtl.c (__csqrtl): Likewise.
49789         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
49790         spurious underflow.
49791         * sysdeps/i386/fpu/libm-test-ulps: Update.
49792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49794 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
49796         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49797         xopen-msg.sed.
49798         * catgets/xopen-msg.awk: New file.
49799         * catgets/xopen-msg.sed: Removed.
49801         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49802         po2text.sed.
49803         * intl/po2test.awk: New file.
49804         * intl/po2test.sed: Removed.
49806 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
49808         [BZ #14328]
49809         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49810         or multiply small sinh result by itself.
49811         * math/s_ctanf.c (__ctanf): Likewise.
49812         * math/s_ctanh.c (__ctanh): Likewise.
49813         * math/s_ctanhf.c (__ctanhf): Likewise.
49814         * math/s_ctanhl.c (__ctanhl): Likewise.
49815         * math/s_ctanl.c (__ctanl): Likewise.
49816         * math/libm-test.inc (ctan_test_tonearest): New function.
49817         (ctan_test_towardzero): Likewise.
49818         (ctan_test_downward): Likewise.
49819         (ctan_test_upward): Likewise.
49820         (ctanh_test_tonearest): Likewise.
49821         (ctanh_test_towardzero): Likewise.
49822         (ctanh_test_downward): Likewise.
49823         (ctanh_test_upward): Likewise.
49824         (main): Call these new functions.
49825         * sysdeps/i386/fpu/libm-test-ulps: Update.
49826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49828 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
49830         * .gitignore: Delete /ports entry.
49832 2012-07-03  Andreas Jaeger  <aj@suse.de>
49834         * po/bg.po: Update from translation team.
49835         * po/cs.po: Likewise.
49836         * po/de.po: Likewise.
49837         * po/hr.po: Likewise.
49838         * po/nl.pl: Likewise.
49839         * po/pl.po: Likewise.
49840         * po/vi.po: Likewise.
49842 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
49844         * Makeconfig [!+link] (+link-before-libc): New variable.
49845         [!+link] (+link-after-libc): Likewise.
49846         [!+link] (+link-tests): Likewise.
49847         [!+link] (+link): Define in terms of $(+link-before-libc) and
49848         $(+link-after-libc).
49849         [!+link-static] (+link-static-before-libc): New variable.
49850         [!+link-static] (+link-static-after-libc): Likewise.
49851         [!+link-static] (+link-static-tests): Likewise.
49852         [!+link-static] (+link-static): Define in terms of
49853         $(+link-static-before-libc) and $(+link-static-after-libc).
49854         [build-shared] (link-libc-before-gnulib): New variable.
49855         [build-shared] (link-libc-tests): Likewise.
49856         [build-shared] (link-libc): Define in terms of
49857         $(link-libc-before-gnulib).
49858         [!build-shared] (link-libc-tests): New variable.
49859         (link-libc-static-tests): New variable.
49860         [!gnulib] (gnulib-arch): New variable.
49861         [!gnulib] (gnulib-tests): Likewise.
49862         [!gnulib] (static-gnulib-arch): Likewise.
49863         [!gnulib] (static-gnulib-tests): Likewise.
49864         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
49865         Define with "=" instead of ":=".
49866         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
49867         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
49868         * Rules (binaries-all-notests): New variable.
49869         (binaries-all-tests): Likewise.
49870         (binaries-static-notests): Likewise.
49871         (binaries-static-tests): Likewise.
49872         (binaries-all): Define using $(binaries-all-notests) and
49873         $(binaries-all-tests).
49874         (binaries-static): Define using $(binaries-static-notests) and
49875         $(binaries-static-tests).
49876         (binaries-shared-tests): New variable.
49877         (binaries-shared-notests): Likewise.
49878         (binaries-shared): Remove variable.
49879         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49880         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49881         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49882         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49883         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49884         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49885         * elf/Makefile (sln-modules): New variable.
49886         (extra-objs): Add $(sln-modules:=.o).
49887         (ldconfig-modules): Add static-stubs.
49888         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49889         * elf/static-stubs.c: New file.
49891         [BZ #14283]
49892         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49893         by 7 not 8 to examine high bit of fractional part.  Use volatile
49894         variables when splitting into final array of floats if
49895         __FLT_EVAL_METHOD__ != 0.
49896         * math/libm-test.inc (cos_test): Add another test.
49897         (sin_test): Likewise.
49898         * sysdeps/i386/fpu/libm-test-ulps: Update.
49900         [BZ #14273]
49901         * math/libm-test.inc (cosh_test): Add more tests.
49903         * version.h (RELEASE): Set to "development".
49904         (VERSION): Set to "2.16.90".
49906 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
49908         * NEWS: Update copyright. Remove last-updated date.
49909         Mention math library bug fixes and timezone data changes.
49910         * README: Mention GNU/Hurd, x32, and HPPA support status.
49912 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
49914         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49916 2012-06-27  Andreas Jaeger  <aj@suse.de>
49918         * manual/contrib.texi (Contributors): Add Samuel Thibault.
49920 2012-06-25  Andreas Jaeger  <aj@suse.de>
49922         * sysdeps/s390/fpu/libm-test-ulps: Update.
49924 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
49925             Thomas Schwinge  <thomas@codesourcery.com>
49927         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49928         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49929         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49930         fanotify_mark.
49932 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
49934         * sysdeps/mach/start.c: Remove file.
49935         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49936         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49937         * sysdeps/sh/init-first.c: Likewise.
49939         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49940         registers for frame unwinding purposes, add CFI directives.
49941         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49942         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49943         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49944         Likewise.
49946         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49947         __fortify_fail returning.
49948         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49950         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49951         sysdeps/sh/____longjmp_chk.S.
49952         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49953         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49954         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49955         (gen-as-const-headers): Append sigaltstack-offsets.sym.
49957         * sysdeps/sh/abort-instr.h: New file.
49958         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49959         process in case exit returns.
49961         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49962         initialize the GOT register before use.
49964         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49965         calculation of ARGC > 4.
49967         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49968         meaningful names to some local labels.
49970 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49971             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49973         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49974         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49975         (__arch_compare_and_exchange_val_16_acq): Likewise.
49976         (__arch_compare_and_exchange_val_32_acq): Likewise.
49977         (atomic_exchange_and_add): Fix gUSA sequence.
49978         (atomic_add): Likewise.
49979         (atomic_add_negative): Likewise.
49980         (atomic_add_zero): Likewise.
49981         (atomic_bit_test_set): Likewise.
49983 2012-06-22  Andreas Schwab  <schwab@redhat.com>
49985         [BZ #13579]
49986         * include/link.h (struct link_map): Add l_free_initfini.
49987         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49988         l_initfini.
49989         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49990         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49991         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49992         set.
49994 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
49996         * configure.in: Use AC_LANG_SOURCE.
49997         * configure: Regenerate.
49999 2012-06-22  Roland McGrath  <roland@hack.frob.com>
50001         * configure.in (libc_cv_localstatedir): New substituted variable.
50002         * configure: Regenerated.
50003         * config.make.in (localstatedir): New variable, substituted from
50004         libc_cv_localstatedir.
50005         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
50006         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
50007         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
50008         * sysdeps/gnu/configure: Regenerated.
50010 2012-06-21  Jeff Law  <law@redhat.com>
50012         [BZ #14277]
50013         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
50014         free.  Simplify list management for _LIBC case.
50016 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
50018         [BZ #14273]
50019         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
50020         Clear sign bit of 64-bit integer value before comparing against
50021         overflow value.
50023         * sysdeps/mach/configure: Regenerated.
50025 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
50027         [BZ #14278]
50028         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
50030 2012-06-21  Jeff Law  <law@redhat.com>
50032         [BZ #13882]
50033         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
50034         uint16_t for elements in the "seen" array to avoid char overflows.
50035         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50036         * elf/dl-open.c (dl_open_worker): Likewise.
50038 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
50040         * scripts/list-sources.sh: Scan PORTS for translations.
50041         * po/libc.pot: Regenerated.
50043 2012-06-21  Andreas Jaeger  <aj@suse.de>
50045         [BZ #12194]
50046         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
50047         warning.
50048         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
50049         * bits/byteswap-16.h (__bswap_16): Likewise.
50050         * bits/byteswap.h (__bswap_constant_16): Likewise.
50052 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
50054         [BZ #14117]
50055         * sysdeps/i386/fpu_control.h: Removed.
50056         * sysdeps/x86_64/fpu_control.h: Moved to ...
50057         * sysdeps/x86/fpu_control.h: Here.
50059         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
50060         (_FPU_SETCW): Likewise.
50062 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
50064         [BZ #14117]
50065         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
50066         * sysdeps/x86/fpu/bits/mathinline.h: This.
50067         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
50069         [BZ #14050]
50070         [BZ #14117]
50071         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
50072         functions if __x86_64__ is defined.
50074 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
50076         * string/endian.h: Add !__ASSEMBLER__ condition for including
50077         conversion interfaces.
50079 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
50081         [BZ #14241]
50082         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
50083         of ABS(x) in calculating zero to negative powers other than odd
50084         integers.
50085         * math/libm-test.inc (pow_test): Add more tests.
50087 2012-06-15  Andreas Jaeger  <aj@suse.de>
50089         * manual/contrib.texi (Contributors): Update entry of Liubov
50090         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
50091         Machado Filho.
50093 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
50095         * string/string.h: Add __wur to GNU version of strerror_r.
50097 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
50099         [BZ #14229]
50100         * string/Makefile (tests): Add tst-strtok_r.
50101         * string/tst-strtok_r.c: New file.
50102         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
50103         RAX_LP/RDX_LP on SAVE_PTR.
50105 2012-06-14  Roland McGrath  <roland@hack.frob.com>
50107         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
50109 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
50111         * libm_test.inc (csqrt_test): Allow more spurious underflow
50112         exceptions.
50113         (j0_test): Likewise.
50114         (j1_test): Likewise.
50115         (y0_test): Likewise.
50116         (y1_test): Likewise.
50118 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
50120         * po/Makefile (libc.pot): Use UTF-8 charset.
50122 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
50124         [BZ #14210]
50125         Suppress sign-conversion warning from FD_SET.
50126         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50127         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50128         not unsigned long int.
50129         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50131 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
50133         [BZ #14050]
50134         [BZ #14117]
50135         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50136         __extern_always_inline instead of __extern_inline.
50137         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50138         (__signbit): Likewise.
50139         (__signbitl): Support C++ namespace.
50140         (lrintf): New inline function.
50141         (lrint): Likewise.
50142         (llrintf): Likewise.
50143         (llrint): Likewise.
50144         (fmaxf): Likewise.
50145         (fmax): Likewise.
50146         (fminf): Likewise.
50147         (fmin): Likewise.
50148         (rint): Likewise.
50149         (rintf): Likewise.
50150         (ceil): Likewise.
50151         (ceilf): Likewise.
50152         (floor): Likewise.
50153         (floorf): Likewise.
50154         (nearbyint): Likewise.
50155         (nearbyintf): Likewise.
50157 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
50159         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50160         non-default versions.
50162 2012-06-11  Roland McGrath  <roland@hack.frob.com>
50164         [BZ #14218]
50165         * manual/argp.texi (Argp): Reword argp_parse description slightly.
50167 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
50169         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50170         (FE_UPWARD, FE_DOWNWARD): Don't define.
50171         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50172         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50174         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50175         reading it.
50176         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50177         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50179 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50181         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50182         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50183         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50184         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50186 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
50188         [BZ #14117]
50189         * sysdeps/i386/fpu/bits/fenv.h: Removed.
50190         * sysdeps/i386/fpu/Implies: New file.
50191         * sysdeps/x86_64/fpu/Implies: Likewise.
50192         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50193         * sysdeps/x86/fpu/bits/fenv.h: This.
50195         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50196         __SSE_MATH__.
50198 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50200         [BZ #14134]
50201         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50202         character 0xffff that matches the last element of the
50203         conversion table.
50205 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50207         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50208         fmodl commit.
50210 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50212         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50213         values higher than 25.6283.
50215 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50217         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50218         subnormal exponent extraction and add some __builtin_expect.
50219         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50220         Fix for subnormal mantissa calculation.
50222 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
50224         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50225         cpu2 is -1 and errno is not ENOSYS.
50227 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
50229         [BZ #14117]
50230         * sysdeps/i386/i486/bits/string.h: Renamed to ...
50231         * sysdeps/x86/bits/string.h: This.
50232         * sysdeps/x86_64/bits/string.h: Removed.
50234         * sysdeps/i386/i486/bits/string.h: Define inline functions only
50235         if not compiling for x86-64, but compiling for >= i486.
50237         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50238         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50240         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50241         New macro from Linux kernel 3.4.0.
50242         (FP_XSTATE_MAGIC2): Likewise.
50243         (FP_XSTATE_MAGIC2_SIZE): Likewise.
50244         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50245         (struct _fpx_sw_bytes): New struct.
50246         (struct _xsave_hdr): Likewise.
50247         (struct _ymmh_state): Likewise.
50248         (struct _xstate): Likewise.
50250         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50251         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50252         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50253         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50254         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50255         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50257         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50258         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50259         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50260         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50261         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50262         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50264 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50266         [BZ #13743]
50267         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50268         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50269         (sysdep_headers): Include sys/platform/ppc.h.
50270         * sysdeps/powerpc/test-gettimebase.c: Test for
50271         __ppc_get_timebase() to catch future ISA opcode/insn changes.
50272         * manual/Makefile (appendices): Include platform.texi.
50273         * manual/contrib.texi (Contributors): Update @node pointers.
50274         * manual/maint.texi (Maintenance): Likewise.
50275         (Platform): New node.
50276         * manual/platform.texi: New file.  Document the new features.
50278 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50279             Jakub Jelinek  <jakub@redhat.com>
50281         [BZ #14188]
50282         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50283         where __builtin_expect is unavailable.
50285 2012-06-03  David S. Miller  <davem@davemloft.net>
50287         * stdlib/longlong.h: Updated from GCC.
50289 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
50291         [BZ #14042]
50292         * sysdeps/powerpc/powerpc32/mcount.c: New file.
50293         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50294         __mcount_internal.
50295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50296         (GLIBC_2.16): Likewise.
50298 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50300         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50302 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50305         (default-abi): New variable.
50306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50307         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50308         variable.
50309         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50310         Likewise.
50311         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50312         Likewise.
50313         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50314         Likewise.
50316         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50317         definition.  Document in comment.
50319 2012-06-01  David S. Miller  <davem@davemloft.net>
50321         * stdlib/longlong.h: Updated from GCC.
50323 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50325         [BZ #14117]
50326         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50327         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50328         sys/debugreg.h sys/io.h here.
50329         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50330         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50331         sys/io.h.
50332         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50333         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50334         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50335         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50336         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50337         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50339         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50340         Define only if __x86_64__ is defined.
50342 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50344         [BZ #14048]
50345         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50346         Use int64_t for variable i.
50347         * math/libm-test.inc (fmod_test): Add more tests.
50349         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50350         z computation is not scheduled after fetestexcept.
50351         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50352         Use math_force_eval instead of asm to ensure calculation scheduled
50353         before exception test.
50354         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50355         Ensure a1 + u.d computation is not scheduled after fetestexcept.
50357 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
50359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50360         computation is not scheduled after fetestexcept.
50362 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50364         [BZ #14117]
50365         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50366         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50368 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50370         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50371         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50373 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50375         [BZ #14117]
50376         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50377         <bits/wordsize.h>.
50378         (__WCHAR_MIN): Support __WORDSIZE == 64.
50379         (__WCHAR_MAX): Likewise.
50381         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50382         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50384         [BZ #14183]
50385         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50386         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50388         [BZ #14117]
50389         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50390         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50392         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50393         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50395         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50396         Defined to 1 if __x86_64__ isn't defined.
50397         (_STAT_VER_LINUX_OLD): New.
50398         (st_atime): Remove duplicate.
50399         (st_mtime): Likewise.
50400         (st_ctime): Likewise.
50402 2012-05-31  David S. Miller  <davem@davemloft.net>
50404         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50405         entries.
50407 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
50409         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50410         gen-libm-test.pl.
50412         [BZ #14132]
50413         * elf/dl-reloc.c: Include <_itoa.h>.
50414         (_dl_reloc_bad_type): Remove use of INTUSE.
50415         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50416         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50417         * stdio-common/psiginfo.c (psiginfo): Likewise.
50418         * stdio-common/psignal.c (psignal): Likewise.
50419         * string/strsignal.c (strsignal): Likewise.
50420         * include/signal.h (_sys_siglist): Declare hidden proto.
50421         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
50422         INTVARDEF with libc_hidden_data_def.
50423         * stdio-common/itoa-udigits.c: Likewise.
50424         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50425         (_itoa_lower_digits_internal): Remove declaration.
50426         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50427         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50428         (_sys_sigabbrev_internal): Remove aliases.
50429         (_sys_siglist): Define hidden alias.
50431 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
50433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50434         bits/sysctl.h.
50436 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50438         [BZ #14117]
50439         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50440         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50442         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50443         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50444         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50445         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50446         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50447         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50449         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50450         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50451         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50453         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50454         with __addr.
50455         (insw): Likewise.
50456         (insl): Likewise.
50457         (outsb): Likewise.
50458         (outsw): Likewise.
50459         (outsl): Likewise.
50461         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50462         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50463         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50465         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50466         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50467         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50468         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50469         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50470         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50472         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50473         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50475         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50476         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50478         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50479         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50480         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50482         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50483         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50484         to ...
50485         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50487         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50488         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50489         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50491         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50492         for x86-64.
50493         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50495 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
50497         * math/math.h (M_El): Use two more decimal places.
50498         (M_LOG2El): Likewise.
50499         (M_LOG10El): Likewise.
50500         (M_LN2l): Likewise.
50501         (M_LN10l): Likewise.
50502         (M_PIl): Likewise.
50503         (M_PI_2l): Likewise.
50504         (M_PI_4l): Likewise.
50505         (M_1_PIl): Likewise.
50506         (M_2_PIl): Likewise.
50507         (M_2_SQRTPIl): Likewise.
50508         (M_SQRT2l): Likewise.
50509         (M_SQRT1_2l): Likewise.
50511 2012-05-31  David S. Miller  <davem@davemloft.net>
50513         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50514         values between float registers.
50515         * sysdeps/sparc/sparc64/memset.S: Likewise.
50516         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50518 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
50520         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50521         -D_FORTIFY_SOURCE=1.
50522         (CPPFLAGS-tst-longjmp_chk.c): Define.
50523         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50524         (CPPFLAGS-tst-longjmp_chk2.c): Define.
50525         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50526         CFLAGS-tst-wchar-h.c.
50528 2012-05-31  Marek Polacek  <polacek@redhat.com>
50530         [BZ #14132]
50531         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50532         __endmntent_internal): Remove declaration.
50533         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50534         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50535         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50537 2012-05-30  David S. Miller  <davem@davemloft.net>
50539         * sysdeps/sparc/sparc32/soft-fp/q_util.c
50540         (___Q_simulate_exceptions): Use real FP ops rather than writing
50541         into the %fsr.
50542         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50543         Likewise.
50545 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50547         [BZ #14117]
50548         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50549         * sysdeps/x86/bits/xtitypes.h: This.
50551         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50552         * sysdeps/x86/bits/wordsize.h: This.
50554         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50555         * sysdeps/x86/bits/huge_vall.h: This.
50557         * sysdeps/i386/bits/select.h: Removed.
50558         * sysdeps/x86_64/bits/select.h: Renamed to ...
50559         * sysdeps/x86/bits/select.h: This.
50561         * sysdeps/i386/bits/setjmp.h: Removed.
50562         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50563         * sysdeps/x86/bits/setjmp.h: This.
50565         * sysdeps/i386/bits/mathdef.h: Removed.
50566         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50567         * sysdeps/x86/bits/mathdef.h: This.
50569 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
50571         [BZ #14132]
50572         * include/sys/socket.h (__connect_internal)
50573         (__libc_sa_len_internal): Remove declaration.
50574         (__connect, __libc_sa_len): Declare hidden_proto.
50575         (SA_LEN): Remove use of INTUSE.
50576         * socket/connect.c: Add libc_hidden_def.
50577         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50578         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50579         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50580         alias.
50581         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50582         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50583         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50584         of adding _internal alias.
50586 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50588         [BZ #14117]
50589         * sysdeps/i386/bits/link.h: Removed.
50590         * sysdeps/i386/bits/linkmap.h: Likewise.
50591         * sysdeps/x86_64/bits/link.h: Renamed to ...
50592         * sysdeps/x86/bits/link.h: This.
50593         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50594         * sysdeps/x86/bits/linkmap.h: This.
50596         * sysdeps/i386/bits/endian.h: Removed.
50597         * sysdeps/x86_64/bits/endian.h: Renamed to ...
50598         * sysdeps/x86/bits/endian.h: This.
50600         * sysdeps/i386/bits/byteswap.h: Removed.
50601         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50602         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50603         * sysdeps/x86/bits/byteswap.h: This.
50604         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50605         * sysdeps/x86/bits/byteswap-16.h: This.
50606         * sysdeps/i386/Implies: Add x86.
50607         * sysdeps/x86_64/Implies: Likewise.
50609 2012-05-30  David S. Miller  <davem@davemloft.net>
50611         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50612         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50613         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50614         (FP_TRAPPING_EXCEPTIONS): Define.
50615         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50616         (FP_TRAPPING_EXCEPTIONS): Define.
50617         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50618         subnormals only when inexact has been signalled or underflow
50619         exceptions are enabled.
50620         (_FP_PACK_CANONICAL): Likewise.
50622 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50624         [BZ #14183]
50625         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50626         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50628 2012-05-30  Richard Henderson  <rth@twiddle.net>
50630         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50631         with #ifndef NOT_IN_libc.
50633         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
50634         marked to avoid plt entry.
50636 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50638         [BZ #14112]
50639         * Makeconfig (default-abi): New macro.
50640         (abi-includes): Likewise.
50641         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
50642         $(abi-$(default-abi)-lib-soname) for soname if defined.
50643         ($(common-objpfx)gnu/lib-names.stmp): Generate from
50644         abi-variants.
50645         * Makefile (installed-stubs): Likewise.
50646         * include/stubs-biarch.h: Removed.
50647         * scripts/lib-names.awk: Only handle one library at a time.
50648         * scripts/soversions.awk: Remove WORDSIZE support.
50649         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50650         entries.
50651         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50652         Removed.
50653         (syscall-list-default-condition): Likewise.
50654         (syscall-list-default-condition): Likewise.
50655         (syscall-list-includes): Likewise.
50656         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50657         syscall-list-* with abi-*.  Handle undefined abi-variants.
50658         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50659         * sysdeps/unix/sysv/linux/i386/Implies: New file.
50660         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50661         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50662         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50663         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50664         Removed.
50665         (syscall-list-32-options): Likewise.
50666         (syscall-list-32-condition): Likewise.
50667         (syscall-list-64-options): Likewise.
50668         (syscall-list-64-condition): Likewise.
50669         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50670         macro.
50671         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50672         Renamed to ...
50673         (abi-*): This.
50674         (abi-64-ld-soname): New macro.
50675         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50676         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50677         Renamed to ...
50678         (abi-*): This.
50679         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50680         * sysdeps/x86_64/x32/shlib-versions: Likewise.
50682 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
50684         * sysdeps/unix/sysv/linux/kernel-features.h
50685         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50686         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50687         include <kernel-features.h>.
50688         [!__NR_ftruncate64]: Remove conditional code.
50689         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50690         [__NR_ftruncate64]: Make code unconditional.
50691         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50692         * sysdeps/unix/sysv/linux/truncate64.c: Do not
50693         include <kernel-features.h>.
50694         [!__NR_ftruncate64]: Remove conditional code.
50695         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50696         [__NR_ftruncate64]: Make code unconditional.
50697         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50699         include <kernel-features.h>.
50700         [!__NR_ftruncate64]: Remove conditional code.
50701         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50702         [__NR_ftruncate64]: Make code unconditional.
50703         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50705         include <kernel-features.h>.
50706         [!__NR_ftruncate64]: Remove conditional code.
50707         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50708         [__NR_ftruncate64]: Make code unconditional.
50709         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50711         * configure.in (libc_cv_fpie): Weaken to a compile test using
50712         LIBC_TRY_CC_OPTION.
50713         * configure: Regenerated.
50715 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50721         Refreshed.
50722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50728         Refreshed.
50730 2012-05-27  David S. Miller  <davem@davemloft.net>
50732         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50733         (___Q_zero): New.
50734         (__Q_simulate_exceptions): Return void.  Change to simulate
50735         exceptions by writing into the %fsr.
50736         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50737         (__Qp_handle_exceptions): Likewise.
50738         (numbers): Delete.
50739         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50740         __Qp_handle_exceptions.
50741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50742         __Qp_handle_exceptions.
50743         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50744         as unused and give dummy FP_RND_NEAREST initializer.
50745         (FP_INHIBIT_RESULTS): Define.
50746         (___Q_simulate_exceptions): Update declaration.
50747         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50748         formatting.
50749         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50750         as unused and give dummy FP_RND_NEAREST initializer.
50751         (__Qp_handle_exceptions): Update declaration.
50752         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50753         formatting.
50755 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
50757         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50758         the temporary FPU control word.
50759         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50760         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50761         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50762         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50763         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50764         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50765         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50766         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50767         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50768         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50769         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50771 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50773         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50774         fields.
50776 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
50778         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50779         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50780         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50781         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50782         Likewise.
50783         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50784         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50785         Likewise.
50787 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
50789         * po/h.po: Update from translation team.
50791 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
50793         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50795         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50796         handling of denormals.
50797         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50798         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50799         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50800         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50801         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50802         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50803         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50804         Likewise.
50806 2012-05-26  Marek Polacek  <polacek@redhat.com>
50808         [BZ #14152]
50809         * math/libm-test.inc (fma_test): Don't always expect underflow
50810         exception.
50812 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50814         [BZ #12416]
50815         * elf/tst-execstack.c: Include stackinfo.h.
50816         (do_test): Adjust test case to ensure that pthread_getattr_np
50817         behaviour remains the same after marking stack executable.
50819 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
50821         * sysdeps/unix/sysv/linux/kernel-features.h
50822         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50823         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50824         kernel-features.h.
50825         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50826         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50827         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50828         kernel-features.h.
50829         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50830         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50832 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
50834         * configure.in: Define the default includes to being none.
50835         * configure: Regenerated.
50837 2012-05-25  Roland McGrath  <roland@hack.frob.com>
50839         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50840         * sysdeps/x86_64/setjmp.S: Likewise.
50841         * sysdeps/i386/bsd-setjmp.S: Likewise.
50842         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50843         * sysdeps/i386/setjmp.S: Likewise.
50844         * sysdeps/i386/__longjmp.S: Likewise.
50845         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50846         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50848         * include/stap-probe.h: New file.
50849         * configure.in: Handle --enable-systemtap.
50850         * configure: Regenerated.
50851         * config.h.in (USE_STAP_PROBE): New #undef.
50852         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50853         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50854         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50856 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
50858         [BZ #13717]
50859         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50860         to 2.4.0 where earlier.
50861         * sysdeps/unix/sysv/linux/configure: Regenerated.
50862         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50863         <kernel-features.h>.
50864         [__ASSUME_32BITUIDS]: Make code unconditional.
50865         [!__ASSUME_32BITUIDS]: Remove conditional code.
50866         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50867         <kernel-features.h>.
50868         [__ASSUME_32BITUIDS]: Make code unconditional.
50869         [!__ASSUME_32BITUIDS]: Remove conditional code.
50870         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50871         [__ASSUME_32BITUIDS]: Make code unconditional.
50872         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50873         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50874         <kernel-features.h>.
50875         [__ASSUME_32BITUIDS]: Make code unconditional.
50876         [!__ASSUME_32BITUIDS]: Remove conditional code.
50877         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50878         <kernel-features.h>.
50879         [__ASSUME_32BITUIDS]: Make code unconditional.
50880         [!__ASSUME_32BITUIDS]: Remove conditional code.
50881         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50882         <kernel-features.h>.
50883         [__ASSUME_32BITUIDS]: Make code unconditional.
50884         [!__ASSUME_32BITUIDS]: Remove conditional code.
50885         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50886         <kernel-features.h>.
50887         [__ASSUME_32BITUIDS]: Make code unconditional.
50888         [!__ASSUME_32BITUIDS]: Remove conditional code.
50889         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50890         <kernel-features.h>.
50891         [__ASSUME_32BITUIDS]: Make code unconditional.
50892         [!__ASSUME_32BITUIDS]: Remove conditional code.
50893         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50894         <kernel-features.h>.
50895         [__ASSUME_32BITUIDS]: Make code unconditional.
50896         [!__ASSUME_32BITUIDS]: Remove conditional code.
50897         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50898         <kernel-features.h>.
50899         [__ASSUME_32BITUIDS]: Make code unconditional.
50900         [!__ASSUME_32BITUIDS]: Remove conditional code.
50901         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50902         <kernel-features.h>.
50903         [__ASSUME_32BITUIDS]: Make code unconditional.
50904         [!__ASSUME_32BITUIDS]: Remove conditional code.
50905         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50906         <kernel-features.h>.
50907         [__ASSUME_32BITUIDS]: Make code unconditional.
50908         [!__ASSUME_32BITUIDS]: Remove conditional code.
50909         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50910         <kernel-features.h>.
50911         [__ASSUME_32BITUIDS]: Make code unconditional.
50912         [!__ASSUME_32BITUIDS]: Remove conditional code.
50913         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50914         <kernel-features.h>.
50915         [__NR_setresgid] (__setresgid): Do not declare.
50916         [__ASSUME_32BITUIDS]: Make code unconditional.
50917         [!__ASSUME_32BITUIDS]: Remove conditional code.
50918         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50919         <kernel-features.h>.
50920         [__NR_setresuid] (__setresuid): Do not declare.
50921         [__ASSUME_32BITUIDS]: Make code unconditional.
50922         [!__ASSUME_32BITUIDS]: Remove conditional code.
50923         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50924         <kernel-features.h>.
50925         [__ASSUME_32BITUIDS]: Make code unconditional.
50926         [!__ASSUME_32BITUIDS]: Remove conditional code.
50927         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50928         <kernel-features.h>.
50929         [__ASSUME_32BITUIDS]: Make code unconditional.
50930         [!__ASSUME_32BITUIDS]: Remove conditional code.
50931         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50932         <kernel-features.h>.
50933         [__ASSUME_32BITUIDS]: Make code unconditional.
50934         [!__ASSUME_32BITUIDS]: Remove conditional code.
50935         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50936         <kernel-features.h>.
50937         [__ASSUME_32BITUIDS]: Make code unconditional.
50938         [!__ASSUME_32BITUIDS]: Remove conditional code.
50939         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50940         <kernel-features.h>.
50941         [__ASSUME_32BITUIDS]: Make code unconditional.
50942         [!__ASSUME_32BITUIDS]: Remove conditional code.
50943         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50944         <kernel-features.h>.
50945         [__ASSUME_32BITUIDS]: Make code unconditional.
50946         [!__ASSUME_32BITUIDS]: Remove conditional code.
50947         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50948         <kernel-features.h>.
50949         [__ASSUME_32BITUIDS]: Make code unconditional.
50950         [!__ASSUME_32BITUIDS]: Remove conditional code.
50951         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50952         <kernel-features.h>.
50953         [__ASSUME_32BITUIDS]: Make code unconditional.
50954         [!__ASSUME_32BITUIDS]: Remove conditional code.
50955         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50956         <kernel-features.h>.
50957         [__ASSUME_32BITUIDS]: Make code unconditional.
50958         [!__ASSUME_32BITUIDS]: Remove conditional code.
50959         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50960         <kernel-features.h>.
50961         [__ASSUME_32BITUIDS]: Make code unconditional.
50962         [!__ASSUME_32BITUIDS]: Remove conditional code.
50963         * sysdeps/unix/sysv/linux/kernel-features.h
50964         (__ASSUME_SETRESUID_SYSCALL): Remove.
50965         (__ASSUME_SETRESGID_SYSCALL): Likewise.
50966         (__ASSUME_32BITUIDS): Likewise.
50967         (__ASSUME_LDT_WORKS): Likewise.
50968         (__ASSUME_O_DIRECTORY): Likewise.
50969         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50970         architecture but not kernel version.
50971         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50972         (__ASSUME_MMAP2_SYSCALL): Likewise.
50973         (__ASSUME_STAT64_SYSCALL): Likewise.
50974         (__ASSUME_IPC64): Likewise.
50975         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50976         <kernel-features.h>.
50977         [__ASSUME_32BITUIDS]: Make code unconditional.
50978         [!__ASSUME_32BITUIDS]: Remove conditional code.
50979         * sysdeps/unix/sysv/linux/opendir.c: Do not include
50980         <kernel-features.h>.
50981         [__ASSUME_O_DIRECTORY]: Make code unconditional.
50982         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50983         132096]: Remove conditional code.
50984         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50985         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50986         <kernel-features.h>.
50987         [__ASSUME_32BITUIDS]: Make code unconditional.
50988         [!__ASSUME_32BITUIDS]: Remove conditional code.
50989         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50990         <kernel-features.h>.
50991         [__ASSUME_32BITUIDS]: Make code unconditional.
50992         [!__ASSUME_32BITUIDS]: Remove conditional code.
50993         * sysdeps/unix/sysv/linux/setegid.c: Do not include
50994         <kernel-features.h>.
50995         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50996         unconditional.
50997         (__setresgid): Do not declare.
50998         [__ASSUME_32BITUIDS]: Make code unconditional.
50999         [!__ASSUME_32BITUIDS]: Remove conditional code.
51000         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
51001         <kernel-features.h>.
51002         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
51003         unconditional.
51004         (__setresuid): Do not declare.
51005         [__ASSUME_32BITUIDS]: Make code unconditional.
51006         [!__ASSUME_32BITUIDS]: Remove conditional code.
51007         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
51012         <kernel-features.h>.
51013         [__ASSUME_32BITUIDS]: Make code unconditional.
51014         [!__ASSUME_32BITUIDS]: Remove conditional code.
51016 2012-05-25  Richard Henderson  <rth@twiddle.net>
51018         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
51019         dl_hwcap to ifunc resolver.
51020         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
51021         elf_ifunc_invoke.
51022         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
51023         dl_hwcap to ifunc resolver.
51024         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
51026 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51028         [BZ #14153]
51029         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
51030         for |x| <= 2**-26, not 2**-57.
51031         * math/libm-test.inc (acos_test): Do not allow spurious underflow
51032         exception.
51034 2012-05-24  Jeff Law  <law@redhat.com>
51036         * stdio-common/Makefile (tests): Add bug25.
51037         * stdio-common/bug25.c: New test.
51039 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51041         [BZ #13576]
51042         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
51043         multiple of MALLOC_ALIGNMENT in size.
51044         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
51046 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51048         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
51049         Require >= 256.
51050         (FILENAME_MAX): Use macro-int-constant.
51051         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
51052         (_IOFBF): Use macro-int-constant.
51053         (_IOLBF): Likewise.
51054         (_IONBF): Likewise.
51055         (SEEK_CUR): Likewise.
51056         (SEEK_END): Likewise.
51057         (SEEK_SET): Likewise.
51058         (TMP_MAX): Likewise.
51059         (EOF): Use macro-int-constant.  Require < 0.
51060         (NULL): Use macro-constant.  Require == 0.
51061         (stdin): Require type to be FILE *.
51062         (stdout): Likewise.
51063         (stderr): Likewise.
51064         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
51065         macro-int-constant.
51066         (EXIT_SUCCESS): Likewise.
51067         (NULL): Use macro-constant.  Require == 0.
51068         (RAND_MAX): Use macro-int-constant.
51069         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
51070         [C99-based standards] (strtof): Require function.
51071         [C99-based standards] (strtold): Likewise.
51072         [C99-based standards] (strtoll): Likewise.
51073         [C99-based standards] (strtoull): Likewise.
51074         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51075         [ISO || ISO99 || ISO11] (limits.h): Likewise.
51076         [ISO || ISO99 || ISO11] (math.h): Likewise.
51077         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
51078         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51079         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51081 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
51083         [BZ #14132]
51084         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
51085         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
51086         * intl/dgettext.c (DCGETTEXT): Likewise.
51087         * intl/gettext.c (DCGETTEXT): Likewise.
51088         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
51089         * posix/regex_internal.h (gettext): Likewise.
51090         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
51091         Remove declaration.
51092         * include/argz.h (__argz_count_internal)
51093         (__argz_stringify_internal): Remove declaration.
51094         (__argz_count, __argz_stringify): Declare hidden proto.
51095         * intl/dcgettext.c: Remove use of INTDEF.
51096         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
51097         * string/argz-stringify.c: Likewise.
51098         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51099         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51100         Declare hidden proto.
51101         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51102         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51103         Declare hidden proto.
51104         * include/stdio.h (__asprintf_internal): Don't declare.
51105         (__asprintf): Don't define as macro.  Declare hidden proto.
51106         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
51107         (__fsetlocking): Declare hidden proto.
51108         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
51109         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
51110         hidden proto.
51111         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
51112         (_IO_setlinebuf): Remove use of INTUSE.
51113         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
51114         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
51115         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
51116         Remove declaration.
51117         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
51118         (_IO_do_flush): Remove use of INTUSE.
51119         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
51120         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
51121         (_IO_adjust_column, _IO_least_wmarker)
51122         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
51123         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51124         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51125         (_IO_default_doallocate, _IO_wdefault_doallocate)
51126         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51127         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51128         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51129         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51130         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51131         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51132         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51133         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51134         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51135         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51136         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51137         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51138         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51139         proto.
51140         (_IO_flush_all_internal, _IO_adjust_column_internal)
51141         (_IO_default_uflow_internal, _IO_default_finish_internal)
51142         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51143         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51144         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51145         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51146         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51147         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51148         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51149         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51150         (_IO_file_close_internal, _IO_file_close_it_internal)
51151         (_IO_file_underflow_internal, _IO_file_overflow_internal)
51152         (_IO_file_init_internal, _IO_file_attach_internal)
51153         (_IO_file_fopen_internal, _IO_file_read_internal)
51154         (_IO_file_sync_internal, _IO_file_seek_internal)
51155         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51156         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51157         (_IO_str_underflow_internal, _IO_str_overflow_internal)
51158         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51159         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51160         (_IO_list_all_internal, _IO_link_in_internal)
51161         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51162         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51163         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51164         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51165         (_IO_do_write_internal, _IO_padn_internal)
51166         (_IO_getline_info_internal, _IO_getline_internal)
51167         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51168         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51169         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51170         (_IO_vfscanf_internal, _IO_vfprintf_internal)
51171         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51172         (_IO_init_internal, _IO_un_link_internal): Don't declare.
51173         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51174         with libc_hidden_ver, remove use of INTUSE.
51175         * libio/genops.c: Likewise.
51176         * libio/freopen.c: Likewise.
51177         * libio/freopen64.c: Likewise.
51178         * libio/iofclose.c: Likewise.
51179         * libio/iofdopen.c: Likewise.
51180         * libio/iofflush.c: Likewise.
51181         * libio/iofflush_u.c: Likewise.
51182         * libio/iofgets.c: Likewise.
51183         * libio/iofgets_u.c: Likewise.
51184         * libio/iofopen.c: Likewise.
51185         * libio/iofopncook.c: Likewise.
51186         * libio/iofread.c: Likewise.
51187         * libio/iofread_u.c: Likewise.
51188         * libio/ioftell.c: Likewise.
51189         * libio/iofwrite.c: Likewise.
51190         * libio/iogetline.c: Likewise.
51191         * libio/iogets.c: Likewise.
51192         * libio/iogetwline.c: Likewise.
51193         * libio/iopadn.c: Likewise.
51194         * libio/iopopen.c: Likewise.
51195         * libio/ioseekoff.c: Likewise.
51196         * libio/ioseekpos.c: Likewise.
51197         * libio/iosetbuffer.c: Likewise.
51198         * libio/iosetvbuf.c: Likewise.
51199         * libio/ioungetc.c: Likewise.
51200         * libio/ioungetwc.c: Likewise.
51201         * libio/iovdprintf.c: Likewise.
51202         * libio/iovsprintf.c: Likewise.
51203         * libio/iovsscanf.c: Likewise.
51204         * libio/memstream.c: Likewise.
51205         * libio/obprintf.c: Likewise.
51206         * libio/oldfileops.c: Likewise.
51207         * libio/oldiofclose.c: Likewise.
51208         * libio/oldiofdopen.c: Likewise.
51209         * libio/oldiofopen.c: Likewise.
51210         * libio/oldiopopen.c: Likewise.
51211         * libio/oldstdfiles.c: Likewise.
51212         * libio/putc.c: Likewise.
51213         * libio/setbuf.c: Likewise.
51214         * libio/setlinebuf.c: Likewise.
51215         * libio/stdfiles.c: Likewise.
51216         * libio/strops.c: Likewise.
51217         * libio/vasprintf.c: Likewise.
51218         * libio/vscanf.c: Likewise.
51219         * libio/vsnprintf.c: Likewise.
51220         * libio/vswprintf.c: Likewise.
51221         * libio/wfiledoalloc.c: Likewise.
51222         * libio/wfileops.c: Likewise.
51223         * libio/wgenops.c: Likewise.
51224         * libio/wmemstream.c: Likewise.
51225         * libio/wstrops.c: Likewise.
51226         * libio/__fpurge.c: Likewise.
51227         * libio/__fsetlocking.c: Likewise.
51228         * assert/assert.c: Likewise.
51229         * debug/fgets_chk.c: Likewise.
51230         * debug/fgets_u_chk.c: Likewise.
51231         * debug/fread_chk.c: Likewise.
51232         * debug/fread_u_chk.c: Likewise.
51233         * debug/gets_chk.c: Likewise.
51234         * debug/obprintf_chk.c: Likewise.
51235         * debug/vasprintf_chk.c: Likewise.
51236         * debug/vdprintf_chk.c: Likewise.
51237         * debug/vsnprintf_chk.c: Likewise.
51238         * debug/vsprintf_chk.c: Likewise.
51239         * malloc/mtrace.c: Likewise.
51240         * misc/error.c: Likewise.
51241         * misc/syslog.c: Likewise.
51242         * stdio-common/asprintf.c: Likewise.
51243         * stdio-common/fxprintf.c: Likewise.
51244         * stdio-common/getw.c: Likewise.
51245         * stdio-common/isoc99_fscanf.c: Likewise.
51246         * stdio-common/isoc99_scanf.c: Likewise.
51247         * stdio-common/isoc99_vfscanf.c: Likewise.
51248         * stdio-common/isoc99_vscanf.c: Likewise.
51249         * stdio-common/isoc99_vsscanf.c: Likewise.
51250         * stdio-common/printf-prs.c: Likewise.
51251         * stdio-common/printf_fp.c: Likewise.
51252         * stdio-common/printf_fphex.c: Likewise.
51253         * stdio-common/printf_size.c: Likewise.
51254         * stdio-common/putw.c: Likewise.
51255         * stdio-common/scanf.c: Likewise.
51256         * stdio-common/sprintf.c: Likewise.
51257         * stdio-common/tmpfile.c: Likewise.
51258         * stdio-common/vfprintf.c: Likewise.
51259         * stdio-common/vfscanf.c: Likewise.
51260         * stdlib/strfmon_l.c: Likewise.
51261         * sunrpc/openchild.c: Likewise.
51262         * sunrpc/xdr_stdio.c: Likewise.
51263         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51264         * sysdeps/mach/hurd/tmpfile.c: Likewise.
51266 2012-05-24  Roland McGrath  <roland@hack.frob.com>
51268         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51270         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51271         in the third column, to generate for the shared library an IFUNC
51272         that uses _dl_vdso_vsym.
51273         * Makerules (COMPILE.c, compile-stdin.c): New variables.
51274         * Makeconfig (object-suffixes-noshared): New variable.
51276         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51277         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51278         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51279         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51281         [BZ #14132]
51282         * include/sys/time.h (__gettimeofday): Remove macro.
51283         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51284         * time/gettimeofday.c (__gettimeofday): Remove #undef.
51285         Remove INTDEF.
51286         (__gettimeofday): Add libc_hidden_def.
51287         (gettimeofday): Add libc_hidden_weak.
51288         * sysdeps/mach/gettimeofday.c: Likewise.
51289         * sysdeps/posix/gettimeofday.c: Likewise.
51290         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51291         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51292         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51293         (__gettimeofday_internal): Remove strong_alias.
51294         (__gettimeofday): Add libc_hidden_def.
51295         (gettimeofday): Add libc_hidden_weak.
51296         * sysdeps/unix/syscalls.list (gettimeofday):
51297         Remove __gettimeofday_internal alias.
51299 2012-05-24  Daniel Jacobowitz  <drow@false.org>
51300             H.J. Lu  <hongjiu.lu@intel.com>
51302         [BZ #12495]
51303         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51304         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51305         (largebin_index_32_big): New.
51306         (largebin_index): Use it for 16-byte alignment.
51307         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
51308         correction with front_misalign.
51310 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51314         Likewise.
51315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51316         Likewise.
51317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51318         Likewise.
51319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51320         Likewise.
51321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51322         Likewise.
51323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51324         Likewise.
51325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51326         Likewise.
51327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51328         Likewise.
51329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51330         Likewise.
51331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51332         Likewise.
51333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51334         Likewise.
51335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51336         Likewise.
51338         * scripts/data/c++-types-x32-linux-gnu.data: New file.
51339         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51341 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51343         [BZ #10846]
51344         [BZ #14036]
51345         * math/libm-test.inc (exp_test): Add test from bug 14036.
51346         (pow_test): Add test from bug 10846.
51348         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51349         and other flags.
51350         (special_function): Do not include flags in test name.
51351         (parse_args): Likewise.
51352         * sysdeps/i386/fpu/libm-test-ulps: Update.
51353         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51354         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51355         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51358         * math/gen-libm-test.pl (%beautify): Add entries for underflow
51359         exceptions.
51360         * math/libm-test.inc ("Philosophy"): Update comment about
51361         exception testing.
51362         (UNDERFLOW_EXCEPTION): New macro.
51363         (UNDERFLOW_EXCEPTION_OK): Likewise.
51364         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51365         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51366         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51367         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51368         (INVALID_EXCEPTION_OK): Update value.
51369         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51370         (OVERFLOW_EXCEPTION_OK): Likewise.
51371         (IGNORE_ZERO_INF_SIGN): Likewise.
51372         (test_exceptions): Handle underflow exceptions.
51373         (acos_test): Update for underflow exception expectations.
51374         (cexp_test): Likewise.
51375         (clog_test): Likewise.
51376         (clog10_test): Likewise.
51377         (csqrt_test): Likewise.
51378         (ctan_test): Likewise.
51379         (ctanh_test): Likewise.
51380         (exp_test): Likewise.
51381         (exp10_test): Likewise.
51382         (exp2_test): Likewise.
51383         (expm1_test): Likewise.
51384         (fma_test): Likewise.
51385         (j0_test): Likewise.
51386         (jn_test): Likewise.
51387         (nexttoward_test): Likewise.
51388         (pow_test): Likewise.
51389         (scalbn_test): Likewise.
51390         (scalbln_test): Likewise.
51391         (tan_test): Likewise.
51392         (y1_test): Likewise.
51393         * sysdeps/i386/fpu/libm-test-ulps: Update.
51394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51396 2012-05-23  David S. Miller  <davem@davemloft.net>
51398         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51399         (__libc_sigaction): Remove unused local variables.
51401 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51403         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51405 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
51407         mktime: avoid signed integer overflow
51408         * time/mktime.c (__mktime_internal): Do not mishandle the case
51409         where diff == INT_MIN.
51411         mktime: simplify computation of average
51412         * time/mktime.c (ranged_convert): Use new time_t_avg function
51413         instead of rolling our own (probably-slower) code.
51415         mktime: do not assume signed right shift propagates sign bit
51416         * time/mktime.c (isdst_differ): New static function.
51417         (__mktime_internal): No need to normalize tm_isdst now.
51418         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51419         tm_isdst values.
51421         mktime: merge another wrapv change from gnulib
51422         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51423         from some compilers.
51425         mktime: remove incorrect attempt at unusual arithmetics
51426         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51427         The code didn't really work on such machines anyway.
51428         (TYPE_MINIMUM): Assume two's complement.
51429         (twos_complement_arithmetic): Verify that long_int and time_t
51430         are two's complement (or unsigned, in the latter case).
51432         mktime: check signed shifts on long_int and time_t, too
51433         * time/mktime.c (SHR): Check that shifts work as desired
51434         on the types long_int and time_t too, as SHR is used on
51435         such types.
51437         mktime: do not assume 'long' is wide enough
51438         * time/mktime.c (verify): Move decl up.
51439         (long_int): New type.
51440         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51441         to remove assumption in the code that 'long' is wide enough to
51442         store year values.  This assumption is not true on x32 and on
51443         some non-glibc platforms.
51445         mktime: merge wrapv change from gnulib
51446         * time/mktime.c (WRAPV): New macro.
51447         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51448         (guess_time_tm, __mktime_internal): Do not assume that signed
51449         integer overflow wraps around; modern compilers generate code
51450         where this assumption is no longer valid.
51452 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51454         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51455         Replace "jmp L(pseudo_end)" with "ret".
51456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51457         Likewise.
51459 2012-05-23  Andreas Jaeger  <aj@suse.de>
51461         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51462         * sysdeps/unix/sysv/linux/poll.c: Remove file.
51464 2012-05-23  Andreas Jaeger  <aj@suse.de>
51465             Maximilian Attems  <max@stro.at>
51467         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51468         New macros.
51470 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51472         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51473         code so that pseudo_end is just ret and the stack pointer is
51474         correct also for static library in error case.
51476 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
51478         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51479         move to syscalls.list.
51480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51485         * manual/install.texi (Running make install): Do not mention Linux
51486         kernel version for which pt_chown is not needed.
51487         (Linux): Do not mention problems with nscd with 2.0 kernels.
51488         * INSTALL: Regenerated.
51490 2012-05-23  Andreas Jaeger  <aj@suse.de>
51492         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51493         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51494         macro.
51495         * sysdeps/unix/sysv/linux/s390/bits/mman.h
51496         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51497         * sysdeps/unix/sysv/linux/sh/bits/mman.h
51498         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51499         * sysdeps/unix/sysv/linux/i386/bits/mman.h
51500         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51501         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51502         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51503         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51504         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51505         * sysdeps/unix/sysv/linux/bits/in.h
51506         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51508 2012-05-22  Roland McGrath  <roland@hack.frob.com>
51510         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51511         (PREPARE_VERSION): Just use assert instead, it will be elided
51512         under [NDEBUG] anyway.
51514 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51516         * sysdeps/unix/sysv/linux/Makefile: Include
51517         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51518         (sysdep_routines): Remove sysctl.
51519         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51520         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51521         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51522         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51523         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51525 2012-05-22  Andreas Jaeger  <aj@suse.de>
51527         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51528         that pseudo_end is just ret and the stack pointer is correct also
51529         for static library in error case.
51531 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
51533         [BZ #14122]
51534         * nss/nsswitch.c (defconfig_entries): New variable.
51535         (__nss_database_lookup): Don't leak defconfig entries.
51536         (nss_parse_service_list): Don't leak on error paths.
51537         (free_database_entries): New function.
51538         (free_defconfig): New function.
51539         (free_mem): Move common code to free_database_entries.
51541 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51543         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51544         Add arch_prctl.
51545         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51547         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51548         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51550         New macro.
51551         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51552         (INTERNAL_SYSCALL_TYPES): Likewise.
51553         (LOAD_ARGS_TYPES_[1-6]): Likewise.
51554         (LOAD_REGS_TYPES_[1-6]): Likewise.
51555         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51556         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51558 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51560         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51561         copysignl for GLIBC_2_0.
51562         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51563         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51565         logbl for GLIBC_2_0.
51566         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51567         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51569 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51571         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51572         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
51574         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51575         Use "neg %eax".
51577         * time/mktime.c: Update copyright years.
51579 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
51581         mktime: merge comment-quoting-style change from gnulib
51582         * time/mktime.c: Quote 'like this' in comments.
51583         The GNU coding standards suggest that we no longer quote `like this',
51584         as "`" and "'" are typically rendered asymmetrically nowadays.
51585         The typical gnulib style is to quote 'like this' when quoting
51586         code, and "like this" when quoting English.
51588         * time/mktime.c (compile-command): Add "-I.".
51590         mktime: merge mktime-internal.h change from gnulib
51591         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51593         mktime: merge time_r change from gnulib
51594         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51596         mktime: merge DEBUG change from gnulib
51597         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51598         case system <time.h> has a #define.
51600         mktime: merge <sys/types.h> change from gnulib
51601         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51602         since <time.t> is now guaranteed to define time_t.
51604         mktime: merge HAVE_CONFIG_H change from gnulib
51605         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51607 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51610         Use "neg %eax".
51612         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51613         __rlim_t cast.
51614         (struct rusage): Use anonymous union to pad each field to
51615         __syscall_slong_t.
51617 2012-05-21  David S. Miller  <davem@davemloft.net>
51619         * Makefules (o-iterator): Remove .s cases.
51620         (compile-command.s): Delete.
51621         (COMPILE.s): Delete.
51622         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51624 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
51626         * configure.in (libc_cv_predef_stack_protector): Only consider
51627         "foobar" and "__stack_chk_fail" lines in libc_undefs.
51628         * configure: Regenerated.
51630 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51632         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51633         New macro.  Use R*LP on int and pointer.
51634         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51635         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51636         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51637         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51639         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51640         [__WORDSIZE_TIME64_COMPAT32] instead of
51641         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51642         (struct utmp): Likewise.
51643         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51644         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51645         Renamed to ...
51646         (__WORDSIZE_TIME64_COMPAT32): This.
51647         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51648         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51649         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51650         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51651         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51652         (__WORDSIZE_TIME64_COMPAT32): New macro.
51654 2012-05-21  Andreas Jaeger  <aj@suse.de>
51656         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51657         only if [SHARED]. Add prototype for __wcschr_ia32.
51659 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51661         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51662         of %rbp unmolested in the jmp_buf while mangling the low bits.
51663         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51664         unmolested high bits of %rbp while demangling the low bits.
51665         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51667 2012-05-21  Andreas Jaeger  <aj@suse.de>
51669         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51670         * sunrpc/svc_simple.c: Use it for registerrpc.
51671         * sunrpc/xcrypt.c: Use it for passwd2des.
51673         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51675 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51677         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51678         Don't define if [__SYSCALL_WORDSIZE != 32].
51679         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51680         New macro.
51682 2012-05-21  Bruno Haible  <bruno@clisp.org>
51683             Andreas Jaeger  <aj@suse.de>
51685         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51686         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51687         inptr and inend for must_buffer_ch.
51688         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51689         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51690         * stdio-common/Makefile (tests): Remove bug15.
51691         (bug15-ENV): Remove macro.
51692         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51693         anymore.
51695 2012-05-19  Andreas Jaeger  <aj@suse.de>
51696             Roland McGrath  <roland@hack.frob.com>
51698         * manual/contrib.texi: Completely rewritten. It contains now an
51699         alphabetical list of contributors and their contributions.
51701 2012-05-21  Richard Henderson  <rth@twiddle.net>
51703         * misc/getauxval.c (__getauxval): Use unsigned long int.
51704         * misc/sys/auxv.h: Include <sys/cdefs.h>.
51705         (getauxval): Use unsigned long int.
51707 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51709         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51711 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51713         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51714         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51715         __alignof__ (long double).
51717 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51721 2012-05-20  Richard Henderson  <rth@twiddle.net>
51723         * misc/getauxval.c: New file.
51724         * misc/sys/auxv.h: New file.
51725         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51726         (routines): Add getauxval.
51727         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51728         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51729         * elf/dl-sysdep.c (_dl_auxv): Remove.
51730         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51731         * elf/dl-support.c (_dl_auxv): New variable.
51732         (_dl_aux_init): Initialize it.
51733         * manual/startup.texi (Auxiliary Vector): New node.
51734         * sysdeps/generic/bits/hwcap.h: New file.
51735         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51736         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
51737         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51738         * sysdeps/sparc/sysdep.h: ... here.  Include it.
51739         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51740         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51742         Update.
51743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51746         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51752 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51756 2012-05-19  David S. Miller  <davem@davemloft.net>
51758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51760 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
51762         [BZ #14123]
51763         * math/s_ccosh.c: Include <float.h>
51764         (__ccosh): Avoid internal overflow calculating sinh and cosh
51765         values before multiplying by sin and cos values.
51766         * math/s_ccoshf.c: Likewise.
51767         * math/s_ccoshl.c: Likewise.
51768         * math/s_csin.c: Likewise.
51769         * math/s_csinf.c: Likewise.
51770         * math/s_csinl.c: Likewise.
51771         * math/s_csinh.c: Likewise.
51772         * math/s_csinhf.c: Likewise.
51773         * math/s_csinhl.c: Likewise.
51774         * math/libm-test.inc (ccos_test): Add more tests.
51775         (ccosh_test): Likewise.
51776         (csin_test): Likewise.
51777         (csinh_test): Likewise.
51778         * sysdeps/i386/fpu/libm-test-ulps: Update.
51779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51781 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
51783         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51784         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51786         * sysdeps/x86_64/x32/_itoa.h: Add comment.
51788 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
51790         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51791         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51792         * sysdeps/powerpc/soft-fp/Versions: Likewise.
51793         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51794         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51795         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51796         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51797         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51798         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51799         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51800         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51801         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51802         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51803         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51804         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51805         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51806         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51807         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51808         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51809         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51810         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51811         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51812         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51813         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51814         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51815         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51816         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51817         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51818         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51819         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51820         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51822 2012-05-18  Andreas Jaeger  <aj@suse.de>
51824         * csu/.gitignore: Delete.
51826 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51828         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51829         (timex): Use __syscall_slong_t.
51831 2012-05-18  Andreas Jaeger  <aj@suse.de>
51832             Carlos O'Donell  <carlos_odonell@mentor.com>
51834         * manual/install.texi (Configuring and compiling): Update
51835         description about files modified in the source directory.
51836         * INSTALL: Regenerated.
51838 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51840         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51841         value.  Use "or" to set return value to -1.
51842         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51843         negate return value.
51845 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51847         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51848         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51849         failure if the compiler has Graphite support disabled.
51850         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51851         Likewise.
51852         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51853         (CFLAGS-memmove.c): Likewise.
51854         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51855         Likewise.
51857 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51859         * sysdeps/x86_64/x32/_itoa.h: New file.
51861         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51862         getdents system call only if kernel and user dirents have the
51863         same d_ino and d_off.
51865         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51866         LLONG_MAX != LONG_MAX.
51867         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51868         (_fitoa_word): Likewise.
51870         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51871         years.
51872         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51873         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51874         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51876         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51877         include <bits/wordsize.h>.  Check __x86_64__ instead of
51878         __WORDSIZE.
51879         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51880         if __x86_64__ is defined.  Use anonymous union on fpstate.
51882         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51883         anonymous union.
51885 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
51887         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51888         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51889         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51890         Refer to _rtld_local_ro instead of _rtld_global_ro.
51891         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51892         Likewise.
51893         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51894         Likewise.
51895         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51896         Likewise.
51897         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51898         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51899         of _rtld_global, and rtld_progname instead of _dl_argv[0].
51901         [BZ #10882]
51902         * sysdeps/powerpc/powerpc32/dl-machine.c
51903         (__elf_machine_runtime_setup) [PROF]: Don't reference
51904         _dl_prof_resolve.
51906 2012-05-18  Andreas Jaeger  <aj@suse.de>
51908         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51909         function only available for GCCs before 3.4 since GCC 3.4
51910         introduced a builtin.
51911         (lrint): Likewise.
51912         (llrintf): Likewise.
51913         (llrint): Likewise.
51914         (fmaxf): Likewise.
51915         (fmax): Likewise.
51916         (fminf): Likewise.
51917         (fmin): Likewise.
51918         (rint): Likewise.
51919         (rintf): Likewise.
51920         (nearbyint): Likewise.
51921         (nearbyintf): Likewise.
51922         (ceil): Likewise.
51923         (ceilf): Likewise.
51924         (floor): Likewise.
51925         (floorf): Likewise.
51927 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51929         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51930         on both fields and cast pointer to __syscall_ulong_t.
51932         * bits/types.h (__fsword_t): New type.
51933         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51934         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51935         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51936         (__FSWORD_T_TYPE): Likewise.
51937         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51938         (__FSWORD_T_TYPE): Likewise.
51939         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51940         (__FSWORD_T_TYPE): Likewise.
51941         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51942         (__FSWORD_T_TYPE): Likewise.
51943         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51944         __SWORD_TYPE with __fsword_t.
51945         (statfs64): Likewise.
51947 2012-05-17  David S. Miller  <davem@davemloft.net>
51949         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51951 2012-05-17  Andreas Jaeger  <aj@suse.de>
51953         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51954         warning.
51956 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51958         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51960 2012-05-17  Andreas Jaeger  <aj@suse.de>
51962         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51963         when it is used.
51965 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
51967         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51969 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51971         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51972         * sysdeps/x86_64/tst-mallocalign1.c: New file.
51974 2012-05-17  Andreas Jaeger  <aj@suse.de>
51975             Carlos O'Donell  <carlos_odonell@mentor.com>
51977         [BZ #14059]
51978         * sysdeps/x86_64/multiarch/init-arch.h
51979         (bit_YMM_Usable): Rename to...
51980         (bit_AVX_Usable): ... this.
51981         (bit_FMA4_Usable): New macro.
51982         (bit_XMM_state): New macro.
51983         (bit_YMM_state): New macro.
51984         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51985         [__ASSEMBLER__] (index_AVX_Usable): ... this.
51986         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51987         (CPUID_OSXSAVE): New macro.
51988         (CPUID_AVX): New macro.
51989         (CPUID_FMA4): New macro.
51990         (index_YMM_Usable): Rename to...
51991         (index_AVX_Usable): ... this.
51992         (HAS_AVX): Use HAS_ARCH_FEATURE.
51993         (HAS_FMA4): Likewise.
51994         (HAS_YMM_USABLE): Remove.
51995         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51996         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51997         are present.
51998         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51999         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
52000         * sysdeps/x86_64/multiarch/Makefile: Likewise.
52001         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
52002         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
52004 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52006         * math/libm-test.c: Support platforms without multiple rounding modes.
52007         * math/bug-nextafter.c: Support platforms without FP exceptions.
52008         * math/bug-nexttoward.c: Likewise.
52009         * math/test-fenv.c: Likewise.
52010         * math/test-misc.c: Likewise.
52011         * stdlib/bug-getcontext.c: Likewise.
52013 2012-05-17  Andreas Jaeger  <aj@suse.de>
52015         * manual/examples/search.c (critter_cmp): Change signature to
52016         avoid warnings.
52017         * manual/string.texi (Collation Functions): Likewise.
52019 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52021         * bits/types.h: Fold copyright years.
52022         * bits/typesizes.h: Likewise.
52023         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
52024         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52025         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
52026         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
52027         * time/time.h: Likewise.
52029 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
52031         [BZ #208]
52032         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
52033         in instead of returning them.  Return void.
52034         (__libc_mallinfo): Accumulate over all arenas.
52035         (__malloc_stats): Adjust for change in int_mallinfo interface.
52037 2012-05-16  Roland McGrath  <roland@hack.frob.com>
52039         [BZ #10375]
52040         * configure.in (NM): Add AC_CHECK_TOOL for it.
52041         (libc_extra_cflags): New substituted variable.
52042         Check for -fstack-protector being used implicitly.
52043         * configure: Regenerated.
52044         * config.make.in (config-extra-cflags): New variable,
52045         gets @libc_extra_cflags@.
52046         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
52048         [BZ #10375]
52049         * configure.in: Check for _FORTIFY_SOURCE being predefined.
52050         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
52051         * configure: Regenerated.
52052         * config.make.in (CPPUNDEFS): New substituted variable.
52053         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
52054         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
52055         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
52057 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52059         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
52060         (mq_attr): Use __syscall_slong_t.
52062 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52064         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
52065         Check __x86_64__ instead of __WORDSIZE.
52066         (_STAT_VER_LINUX): Likewise.
52067         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
52068         __syscall_ulong_t and __syscall_slong_t.
52069         (stat64): Likewise.
52071 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52073         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
52075 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52077         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
52079 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52081         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
52082         __syscall_ulong_t.
52084         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
52085         include <bits/wordsize.h>.  Check __x86_64__ instead of
52086         __WORDSIZE.
52087         (greg_t): Use "__extension__ long long int" if __x86_64__ is
52088         defined.
52089         (mcontext_t): Replace "unsigned long" with "unsigned long long".
52091         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
52092         include <bits/wordsize.h>.  Check __x86_64__ instead of
52093         __WORDSIZE.
52094         (user_regs_struct): Use "__extension__ unsigned long long"
52095         instead of "unsigned long" if __x86_64__ is defined.
52096         (user): Likewise.  Pad after pointer field if __ILP32__ is
52097         defined.
52099 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
52101         * configure.in (makeinfo): Require version 4.5 or later.  Allow
52102         versions 5 to 9.
52103         * configure: Regenerated.
52104         * manual/install.texi (texinfo): Increase version requirement to
52105         4.5 or later.
52106         * INSTALL: Regenerated.
52108         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
52110 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52112         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
52114         * sysdeps/x86_64/x32/ffs.c: New file.
52116         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
52117         __syscall_ulong_t.
52118         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
52119         defined.  Use __syscall_ulong_t.
52120         (shminfo): Use __syscall_ulong_t.
52121         (shm_info): Likewise.
52123         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52124         __syscall_ulong_t.
52126         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52127         <bits/wordsize.h>.
52128         (msgqnum_t): Use __syscall_ulong_t.
52129         (msglen_t): Likewise.
52130         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
52131         __syscall_ulong_t.
52133         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52134         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52136         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52138         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52139         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52141         * sysvipc/sys/msg.h (msgbuf): Replace long int with
52142         __syscall_slong_t.
52144         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52145         include <bits/wordsize.h>.  Check __x86_64__ instead of
52146         __WORDSIZE.
52148         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52149         "unsigned long long int" if __x86_64__ is defined.
52150         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52152         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52153         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52154         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52156         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52157         <stdint.h>.
52158         (GET_PC): Cast to uintptr_t first.
52159         (GET_FRAME): Likewise.
52160         (GET_STACK): Likewise.
52162         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52163         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52164         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52165         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52166         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52167         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52168         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52169         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52170         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52171         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52172         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52173         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52174         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52175         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52176         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52177         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52178         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52179         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52180         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52181         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52182         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52183         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52184         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52185         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52186         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52187         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52188         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52189         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52190         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52192 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
52194         * Makerules (+depfiles): Also collect depfiles from .oS in
52195         $(extra-objs).
52196         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52197         .oS, $(libnldbl-routines)).
52199         * Makerules (native-compile-mkdep-flags): Define.
52200         * sunrpc/Makefile (extra-objs): Add $(addprefix
52201         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52202         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52203         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
52204         calling $(make-target-directory).
52206 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52208         * bits/types.h (__snseconds_t): Removed.
52209         * time/time.h (struct timespec): Replace __snseconds_t with
52210         __syscall_slong_t.
52211         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52212         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52213         Likewise.
52214         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52215         (__SNSECONDS_T_TYPE): Likewise.
52216         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52217         (__SNSECONDS_T_TYPE): Likewise.
52218         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52219         (__SNSECONDS_T_TYPE): Likewise.
52221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52223         * sysdeps/mach/hurd/bits/typesizes.h
52224         (__SYSCALL_SLONG_TYPE): New macro.
52225         (__SYSCALL_ULONG_TYPE): Likewise.
52227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52229         * bits/types.h (__syscall_slong_t): New type.
52230         (__syscall_ulong_t): Likewise.
52232         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52233         (__SYSCALL_ULONG_TYPE): Likewise.
52234         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52235         (__SYSCALL_SLONG_TYPE): Likewise.
52236         (__SYSCALL_ULONG_TYPE): Likewise.
52237         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52238         (__SYSCALL_SLONG_TYPE): Likewise.
52239         (__SYSCALL_ULONG_TYPE): Likewise.
52240         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52241         (__SYSCALL_SLONG_TYPE): Likewise.
52242         (__SYSCALL_ULONG_TYPE): Likewise.
52244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52246         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52247         Add sigaltstack-offsets.sym.
52248         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52249         <sigaltstack-offsets.h>.
52250         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
52251         longjmp_msg pointer.
52252         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
52253         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52254         signal stack.
52255         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52257 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52259         * elf/stackguard-macros.h: Remove file.
52260         * sysdeps/generic/stackguard-macros.h: New file.
52261         * sysdeps/i386/stackguard-macros.h: Likewise.
52262         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52263         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52264         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52265         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52266         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52267         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52268         * sysdeps/x86_64/stackguard-macros.h: Likewise.
52269         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52270         <elf/stackguard-macros.h>.
52272         [BZ #14109]
52273         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52274         __aligned__ in attribute.
52275         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52276         (gregset_t): Likewise.
52278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52280         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52281         * sysdeps/x86_64/64/Implies-after: Here.  New file.
52282         * sysdeps/x86_64/x32/Implies-after: New file.
52284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52286         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52287         and access return value for _dl_profile_fixup.  Use R10_LP to
52288         load frame size.
52290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52292         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52296         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52297         * sysdeps/x86_64/x32/sysdep.h: New file.
52299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52301         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52302         * sysdeps/x86_64/setjmp.S: Likewise.
52304 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52306         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52307         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52308         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52309         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52310         remove unused global constant.
52312 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
52314         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52315         include of <not-cancel.h>.
52317 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52319         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52321 2012-05-15  Jeff Law  <law@redhat.com>
52322             Andreas Jaeger  <aj@suse.de>
52324         [BZ #13594]
52325         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52326         out from...
52327         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52328         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52329         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52330         code changing __hst_map_handle.map.
52332 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52334         * configure.in (sysnames): Look for Implies-before and Implies-after
52335         files.
52336         * configure: Regenerated.
52338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52340         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52341         8-byte data alignment with LP_SIZE alignment.
52343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52345         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52346         into R10_LP.
52348 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52350         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52354         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52355         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52356         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52357         Likewise.
52358         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52362         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52363         (stackinfo_sub_sp): Likewise.
52365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52367         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52368         RAX_LP.
52370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52372         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52373         into R*_LP.
52375 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52377         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52378         sizes into R*_LP.
52380 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52382         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52386         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52387         into R11_LP and load __x86_64_shared_cache_size_half into
52388         R8_LP.
52390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52392         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52393         R8_LP.
52395 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52397         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52398         logb for POWER7.
52399         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52400         logbf for POWER7.
52401         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52402         logbl for POWER7.
52403         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52404         powerpc32/power7/fpu/s_logb.c via #include.
52405         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52406         powerpc32/power7/fpu/s_logbf.c via #include.
52407         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52408         powerpc32/power7/fpu/s_logbl.c via #include.
52410 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52412         * README.libm: Remove file.
52414 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52416         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52417         count for x32.  Use R*_LP and omit operand-size suffix.
52419 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52421         * shlib-versions: Move x86_64-.*-linux.* entries to ...
52422         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
52423         * sysdeps/x86_64/x32/shlib-versions: New file.
52425 2012-05-14  Roland McGrath  <roland@hack.frob.com>
52427         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52428         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52429         Use _dl_fatal_printf instead.
52431 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52433         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52434         set if not set by the user.  Do not allow for being unset.
52435         * sysdeps/unix/sysv/linux/configure: Regenerated.
52437 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52439         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52440         the `q' suffix from lea and replace .quad with ASM_ADDR.
52442 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52444         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52445         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
52446         instead of $17.
52447         (PTR_DEMANGLE): Likewise.
52449 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52451         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52452         (LP_OP): Likewise.
52453         (ASM_ADDR): Likewise.
52454         (RAX_LP): Likewise.
52455         (RBP_LP): Likewise.
52456         (RBX_LP): Likewise.
52457         (RCX_LP): Likewise.
52458         (RDI_LP): Likewise.
52459         (RSI_LP): Likewise.
52460         (RSP_LP): Likewise.
52461         (R8_LP): Likewise.
52462         (R9_LP): Likewise.
52463         (R10_LP): Likewise.
52464         (R10_LP): Likewise.
52465         (R11_LP): Likewise.
52466         (R12_LP): Likewise.
52467         (R13_LP): Likewise.
52468         (R14_LP): Likewise.
52469         (R15_LP): Likewise.
52471 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52473         * sysdeps/x86_64/x32/dl-machine.h: New file.
52475 2012-05-14  Andreas Jaeger  <aj@suse.de>
52477         * manual/Makefile (subdir): Remove export of subdir.
52478         (all): Remove target.
52479         (.PHONY): Remove all from list.
52480         (mkinstalldirs): Remove.
52481         (.PHONY): Remove installdirs from list.
52482         ($(inst_infodir)/libc.info): Use make-target-directory.
52483         (installdirs): Remove.
52484         (subdir_%): Remove.
52485         (glibc-targets): Remove.
52486         (lib): Remove.
52487         (stubs): Remove.
52488         ($(objpfx)stubs ../po/manual.pot): Remove.
52489         ($(objpfx)stamp%): Remove.
52490         (make-target-directory): Remove.
52491         (subdir_install): Remove.
52492         (routines): Remove.
52493         (aux): Remove.
52494         (sources): Remove.
52495         (objects): Remove.
52496         (headers): Remove.
52498         [BZ #13750]
52499         * manual/.gitignore: Remove, it's not needed anymore.
52500         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52501         all files in it.
52502         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52503         directory.
52504         (texis): Renamed to $(objpfx)texis.
52505         (texis-path): New, contains path to generated files.
52506         (chapters.%): Use texis-path for complete path, add extra argument
52507         libc-texinfo.sh.
52508         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52509         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52510         (summary,texi, stamp-summary): Use complete path of
52511         files. Generate files in build dir.
52512         (dir-add.texi): Build in build dir.
52513         (libm-err.texi,stamp-libm-err): Likewise.
52514         (version.texi, stamp-version): Likewise.
52515         (.%c.texi): Likewise.
52516         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52517         (mostlyclean): Remove target.
52518         (realclean): Remove target.
52519         (generated): Add new variable with contents from mostlyclean and
52520         realclean, remove entries duplicated in common-mostlyclean, add
52521         stamp-libm-err and stamp-version.
52522         (generated-dirs): Add libc directory.
52523         ($(inst_infodir)/libc.info): Install files from build dir.
52525         * manual/install.texi (Configuring and compiling): Adjust since
52526         the info files are not part of the tar ball anymore.
52528 2012-05-14  Andreas Jaeger  <aj@suse.de>
52530         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52531         variable.
52533 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52535         [BZ #13717]
52536         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52537         to 2.2.0 where earlier.
52538         * sysdeps/unix/sysv/linux/configure: Regenerated.
52539         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52540         Remove conditional code.
52541         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52542         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52543         Remove conditional code.
52544         [!__NR_lchown]: Likewise.
52545         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52546         [__NR_lchown]: Likewise.
52547         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52548         comment referencing __ASSUME_LCHOWN_SYSCALL.
52549         * sysdeps/unix/sysv/linux/i386/sigaction.c
52550         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52551         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52552         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52553         Remove conditional code.
52554         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52555         (__protocol_available): Remove #if 0 code.
52556         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52557         conditional code.
52558         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52559         * sysdeps/unix/sysv/linux/kernel-features.h
52560         (__ASSUME_GETCWD_SYSCALL): Don't define.
52561         (__ASSUME_REALTIME_SIGNALS): Likewise.
52562         (__ASSUME_PREAD_SYSCALL): Likewise.
52563         (__ASSUME_PWRITE_SYSCALL): Likewise.
52564         (__ASSUME_POLL_SYSCALL): Likewise.
52565         (__ASSUME_LCHOWN_SYSCALL): Likewise.
52566         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52567         non-SPARC.
52568         (__ASSUME_SIOCGIFNAME): Don't define.
52569         (__ASSUME_MSG_NOSIGNAL): Likewise.
52570         (__ASSUME_SENDFILE): Define unconditionally.
52571         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52572         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52573         conditional code.
52574         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52575         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52576         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52577         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52578         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52579         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52580         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52582         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52583         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52585         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52586         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52588         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52589         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52591         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52592         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52594         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52595         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52597         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52598         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52600         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52601         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52603         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52604         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52605         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52606         Remove conditional code.
52607         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52608         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52609         Remove conditional code.
52610         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52611         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52612         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52613         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52614         Remove conditional code.
52615         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52616         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52617         Remove conditional code.
52618         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52619         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52620         Remove conditional code.
52621         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52622         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52623         Remove conditional code.
52624         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52625         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52626         Remove conditional code.
52627         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52628         * sysdeps/unix/sysv/linux/sh/pwrite64.c
52629         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52630         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52631         * sysdeps/unix/sysv/linux/sigaction.c
52632         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52633         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52634         * sysdeps/unix/sysv/linux/sigpending.c
52635         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52636         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52637         * sysdeps/unix/sysv/linux/sigprocmask.c
52638         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52639         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52640         * sysdeps/unix/sysv/linux/sigsuspend.c
52641         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52642         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52643         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52644         (__libc_missing_rt_sigs): Remove.
52645         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52646         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52647         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52648         Remove conditional code.
52649         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52650         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52651         return 1.
52652         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52653         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52654         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52655         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52657 2012-05-14  Andreas Jaeger  <aj@suse.de>
52659         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52660         it's not used in glibc.
52661         (__coshm1): Likewise.
52662         (__acosh1p): Likewise.
52663         (__sgn): Likewise.
52665         * manual/string.texi (Copying and Concatenation): Add missing
52666         variable in concat example.
52667         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52669 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52671         [BZ #14103]
52672         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52673         __builtin_clzl with __builtin_clzll.
52675 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52677         [BZ #14104]
52678         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52679         libc_freeres_ptr.
52681 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52683         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52684         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52685         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52686         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52688 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
52690         * NEWS: Update ia64 info.
52692 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
52694         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52695         used as bcopy.
52697 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
52699         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52700         * sysdeps/unix/syscalls.list (dup3): Likewise.
52701         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52702         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52704 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52706         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52707         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52709 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52711         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52712         thread pointer.
52713         (TLS_IE): Use mov/add instead of movq/addq to load thread
52714         pointer.
52715         (TLS_GD_PREFIX): New.
52716         (TLS_GD): Use it.
52718 2012-05-11  David S. Miller  <davem@davemloft.net>
52720         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52721         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52722         (_FPU_SETCW): Likewise.
52724 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52726         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52727         is 32-byte aligned.
52729 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
52731         [BZ #11837]
52732         * iconvdata/gb18030.c: Update tables.
52733         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
52734         characters specially.
52735         (BODY for TO_LOOP): Add encoding of missing ranges.
52737 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
52739         [BZ #13673]
52740         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52741         * sysdeps/mach/hurd/dup3.c: Likewise.
52742         * sysdeps/mach/hurd/readlinkat.c: Likewise.
52743         * sysdeps/powerpc/memmove.c:: Likewise.
52745 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52747         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52748         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52750 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52752         * elf/elf.h (R_X86_64_RELATIVE64): New.
52753         (R_X86_64_NUM): Updated.
52754         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52755         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
52756         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52757         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52758         tst-quad1pie tst-quad2pie
52759         (modules-names): Add tst-quadmod1 tst-quadmod2.
52760         ($(objpfx)tst-quad1): New dependency.
52761         ($(objpfx)tst-quad2): Likewise.
52762         ($(objpfx)tst-quad1pie): Likewise.
52763         ($(objpfx)tst-quad2pie): Likewise.
52764         * sysdeps/x86_64/tst-quad1.c: New file.
52765         * sysdeps/x86_64/tst-quad1pie.c: New file.
52766         * sysdeps/x86_64/tst-quad2.c: Likewise.
52767         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52768         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52769         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52770         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52771         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52773 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52775         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52776         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52777         * streams/stropts.h (t_scalar_t): Define type.
52779         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52780         (_PATH_PRESERVE): Set to "/var/lib".
52781         (_PATH_RWHODIR): Set to "/var/spool/rwho".
52783         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52784         instead of int.
52786         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52787         if __dir_mkfile succeeded.
52789         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52790         checking for _hurd_dtablesize.  Unlock it right after having
52791         finished _hurd_dtable allocation.
52793 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52795         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52796         * sysdeps/mach/hurd/configure: Regenerated.
52797         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52798         special-casing to...
52799         * sysdeps/gnu/configure.in: ... this new file.
52800         * sysdeps/unix/sysv/linux/configure: Regenerated.
52801         * sysdeps/gnu/configure: New generated file.
52803         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52804         for Linux: use nsec instead of usec, as well as:
52805         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52806         members of type struct timespec.
52807         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52808         New macros.
52809         (struct stat64): Likewise.
52810         (_STATBUF_ST_NSEC): New macro.
52811         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52813         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52814         __strtoul_internal rather than strtoul.
52816 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52818         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52819         and reject them.
52821 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52823         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52824         which preserves existing values.
52825         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52827 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52829         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52830         TIMEOUT values.  Return EINVAL for NFDS values either negative or
52831         greater than FD_SETSIZE.
52833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52835         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52836         allocated, call __vm_protect to finish enabling the existing space, and
52837         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52838         allocate the remainder.
52840 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52842         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52843         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
52845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52847         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52848         sysdeps/mach/hurd/readlink.c.
52850         * posix/tst-sysconf.c (posix_options): Only use
52851         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52852         _POSIX_SYNCHRONIZED_IO when they are defined
52853         * sysdeps/mach/hurd/bits/posix_opt.h:
52854         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52855         (_XOPEN_REALTIME): Undefine macro.
52856         (_XOPEN_REALTIME_THREADS): Undefine macro.
52857         (_XOPEN_SHM): Undefine macro.
52858         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52859         macro to -1.
52860         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52861         macro to -1.
52862         (_POSIX_ASYNC_IO): Undefine macro.
52863         (_POSIX_PRIORITIZED_IO): Undefine macro.
52864         (_POSIX_SPIN_LOCKS): Define macro to -1.
52866         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52867         SA_NODEFER, SA_RESETHAND.
52868         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52869         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52870         F_DUPFD_CLOEXEC.
52872 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52874         * elf/Makefile (pldd-modules): Define unconditionally.
52876 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52878         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52880 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52882         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52883         Return ENOENT when name is empty.
52884         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52886 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52888         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52890         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52894         Fix mlock in all cases except non-readable pages.
52895         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52896         instead of VM_PROT_ALL as parameter to __vm_wire function.
52898         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52899         (__mkdir): When path is `/', just fail with EEXIST.
52900         * sysdeps/mach/hurd/mkdirat.c: Likewise.
52902 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52904         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52905         <sys/uio.h> (for writev).
52906         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52907         and <sys/param.h> (for MIN).
52909 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52911         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52912         REQUESTED_TIME.  Properly set the remaining time and return EINTR
52913         if interrupted.
52915 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52917         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52918         Depend on against $(link-rpcuserlibs).
52920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52922         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52923         (__libc_stack_end): Do not use attribute_relro.
52924         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52925         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52926         to libthread-provided value.
52927         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52928         attribute_relro.
52930 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52932         [BZ #3748]
52933         * bits/libc-lock.h (__libc_once_get): New macro.
52934         * sysdeps/mach/bits/libc-lock.h: Likewise.
52935         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52936         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52937         instead of using implementation details.
52939         * libio/fileops.c: Unconditionally include <kernel-features.h>.
52940         * libio/freopen.c: Likewise.
52941         * libio/freopen64.c: Likewise.
52942         * misc/syslog.c: Likewise.
52943         * nscd/connections.c: Likewise.
52944         * nscd/netgroupcache.c: Likewise.
52945         * sysdeps/posix/getcwd.c: Likewise.
52947 2012-05-10  Roland McGrath  <roland@hack.frob.com>
52949         * math/w_ilogbf.c: Add #include <limits.h>.
52951 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52953         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52954         path instead of returning without unlocking.
52956         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52957         immediate-write ioctls.
52958         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52960 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52962         * sysdeps/mach/hurd/i386/init-first.c (init): Use
52963         __builtin_frame_address instead of making assumptions about the
52964         location of the return address relative to DATA.  Force early load of
52965         the return address.
52966         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52967         __builtin_frame_address.
52969         dup3 for GNU Hurd.
52970         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52971         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
52972         implement dup3 and do some further code clean-ups.
52973         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52974         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52976 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52978         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52980         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52981         HURD_CRITICAL_END around holding _hurd_dtable_lock.
52982         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52983         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52984         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52985         d->port.lock.
52987         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52988         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
52989         when handler == SIG_ERR, not when handler != SIG_ERR.
52991 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52993         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52994         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52995         definitions.
52997         accept4 for GNU Hurd.
52998         * include/sys/socket.h (__libc_accept4): New prototype.
52999         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
53000         to implement __libc_accept4.
53001         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
53002         __libc_accept4.
53003         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
53005         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
53006         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
53007         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
53008         signal-defines.sym.
53010 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53012         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
53014 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53016         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
53017         assertion on O_CLOEXEC flag.
53018         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
53019         * hurd/intern-fd.c: Likewise.
53020         * hurd/port2fd.c: Likewise.
53022 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53024         [BZ #3906]
53025         * bits/in.h (IPV6_PKTINFO): Define new macro.
53026         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
53028 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53030         [BZ #13954]
53031         [BZ #13955]
53032         [BZ #13956]
53033         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
53034         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53035         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
53036         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53037         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53038         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53039         * math/libm-test.inc (logb_test) : Additional logb tests.
53041 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
53042             Andreas Jaeger  <aj@suse.de>
53044         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
53045         * configure: Regenerated.
53046         * config.h.in (LINK_OBSOLETE_RPC): New macro.
53047         * config.make.in (link-obsolete-rpc): New substituted variable.
53048         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
53049         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
53050         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53051         (shared-only-routines): Don't set it under [link-obsolete-rpc],
53052         so that libc.a contains the symbols.
53053         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53054         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
53055         * sunrpc/auth_none.c: Likewise.
53056         * sunrpc/auth_unix.c: Likewise.
53057         * sunrpc/authdes_prot.c: Likewise.
53058         * sunrpc/authuxprot.c: Likewise.
53059         * sunrpc/clnt_gen.c: Likewise.
53060         * sunrpc/clnt_perr.c: Likewise.
53061         * sunrpc/clnt_raw.c: Likewise.
53062         * sunrpc/clnt_simp.c: Likewise.
53063         * sunrpc/clnt_tcp.c: Likewise.
53064         * sunrpc/clnt_udp.c: Likewise.
53065         * sunrpc/clnt_unix.c: Likewise.
53066         * sunrpc/des_crypt.c: Likewise.
53067         * sunrpc/des_soft.c: Likewise.
53068         * sunrpc/get_myaddr.c: Likewise.
53069         * sunrpc/key_call.c: Likewise.
53070         * sunrpc/key_prot.c: Likewise.
53071         * sunrpc/netname.c: Likewise.
53072         * sunrpc/pm_getmaps.c: Likewise.
53073         * sunrpc/pm_getport.c: Likewise.
53074         * sunrpc/pmap_clnt.c: Likewise.
53075         * sunrpc/pmap_prot.c: Likewise.
53076         * sunrpc/pmap_prot2.c: Likewise.
53077         * sunrpc/pmap_rmt.c: Likewise.
53078         * sunrpc/publickey.c: Likewise.
53079         * sunrpc/rpc_cmsg.c: Likewise.
53080         * sunrpc/rpc_common.c: Likewise.
53081         * sunrpc/rpc_dtable.c: Likewise.
53082         * sunrpc/rpc_prot.c: Likewise.
53083         * sunrpc/rpc_thread.c: Likewise.
53084         * sunrpc/rtime.c: Likewise.
53085         * sunrpc/svc.c: Likewise.
53086         * sunrpc/svc_auth.c: Likewise.
53087         * sunrpc/svc_raw.c: Likewise.
53088         * sunrpc/svc_run.c: Likewise.
53089         * sunrpc/svc_tcp.c: Likewise.
53090         * sunrpc/svc_udp.c: Likewise.
53091         * sunrpc/svc_unix.c: Likewise.
53092         * sunrpc/svcauth_des.c: Likewise.
53093         * sunrpc/xcrypt.c: Likewise.
53094         * sunrpc/xdr.c: Likewise.
53095         * sunrpc/xdr_array.c: Likewise.
53096         * sunrpc/xdr_float.c: Likewise.
53097         * sunrpc/xdr_intXX_t.c: Likewise.
53098         * sunrpc/xdr_mem.c: Likewise.
53099         * sunrpc/xdr_rec.c: Likewise.
53100         * sunrpc/xdr_ref.c: Likewise.
53101         * sunrpc/xdr_sizeof.c: Likewise.
53102         * sunrpc/xdr_stdio.c: Likewise.
53104 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53106         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
53107         change.  Update copyright years.
53109 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53111         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
53113 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
53114             Joseph Myers  <joseph@codesourcery.com>
53115             Paul Pluzhnikov  <ppluzhnikov@google.com>
53117         [BZ #14012]
53118         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
53119         requiring rpcgen.
53120         [cross-compiling] (extra-libs): Likewise.
53121         [cross-compiling] (extra-libs-others): Likewise.
53122         [cross-compiling] (librpcsvc-routines): Likewise.
53123         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53124         [cross-compiling] (omit-deps): Likewise.
53125         (sunrpc-CPPFLAGS): New variable.
53126         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53127         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53128         (cross-rpcgen-objs): New variable.
53129         (extra-objs): Append $(cross-rpcgen-objs).
53130         ($(cross-rpcgen-objs)): New rule.
53131         ($(objpfx)cross-rpcgen): Likewise.
53132         (rpcgen-cmd): Define to use $(built-program-file).  Expand
53133         comment.
53134         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53135         ($(objpfx)x%.stmp): Likewise.
53136         * sunrpc/proto.h [IS_IN_build] (_): Define.
53137         [IS_IN_build] (_libc_intl_domainname): Likewise.
53139 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53141         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53142         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53143         and R_X86_64_TPOFF64.
53145 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53147         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53148         sysdeps/unix/sysv/syscalls.list.
53149         (stime): Likewise.
53150         (utime): Likewise.
53151         * sysdeps/unix/sysv/syscalls.list: Remove file.
53153 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
53155         [BZ #3440]
53156         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53157         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53158         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53159         (__LC_IDENTIFICATION): Make these macros useful in #if
53160         expressions, as required by C99.
53162 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
53164         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53165         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
53166         after this.
53168 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
53170         * stdlib/longlong.h: Updated from GCC.
53172 2012-05-09  Andreas Jaeger  <aj@suse.de>
53174         * nscd/nscd.c (run_modes): Make named enum, reorder so that
53175         default is first entry.
53176         (run_mode): Set type.
53177         (main): Remove informal message about syslog.
53178         (options): Fix typo.
53180         [BZ #14053]
53181         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53182         to asm.
53183         (lrint): Likewise.
53184         (llrintf): Likewise.
53185         (llrint): Likewise.
53186         (rint): Likewise.
53187         (rintf): Likewise.
53188         (nearbyint): Likewise.
53189         (nearbyintf): Likewise.
53191 2012-05-09  Andreas Jaeger  <aj@suse.de>
53192             Pedro Alves  <palves@redhat.com>
53194         * nscd/nscd.c (run_mode): Use enum.
53195         (main): Cleanup coding style issue.
53197 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
53198             Andreas Jaeger  <aj@suse.de>
53200         * nscd/nscd.c (go_background): Replaced with...
53201         (run_mode): ... this.
53202         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53203         (options): Add -F --foreground.
53204         (main): Implement it.
53205         (parse_opt): Parse it.
53207 2012-05-09  Andreas Jaeger  <aj@suse.de>
53209         [BZ #14083]
53210         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53211         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53212         -Wconversion warning.
53213         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53214         Likewise.
53216 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
53218         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
53219         == 0.
53220         (LC_ALL): Use macro-int-constant.
53221         (LC_COLLATE): Likewise.
53222         (LC_CTYPE): Likewise.
53223         (LC_MESSAGES): Likewise.
53224         (LC_MONETARY): Likewise.
53225         (LC_NUMERIC): Likewise.
53226         (LC_TIME): Likewise.
53227         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53228         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53229         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53230         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53231         Specify type.
53232         [C99-based standards] (float_t): Expect type.
53233         [C99-based standards] (double_t): Expect type.
53234         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
53235         type.
53236         [C99-based standards] (HUGE_VALL): Likewise.
53237         [C99-based standards] (INFINITY): Likewise.
53238         [C99-based standards] (NAN): Likewise.
53239         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53240         [C99-based standards] (FP_NAN): Likewise.
53241         [C99-based standards] (FP_NORMAL): Likewise.
53242         [C99-based standards] (FP_SUBNORMAL): Likewise.
53243         [C99-based standards] (FP_ZERO): Likewise.
53244         [C99-based standards] (FP_FAST_FMA): Use
53245         optional-macro-int-constant.  Specify type.  Require == 1.
53246         [C99-based standards] (FP_FAST_FMAF): Likewise.
53247         [C99-based standards] (FP_FAST_FMAL): Likewise.
53248         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53249         [C99-based standards] (FP_ILOGBNAN): Likewise.
53250         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53251         Specify type.
53252         [C99-based standards] (MATH_ERREXCEPT): Likewise.
53253         [C99-based standards] (math_errhandling): Specify type.
53254         [ISO99 || ISO11] (signgam): Do not allow.
53255         [non-C99-based standards] (copysignf): Do not allow.
53256         [non-C99-based standards] (exp2f): Likewise.
53257         [non-C99-based standards] (log2f): Likewise.
53258         [non-C99-based standards] (modff): Allow.
53259         [non-C99-based standards] (erff): Do not allow.
53260         [non-C99-based standards] (erfcf): Likewise.
53261         [non-C99-based standards] (gammaf): Likewise.
53262         [non-C99-based standards] (hypotf): Likewise.
53263         [non-C99-based standards] (j0f): Likewise.
53264         [non-C99-based standards] (j1f): Likewise.
53265         [non-C99-based standards] (jnf): Likewise.
53266         [non-C99-based standards] (lgammaf): Likewise.
53267         [non-C99-based standards] (tgammaf): Likewise.
53268         [non-C99-based standards] (y0f): Likewise.
53269         [non-C99-based standards] (y1f): Likewise.
53270         [non-C99-based standards] (ynf): Likewise.
53271         [non-C99-based standards] (isnanf): Likewise.
53272         [non-C99-based standards] (acoshf): Likewise.
53273         [non-C99-based standards] (asinhf): Likewise.
53274         [non-C99-based standards] (atanhf): Likewise.
53275         [non-C99-based standards] (cbrtf): Likewise.
53276         [non-C99-based standards] (expm1f): Likewise.
53277         [non-C99-based standards] (ilogbf): Likewise.
53278         [non-C99-based standards] (log1pf): Likewise.
53279         [non-C99-based standards] (logbf): Likewise.
53280         [non-C99-based standards] (nextafterf): Likewise.
53281         [non-C99-based standards] (remainderf): Likewise.
53282         [non-C99-based standards] (rintf): Likewise.
53283         [non-C99-based standards] (scalbf): Likewise.
53284         [non-C99-based standards] (copysignl): Likewise.
53285         [non-C99-based standards] (exp2l): Likewise.
53286         [non-C99-based standards] (log2l): Likewise.
53287         [non-C99-based standards] (modfl): Allow.
53288         [non-C99-based standards] (erfl): Do not allow.
53289         [non-C99-based standards] (erfcl): Likewise.
53290         [non-C99-based standards] (gammal): Likewise.
53291         [non-C99-based standards] (hypotl): Likewise.
53292         [non-C99-based standards] (j0l): Likewise.
53293         [non-C99-based standards] (j1l): Likewise.
53294         [non-C99-based standards] (jnl): Likewise.
53295         [non-C99-based standards] (lgammal): Likewise.
53296         [non-C99-based standards] (tgammal): Likewise.
53297         [non-C99-based standards] (y0l): Likewise.
53298         [non-C99-based standards] (y1l): Likewise.
53299         [non-C99-based standards] (ynl): Likewise.
53300         [non-C99-based standards] (isnanl): Likewise.
53301         [non-C99-based standards] (acoshl): Likewise.
53302         [non-C99-based standards] (asinhl): Likewise.
53303         [non-C99-based standards] (atanhl): Likewise.
53304         [non-C99-based standards] (cbrtl): Likewise.
53305         [non-C99-based standards] (expm1l): Likewise.
53306         [non-C99-based standards] (ilogbl): Likewise.
53307         [non-C99-based standards] (log1pl): Likewise.
53308         [non-C99-based standards] (logbl): Likewise.
53309         [non-C99-based standards] (nextafterl): Likewise.
53310         [non-C99-based standards] (remainderl): Likewise.
53311         [non-C99-based standards] (rintl): Likewise.
53312         [non-C99-based standards] (scalbl): Likewise.
53313         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53314         [non-C99-based standards] (FP_*): Do not allow.
53315         [C99-based standards] (FP_*): Change to
53316         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53317         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53318         allow.
53319         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53320         (SIG_ERR): Likewise.
53321         [X/Open-based standards] (SIG_HOLD): Likewise.
53322         (SIG_IGN): Likewise.
53323         (SIGABRT): Use macro-int-constant.  Specify type.  Require
53324         positive value.
53325         (SIGFPE): Likewise.
53326         (SIGILL): Likewise.
53327         (SIGINT): Likewise.
53328         (SIGSEGV): Likewise.
53329         (SIGTER): Likewise.
53330         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53331         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53332         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53333         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53334         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53335         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53336         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53337         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53338         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53339         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53340         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53341         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53342         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53343         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53344         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53345         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53346         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53347         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53348         [X/Open-based standards] (SIGTRAP): Likewise.
53349         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53350         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53351         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53352         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53353         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53354         allow.
53356 2012-05-08  Ian Wienand  <ianw@vmware.com>
53358         [BZ #14080]
53359         * time/tzset.c (__tzset_parse_tz): Update default rules for
53360         daylight time changes in the Energy Policy Act of 2005.
53362 2012-05-09  Andreas Jaeger  <aj@suse.de>
53364         [BZ #13983]
53365         * elf/ldconfig.c (parse_conf): Change string to make clear that
53366         ldconfig only issued a warning if ld.so.conf does not exist.
53368 2012-05-08  David S. Miller  <davem@davemloft.net>
53370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53371         movxtod instead of popping the value on the stack.
53373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53375 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
53377         * config.h.in: Add HAVE_ARM_PCS_VFP.
53379 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
53381         [BZ #13979]
53382         * include/features.h: Warn if user requests __FORTIFY_SOURCE
53383         checking but the checks are disabled for any reason.
53385 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
53387         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53388         and ELF64_R_TYPE with ELFW(R_TYPE).
53390 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
53392         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53393         (ulimit): Likewise.
53395         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53396         (settimeofday): Likewise.
53398 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
53400         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
53401         a struct th_u2 inside the union, and move tu_block/tu_code into
53402         a new th_u3 union of tu_block/tu_code inside of that.  Move
53403         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
53404         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
53405         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53406         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53407         (th_stuff): Change to th_u1.tu_stuff.
53408         (th_data): Define.
53409         (th_msg): Change to th_u1.th_u2.tu_data.
53411 2012-05-07  David S. Miller  <davem@davemloft.net>
53413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53415         [BZ #14074]
53416         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53417         (SETUP_PIC_REG): Use it.
53418         (SETUP_PIC_REG_LEAF): Use it.
53420 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
53422         [BZ #13885]
53423         [BZ #13923]
53424         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53425         USE_AS_EXPM1L.
53426         (EXPL_FINITE): Likewise.
53427         (FLDLOG): Likewise.
53428         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53429         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53430         e_expl.S.
53431         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53432         USE_AS_EXPM1L.
53433         (EXPL_FINITE): Likewise.
53434         (FLDLOG): Likewise.
53435         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53436         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53437         e_expl.S.
53438         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
53439         test of -max_value argument for long double.
53440         * sysdeps/i386/fpu/libm-test-ulps: Update.
53441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53443 2012-05-06  David S. Miller  <davem@davemloft.net>
53445         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53446         quad soft-float symbols whose references which are compiler
53447         generated.
53448         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53450 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
53452         [BZ #13884]
53453         [BZ #13914]
53454         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53455         USE_AS_EXP10L.
53456         (EXPL_FINITE): Likewise.
53457         (FLDLOG): Likewise.
53458         (c0): Likewise.
53459         (c1): Likewise.
53460         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53461         Adjust comments for base varying.
53462         (__expl_finite): Change alias to EXPL_FINITE.
53463         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53464         e_expl.S.
53465         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53466         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53467         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53468         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53469         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53470         USE_AS_EXP10L.
53471         (EXPL_FINITE): Likewise.
53472         (FLDLOG): Likewise.
53473         (c0): Likewise.
53474         (c1): Likewise.
53475         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53476         Adjust comments for base varying.
53477         (__expl_finite): Change alias to EXPL_FINITE.
53478         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
53479         tests for bugs.
53480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53482         [BZ #14064]
53483         * math/libm-test.inc (check_float_internal): Correct ulp
53484         calculation for subnormal expected results.
53486 2012-05-06  Andreas Jaeger  <aj@suse.de>
53488         * Makeconfig (+math-flags): New, set to -frounding-math.
53489         (+cflags): Add +math-flags so that all of glibc gets compiled with
53490         it.
53492         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53494 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
53496         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53497         Disable one test.
53499         [BZ #13787]
53500         [BZ #13922]
53501         [BZ #14036]
53502         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53503         (__ieee754_expl): Allow for and saturate large arguments.
53504         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53505         (u_threshold): Likewise.
53506         (__exp): Call __ieee754_exp before checking for overflow and
53507         underflow.
53508         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53509         (u_threshold): Likewise.
53510         (__expf): Call __ieee754_expf before checking for overflow and
53511         underflow.
53512         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53513         (u_threshold): Likewise.
53514         (__expl): Call __ieee754_expl before checking for overflow and
53515         underflow.
53516         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53517         (__ieee754_expl): Allow for and saturate large arguments.
53518         * math/libm-test.inc (exp_test): Add another test.  Do not allow
53519         missing overflow exception on overflow.
53520         (expm1_test): Do not allow missing overflow exception on overflow.
53522         * sysdeps/i386/fpu/e_expl.c: Move to ...
53523         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
53524         rather than using inline asm.
53525         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53526         * sysdeps/x86_64/fpu/e_expl.S: Copy from
53527         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53529         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53530         (nice): Likewise.
53531         (poll): Likewise.
53532         (signal): Likewise.
53533         (time): Likewise.
53534         (times): Likewise.
53536 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53538         * sysdeps/unix/syscalls.list (adjtime): Add entry from
53539         sysdeps/unix/common/syscalls.list.
53540         (fchmod): Likewise.
53541         (fchown): Likewise.
53542         (ftruncate): Likewise.
53543         (getrusage): Likewise.
53544         (gettimeofday): Likewise.
53545         (setpgid): Likewise.
53546         (setregid): Likewise.
53547         (setreuid): Likewise.
53548         (sigaction): Likewise.
53549         (truncate): Likewise.
53550         (vhangup): Likewise.
53551         * sysdeps/unix/common/syscalls.list: Remove file.
53552         * sysdeps/unix/bsd/Implies: Don't include unix/common.
53553         * sysdeps/unix/sysv/linux/Implies: Likewise.
53555 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
53557         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53559         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53560         Moved to ...
53561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53562         Here.
53563         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53564         to ...
53565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53566         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53567         to ...
53568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53569         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53570         to ...
53571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53572         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53573         to ...
53574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53575         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53576         to ...
53577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53578         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53579         to ...
53580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53581         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53582         to ...
53583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53584         Here.
53585         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53586         to ...
53587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53588         Here.
53589         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53590         to ...
53591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53592         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53593         Moved to ...
53594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53595         Here.
53596         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53597         to ...
53598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53600 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53602         * sysdeps/unix/common/bits/dirent.h: Remove file.
53603         * sysdeps/unix/common/bits/fcntl.h: Likewise.
53605         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53606         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53607         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53608         * sysdeps/unix/bsd/isatty.c: Likewise.
53609         * sysdeps/unix/bsd/tcdrain.c: Likewise.
53610         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53611         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53613 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53615         [BZ #13563]
53616         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53617         long double comparison inaccuracies.
53618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53621 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
53623         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53624         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53626 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53628         [BZ #14049]
53629         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53630         nonzero digits before rounding a hex value.
53631         * stdlib/tst-strtod.c (tests): Add another test.
53633 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53635         * sysdeps/s390/fpu/libm-test-ulps: Update.
53637 2012-05-03  Andreas Jaeger  <aj@suse.de>
53639         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53640         does not get optimized out.
53641         (malloc_opt_barrier): New.
53643 2012-05-03  Andreas Jaeger  <aj@suse.de>
53644             Roland McGrath  <roland@hack.frob.com>
53646         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53647         intermediate file deletion.
53648         (generated): Add .symlist files.
53650 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
53652         [BZ #13775]
53653         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53654         Redirect under this condition.
53655         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53656         [__USE_GNU] (__dprintf_chk): Not under this condition.
53657         [__USE_GNU] (__vdprintf_chk): Likewise.
53658         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53659         under this condition.
53660         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53661         [__USE_XOPEN2K8] (dprintf): Define under this condition.
53662         [__USE_XOPEN2K8] (vdprintf): Likewise.
53663         [__USE_GNU] (__dprintf_chk): Not under this condition.
53664         [__USE_GNU] (__vdprintf_chk): Likewise.
53665         [__USE_GNU] (dprintf): Likewise.
53666         [__USE_GNU] (vdprintf): Likewise.
53668 2012-05-03  Roland McGrath  <roland@hack.frob.com>
53670         * elf/Makefile (common-generated): Set this instead of generated for
53671         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
53672         $(all-built-dso)-derived lists.
53674 2012-05-03  Andreas Jaeger  <aj@suse.de>
53676         * sysdeps/i386/fpu/libm-test-ulps: Update.
53678         * FAQ: Removed.
53679         * FAQ.in: Likewise.
53680         * scripts/gen-FAQ.pl: Likewise.
53681         * manual/install.texi (Installation): Point to online location of
53682         FAQ.
53683         * Makefile (files-for-dist): Remove FAQ.
53684         (FAQ): Remove.
53686 2012-05-02  Allan McRae  <allan@archlinux.org>
53688         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53689         (LDFLAGS-reldepmod5.so): Likewise.
53690         (LDFLAGS-reldep6mod1.so): Likewise.
53691         (LDFLAGS-reldep6mod4.so): Likewise.
53692         (LDFLAGS-reldep8mod3.so): Likewise.
53693         (LDFLAGS-unload4mod1.so): Likewise.
53694         (LDFLAGS-unload4mod2.so): Likewise.
53695         (LDFLAGS-tst-initorder): Likewise.
53696         (LDFLAGS-tst-initordera2.so): Likewise.
53697         (LDFLAGS-tst-initordera3.so): Likewise.
53698         (LDFLAGS-tst-initordera4.so): Likewise.
53699         (LDFLAGS-tst-initorderb2.so): Likewise.
53700         (LDFLAGS-noload): Likewise.
53701         (LDFLAGS-next): Likewise.
53702         (LDFLAGS-order2mod1.so): Likewise.
53703         (LDFLAGS-order2mod2.so): Likewise.
53704         (LDFLAGS-tst-initorder2): Likewise.
53705         (LDFLAGS-tst-initorder2a.so): Likewise.
53706         (LDFLAGS-tst-initorder2b.so): Likewise.
53707         (LDFLAGS-tst-initorder2c.so): Likewise.
53708         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53710 2012-05-02  David S. Miller  <davem@davemloft.net>
53712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53714 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
53716         [BZ #14055]
53717         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53719 2012-05-02  Andreas Jaeger  <aj@suse.de>
53721         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53722         since we manipulate rounding mode.
53723         (CPPFLAGS-test-idouble.c): Likewise.
53724         (CPPFLAGS-test-ifloat.c): Likewise.
53725         (CFLAGS-test-ldouble.c): Likewise.
53726         (CFLAGS-test-double.c): Likewise.
53727         (CFLAGS-test-float.c): Likewise.
53728         (CFLAGS-test-misc.c): Likewise.
53729         (CFLAGS-test-test-fenv.c): Likewise.
53731 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53733         [BZ #2550]
53734         [BZ #2570]
53735         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53736         comparisons to determine direction to adjust input.
53738 2012-05-01  Roland McGrath  <roland@hack.frob.com>
53740         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53741         output to the target.
53743         * scripts/localplt.awk: New file.
53744         * elf/Makefile ($(objpfx)check-localplt): Target removed.
53745         (check-localplt-CFLAGS): Variable removed.
53746         ($(all-built-dso:=.jmprel)): New static pattern rule.
53747         (generated): Add those targets.
53748         (localplt-built-dso): New variable.
53749         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53751         * elf/check-localplt.c: File removed.
53753         * scripts/check-execstack.awk: New file.
53754         * elf/Makefile ($(objpfx)check-execstack): Target removed.
53755         (check-execstack-CFLAGS): Variable removed.
53756         ($(objpfx)check-execstack.h): Target removed.
53757         ($(objpfx)execstack-default): New target.
53758         (generated): Add that instead of check-execstack.h.
53759         ($(all-built-dso:=.phdr)): New static pattern rule.
53760         (generated): Add those targets.
53761         * elf/check-execstack.c: File removed.
53763         * scripts/check-textrel.awk: New file.
53764         * elf/Makefile ($(objpfx)check-textrel): Target removed.
53765         (check-textrel-CFLAGS): Variable removed.
53766         (all-built-dso): Use := to define.o
53767         ($(all-built-dso:=.dyn)): New static pattern rule.
53768         (generated): Add those targets.
53769         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53770         * config.make.in (READELF): New substituted variable.
53771         * elf/check-textrel.c: File removed.
53773 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
53775         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53776         allow.
53777         * conform/data/ctype.h-data [C99-based standards] (isblank):
53778         Expect function.
53779         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53780         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53781         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53782         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53783         Specify type.  Require positive value.
53784         (EILSEQ): Likewise.
53785         (ERANGE): Likewise.
53786         [ISO || POSIX] (EILSEQ): Do not expect.
53787         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53788         Specify type.  Require positive value.
53789         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53790         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53791         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53792         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53793         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53794         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53795         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53796         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53797         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53798         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53799         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53800         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53801         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53802         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53803         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53804         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53805         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53806         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53807         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53808         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53809         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53810         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53811         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53812         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53813         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53814         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53815         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53816         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53817         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53818         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53819         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53820         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53821         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53822         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53823         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53824         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53825         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53826         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53827         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53828         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53829         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53830         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53831         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53832         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53833         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53834         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53835         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53836         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53837         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53838         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53839         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53840         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53841         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53842         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53843         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53844         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53845         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53846         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53847         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53848         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53849         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53850         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53851         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53852         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53853         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53854         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53855         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53856         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53857         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53858         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53859         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53860         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53861         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53862         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53863         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53864         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53865         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53866         Require >= 2.
53867         (FLT_ROUNDS): Expect as macro, not constant.
53868         (FLT_MANT_DIG): Use macro-int-constant.
53869         (DBL_MANT_DIG): Likewise.
53870         (LDBL_MANT_DIG): Likewise.
53871         (FLT_DIG): Likewise.
53872         (DBL_DIG): Likewise.
53873         (LDBL_DIG): Likewise.
53874         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
53875         (DBL_MIN_EXP): Likewise.
53876         (LDBL_MIN_EXP): Likewise.
53877         (FLT_MAX_EXP): Use macro-int-constant.
53878         (DBL_MAX_EXP): Likewise.
53879         (LDBL_MAX_EXP): Likewise.
53880         (FLT_MAX_10_EXP): Likewise.
53881         (DBL_MAX_10_EXP): Likewise.
53882         (LDBL_MAX_10_EXP): Likewise.
53883         (FLT_MAX): Use macro-constant.
53884         (DBL_MAX): Likewise.
53885         (LDBL_MAX): Likewise.
53886         (FLT_EPSILON): Use macro-constant.  Give upper bound.
53887         (DBL_EPSILON): Likewise.
53888         (LDBL_EPSILON): Likewise.
53889         (FLT_MIN): Likewise.
53890         (DBL_MIN): Likewise.
53891         (LDBL_MIN): Likewise.
53892         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53893         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53894         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53895         [ISO11] (FLT_HAS_SUBNORM): Likewise.
53896         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53897         [ISO11] (DBL_DECIMAL_DIG): Likewise.
53898         [ISO11] (FLT_DECIMAL_DIG): Likewise.
53899         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53900         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53901         [ISO11] (FLT_TRUE_MIN): Likewise.
53902         [ISO11] (LDBL_TRUE_MIN): Likewise.
53903         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53904         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53905         (SCHAR_MIN): Use macro-int-constant.  Specify type.
53906         (SCHAR_MAX): Likewise.
53907         (UCHAR_MAX): Likewise.
53908         (CHAR_MIN): Likewise.
53909         (CHAR_MAX): Likewise.
53910         (MB_LEN_MAX): Use macro-int-constant.
53911         (SHRT_MIN): Use macro-int-constant.  Specify type.
53912         (SHRT_MAX): Likewise.
53913         (USHRT_MAX): Likewise.
53914         (INT_MAX): Likewise.
53915         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
53916         bound negative.
53917         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53918         bound with "U".
53919         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53920         bound with "L".
53921         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
53922         bound negative.  Suffix upper bound with "L".
53923         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53924         bound with "UL".
53925         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53926         Specify type.
53927         [C99-based standards] (LLONG_MAX): Likewise.
53928         [C99-based standards] (ULLONG_MAX): Likewise.
53929         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
53930         == 0.
53931         [ISO11] (max_align_t): Require type.
53932         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53934         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53935         from $CFLAGS, without defining away __attribute__ calls.
53936         (checknamespace): Use $CFLAGS_namespace.
53938         * conform/conformtest.pl (@keywords): Only include C99 keywords
53939         for standards based on C99 or C11.
53941         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53942         Disable tests.
53943         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53944         UNIX98]: Likewise.
53946         * conform/conformtest.pl: Handle "macro-int-constant" and test for
53947         usability of symbols in #if.
53949         * conform/conformtest.pl: If macro or constant types start
53950         "promoted:", expect the symbol to be of the following type
53951         promoted by the integer promotions.
53953         * conform/conformtest.pl: Parse all "constant" and "macro" lines
53954         in one place.  Also handle "macro-constant".
53956         * conform/conformtest.pl: Only accept expected macro values with
53957         "==".  Parse all "macro" lines in one place.
53958         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53960         * conform/conformtest.pl: Handle braced types on "constant" lines
53961         instead of handling "typed-constant".
53962         * conform/data/signal.h-data: Use "constant" instead of
53963         "typed-constant".
53965         * conform/conformtest.pl: Handle "optional-" at start of lines in
53966         one place rather than duplicating several cases.  Handle each
53967         format of "macro" line with initial "optional-".
53969         * conform/conformtest.pl: Only accept expected constant or
53970         optional-constant values with "==".  Parse all "constant" lines in
53971         one place.  Parse all "optional-constant" lines in one place.
53972         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53973         * conform/data/fmtmsg.h-data: Likewise.
53974         * conform/data/netinet/in.h-data: Likewise.
53975         * conform/data/tar.h-data: Likewise.
53976         * conform/data/limits.h-data: Use "==" form on "constant" and
53977         "optional-constant" lines.
53979         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53980         Use -std=c99 for XOPEN2K.
53981         (@knownproblems): Remove.
53982         (newtoken): Don't check %isknown.
53984         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53985         Do not expect macro.
53986         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53987         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53988         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53989         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53990         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53991         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53992         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53993         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53994         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53995         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53996         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53997         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53998         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53999         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
54000         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
54001         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
54002         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
54003         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
54004         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
54005         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
54006         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
54007         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
54008         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
54009         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
54010         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
54011         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
54012         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
54013         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
54014         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
54015         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
54016         [XPG3] (acosh): Likewise.
54017         [XPG3] (asinh): Likewise.
54018         [XPG3] (atanh): Likewise.
54019         [XPG3] (cbrt): Likewise.
54020         [XPG3] (expm1): Likewise.
54021         [XPG3] (ilogb): Likewise.
54022         [XPG3] (log1p): Likewise.
54023         [XPG3] (logb): Likewise.
54024         [XPG3] (nextafter): Likewise.
54025         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
54026         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
54027         [XPG3] (remainder): Likewise.
54028         [XPG3] (rint): Likewise.
54029         [XPG3 || XPG4 || UNIX98] (round): Likewise.
54030         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
54031         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
54032         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
54033         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
54034         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
54035         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
54036         [UNIX98 || XOPEN2K] (scalb): Expect.
54037         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
54038         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
54039         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
54040         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
54041         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
54042         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
54043         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
54044         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
54045         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
54046         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
54047         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
54048         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
54049         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
54050         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
54051         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
54052         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
54053         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
54054         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
54055         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
54056         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
54057         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
54058         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
54059         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
54060         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
54061         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
54062         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
54063         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
54064         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
54065         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
54066         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
54067         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
54068         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
54069         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
54070         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
54071         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
54072         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
54073         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
54074         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
54075         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
54076         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
54077         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
54078         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
54079         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
54080         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
54081         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
54082         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
54083         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
54084         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
54085         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
54086         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
54087         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
54088         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
54089         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
54090         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
54091         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
54092         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
54093         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
54094         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
54095         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
54096         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
54097         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
54098         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
54099         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
54100         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
54101         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
54102         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
54103         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
54104         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
54105         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
54106         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
54107         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
54108         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
54109         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
54110         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
54111         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
54112         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
54113         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
54114         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
54115         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
54116         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
54117         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
54118         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
54119         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
54120         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
54121         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
54122         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
54123         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54124         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54125         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54126         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54127         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54128         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54129         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54130         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54131         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54132         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54133         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54134         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54135         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54136         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54137         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54138         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54139         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54140         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54141         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54142         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54143         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54144         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54145         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54146         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54147         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54148         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54149         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54150         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54151         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54152         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54153         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54154         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54155         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54156         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54157         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54158         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54159         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54160         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54161         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54162         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54163         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54164         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54165         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54166         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54167         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54168         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54169         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54170         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54171         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54172         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54173         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54175         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54176         _XOPEN_SOURCE_EXTENDED for XPG4.
54178         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54180         * Makeconfig (localtime): Remove variable.
54181         (inst_localtime-file): Likewise.
54183 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54186         Update.
54187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54188         Update.
54189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54190         Update.
54191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54192         Update.
54193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54194         Update.
54195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54196         Update.
54197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54198         Update.
54199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54200         Update.
54201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54202         Update.
54204 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
54206         [BZ #2550]
54207         [BZ #2570]
54208         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54209         comparisons to determine direction to adjust input.
54210         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54211         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54212         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54213         Likewise.
54214         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54215         Likewise.
54216         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54217         Likewise.
54218         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54219         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54220         Likewise.
54221         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54222         Likewise.
54223         * math/libm-test.inc (nexttoward_test): Add more tests.
54225 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54227         [BZ #14040]
54228         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54229         in version GLIBC_2.1, not GLIBC_2.0.
54230         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54231         Likewise.
54233 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
54235         [BZ #13942]
54236         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54237         (1 - x) * (1 + x).
54238         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54239         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54240         * math/libm-test.inc (acos_test): Add more tests.
54241         (asin_test): Likewise.
54242         * sysdeps/i386/fpu/libm-test-ulps: Update.
54243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54245         [BZ #14034]
54246         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54247         of square root.
54248         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54249         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54250         * math/libm-test.inc (acos_test_tonearest): New function.
54251         (acos_test_towardzero): Likewise.
54252         (acos_test_downward): Likewise.
54253         (acos_test_upward): Likewise.
54254         (asin_test_tonearest): Likewise.
54255         (asin_test_towardzero): Likewise.
54256         (asin_test_downward): Likewise.
54257         (asin_test_upward): Likewise.
54258         (main): Call the new functions.
54259         * sysdeps/i386/fpu/libm-test-ulps: Update.
54260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54262         [BZ #13884]
54263         [BZ #13924]
54264         * math/e_exp10.c: Include <float.h>.
54265         (__ieee754_exp10): Handle underflow here rather than multiplying
54266         large negative argument by M_LN10.
54267         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54268         of __ieee754_expf.
54269         * math/e_exp10l.c: Include <float.h>.
54270         (__ieee754_exp10l): Handle underflow here rather than multiplying
54271         large negative argument by M_LN10l.
54272         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
54273         spurious overflow exception on underflow.
54275 2012-04-29  Marek Polacek  <polacek@redhat.com>
54277         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54278         (__fortify_function): New macro.
54279         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54280         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54281         __extern_always_inline.
54282         * libio/bits/stdio2.h: Likewise.
54283         * libio/bits/stdio.h: Likewise.
54284         * string/string.h: Likewise.
54285         * string/bits/string3.h: Likewise.
54286         * include/stdio.h: Likewise.
54287         * stdlib/bits/stdlib.h: Likewise.
54288         * stdlib/stdlib.h: Likewise.
54289         * rt/bits/mqueue2.h: Likewise.
54290         * rt/mqueue.h: Likewise.
54291         * posix/bits/unistd.h: Likewise.
54292         * posix/unistd.h: Likewise.
54293         * io/bits/poll2.h: Likewise.
54294         * io/bits/fcntl2.h: Likewise.
54295         * io/fcntl.h: Likewise.
54296         * io/sys/poll.h: Likewise.
54297         * misc/bits/syslog.h: Likewise.
54298         * misc/bits/syslog-ldbl.h: Likewise.
54299         * misc/sys/syslog.h: Likewise.
54300         * socket/bits/socket2.h: Likewise.
54301         * socket/sys/socket.h: Likewise.
54302         * debug/tst-chk1.c: Likewise.
54303         * wcsmbs/bits/wchar2.h: Likewise.
54304         * wcsmbs/bits/wchar-ldbl.h: Likewise.
54305         * wcsmbs/wchar.h: Likewise.
54307 2012-04-29  Andreas Jaeger  <aj@suse.de>
54309         * Makerules (tests): Remove enable-check-abi protection.
54310         (check-abi-warn): Remove.
54311         (check-abi-%): Remove check-abi-warn usage.
54313         * configure.in: Remove check-abi configure option.
54314         * configure: Regenerated.
54315         * config.make.in (enable-check-abi): Remove.
54317 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
54319         [BZ #14033]
54320         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54321         double functions to double *_finite functions.
54323         [BZ #13941]
54324         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54325         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54326         LDBL_MIN_EXP.
54327         * stdio-common/Makefile (tests): Add tst-sprintf3.
54328         * stdio-common/tst-sprintf3.c: New file.
54330         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54331         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54333 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54335         * conform/conformtest.pl: Remove duplicate typed-constant
54336         handling.
54338 2012-04-28  David S. Miller  <davem@davemloft.net>
54340         * Makerules (%.abilist): Add vpath on sysdep_dirs.
54341         (check-abi-%): Remove AWK script prerequisite and explicit
54342         abilist directory.
54343         (check-abi): Rewrite to just diff the symlist with the abilist.
54344         (config-tls, config-abi-config): Delete, no longer used.
54345         (update-abi-%): Remove AWK script and explicit abilist directory.
54346         (update-abi): Rewrite to simply compare and conditionally copy the
54347         symlist and the sysdep abilist file.  Remove update-abi-config
54348         checks.
54349         * abilist/ld.abilist: Remove.
54350         * abilist/libBrokenLocale.abilist: Remove.
54351         * abilist/libanl.abilist: Remove.
54352         * abilist/libcrypt.abilist: Remove.
54353         * abilist/libdl.abilist: Remove.
54354         * abilist/librt.abilist: Remove.
54355         * abilist/libthread_db.abilist: Remove.
54356         * abilist/libutil.abilist: Remove.
54357         * scripts/extract-abilist.awk: Remove.
54358         * scripts/merge-abilist.awk: Remove.
54359         * sysdeps/generic/libcidn.abilist: New file.
54360         * sysdeps/generic/libnss_compat.abilist: New file.
54361         * sysdeps/generic/libnss_db.abilist: New file.
54362         * sysdeps/generic/libnss_dns.abilist: New file.
54363         * sysdeps/generic/libnss_files.abilist: New file.
54364         * sysdeps/generic/libnss_hesiod.abilist: New file.
54365         * sysdeps/generic/libnss_nis.abilist: New file.
54366         * sysdeps/generic/libnss_nisplus.abilist: New file.
54367         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54368         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54369         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54370         file.
54371         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54372         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54373         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54374         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54375         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54376         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54377         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54378         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54379         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54380         file.
54381         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54382         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54383         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54384         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54385         file.
54386         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54387         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54388         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54389         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54390         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54391         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54392         file.
54393         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54394         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54395         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54396         file.
54397         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54398         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54399         New file.
54400         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54401         New file.
54402         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54403         New file.
54404         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54405         New file.
54406         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54407         New file.
54408         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54409         New file.
54410         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54411         New file.
54412         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54413         New file.
54414         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54415         New file.
54416         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54417         New file.
54418         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54419         New file.
54420         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54421         New file.
54422         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54423         New file.
54424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54425         file.
54426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54427         New file.
54428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54429         New file.
54430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54431         file.
54432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54433         New file.
54434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54435         New file.
54436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54437         file.
54438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54439         New file.
54440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54441         New file.
54442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54443         New file.
54444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54445         New file.
54446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54447         New file.
54448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54449         New file.
54450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54452         file.
54453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54454         New file.
54455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54456         file.
54457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54458         file.
54459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54460         file.
54461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54462         file.
54463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54464         file.
54465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54466         New file.
54467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54468         file.
54469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54470         file.
54471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54472         New file.
54473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54474         file.
54475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54477         file.
54478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54479         New file.
54480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54481         file.
54482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54483         file.
54484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54485         file.
54486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54487         file.
54488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54489         file.
54490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54491         New file.
54492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54493         file.
54494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54495         file.
54496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54497         New file.
54498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54499         file.
54500         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54501         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54502         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54503         file.
54504         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54505         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54506         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54507         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54508         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54509         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54510         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54511         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54512         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54513         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54516         file.
54517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54518         New file.
54519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54520         file.
54521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54522         file.
54523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54524         file.
54525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54526         file.
54527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54528         file.
54529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54530         New file.
54531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54532         New file.
54533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54534         file.
54535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54536         New file.
54537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54538         file.
54539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54541         file.
54542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54543         New file.
54544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54545         file.
54546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54547         file.
54548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54549         file.
54550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54551         file.
54552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54553         file.
54554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54555         New file.
54556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54557         New file.
54558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54559         file.
54560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54561         New file.
54562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54563         file.
54565 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54567         * conform/conformtest.pl: Fix typo in handling typed-constant from
54568         allow-header.
54570 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
54572         * README: Cut down references to pre-2.6 Linux kernels and
54573         Linuxthreads.  Update lists of configurations in libc and ports
54574         and sort alphabetically.  Say "or newer" with Linux kernel version
54575         requirements.
54577         * config.h.in [IS_IN_build]: Allow compiling without optimization.
54579 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54581         [BZ #887]
54582         * math/libm-test.inc (logb_test_downward): New test to expose
54583         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54584         rounding mode.
54586 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
54588         [BZ #14027]
54589         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54590         to be done.
54591         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54592         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54594 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
54596         * sysdeps/unix/i386/brk.S: Remove file.
54597         * sysdeps/unix/i386/dl-brk.S: Likewise.
54598         * sysdeps/unix/i386/pipe.S: Likewise.
54599         * sysdeps/unix/i386/sigreturn.S: Likewise.
54600         * sysdeps/unix/i386/syscall.S: Likewise.
54601         * sysdeps/unix/i386/vfork.S: Likewise.
54602         * sysdeps/unix/i386/wait.S: Likewise.
54604         * sysdeps/unix/common/tcsendbrk.c: Move to ...
54605         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54607         * configure.in (arm*-none*): Do not allow without
54608         --enable-hacker-mode.
54609         (netbsd*): Remove case setting base_os.
54610         (386bsd*): Likewise.
54611         (freebsd*): Likewise.
54612         (bsdi*): Likewise.
54613         (osf*): Likewise.
54614         (sunos*): Likewise.
54615         (ultrix*): Likewise.
54616         (newsos*): Likewise.
54617         (dynix*): Likewise.
54618         (*bsd*): Likewise.
54619         (sysv*): Likewise.
54620         (isc*): Likewise.
54621         (esix*): Likewise.
54622         (sco*): Likewise.
54623         (minix*): Likewise.
54624         (irix4*): Likewise.
54625         (irix6*): Likewise.
54626         (solaris[2-9]*): Likewise.
54627         (none): Likewise.
54628         * configure: Regenerated.
54630 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54632         [BZ #11521]
54633         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54634         overflow or cancellation in calculating denominator.
54635         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54636         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54637         down expression to avoid unexpected rounding in newer GCCs.
54638         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54640 2012-04-26  David S. Miller  <davem@davemloft.net>
54642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54643         long-double compat symbols.
54644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54658 2012-04-25  David S. Miller  <davem@davemloft.net>
54660         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54661         HWCAP_* values only after the memory barriers have been defined.
54662         (atomic_full_barrier): Define.
54663         (atomic_read_barrier): Define.
54664         (atomic_write_barrier): Define.
54666 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54668         * shlib-versions: Add libgcc_s version information.
54669         * sysdeps/generic/libgcc_s.h: Remove.
54670         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54671         libgcc_s.h.
54672         * sysdeps/gnu/unwind-resume.c: Likewise.
54673         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54675 2012-04-25  David S. Miller  <davem@davemloft.net>
54677         * sysdeps/unix/sparc/brk.S: Delete.
54678         * sysdeps/unix/sparc/dl-brk.S: Delete.
54679         * sysdeps/unix/sparc/pipe.S: Delete.
54680         * sysdeps/unix/sparc/sysdep.S: Delete.
54681         * sysdeps/unix/sparc/sysdep.h: Delete.
54682         * sysdeps/unix/sparc/vfork.S: Delete.
54683         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54684         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54685         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54686         (ret_ERRVAL, r0, r1, MOVE): Define.
54687         (JUMPTARGET): Remove.
54688         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54689         sysdeps/unix/sparc/sysdep.h
54690         (ENTRY, END): Remove.
54691         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54693 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
54695         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54696         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54697         -DIS_IN_build.
54699         * timezone/README: Update upstream location and email address for
54700         tzcode and tzdata.
54701         * timezone/zdump.c: Update from tzcode 2012b.
54702         * timezone/zic.c: Likewise.
54704         * configure.in (libc_cv_as_needed): Remove test.
54705         * configure: Regenerated.
54706         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54707         conditional definition.
54708         [$(have-as-needed) != yes] (no-as-needed): Likewise.
54709         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54710         * config.make.in (have-as-needed): Remove variable.
54712 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54713             Paul Pluzhnikov  <ppluzhnikov@google.com>
54715         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54716         strings correctly.
54718 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
54720         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54721         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54722         * sysdeps/sh/strlen.S: Likewise.
54724 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54726         * sysdeps/unix/fork.S: Remove file.
54727         * sysdeps/unix/i386/fork.S: Likewise.
54728         * sysdeps/unix/sparc/fork.S: Likewise.
54730         * sysdeps/unix/system.c: Remove file.
54731         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54733         * sysdeps/unix/getegid.S: Remove file.
54734         * sysdeps/unix/geteuid.S: Likewise.
54736 2012-04-24  Roland McGrath  <roland@hack.frob.com>
54738         * scripts/check-localplt.awk: New file.
54739         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54740         of diff.
54741         * scripts/data/localplt-generic.data: Add a comment.
54743         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54744         NODE when __dir_mkfile failed.
54745         * sysdeps/mach/hurd/symlinkat.c: Likewise.
54746         Reported by Ludovic Courtès <ludo@gnu.org>.
54748 2012-04-24  Andreas Jaeger  <aj@suse.de>
54750         * Makerules (common-clean): Also remove gen-as-const-headers
54751         files.
54753 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54755         * Makerules (native-compile): Do not change working directory for
54756         build.  Use $(OUTPUT_OPTION) in command.
54757         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54759 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54761         [BZ #13886]
54762         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54763         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54764         * math/libm-test.inc (floor_test): Add more tests.
54765         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54767 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54769         * sysdeps/unix/getdents.c: Remove file.
54770         * sysdeps/unix/sysv/getdents.c: Likewise.
54771         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54773         * sysdeps/unix/syscalls.list (madvise): Add syscall from
54774         sysdeps/unix/mman/syscalls.list.
54775         (mmap): Likewise.
54776         (mprotect): Likewise.
54777         (msync): Likewise.
54778         (munmap): Likewise.
54779         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54780         * sysdeps/unix/mman/syscalls.list: Remove.
54781         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54783         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54784         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54785         * configure: Regenerated.
54786         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54787         $(libgcc_s_suffix).
54788         * config.make.in (libgcc_s_suffix): Remove variable.
54790 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
54792         * sysdeps/unix/sysv/gethostname.c: Move to ...
54793         * sysdeps/posix/gethostname.c: ... here.
54795         * sysdeps/unix/execve.S: Remove file.
54797         * sysdeps/unix/_exit.S: Remove file.
54799 2012-04-23  Andreas Jaeger  <aj@suse.de>
54801         [BZ #13739]
54802         * manual/Makefile: Remove make dist support, there's no
54803         need for a stand-alone documentation tar ball.
54804         (TEXI2DVI): Define always, it's not in Makeconfig.
54805         (dist): Removed.
54806         (tar-it): Removed.
54807         (edition): Removed.
54808         (glibc-doc-$(edition).tar): Removed
54809         (%.Z): Removed.
54810         (%.gz): Removed.
54811         (%.uu): Removed.
54812         (ETAGS): Remove, it's in Makeconfig.
54813         (move-if-change): Remove, it's in Makeconfig.
54815 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
54817         [BZ #13970]
54818         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54819         (strtod, strtof, strtold, strtol, strtoul, strtoq)
54820         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54821         (strtod_l, strtof_l, strtold_l): Remove __wur.
54822         It is not necessarily an error to ignore strtol's return value.
54823         One can reliably look at the stored endptr to decide whether
54824         the number had valid syntax.
54826 2012-04-21  Andreas Jaeger  <aj@suse.de>
54828         [BZ #13739]
54829         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54831 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
54833         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54834         * sysdeps/unix/sysv/Versions: Remove file.
54836 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
54838         [BZ #13927]
54839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54841 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
54843         [BZ #7064]
54844         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54845         version from __vm86.
54847 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
54849         * sysdeps/unix/common/lxstat.c: Remove file.
54850         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54852         * sysdeps/unix/sysv/Makefile: Remove file.
54854         * sysdeps/unix/sysv/direct.h: Remove file.
54856         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54857         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54858         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54859         * sysdeps/unix/sysv/bits/signum.h: Likewise.
54860         * sysdeps/unix/sysv/bits/stat.h: Likewise.
54861         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54862         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54864         * sysdeps/unix/sysv/setrlimit.c: Remove file.
54866         * sysdeps/unix/xmknod.c: Remove file.
54867         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54869         * sysdeps/unix/sysv/settimeofday.c: Remove file.
54871         * sysdeps/unix/sysv/i386/time.S: Remove file.
54873         * sysdeps/unix/fxstat.c: Remove file.
54874         * sysdeps/unix/xstat.c: Likewise.
54875         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54877         * sysdeps/unix/sysv/sigaction.c: Remove file.
54879         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54880         (sysdep_headers): Remove variable.
54881         [termio.h not in sysdep_headers] (generated): Likewise.
54882         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54883         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54884         * sysdeps/unix/sysv/tcdrain.c: Likewise.
54885         * sysdeps/unix/sysv/tcflow.c: Likewise.
54886         * sysdeps/unix/sysv/tcflush.c: Likewise.
54887         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54888         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54889         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54890         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54891         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54893         * sysdeps/unix/siglist.c: Remove file.
54895         * sysdeps/unix/getppid.S: Remove file.
54897         * sysdeps/unix/mkdir.c: Remove file.
54898         * sysdeps/unix/rmdir.c: Likewise.
54900 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
54902         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54903         ERR_MAX value.
54904         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54905         errlist-compat value.
54907 2012-04-18  David S. Miller  <davem@davemloft.net>
54909         * sysdeps/generic/memcopy.h (reg_char): Delete.
54910         * debug/strcat_chk.c: Use char, not reg_char.
54911         * debug/strcpy_chk.c: Likewise.
54912         * debug/strncat_chk.c: Likewise.
54913         * debug/strncpy_chk.c: Likewise.
54914         * string/memchr.c: Likewise.
54915         * string/memrchr.c: Likewise.
54916         * string/rawmemchr.c: Likewise.
54917         * string/strcat.c: Likewise.
54918         * string/strchr.c: Likewise.
54919         * string/strchrnul.c: Likewise.
54920         * string/strcmp.c: Likewise.
54921         * string/strcpy.c: Likewise.
54922         * string/strncat.c: Likewise.
54923         * string/strncmp.c: Likewise.
54924         * string/strncpy.c: Likewise.
54926 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54928         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54929         __builtin_memcopy is called when src and dest ranges are known to not
54930         overlap.
54932 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54934         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54935         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54936         fwd_align_merge macro call.
54937         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54938         bwd_align_merge macro call.
54939         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54941 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54943         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54944         bwd_align_merge macros.
54945         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54946         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54947         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54949 2012-04-18  David S. Miller  <davem@davemloft.net>
54951         * sysdeps/sparc/sparc64/memcopy.h: Delete.
54953 2012-04-18  Andreas Jaeger  <aj@suse.de>
54955         [BZ# 6794]
54956         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54957         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54958         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54960         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54961         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54962         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54964         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54965         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54966         Adjust for changed ldbl-128 files.
54968         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54969         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54970         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54972 2012-04-17  David S. Miller  <davem@davemloft.net>
54974         * sysdeps/sparc/sparc32/memcopy.h: Delete.
54976 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
54978         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54979         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54980         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54981         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54982         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54983         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54985 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54987         [BZ #6794]
54988         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54989         * math/libm-test.inc: Add ilogb errno and exception tests.
54990         * math/w_ilogb.c: New file: ilogb wrapper.
54991         * math/w_ilogbf.c: New file: ilogbf wrapper.
54992         * math/w_ilogbl.c: New file: ilogbl wrapper.
54993         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54994         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54995         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54996         exception being thrown with 0.0 as argument.
54997         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54998         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54999         exception being thrown with 0.0 as argument.
55000         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
55001         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55002         exception being thrown with 0.0 as argument.
55003         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
55004         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55005         exception being thrown with 0.0 as argument.
55006         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
55007         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
55008         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
55009         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
55010         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
55011         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
55012         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
55013         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
55014         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
55016 2012-04-17  Petr Baudis  <pasky@ucw.cz>
55018         * include/sys/uio.h: Change __vector to __iovec to avoid clash
55019         with altivec.
55021 2012-04-16  Marek Polacek  <polacek@redhat.com>
55023         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
55025 2012-04-16  Marek Polacek  <polacek@redhat.com>
55027         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
55028         operands of fdivp instruction.
55030 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55032         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
55033         * elf/tst-auditmod3b.c: Likewise.
55034         * elf/tst-auditmod4b.c: Likewise.
55035         * elf/tst-auditmod5b.c: Likewise.
55036         * elf/tst-auditmod6b.c: Likewise.
55037         * elf/tst-auditmod6c.c: Likewise.
55038         * elf/tst-auditmod7b.c: Likewise.
55039         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
55040         * sysdeps/x86_64/preconfigure.in: Likewise.
55041         * sysdeps/x86_64/preconfigure: Regenerated.
55043 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55045         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
55046         __ILP32__.
55048 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
55050         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55051         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
55053 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
55055         [BZ #13973]
55056         * locale/iso-639.def: Fix gl language name. Spotted by
55057         Yaron Shahrabani.
55059 2012-04-12  Roland McGrath  <roland@hack.frob.com>
55061         [BZ #2074]
55062         * libio/libio.h (__io_write_fn): Update comment.
55064 2012-04-12  Petr Baudis  <pasky@ucw.cz>
55066         [BZ #2074]
55067         * stdio.texi (Hook Functions): The user provided writer function
55068         is not allowed to return -1.
55070 2012-04-11  David S. Miller  <davem@davemloft.net>
55072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55074 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
55076         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
55077         Add a leading slash to rtkaio.
55079 2012-04-11  Jim Meyering  <meyering@redhat.com>
55081         [BZ #11959]
55082         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
55083         It is not necessarily an error to ignore fwrite's return
55084         value.  One can reliably use ferror to test for errors after
55085         the fact.
55087 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55089         * bits/types.h (__snseconds_t): New type.
55090         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
55092         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
55093         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55094         (__SNSECONDS_T_TYPE): Likewise.
55095         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55096         (__SNSECONDS_T_TYPE): Likewise.
55097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55098         (__SNSECONDS_T_TYPE): Likewise.
55100 2012-04-10  Andreas Jaeger  <aj@suse.de>
55102         [BZ #2636]
55103         * manual/time.texi (Processor Time): Return type of times is
55104         elapsed real time since an arbitrary point in the past.
55105         (CPU Time): Move CLK_TCK from here...
55106         (Processor Time): ...to here.  Correct description.
55107         * manual/conf.texi (Constants for Sysconf): Correct description of
55108         _SC_CLK_TCK.
55110 2012-04-10  David S. Miller  <davem@davemloft.net>
55112         [BZ #13967]
55113         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
55114         where the is a gap between DT_REL(A) and DT_JMPREL.
55116 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55118         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
55119         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55120         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55122 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55124         * elf/dl-support.c (_dl_inhibit_cache): New variable.
55125         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55126         (dl_main): Handle --inhibit-cache.
55127         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55128         _dl_inhibit_cache.
55129         * elf/dl-load.c (_dl_map_object): Use it.
55130         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55132 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55134         [BZ #13872]
55135         * sysdeps/i386/fpu/e_powl.S (p78): New object.
55136         (__ieee754_powl): Saturate large exponents rather than testing for
55137         overflow of y*log2(x).
55138         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55139         * math/libm-test.inc (pow_test): Do not permit spurious overflow
55140         exceptions.
55142         [BZ #11521]
55143         * math/s_ctan.c: Include <float.h>.
55144         (__ctan): Avoid internal overflow or cancellation in calculating
55145         denominator.
55146         * math/s_ctanf.c: Likewise.
55147         * math/s_ctanl.c: Likewise.
55148         * math/s_ctanh.c: Likewise.
55149         * math/s_ctanhf.c: Likewise.
55150         * math/s_ctanhl.c: Likewise.
55151         * math/libm-test.inc (ctan_test): Add more tests.
55152         (ctanh_test): Likewise.
55153         * sysdeps/i386/fpu/libm-test-ulps: Update.
55154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55156 2012-04-09  Andreas Jaeger  <aj@suse.de>
55158         [BZ #6894]
55159         * manual/filesys.texi (Directory Entries): Mention that d_namlen
55160         is an optional BSD extension.
55162         [BZ #10254]
55163         * manual/stdio.texi (Opening Streams): Document additional fopen
55164         parameters.
55166 2012-04-09  Roland McGrath  <roland@hack.frob.com>
55168         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55169         %eax without telling the compiler.
55171 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
55173         [BZ # 13963]
55174         * manual/install.texi: Use sourceware.org.
55176 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55178         [BZ #13873]
55179         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55180         (__ieee754_pow): Generate overflow and underflow using huge*huge
55181         and tiny*tiny rather than just returning constant infinity or zero
55182         for large exponents.
55183         * math/libm-test.inc (pow_test): Require overflow exceptions for
55184         applicable cases of large exponents.
55186         [BZ #706]
55187         * sysdeps/i386/fpu/e_pow.S (p10): New object.
55188         (__ieee754_pow): Use iterative multiplication algorithm only for
55189         integer exponents with absolute value below 1024.  Check for odd
55190         integer exponents when using algorithm for real exponents.
55191         * math/libm-test.inc (pow_test): Add more tests.
55192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55194 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
55196         [BZ #13705]
55197         * math/libm-test.inc (exp_test): Do not allow overflow exception
55198         on underflow test.
55200 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
55202         [BZ #13705]
55203         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55204         instead of __kernel_standard_f.
55206 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
55208         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55209         * sysdeps/x86_64/memset_chk.S: Likewise.
55211 2012-04-08  Andreas Jaeger  <aj@suse.de>
55213         [BZ #10153]
55214         * manual/startup.texi (Environment Access): Describe return value
55215         for putenv and setenv.
55217         [BZ #6895]
55218         * manual/filesys.texi (Directory Entries): Add description for
55219         DT_LNK.
55221         [BZ #6890]
55222         * manual/filesys.texi (Directory Entries): Clarify that it's file
55223         system not operating system in the description of DT_UNKNOWN.
55225         [BZ #6578]
55226         * manual/syslog.texi (closelog): Fix reference, it's openlog.
55228 2012-04-08  Stephen Compall  <s11@member.fsf.org>
55230         [BZ #6649]
55231         * manual/llio.texi (Opening and Closing Files): Add cross
55232         reference to explain mode argument.
55234 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
55236         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55237         * sysdeps/x86_64/memset_chk.S: Likewise.
55239 2012-04-07  David S. Miller  <davem@davemloft.net>
55241         * elf/elf.h (R_SPARC_WDISP10): Define.
55242         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55243         R_SPARC_SIZE32.
55244         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55245         R_SPARC_SIZE64 and R_SPARC_H34.
55247 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
55249         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55250         conditions and remove no longer applicable assertion.
55252 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55254         * bits/byteswap.h: Include <features.h>.
55255         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55256         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55258 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55260         * bits/byteswap.h (__bswap_16): Removed.
55261         Include <bits/byteswap-16.h> to get __bswap_16.
55262         * sysdeps/i386/bits/byteswap.h: Likewise.
55263         * sysdeps/s390/bits/byteswap.h: Likewise.
55264         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55265         * bits/byteswap-16.h: New file.
55266         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55267         * sysdeps/s390/bits/byteswap-16.h: Likewise.
55268         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55269         * string/Makefile (headers): Add bits/byteswap-16.h.
55271 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55273         [BZ #13895]
55274         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55275         extra indirection.
55276         * nss/Makefile (tests-static, tests): Add tst-nss-static.
55277         * nss/tst-nss-static.c: New.
55279 2012-04-06  Robert Millan  <rmh@gnu.org>
55281         [BZ #6486]
55282         * manual/llio.texi (File Position Primitive): lseek
55283         refers to WHENCE when it really means OFFSET.
55285 2012-04-06  Andreas Jaeger  <aj@suse.de>
55287         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55288         strncmp declarations.
55290         * abilist/libc.abilist: Add __poll and __ppoll.
55292 2012-04-05  David S. Miller  <davem@davemloft.net>
55294         * scripts/check-local-headers.sh: Accept a host triplet in the
55295         path matched by the exclude regexp.
55297         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55298         definition.
55299         * sysdeps/powerpc/powerpc32/dl-machine.h
55300         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55301         * sysdeps/s390/s390-32/dl-machine.h
55302         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55303         * sysdeps/sparc/sparc32/dl-machine.h
55304         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55305         * sysdeps/sparc/sparc64/dl-machine.h
55306         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55308         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55309         lazy binding.
55310         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55311         undefined symbol errors.
55313         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55314         DT_NEEDED entries.
55316 2012-04-05  Michael Matz  <matz@suse.de>
55318         [BZ #13592]
55319         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55321 2012-04-05  Andreas Jaeger  <aj@suse.de>
55323         [BZ #13908]
55324         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55325         comment.
55327 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55329         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55330         which ROUND is no valid rounding mode.
55332 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55334         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55335         read again.
55336         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55338 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55340         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55341         an exception using FPU order intentionally.
55343 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55345         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55346         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55347         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55348         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55350 2012-04-05  Simon Josefsson  <simon@josefsson.org>
55352         [BZ #12340]
55353         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55354         EINVAL when BUFLEN is too smal.
55356 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55358         [BZ #13553]
55359         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55360         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55362 2012-04-03  Andreas Jaeger  <aj@suse.de>
55364         [BZ #13938]
55365         * manual/setjmp.texi (System V contexts): Fix sentence.
55367         [BZ #13926]
55368         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55369         New macro for this case.
55370         [!__GNUC__] (__bswap_64): New inline function for this case.
55371         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55372         * bits/byteswap.h: Likewise.
55373         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55374         ull, guard with __GLIBC_HAVE_LONG_LONG.
55376         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55377         __GLIBC_HAVE_LONG_LONG.
55379         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55380         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55382 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55384         [BZ #13691]
55385         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55386         inptr and inend, rather than using last_ch.
55388 2012-04-02  David S. Miller  <davem@davemloft.net>
55390         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55391         * stdio-common/printf-parse.h (read_int): Change return type to
55392         'int', return -1 on INT_MAX overflow.
55393         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55394         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
55395         overflows INT_MAX.  Check for overflow of in-format-string precision
55396         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
55397         SIZE_MAX not INT_MAX for integer overflow test.
55398         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55399         skip the construct in the format string but do not record anything.
55400         * stdio-common/bug22.c: Adjust to test both width/prevision
55401         INT_MAX overflow as well as total length INT_MAX overflow.  Check
55402         explicitly for proper errno values.
55404 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55406         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55407         CHAR_MAX.
55408         * string/test-strcmp.c [! WIDE]: Likewise.
55409         * time/tst-mktime2.c: Likewise for INT_MAX.
55410         * string/test-string.h: #include <sys/param.h> for MIN.
55412         * csu/init-first.c (__libc_init_first): Call __ctype_init.
55413         * sysdeps/i386/init-first.c (init): Likewise.
55414         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55415         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55416         * sysdeps/sh/init-first.c (init): Likewise.
55418 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
55420         * po/ru.po: Update from translation team.
55421         * po/vi.po: Likewise.
55423 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55425         * resolv/nss_dns/dns-host.c: Merge copyright years.
55427 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55429         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55430         Optimize memcpy with prefetch if
55431         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
55432         src, dst pointers have unequal 16 byte alignments.
55434 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55436         [BZ #13928]
55437         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55438         from a CNAME entry and return the minimum ttl for the query.
55439         (gaih_getanswer_slice): Likewise.
55441 2012-03-30  Jeff Law  <law@redhat.com>
55443         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55444         due to long keys.
55445         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55446         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55448         * resolv/nss_dns/dns-host.c: Update copyright year.
55450 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
55452         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55453         requests to save a system call.  Fix check that all bytes are sent.
55455         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55456         comments for sendmmsg.
55458 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55460         [BZ #13691]
55461         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55462         with only 1 character between 0x0041 and 0x01b0.
55463         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55464         * wcsmbs/tst-mbsnrtowcs.c: New file.
55466 2012-03-29  David S. Miller  <davem@davemloft.net>
55468         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55469         small copies by hand.
55471 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55473         [BZ #13761]
55474         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55475         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55476         group memberships.
55478 2012-03-28  David S. Miller  <davem@davemloft.net>
55480         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55481         that branches into memcpy.
55482         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55483         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55484         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55485         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55486         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55487         bits.
55488         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55489         implementation too.
55490         * sysdeps/sparc/mempcpy.S: New file.
55492         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55493         the IFUNC routine in the libc case.
55494         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55496         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55497         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55498         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55499         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55500         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55501         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55502         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55503         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55505         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55506         loop to 256 bytes instead of 64 bytes and fix test signedness.
55508         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55509         * sysdeps/sparc/sparc32/Makefile: rather than here...
55510         * sysdeps/sparc/sparc64/Makefile: and here.
55512 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
55514         * malloc/mallocbug.c: Avoid warnings about unused variables.
55516 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55518         [BZ #13760]
55519         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55520         in the right place. Discard and retry query if response is
55521         larger than input buffer size.
55523 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
55525         [BZ #369]
55526         [BZ #2678]
55527         [BZ #3866]
55528         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55529         x for large integer exponent.
55530         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55531         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
55532         sign of result as needed afterwards.
55533         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55534         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55535         result for underflowing pow the same as for overflow.
55536         (__kernel_standard_l): Handle powl overflow and underflow here
55537         rather than calling __kernel_standard.
55538         * math/libm-test.inc (pow_test): Add more tests.
55540         [BZ #3868]
55541         [BZ #13879]
55542         [BZ #13910]
55543         [BZ #13911]
55544         [BZ #13912]
55545         [BZ #13913]
55546         [BZ #13915]
55547         [BZ #13916]
55548         [BZ #13917]
55549         [BZ #13918]
55550         [BZ #13919]
55551         [BZ #13920]
55552         [BZ #13921]
55553         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55554         * sysdeps/ieee754/k_standard.c: Include <float.h>.
55555         (__kernel_standard_l): New function.
55556         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55557         __kernel_standard.
55558         * math/w_acosl.c (__acosl): Likewise.
55559         * math/w_asinl.c (__asinl): Likewise.
55560         * math/w_atan2l.c (__atan2l): Likewise.
55561         * math/w_atanhl.c (__atanhl): Likewise.
55562         * math/w_coshl.c (__coshl): Likewise.
55563         * math/w_exp10l.c (__exp10l): Likewise.
55564         * math/w_exp2l.c (__exp2l): Likewise.
55565         * math/w_fmodl.c (__fmodl): Likewise.
55566         * math/w_hypotl.c (__hypotl): Likewise.
55567         * math/w_j0l.c (__j0l, __y0l): Likewise.
55568         * math/w_j1l.c (__j1l, __y1l): Likewise.
55569         * math/w_jnl.c (__jnl, __ynl): Likewise.
55570         * math/w_lgammal.c (__lgammal): Likewise.
55571         * math/w_log10l.c (__log10l): Likewise.
55572         * math/w_log2l.c (__log2l): Likewise.
55573         * math/w_logl.c (__logl): Likewise.
55574         * math/w_powl.c (__powl): Likewise.
55575         * math/w_remainderl.c (__remainderl): Likewise.
55576         * math/w_scalbl.c (sysv_scalbl): Likewise.
55577         * math/w_sinhl.c (__sinhl): Likewise.
55578         * math/w_sqrtl.c (__sqrtl): Likewise.
55579         * math/w_tgammal.c (__tgammal): Likewise.
55580         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55581         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55582         * math/libm-test.inc (acos_test): Add more tests.
55583         (acosh_test): Likewise.
55584         (asin_test): Likewise.
55585         (atanh_test): Likewise.
55586         (exp_test): Likewise.
55587         (exp10_test): Likewise.
55588         (exp2_test): Likewise.
55589         (expm1_test): Likewise.
55590         (lgamma_test): Likewise.
55591         (log_test): Likewise.
55592         (log10_test): Likewise.
55593         (log1p_test): Likewise.
55594         (log2_test): Likewise.
55595         (pow_test): Do not allow some spurious overflow exceptions.
55596         (sqrt_test): Add more tests.
55597         (tgamma_test): Likewise.
55598         (y0_test): Likewise.
55599         (y1_test): Likewise.
55600         (yn_test): Likewise.
55602 2012-03-27  Anton Blanchard  <anton@samba.org>
55604         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55605         MAP_HUGETLB.
55606         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55607         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55608         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55610 2012-03-27  David S. Miller  <davem@davemloft.net>
55612         * conform/Makefile: Run run-conformtest.sh using $(BASH).
55614         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55615         have-as-vis3 check.
55617 2012-03-27  Andreas Jaeger  <aj@suse.de>
55619         * sysdeps/x86_64/elf/configure.in: Moved to ...
55620         * sysdeps/x86_64/configure.in: ... here.
55621         * sysdeps/x86_64/elf/start.S: Moved to ...
55622         * sysdeps/x86_64/start.S: ... here.
55623         * sysdeps/x86_64/elf/configure: Delete.
55625         * sysdeps/x86_64/configure.in: Merge contents from
55626         sysdeps/i386/configure.in (without i686 check).
55628         * sysdeps/i386/elf/Versions: Merge into ...
55629         * sysdeps/i386/Versions: ... this.
55630         * sysdeps/i386/elf/Versions: Delete file.
55631         * sysdeps/i386/elf/start.S: Moved to ...
55632         * sysdeps/i386/start.S: ...here.
55633         * sysdeps/i386/elf/configure.in: Merge into...
55634         * sysdeps/i386/configure.in: ...here.
55635         * sysdeps/i386/elf/configure.in: Delete file.
55636         * sysdeps/i386/elf/configure: Delete file.
55638         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55639         * debug/backtracesyms.c: ... here.
55640         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55641         * debug/backtracesymsfd.c: ... here.
55642         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55643         * sysdeps/generic/ifunc-sel.h: ... here.
55645         * sysdeps/unix/i386/start.c: Delete file.
55646         * sysdeps/unix/sparc/start.c: Delete file.
55647         * sysdeps/unix/start.c: Delete file.
55649         * sysdeps/sh/elf/configure.in: Moved to ...
55650         * sysdeps/sh/configure.in: ... here.
55651         * sysdeps/sh/elf/start.S: Moved to ...
55652         * sysdeps/sh/start.S: ... here.
55653         * sysdeps/sh/elf/configure: Delete file.
55655         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55656         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55657         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55658         * sysdeps/powerpc/powerpc64/entry.h: ... here.
55659         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55660         * sysdeps/powerpc/powerpc64/start.S: here.
55661         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55662         * sysdeps/powerpc/powerpc64/Makefile: ... this.
55663         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55664         * sysdeps/powerpc/powerpc64/configure.in: ... this.
55665         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55667         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55668         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55669         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55670         * sysdeps/powerpc/powerpc32/start.S: ... here.
55671         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55672         * sysdeps/powerpc/powerpc32/configure.in: ... this.
55673         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55675         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55676         * sysdeps/powerpc/ifunc-sel.h: ... here.
55677         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55678         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55680         * sysdeps/sparc/elf/configure.in: Moved to ...
55681         * sysdeps/sparc/configure.in: ... here.
55682         * sysdeps/sparc/elf/configure: Delete file.
55683         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55684         * sysdeps/sparc/sparc32/start.S: ... here.
55685         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55686         * sysdeps/sparc/sparc64/start.S: ... here.
55687         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55688         * sysdeps/sparc/sparc32/Makefile: ... this.
55689         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55690         * sysdeps/sparc/sparc64/Makefile: ... this.
55692         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55693         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55694         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55695         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55696         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55697         * sysdeps/s390/s390-32/setjmp.S: ... here.
55698         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55699         * sysdeps/s390/s390-32/configure.in: ... here.
55700         * sysdeps/s390/s390-32/elf/configure: Delete file.
55701         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55702         * sysdeps/s390/s390-32/start.S: ... here.
55704         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55705         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55706         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55707         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55708         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55709         * sysdeps/s390/s390-64/setjmp.S: ... here.
55710         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55711         * sysdeps/s390/s390-64/configure.in: ... here
55712         * sysdeps/s390/s390-64/elf/configure: Delete file.
55713         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55714         * sysdeps/s390/s390-64/start.S: ... here.
55715         * sysdeps/s390/s390-64/elf/configure: Delete.
55717         * configure.in: Remove support for elf directories in sysdeps.
55719         * configure: Regenerated.
55720         * sysdeps/i386/configure: Regenerated.
55721         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55722         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55723         * sysdeps/s390/s390-32/configure: Regenerated.
55724         * sysdeps/s390/s390-64/configure: Regenerated.
55725         * sysdeps/sh/configure: Regenerated.
55726         * sysdeps/sparc/configure: Regenerated.
55727         * sysdeps/x86_64/configure: Regenerated.
55729 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
55731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55733         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55734         denormal result into account.
55736 2012-03-25  Roland McGrath  <roland@hack.frob.com>
55738         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55739         Reported by Allan McRae <allan@archlinux.org>.
55741 2012-03-23  Jeff Law  <law@redhat.com>
55743         * nss/getnssent.c (__nss_getent): Fix typo.
55745 2012-03-23  David S. Miller  <davem@davemloft.net>
55747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55749 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
55751         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55752         to pad to uint64_t for each field.
55753         (dl_tls_index): Replace unsigned long with uint64_t.
55755 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
55756         Paul Pluzhnikov  <ppluzhnikov@google.com>
55758         [BZ #6528]
55759         * grp/Makefile (otherlibs): Don't set it.
55760         * inet/Makefile (otherlibs): Likewise.
55761         * login/Makefile (otherlibs): Likewise.
55762         * nscd/Makefile (otherlibs): Likewise.
55763         * posix/Makefile (otherlibs): Likewise.
55764         * pwd/Makefile (otherlibs): Likewise.
55765         * rt/Makefile (otherlibs): Likewise.
55766         * sunrpc/Makefile (otherlibs): Likewise.
55767         * nss/Makefile (otherlibs): Likewise.
55768         Add libnss_files to routines and static-only-routines.
55769         ($(objpfx)getent): Remove rule.
55770         * resolv/Makefile: Add libnss_dns and libresolv to routines and
55771         static-only-routines.
55773 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
55775         [BZ #13892]
55776         * math/s_cexp.c: Include <float.h>.
55777         (__cexp): Handle exp result overflowing not necessarily
55778         overflowing both real and imaginary parts of result.
55779         * math/s_cexpf.c: Likewise.
55780         * math/s_cexpl.c: Likewise.
55781         * math/libm-test.inc (cexp_test): Add more tests.
55782         * sysdeps/i386/fpu/libm-test-ulps: Update.
55783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55785 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55787         * include/link.h (ELFW): New macro.
55788         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55789         Replace ELF64_R_TYPE with ELFW(R_TYPE).
55791 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55793         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55794         with uint64_t.
55796 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55798         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55799         declaration.
55800         (struct La_x32_retval): Likewise.
55802 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55804         * sysdeps/x86_64/preconfigure.in: New file.
55805         * sysdeps/x86_64/preconfigure: New generated file.
55807 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
55809         [BZ #13824]
55810         * math/e_exp2l.c: Include <float.h>.
55811         (__ieee754_exp2l): Handle overflow and underflow cases
55812         separately.  Only pass fractional part of argument to
55813         __ieee754_expl.
55814         * math/libm-test.inc (exp2_test): Add more tests.
55816         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55817         negating x to take absolute value.
55818         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55819         Likewise.
55820         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55821         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55822         Likewise.
55823         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55824         computing low part if x was negated.
55825         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55827 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55829         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55830         la_x32_gnu_pltexit.
55831         (pltexit): Cast int_retval to ptrdiff_t.
55832         * elf/tst-auditmod3b.c: Likewise.
55833         * elf/tst-auditmod4b.c: Likewise.
55834         * elf/tst-auditmod5b.c: Likewise.
55835         * elf/tst-auditmod6b.c: Likewise.
55836         * elf/tst-auditmod6c.c: Likewise.
55837         * elf/tst-auditmod7b.c: Likewise.
55839         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55840         and x32_gnu_pltexit.
55842         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55843         __ELF_NATIVE_CLASS.
55844         (La_x32_regs): New macro.
55845         (La_x32_retval): Likewise.
55846         (la_x32_gnu_pltenter): New function prototype.
55847         (la_x32_gnu_pltexit): Likewise.
55849 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
55851         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55852         exponent.
55854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55856         * configure.in (libc_cv_cc_nofma): Check for option to disable
55857         generation of FMA instructions.
55858         * configure: Regenerate.
55859         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55860         * sysdeps/ieee754/dbl-64/Makefile: New file.
55861         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55862         Remove brandred-fma4.
55863         (CFLAGS-brandred-fma4.c): Remove.
55864         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55865         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55866         define.
55867         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55868         define.
55870 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55872         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55873         LLONG_MAX != LONG_MAX.
55874         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55875         (_fitoa_word): Likewise.
55876         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55877         LLONG_MAX != LONG_MAX.
55878         * stdio-common/_itowa.h: Include <_itoa.h>.
55879         (_itowa_word): Use _ITOA_WORD_TYPE on value.
55880         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
55881         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
55882         only if not defined.
55883         (_ITOA_WORD_TYPE): Likewise.
55884         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55885         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55887 2012-03-21  David S. Miller  <davem@davemloft.net>
55889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55891 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55893         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55894         of x86_64 when setting libc_cv_slibdir, libdir and
55895         libc_cv_localedir.
55896         * sysdeps/unix/sysv/linux/configure: Regenerated.
55898 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55900         * manual/lang.texi (Old Varargs): Remove section.
55901         (How Variadic): Update menu.
55902         (va_start): Do not mention varargs.h.
55904 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55905             Joseph Myers  <joseph@codesourcery.com>
55907         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55908         link test.
55909         * configure: Regenerated.
55911 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55913         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55914         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55915         conformtest.pl
55917 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55919         * NOTES: Remove.
55920         * Makefile (files-for-dist): Remove NOTES.
55921         (NOTES): Remove rule.
55922         * README: Don't refer to NOTES.
55923         * manual/creature.texi: Don't include macros.texi.
55924         * manual/intro.texi (creature.texi): Remove comment referring to
55925         NOTES.
55927         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55928         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55929         * configure: Regenerated.
55930         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55931         LIBC_TRY_CC_OPTION.
55932         (libc_cv_as_i686): Likewise.
55933         (libc_cv_cc_avx): Likewise.
55934         (libc_cv_cc_sse2avx): Likewise.
55935         (libc_cv_cc_fma4): Likewise.
55936         (libc_cv_cc_novzeroupper): Likewise.
55937         * sysdeps/i386/configure: Regenerated.
55939         [BZ #13883]
55940         * sysdeps/i386/fpu/s_cexp.S: Remove.
55941         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55942         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55943         * math/libm-test.inc (cexp_test): Add more tests.
55944         * sysdeps/i386/fpu/libm-test-ulps: Update.
55945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55947 2012-03-21  Allan McRae  <allan@archlinux.org>
55949         * timezone/Makefile: Do not install iso3166.tab and zone.tab
55951 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55953         [BZ #13871]
55954         * math/w_exp2.c: Do not include <float.h>.
55955         (o_threshold, u_threshold): Remove.
55956         (__exp2): Calculate result before checking finiteness and calling
55957         __kernel_standard.
55958         * math/w_exp2f.c: Likewise.
55959         * math/w_exp2l.c: Likewise.
55960         * math/libm-test.inc (exp2_test): Require overflow exception for
55961         1e6 input.
55963         [BZ #3866]
55964         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55965         range of signed 64-bit integers before using fistpll.  Remove
55966         checks for whether integers fit in mantissa bits.
55967         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55968         the range of signed 32-bit integers before using fistpl.  Remove
55969         checks for whether integers fit in mantissa bits.
55970         * sysdeps/i386/fpu/e_powl.S (p64): New object.
55971         (__ieee754_powl): Test for y outside the range of signed 64-bit
55972         integers before using fistpll.  Reduce 64-bit values to 63-bit
55973         ones as needed.
55974         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55975         divide-by-zero is raised for zero to large negative powers.
55976         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55977         (__ieee754_powl): Test for y outside the range of signed 64-bit
55978         integers before using fistpll.  Reduce 64-bit values to 63-bit
55979         ones as needed.
55980         * math/libm-test.inc (pow_test): Add more tests.
55982 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55984         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55985         <stdio-common/_itoa.h>.
55986         * debug/segfault.c: Likewise.
55987         * elf/dl-cache.c: Likewise.
55988         * elf/dl-minimal.c: Likewise.
55989         * elf/dl-misc.c: Likewise.
55990         * elf/dl-sysdep.c: Likewise.
55991         * elf/dl-version.c: Likewise.
55992         * elf/rtld.c: Likewise.
55993         * hurd/hurdsock.c: Likewise.
55994         * hurd/lookup-retry.c: Likewise.
55995         * malloc/malloc.c: Likewise.
55996         * malloc/mtrace.c: Likewise.
55997         * nscd/nscd_getgr_r.c: Likewise.
55998         * nscd/nscd_getpw_r.c: Likewise.
55999         * nscd/nscd_getserv_r.c: Likewise.
56000         * posix/getopt_init.c: Likewise.
56001         * posix/wordexp.c: Likewise.
56002         * stdio-common/_itoa.c: Likewise.
56003         * stdio-common/printf_fphex.c: Likewise.
56004         * stdio-common/vfprintf.c: Likewise.
56005         * string/_strerror.c: Likewise.
56006         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
56007         * sysdeps/i386/i686/hp-timing.h: Likewise.
56008         * sysdeps/mach/_strerror.c: Likewise.
56009         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
56010         * sysdeps/mach/hurd/sethostid.c: Likewise.
56011         * sysdeps/mach/hurd/xmknodat.c: Likewise.
56012         * sysdeps/mach/xpg-strerror.c: Likewise.
56013         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56014         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56015         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
56016         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
56017         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56018         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
56019         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
56020         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
56021         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
56022         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
56023         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
56024         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56025         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
56026         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56027         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56028         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
56029         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
56030         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
56031         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
56032         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
56033         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
56035         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
56037         * stdio-common/_itoa.h: Moved to ...
56038         * sysdeps/generic/_itoa.h: Here.
56040         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
56042         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
56043         instead of "_itoa.h" and "_itowa.h".
56044         * stdio-common/vfprintf.: Likewise.
56046 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56048         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
56049         <bits/wordsize.h>.
56050         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
56051         (__signbit): Likwise.
56052         (llrintf): Likwise.
56053         (llrint): Likwise.
56055 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56057         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
56058         __WORDSIZE != 64.
56060 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
56062         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
56063         OVERFLOW_EXCEPTION_OK.
56064         * math/libm-test.inc ("Philosophy"): Update comment about
56065         exception testing.
56066         (OVERFLOW_EXCEPTION): Define.
56067         (OVERFLOW_EXCEPTION_OK): Likewise.
56068         (INVALID_EXCEPTION_OK): Renumber.
56069         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56070         (IGNORE_ZERO_INF_SIGN): Likewise.
56071         (test_exceptions): Handle FE_OVERFLOW.
56072         (exp10_test): Expect overflow exceptions.
56073         (exp2_test): Likewise.
56074         (expm1_test): Likewise.
56075         (nextafter_test): Likewise.
56076         (pow_test): Likewise.
56077         (scalbn_test): Likewise.
56078         (scalbln_test): Likewise.
56080 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56082         * sysdeps/x86_64/bits/atomic.h
56083         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
56084         64bit integer.
56085         (atomic_exchange_acq): Likewise.
56086         (__arch_exchange_and_add_body): Likewise.
56087         (__arch_add_body): Likewise.
56088         (atomic_add_negative): Likewise.
56089         (atomic_add_zero): Likewise.
56091 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56093         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
56094         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
56096 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56098         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
56099         Check __x86_64__ instead of __WORDSIZE.
56101 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56103         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
56105 2012-03-19  David S. Miller  <davem@davemloft.net>
56107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56109         * sysdeps/sparc/fpu/fenv_private.h: New file.
56110         * sysdeps/sparc/fpu/math_private.h: Use it.
56111         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
56112         Remove.
56113         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
56114         (libc_feholdexcept_setroundl): Remove.
56115         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
56116         Remove.
56117         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
56118         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
56120 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56122         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
56123         int64_t instead of long int.
56124         (INSERT_WORDS64): Likwise.
56126 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56128         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56129         _Unwind_GetCFA return to _Unwind_Ptr first.
56131 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
56133         [BZ #13629]
56134         * math/s_clog.c: Include <float.h>.
56135         (__clog): Scale large or subnormal inputs.
56136         * math/s_clogf.c: Likewise.
56137         * math/s_clogl.c: Likewise.
56138         * math/s_clog10.c: Include <float.h>.
56139         (M_LOG10_2): Define.
56140         (__clog10): Scale large or subnormal inputs.
56141         * math/s_clog10f.c: Likewise.
56142         * math/s_clog10l.c: Likewise.
56143         * math/libm-test.inc (clog_test): Add more tests.
56144         (clog10_test): Likewise.
56145         * sysdeps/i386/fpu/libm-test-ulps: Update.
56146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56148         [BZ #11451]
56149         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56150         x and y.
56151         * math/libm-test.inc (atan2_test): Add another test.
56153         * Makerules (common-objdir-compile): Remove.
56154         * sysdeps/unix/Makefile (config-generated): Do not add
56155         $(unix-generated) to variable.
56156         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56157         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56158         Remove rule.
56159         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56160         Likewise.
56161         [generic bits/local_lim.h] (before-compile): Do not append to
56162         variable.
56163         [generic bits/local_lim.h] (common-generated): Likewise.
56164         [generic sys/param.h] (before-compile): Do not append to variable.
56165         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56166         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56167         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56168         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56169         include.
56170         [generic sys/param.h] (sys/param.h-includes): Remove variable.
56171         [generic sys/param.h] (sys/param.h-includes): Remove rule.
56172         [generic sys/param.h] ($(addprefix
56173         $(common-objpfx),$(sys/param.h-includes))): Likewise.
56174         [generic sys/param.h] (common-generated): Do not append to
56175         variable.
56176         [generic sys/param.h] (sysdep_headers): Likewise.
56177         [generic bits/errno.h] (before-compile): Do not append to
56178         variable.
56179         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56180         rule.
56181         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56182         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56183         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56184         [generic bits/errno.h] (common-generated): Do not append to
56185         variable.
56186         [generic bits/ioctls.h] (before-compile): Do not append to
56187         variable.
56188         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56189         rule.
56190         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56191         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56192         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56193         rule.
56194         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56195         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56196         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56197         [generic bits/ioctls.h] (common-generated): Do not append to
56198         variable.
56199         [generic sys/syscall.h] (syscall.h): Remove variable.
56200         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56201         rule.
56202         [generic sys/syscall.h] (before-compile): Do not append to
56203         variable.
56204         [generic sys/syscall.h] (common-generated): Likewise.
56205         * sysdeps/unix/errnos-tmpl.c: Remove file.
56206         * sysdeps/unix/errnos.awk: Likewise.
56207         * sysdeps/unix/ioctls-tmpl.c: Likewise.
56208         * sysdeps/unix/ioctls.awk: Likewise.
56209         * sysdeps/unix/mk-local_lim.c: Likewise.
56210         * sysdeps/unix/snarf-ioctls: Likewise.
56212 2012-03-19  Richard Henderson  <rth@twiddle.net>
56214         * sysdeps/i386/fpu/fenv_private.h: New file.
56215         * sysdeps/i386/fpu/math_private.h: Use it.
56216         (math_opt_barrier, math_force_eval): Remove.
56217         (libc_feholdexcept_setround_53bit): Remove.
56218         (libc_feupdateenv_53bit): Remove.
56219         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56220         (math_opt_barrier, math_force_eval): Remove.
56221         (libc_feholdexcept): Remove.
56222         (libc_feholdexcept_setround): Remove.
56223         (libc_fetestexcept, libc_fesetenv): Remove.
56224         (libc_feupdateenv_test): Remove.
56225         (libc_feupdateenv, libc_feholdsetround): Remove.
56226         (libc_feresetround): Remove.
56228         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56229         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56231         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56232         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56233         (libc_feupdateenv_testl): New.
56234         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56235         (libc_feupdateenv_testf): New.
56236         (libc_feupdateenv): Use libc_feupdateenv_test.
56237         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56238         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56240         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56241         (libc_feholdsetroundf, libc_feholdsetroundl): New.
56242         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56243         (libc_feresetround_noex): New.
56244         (libc_feresetround_noexf): New.
56245         (libc_feresetround_noexl): New.
56246         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56247         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56248         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56249         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56250         SET_RESTORE_ROUND.
56251         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56252         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56253         (__cos): Likewise.
56254         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56255         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56256         SET_RESTORE_ROUND_NOEX.
56257         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56258         SET_RESTORE_ROUND_NOEXF.
56259         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56260         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56261         (libc_feholdsetroundf): New.
56262         (libc_feresetround, libc_feresetroundf): New.
56264         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56265         (libc_feholdexcept_setround_53bit): Convert from macro to function.
56266         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
56268         * sysdeps/generic/math_private.h: Include <fenv.h>.
56269         (default_libc_feholdexcept): New.
56270         (default_libc_feholdexcept_setround): New.
56271         (default_libc_fesetenv, default_libc_feupdateenv): New.
56272         (libc_feholdexcept): Only define if undefined.
56273         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56274         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56275         (libc_feholdexcept_setroundl): Likewise.
56276         (libc_feholdexcept_setround_53bit): Likewise.
56277         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56278         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56279         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56280         (libc_feupdateenv_53bit): Likewise.
56281         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56282         (libc_feholdexcept): Convert from macro to inline function.
56283         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56284         (libc_fesetenv, libc_feupdateenv): Likewise.
56286         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56287         not previously defined.
56288         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56289         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56290         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56291         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56292         * sysdeps/ieee754/flt-32/math_private.h: New file.
56293         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56294         math_private.h below SET_FLOAT_WORD.
56295         (__isnan, __isinf_ns, __finite): Remove.
56296         (__isnanf, __isinf_nsf, __finitef): Remove.
56298 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
56300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56302 2012-03-17  David S. Miller  <davem@davemloft.net>
56304         [BZ #6471]
56305         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56306         for 2.16.
56308 2012-03-16  David S. Miller  <davem@davemloft.net>
56310         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56311         warnings.
56313         [BZ #6471]
56314         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56315         properly.
56316         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56317         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56318         sysdep_routines when subdir is sysvipc.
56319         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56320         __getshmlba helper.
56322         * sysdeps/sparc/fpu/libm-test/ulps: Update.
56324 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56326         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56327         [__LP64__].
56329 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56331         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56332         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56333         (__lround): Renamed to ...
56334         (__llround): This.  Replace long int with long long int.
56335         Define lround functions as aliases of llround functions.
56336         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56338 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56340         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56341         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
56342         adresses to uintptr_t.  Replace "long int" and "unsigned long
56343         int" with "greg_t" on va_arg.
56345 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56347         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56348         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56350         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56351         Move e_machine check before EI_CLASS check.  Handle x32
56352         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56353         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56354         SKIP_EM_IA_64 and include
56355         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56357         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56358         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56359         (add_system_dir): New macro.
56361         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56362         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56364 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56366         [BZ #2551]
56367         [BZ #2552]
56368         [BZ #2553]
56369         [BZ #2554]
56370         [BZ #2562]
56371         [BZ #2563]
56372         [BZ #2565]
56373         [BZ #2566]
56374         [BZ #2576]
56375         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56376         (y0): Likewise.
56377         * math/w_j0f.c (j0f): Likewise.
56378         (y0f): Likewise.
56379         * math/w_j0l.c (__j0l): Likewise.
56380         (__y0l): Likewise.
56381         * math/w_j1.c (j1): Likewise.
56382         (y1): Likewise.
56383         * math/w_j1f.c (j1f): Likewise.
56384         (y1f): Likewise.
56385         * math/w_j1l.c (__j1l): Likewise.
56386         (__y1l): Likewise.
56387         * math/w_jn.c (jn): Likewise.
56388         (yn): Likewise.
56389         * math/w_jnf.c (jnf): Likewise.
56390         (ynf): Likewise.
56391         * math/w_jnl.c (__jnl): Likewise.
56392         (__ynl): Likewise.
56393         * math/libm-test.inc (j0_test): Add more tests.
56394         (j1_test): Likewise.
56395         (jn_test): Likewise.  Add trailing semicolon to existing test.
56396         (y0_test): Likewise.
56397         (y1_test): Likewise.
56398         * sysdeps/i386/fpu/libm-test-ulps: Update.
56399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56401         [BZ #13851]
56402         [BZ #13854]
56403         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56404         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56405         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56406         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56407         (__tanl): Set errno for infinite argument.
56408         * sysdeps/i386/fpu/mptan.c: Remove.
56409         * sysdeps/i386/fpu/s_tan.S: Likewise.
56410         * sysdeps/i386/fpu/s_tanl.S: Likewise.
56411         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56412         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56413         * math/libm-test.inc (tan_test): Add more tests and enable more
56414         tests for double and long double.
56415         * sysdeps/i386/fpu/libm-test-ulps: Update.
56416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56418 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
56420         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56421         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56423 2012-03-16  Roland McGrath  <roland@hack.frob.com>
56425         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56426         * configure.in: Use it for both main tree and add-ons.
56427         * configure: Regenerated.
56429 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56431         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56433 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56435         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56436         in comment.
56438         [BZ #13851]
56439         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56440         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56441         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56442         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56443         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56444         infinite argument.
56445         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56446         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56447         != 0 for prec == 2.
56448         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56449         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56450         * sysdeps/i386/fpu/s_cosl.S: Likewise.
56451         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56452         * sysdeps/i386/fpu/s_sinl.S: Likewise.
56453         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56454         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56455         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56456         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56457         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56458         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56459         * math/libm-test.inc (cos_test): Add more tests and enable more
56460         tests for long double.
56461         (sin_test): Likewise.
56462         (sincos_test): Likewise.
56463         * sysdeps/i386/fpu/libm-test-ulps: Update.
56464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56466 2012-03-16  David S. Miller  <davem@davemloft.net>
56468         * sysdeps/sparc/fpu/math_private.h: New file.
56470 2012-03-15  David S. Miller  <davem@davemloft.net>
56472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56473         file.
56474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56476         file.
56477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56482         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56483         sysdep routines.
56484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56486         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56487         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56489         * sysdeps/sparc/sparc-ifunc.h: New file.
56490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56491         sparc-ifunc.h
56492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56494         Likewise.
56495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56496         Likewise.
56497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56501         Likewise.
56502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56507         Likewise.
56508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56509         Likewise.
56510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56514         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56515         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56516         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56517         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56527         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56528         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56529         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56530         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56531         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56532         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56533         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56535 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56537         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56538         scaling.
56539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56541 2012-03-15  Andreas Jaeger  <aj@suse.de>
56543         [BZ #13852]
56544         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56545         ieee754/flt-32 implementation for sin, cos and sincos.
56546         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56547         * sysdeps/i386/fpu/s_cosf.S: Likewise.
56548         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56549         * sysdeps/i386/fpu/s_sinf.S: Likewise.
56550         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56551         ieee754/flt-32 implementation for tan.
56553         * math/libm-test.inc (cos_test): Enable some large input tests for
56554         float as well
56555         (sin_test): Likewise.
56556         (sincos_test): Likewise.
56557         (tan_test): Add tests for large input.
56559         * sysdeps/i386/fpu/libm-test-ulps: Update.
56561 2012-03-15  Andreas Jaeger  <aj@suse.de>
56563         [BZ #13658]
56564         * math/libm-test.inc (cos_test): Add more test cases.
56565         (sin_test): Likewise.
56566         (sincos_test): Likewise.
56568 2012-03-15  Andreas Jaeger  <aj@suse.de>
56570         [BZ #13837]
56571         * math/libm-test.inc (cos_test): Add a test case for large input
56572         value.
56573         (sin_test): Likewise.
56574         (sincos_test): Likewise.
56576 2012-03-15  Andreas Jaeger  <aj@suse.de>
56577             Joseph Myers  <joseph@codesourcery.com>
56579         [BZ #13658]
56580         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56581         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56582         * sysdeps/i386/fpu/branred.c: Likewise.
56583         * sysdeps/i386/fpu/dosincos.c: Likewise.
56584         * sysdeps/i386/fpu/mpa.c: Likewise.
56585         * sysdeps/i386/fpu/s_cos.S: Likewise.
56586         * sysdeps/i386/fpu/s_sin.S: Likewise.
56587         * sysdeps/i386/fpu/s_sincos.S: Likewise.
56588         * sysdeps/i386/fpu/sincos32.c: Likewise.
56590         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56591         Define.
56592         (libc_feupdateenv_53bit): Define.
56593         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56594         Define.
56595         (libc_feupdateenv_53bit): Define.
56597         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56598         53 bit (without extend i386 double precision).
56600         * math/libm-test.inc (sincos_test): Add tests for large input.
56601         (sin): Likewise.
56602         (cos): Likewise.
56604         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56606 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56610 2012-03-15  David S. Miller  <davem@davemloft.net>
56612         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56613         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56614         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56615         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56620         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56621         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56622         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56623         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56624         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56625         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56626         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56628         file.
56629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56631         file.
56632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56634         file.
56635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56637         file.
56638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56639         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56640         fmin/fmax sysdep routines.
56641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56643 2012-03-14  David S. Miller  <davem@davemloft.net>
56645         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56648         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56649         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56650         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56651         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56652         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56653         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56657         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56658         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56659         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56660         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56661         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56662         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56663         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56664         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56665         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56666         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56667         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56668         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56669         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56670         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56671         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56672         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56674         routines.
56675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56676         file.
56677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56679         file.
56680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56682         file.
56683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56685         file.
56686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56688         file.
56689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56691         file.
56692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56693         file.
56694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56695         file.
56696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56697         file.
56698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56699         New file.
56700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56701         file.
56702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56703         file.
56704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56706         file.
56707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56709         file.
56710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56712         file.
56713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56715         VIS3 routines.
56717         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56718         New file.
56720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56722         * sysdeps/sparc/configure.in: New file.
56723         * sysdeps/sparc/configure: Generate.
56724         * configure.in (libc_cv_sparc_as_vis3): Substitute.
56725         * configure: Regenerate.
56726         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56727         * config.make.in (have-as-vis3): New.
56728         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56729         available use -Av9d instead of -Av9a.
56730         * sysdeps/sparc/sparc64/Makefile: Likewise.
56731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56733         New file.
56734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56735         file.
56736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56737         New file.
56738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56739         file.
56740         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56741         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56742         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56743         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56744         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56746         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56747         fzeros/fnegs to load 0x80000000 into a float register instead of
56748         using the stack.
56749         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56751 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
56753         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56754         bits/syscall.h.
56755         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56756         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56757         ($(inst_includedir)/bits/syscall.h): Remove rule.
56758         ($(objpfx)bits/syscall.d): Include instead of
56759         $(objpfx)syscall-list.d.
56760         (generated): Change syscall-list.h and syscall-list.d to
56761         bits/syscall.h and bits/syscall.d.
56763 2012-03-14  Roland McGrath  <roland@hack.frob.com>
56765         [BZ #13846]
56766         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56768 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
56770         [BZ #13841]
56771         * math/s_csqrt.c: Include <float.h>.
56772         (__csqrt): Scale large or subnormal inputs.
56773         * math/s_csqrtf.c: Likewise.
56774         * math/s_csqrtl.c: Likewise.
56775         * math/libm-test.inc (csqrt_test): Add more tests.
56776         * sysdeps/i386/fpu/libm-test-ulps: Update.
56777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56779         [BZ #13840]
56780         * math/libm-test.inc (hypot_test): Add more tests.
56782 2012-03-13  David S. Miller  <davem@davemloft.net>
56784         [BZ #13840]
56785         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56786         double-precision for the calculation instead of scaling.
56788 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
56790         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56791         manipulate bits before adding and subtracting TWO52[sx].
56792         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56793         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56794         Likewise.
56795         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56797 2012-03-13  David S. Miller  <davem@davemloft.net>
56799         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56800         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56801         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56802         rtld-global-offsets.h
56803         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56805         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56806         large parameters.
56808         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56810         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56811         'err' in the ifdef scope in which it is actually used.
56813         * nss/nss_db/db-init.c: Include string.h
56815 2012-03-12  David S. Miller  <davem@davemloft.net>
56817         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56818         masking out of the most significant byte of random value used.
56819         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56820         Fix coding style in previous change.
56822         * sysdeps/unix/sysv/linux/kernel-features.h
56823         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56824         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56825         expression.
56826         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56827         later.
56829 2012-03-11  David S. Miller  <davem@davemloft.net>
56831         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56832         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56833         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56834         for 'resultvar' otherwise things get truncated on 64-bit.
56836         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56837         Fix masking out of the most significant byte of random value used.
56839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56841 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
56843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56845 2012-03-09  David S. Miller  <davem@davemloft.net>
56847         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56848         variables with appropriate CPP guards.
56849         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56850         from the frame pointer, not the stack pointer.  Correct layout
56851         comments.  Fix test on resulting framesize and the management of
56852         the outregs buffer for pltexit.  Preserve floating point return
56853         values across _dl_call_pltexit call.
56854         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56855         framesize and the management of the outregs buffer for pltexit.
56856         Preserve floating point return values across _dl_call_pltexit
56857         call.
56858         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56859         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56860         (la_sparc64_gnu_pltexit): New functions.
56861         (print_exit): Fix format string for return register value.
56863 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
56865         * sunrpc/Makefile (others): Add rpcgen.
56866         ($(objpfx)rpcgen): Remove special build rule and dependency on
56867         libc.
56868         * sunrpc/rpcgen.c: New file.
56870 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
56872         [BZ #13673]
56873         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56874         * stdio-common/bug-vfprintf-nargs.c: Likewise.
56875         * sysdeps/i386/crti.S: Likewise.
56876         * sysdeps/i386/crtn.S: Likewise.
56877         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56878         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56879         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56880         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56881         * sysdeps/sh/crti.S: Likewise.
56882         * sysdeps/sh/crtn.S: Likewise.
56883         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56885         [BZ #13673]
56886         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56887         with URL.
56888         * locale/programs/locfile-kw.gperf: Likewise.
56889         * locale/programs/charmap-kw.h: Regenerated.
56890         * locale/programs/locfile-kw.h: Likewise.
56892         [BZ #13673]
56893         * intl/plural.y: Replace FSF snail mail address with URL.
56894         * intl/plural.c: Regenerated.
56896 2012-03-09  Richard Henderson  <rth@twiddle.net>
56898         * include/math_private.h: Remove file.
56899         * math/math_private.h: Move file ...
56900         * sysdeps/generic/math_private.h: ... here.
56902         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56903         * sysdeps/powerpc/fpu/math_private.h: Likewise.
56904         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56906         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56907         and <math_private.h>.
56908         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56909         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56910         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56911         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56912         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56913         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56914         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56915         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56916         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56917         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56918         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56919         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56920         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56921         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56922         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56923         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56924         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56925         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56926         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56927         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56928         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56929         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56930         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56931         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56932         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56933         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56934         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56935         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56936         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56937         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56938         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56939         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56940         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56941         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56942         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56943         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56944         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56945         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56946         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56947         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56948         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56949         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56950         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56951         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56952         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56953         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56954         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56955         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56956         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56957         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56958         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56959         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56960         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56961         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56962         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56963         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56964         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56965         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56966         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56967         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56968         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56969         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56970         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56971         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56972         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56973         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56974         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56975         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56976         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56977         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56978         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56979         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56980         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56981         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56982         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56984         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56985         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56986         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56987         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56988         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56989         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56990         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56991         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56992         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56994         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56995         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56996         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56997         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56998         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56999         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57000         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57001         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57002         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57003         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57004         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57005         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57006         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57007         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57008         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57009         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57010         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57011         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57012         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57013         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57014         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57015         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57016         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57017         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57018         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57019         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57020         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57021         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57022         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
57023         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57024         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57025         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57026         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57027         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57028         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57029         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57030         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57031         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
57032         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57033         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57034         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57035         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
57036         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57037         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
57038         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
57039         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57040         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57041         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
57042         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
57043         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57044         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57045         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57046         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
57047         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57048         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57049         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57050         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57051         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
57052         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
57053         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57054         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57055         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57056         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
57057         * sysdeps/ieee754/k_standard.c: Likewise.
57058         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57059         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57060         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57061         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57062         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57063         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57064         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57065         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57066         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57067         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57068         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57069         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57070         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57071         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57072         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57073         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57074         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57075         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57076         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57077         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
57078         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
57079         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
57080         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57081         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57082         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57083         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
57084         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57085         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57086         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57087         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57088         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57089         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57090         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57091         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57092         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57093         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57094         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57095         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
57096         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
57097         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57098         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57099         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57100         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57101         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57102         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57103         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57104         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57105         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57106         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57107         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57108         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57109         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57110         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57111         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
57112         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57113         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57114         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
57115         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
57116         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57117         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57118         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57119         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57120         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57121         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57122         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57123         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57124         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57125         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57126         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57127         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57128         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57129         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57130         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57131         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57132         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57133         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57134         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57135         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57136         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57137         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57138         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57139         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57140         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57141         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57142         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57143         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57144         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57145         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57146         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57147         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57148         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57149         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57150         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57151         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57152         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57153         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57154         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57155         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57156         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57157         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57158         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57159         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57160         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57161         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57162         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57163         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57164         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57165         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57166         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57167         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57168         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57169         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57170         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57171         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57172         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57173         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57174         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57175         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57176         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57177         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57178         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57179         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57180         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57181         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57182         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57183         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57184         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57185         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57186         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57187         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57188         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57189         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57190         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57191         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57192         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57193         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57194         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57195         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57196         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57197         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57198         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57199         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57200         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57201         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57202         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57203         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57204         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57205         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57206         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57207         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57208         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57209         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57210         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57211         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57212         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57213         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57214         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57215         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57216         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57217         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57218         * sysdeps/ieee754/s_lib_version.c: Likewise.
57219         * sysdeps/ieee754/s_matherr.c: Likewise.
57220         * sysdeps/ieee754/s_signgam.c: Likewise.
57221         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57222         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57223         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57224         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57225         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57226         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57227         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57228         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57229         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57230         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57231         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57232         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57233         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57234         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57235         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57236         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57237         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57238         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57239         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57240         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57241         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57243 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57245         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57246         * sunrpc/rpc_main.c: Likewise.
57247         * sunrpc/rpc_svcout.c: Likewise.
57249 2012-03-09  David S. Miller  <davem@davemloft.net>
57251         * include/math_private.h: New file.
57253 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57255         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57256         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57257         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57258         from <bits/socket_type.h>.
57259         (enum __socket_type): Don't define here.
57260         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57261         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57262         bits/socket_type.h.
57264         [BZ #13566]
57265         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57266         checking __USE_GNU.
57268         * Makerules ($(inst_includedir)/%.h): New rule.
57269         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57270         (install-others): Remove variable setting.
57271         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57273 2012-03-08  Richard Henderson  <rth@twiddle.net>
57275         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57276         from macro to inline function; merge with the
57277         !__LIBC_INTERNAL_MATH_INLINES version.
57278         (__ieee754_sqrtf): Likewise.
57280         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57281         to inline function.
57282         (__rintf, __floor, __floorf): Likewise.
57284         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57285         macro to inline function.
57286         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57288         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57289         not <math/math_private.h>.
57291 2012-03-08  David S. Miller  <davem@davemloft.net>
57293         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57294         copyright year.
57295         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57297 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
57299         * resolv/gai_misc.c (handle_requests): Fix struct timespec
57300         normalization.
57301         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57302         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57304 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
57306         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
57307         be defined individually, they must be defined as a block.  Define
57308         S for printing a string instead of hidint the different by using a
57309         macro for adding the 'l'.
57310         * stdio-common/tst-fphex-wide.c: Adjust.
57312 2012-03-07  Marek Polacek  <polacek@redhat.com>
57314         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57316 2012-03-08  Marek Polacek  <polacek@redhat.com>
57318         [BZ #13806]
57319         * stdio-common/Makefile (tests): Add tst-fphex-wide.
57320         * stdio-common/tst-fphex.c: Define a few macros to make the
57321         test reusable.  Use them.
57322         * stdio-common/tst-fphex-wide.c: New file.
57324 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
57326         [BZ #6911]
57327         * manual/macros.texi (gnusystems): New macro.
57328         (nongnusystems): Likewise.
57329         (gnulinuxhurdsystems): Likewise.
57330         (gnuhurdsystems): Likewise..
57331         (gnulinuxsystems): Likewise.
57332         * manual/charset.texi: Use new macros or @theglibc{} to refer to
57333         variants of the GNU system, not "GNU system".
57334         * manual/conf.texi: Likewise.
57335         * manual/errno.texi: Likewise.  Update example of errno macro
57336         expansion.
57337         * manual/filesys.texi: Likewise.
57338         (getumask): Document as specific to GNU/Hurd.
57339         * manual/install.texi: Likewise.  Reword some references to
57340         GNU/Linux.
57341         * manual/intro.texi: Likewise.
57342         * manual/io.texi: Likewise.
57343         (File Name Portability): Detail which constraints are inapplicable
57344         to all GNU systems and which are only inapplicable to GNU/Hurd.
57345         * manual/job.texi: Likewise.
57346         * manual/llio.texi: Likewise.
57347         (O_NOCTTY): Document as present on GNU/Linux.
57348         * manual/maint.texi: Likewise.
57349         * manual/memory.texi: Likewise.
57350         * manual/pattern.texi: Likewise.
57351         * manual/pipe.texi: Likewise.
57352         * manual/process.texi: Likewise.
57353         * manual/resource.texi: Likewise.
57354         (RUSAGE_CHILDREN): Remove statement about specifying a particular
57355         child on GNU/Hurd.
57356         * manual/setjmp.texi: Likewise.
57357         * manual/signal.texi: Likewise.
57358         * manual/startup.texi: Likewise.
57359         * manual/stdio.texi: Likewise.
57360         * manual/terminal.texi: Likewise.
57361         (ONLCR): Document as POSIX.
57362         (OXTABS): Document availability on GNU/Linux as XTABS.
57363         (ONOEOT): Document availability separately from other bits.
57364         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57365         * manual/time.texi: Likewise.
57366         * manual/users.texi: Likewise.
57367         * INSTALL: Regenerated.
57368         * sysdeps/gnu/errlist.c: Regenerated.
57370         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57371         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57372         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
57373         puts.
57374         * configure: Regenerated.
57376 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
57378         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57379         default includes instead of AC_HEADER_CHECK.
57380         * sysdeps/i386/configure: Regenerated.
57382         [BZ #10716]
57383         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57384         * math/s_cacoshf.c (__cacoshf): Likewise.
57385         * math/s_cacoshl.c (__cacoshl): Likewise.
57386         * math/s_casinh.c (__casinh): Set signs of result from argument.
57387         * math/s_casinhf.c (__casinhf): Likewise.
57388         * math/s_casinhl.c (__casinhl): Likewise.
57389         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57390         (casinh_test): Add more tests.
57391         * sysdeps/i386/fpu/libm-test-ulps: Update.
57392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57394 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
57396         * po/zh_TW.po: Update from translation team.
57398         * login/Makefile (distribute): Remove variable.
57399         * catgets/Makefile: Likewise.
57400         * mach/Makefile: Likewise.
57401         * malloc/Makefile: Likewise.
57402         * misc/Makefile: Likewise.
57403         * iconv/Makefile: Likewise.
57404         * nscd/Makefile: Likewise.
57405         * hurd/Makefile: Likewise.
57406         * manual/Makefile: Likewise.
57407         * locale/Makefile: Likewise.
57408         * intl/Makefile: Likewise.
57409         * conform/Makefile: Likewise.
57410         * nss/Makefile: Likewise.
57411         * time/Makefile: Likewise.
57412         * soft-fp/Makefile: Likewise.
57413         * dirent/Makefile: Likewise.
57414         * gmon/Makefile: Likewise.
57415         * po/Makefile: Likewise.
57416         * rt/Makefile: Likewise.
57417         * socket/Makefile: Likewise.
57418         * math/Makefile: Likewise.
57419         * signal/Makefile: Likewise.
57420         * debug/Makefile: Likewise.
57421         * elf/Makefile: Likewise.
57422         * timezone/Makefile: Likewise.
57423         * stdlib/Makefile: Likewise.
57424         * iconvdata/Makefile: Likewise.
57425         * sunrpc/Makefile: Likewise.
57426         * io/Makefile: Likewise.
57427         * argp/Makefile: Likewise.
57428         * inet/Makefile: Likewise.
57429         * hesiod/Makefile: Likewise.
57430         * grp/Makefile: Likewise.
57431         * csu/Makefile: Likewise.
57432         * wctype/Makefile: Likewise.
57433         * crypt/Makefile: Likewise.
57434         * libio/Makefile: Likewise.
57435         * string/Makefile: Likewise.
57436         * nis/Makefile: Likewise.
57437         * resolv/Makefile: Likewise.
57438         * stdio-common/Makefile: Likewise.
57439         * wcsmbs/Makefile: Likewise.
57440         * dlfcn/Makefile: Likewise.
57441         * posix/Makefile: Likewise.
57443         [BZ #6959]
57444         * timezone/Makefile: Don't install timezone files, just the programs
57445         and scripts.
57447 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
57449         * nss/databases.def: Add missing gshadow entry.
57451         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
57453 2012-03-06  Marek Polacek  <polacek@redhat.com>
57455         [BZ #13726]
57456         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57457         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57458         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57459         * stdio-common/tst-long-dbl-fphex.c: New file.
57461 2012-03-06  David S. Miller  <davem@davemloft.net>
57463         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57464         (set_obp_int): New function.
57465         (get_obp_int): New function.
57466         (__get_clockfreq_via_dev_openprom): Likewise.
57467         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57468         Avoid unused variable warnings on 'val' and use builtin_expect.
57469         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57470         __builtin_expect.
57471         (INLINE_CLONE_SYSCALL): Likewise.
57473 2012-03-05  David S. Miller  <davem@davemloft.net>
57475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57477 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
57479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57481         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57482         only for |x| >= 40.
57483         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57485 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
57487         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57488         Replace gettimeofday with __vdso_gettimeofday.
57490         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57491         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57492         __vdso_clock_gettime and __vdso_getcpu.
57494         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57495         time with __vdso_time.
57497 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57499         * manual/lang.texi (size_t): Note types to which size_t may be
57500         equivalent with the GNU C Library, but do not describe when
57501         differences between them are significant.
57503 2012-03-05  Andreas Jaeger  <aj@suse.de>
57505         * sysdeps/i386/fpu/libm-test-ulps: Update.
57507 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57509         [BZ #3976]
57510         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57511         (__ieee754_pow): Save and restore rounding mode and use
57512         round-to-nearest for main computations.
57513         * math/libm-test.inc (pow_test_tonearest): New function.
57514         (pow_test_towardzero): Likewise.
57515         (pow_test_downward): Likewise.
57516         (pow_test_upward): Likewise.
57517         (main): Call the new functions.
57518         * sysdeps/i386/fpu/libm-test-ulps: Update.
57519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57521         [BZ #3976]
57522         * math/libm-test.inc (cosh_test_tonearest): New function.
57523         (cosh_test_towardzero): Likewise.
57524         (cosh_test_downward): Likewise.
57525         (cosh_test_upward): Likewise.
57526         (sinh_test_tonearest): Likewise.
57527         (sinh_test_towardzero): Likewise.
57528         (sinh_test_downward): Likewise.
57529         (sinh_test_upward): Likewise.
57530         (main): Call the new functions.
57531         * sysdeps/i386/fpu/libm-test-ulps: Update.
57532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57534 2012-03-05  Tom de Vries  <tom@codesourcery.com>
57536         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57537         default stack guard is set in last bytes.
57538         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57540 2012-03-05  Kees Cook  <keescook@chromium.org>
57542         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57544         [BZ #13656]
57545         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57546         possibly allocate from heap instead of stack.
57547         * stdio-common/bug-vfprintf-nargs.c: New file.
57548         * stdio-common/Makefile (tests): Add nargs overflow test.
57550 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
57552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57554 2012-03-03  Marek Polacek  <polacek@redhat.com>
57556         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57557         * math/math_private.h: Likewise.
57558         * stdlib/tst-strtod.c: Likewise.
57559         * sysdeps/i386/i486/bits/atomic.h: Likewise.
57560         * sysdeps/x86_64/bits/atomic.h: Likewise.
57562 2012-03-02  David S. Miller  <davem@davemloft.net>
57564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57568         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57569         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57570         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57571         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57573 2012-03-02  Roland McGrath  <roland@hack.frob.com>
57575         [BZ #13792]
57576         * manual/examples/README: New file, says the example source files
57577         can be used under GPL>=2.
57578         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57579         line containing just "*/".
57580         * manual/examples/add.c: Add copyright header (GPL>=2).
57581         * manual/examples/argp-ex1.c: Likewise.
57582         * manual/examples/argp-ex2.c: Likewise.
57583         * manual/examples/argp-ex3.c: Likewise.
57584         * manual/examples/argp-ex4.c: Likewise.
57585         * manual/examples/atexit.c: Likewise.
57586         * manual/examples/db.c: Likewise.
57587         * manual/examples/dir.c: Likewise.
57588         * manual/examples/dir2.c: Likewise.
57589         * manual/examples/execinfo.c: Likewise.
57590         * manual/examples/filecli.c: Likewise.
57591         * manual/examples/filesrv.c: Likewise.
57592         * manual/examples/fmtmsgexpl.c: Likewise.
57593         * manual/examples/genpass.c: Likewise.
57594         * manual/examples/inetcli.c: Likewise.
57595         * manual/examples/inetsrv.c: Likewise.
57596         * manual/examples/isockad.c: Likewise.
57597         * manual/examples/longopt.c: Likewise.
57598         * manual/examples/memopen.c: Likewise.
57599         * manual/examples/memstrm.c: Likewise.
57600         * manual/examples/mkfsock.c: Likewise.
57601         * manual/examples/mkisock.c: Likewise.
57602         * manual/examples/mygetpass.c: Likewise.
57603         * manual/examples/pipe.c: Likewise.
57604         * manual/examples/popen.c: Likewise.
57605         * manual/examples/rprintf.c: Likewise.
57606         * manual/examples/search.c: Likewise.
57607         * manual/examples/select.c: Likewise.
57608         * manual/examples/setjmp.c: Likewise.
57609         * manual/examples/sigh1.c: Likewise.
57610         * manual/examples/sigusr.c: Likewise.
57611         * manual/examples/stpcpy.c: Likewise.
57612         * manual/examples/strdupa.c: Likewise.
57613         * manual/examples/strftim.c: Likewise.
57614         * manual/examples/strncat.c: Likewise.
57615         * manual/examples/subopt.c: Likewise.
57616         * manual/examples/swapcontext.c: Likewise.
57617         * manual/examples/termios.c: Likewise.
57618         * manual/examples/testopt.c: Likewise.
57619         * manual/examples/testpass.c: Likewise.
57620         * manual/examples/timeval_subtract.c: Likewise.
57622         [BZ #13792]
57623         * manual/time.texi (Elapsed Time): Move timeval_subtract example
57624         function to ...
57625         * manual/timeval_subtract.c.texi: ... here, new file.
57627 2012-03-02  David S. Miller  <davem@davemloft.net>
57629         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57631 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
57633         [BZ #3976]
57634         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57635         (__sin): Save and restore rounding mode and use round-to-nearest
57636         for all computations.
57637         (__cos): Save and restore rounding mode and use round-to-nearest
57638         for all computations.
57639         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57640         <fenv.h>.
57641         (tan): Save and restore rounding mode and use round-to-nearest for
57642         all computations.
57643         * math/libm-test.inc (cos_test_tonearest): New function.
57644         (cos_test_towardzero): Likewise.
57645         (cos_test_downward): Likewise.
57646         (cos_test_upward): Likewise.
57647         (sin_test_tonearest): Likewise.
57648         (sin_test_towardzero): Likewise.
57649         (sin_test_downward): Likewise.
57650         (sin_test_upward): Likewise.
57651         (tan_test_tonearest): Likewise.
57652         (tan_test_towardzero): Likewise.
57653         (tan_test_downward): Likewise.
57654         (tan_test_upward): Likewise.
57655         (main): Call the new functions.
57656         * sysdeps/i386/fpu/libm-test-ulps: Update.
57657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57659         [BZ #10135]
57660         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57661         small n, then large n, before computing and testing k+n.
57662         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57663         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57664         Likewise.
57665         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57666         Likewise.
57667         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57668         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57669         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57670         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57671         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57672         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57673         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57674         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57675         * math/libm-test.inc (scalbn_test): Add more tests.
57676         (scalbln_test): Likewise.
57678         * manual/filesys.texi (mode_t): Describe constraints on size and
57679         signedness, not exact equivalence to a particular type.
57680         (ino_t): Likewise.
57681         (ino64_t): Likewise.
57682         (dev_t): Likewise.
57683         (nlink_t): Likewise.
57684         (blkcnt_t): Likewise.
57685         (blkcnt64_t): Likewise.
57686         * manual/llio.texi (off_t): Likewise.
57688         [BZ #3976]
57689         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57690         (__ieee754_exp): Save and restore rounding mode and use
57691         round-to-nearest for all computations.
57692         * math/libm-test.inc (exp_test_tonearest): New function.
57693         (exp_test_towardzero): Likewise.
57694         (exp_test_downward): Likewise.
57695         (exp_test_upward): Likewise.
57696         (main): Call the new functions.
57697         * sysdeps/i386/fpu/libm-test-ulps: Update.
57698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57700 2012-03-01  Chris Demetriou  <cgd@google.com>
57702         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57703         have predictable order.
57705 2012-03-01  David S. Miller  <davem@davemloft.net>
57707         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57709         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57710         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57711         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57712         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57714         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57715         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57716         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57718         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57719         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57720         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57721         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57722         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57726         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57727         * sysdeps/sparc/fpu/libm-test-ulps: to here.
57728         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57730         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57731         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57732         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57733         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57734         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57735         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57736         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57737         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57738         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57739         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57740         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57741         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57742         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57743         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57744         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57745         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57746         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57747         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57748         * sysdeps/sparc/elf/configure: Regenerated.
57750 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
57752         * configure.in (AS, LD): Require binutils 2.20 or later.
57753         * configure: Regenerated.
57754         * manual/install.texi (Tools for Compilation): Give binutils 2.20
57755         as required minimum version.
57756         * INSTALL: Regenerated.
57758         [BZ #2541]
57759         [BZ #4108]
57760         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57761         before squaring exponent.
57762         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57763         bottom long double and 27 bits of top long double before squaring
57764         exponent.
57765         * math/libm-test.inc (erfc_test): Add more tests.
57766         * sysdeps/i386/fpu/libm-test-ulps: Update.
57767         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57770 2012-03-01  Kai Tietz  <ktietz@redhat.com>
57772         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57773         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57774         containing bit-fields.
57775         * soft-fp/extended.h (_FP_UNION_E): Likewise.
57776         * soft-fp/single.h (_FP_UNION_S): Likewise.
57777         * soft-fp/double.h (_FP_UNION_D): Likewise.
57779 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
57781         [BZ #13786]
57782         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57783         not include ../strcmp.S.
57784         [USE_AS_STRNCASECMP_L]: Likewise.
57785         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57786         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57787         * sysdeps/i386/i686/multiarch/strncase_l-c.c
57788         (__strncasecmp_l_ia32): Define as alias to
57789         __strncasecmp_l_nonascii.
57791         [BZ #5794]
57792         * math/libm-test.inc (expm1_test): Add test for bug 5794.
57793         * sysdeps/i386/fpu/libm-test-ulps: Update.
57794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57796         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57799 2012-02-29  Jeff Law  <law@redhat.com>
57801         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57802         out of bounds read.
57804 2012-02-29  Marek Polacek  <polacek@redhat.com>
57806         [BZ #13706]
57807         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57808         * elf/Makefile: Add rules to run tst-unused-dep.out.
57810 2012-02-28  David S. Miller  <davem@davemloft.net>
57812         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57813         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57814         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57815         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57816         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57817         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57819 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
57821         * math/libm-test.inc (llround_test): Move one test from
57822         lround_test.  Use TEST_f_L in moved test.
57823         (lround_test): Move misplaced test to llround_test.  Add testcase
57824         from bug 2561.
57826 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
57828         * sysdeps/x86_64/fpu/e_expf.S: New file.
57829         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57831 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
57833         [BZ #13637]
57834         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57835         of remain_len that may cause incomplete multi-byte character and
57836         false match.
57837         * posix/bug-regex33.c: New file.
57838         * posix/Makefile (tests): Add bug-regex33.
57840 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
57842         * manual/macros.texi: New file.
57843         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57844         * manual/libc.texinfo: Include macros.texi.
57845         * manual/creatute.texi: Likewise.
57846         * manual/install.texi: Likewise.
57847         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57848         @glibcadj{} in references to the GNU C Library.
57849         * manual/charset.texi: Likewise.
57850         * manual/conf.texi: Likewise.
57851         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
57852         when not using those macros.
57853         * manual/creature.texi: Likewise.
57854         * manual/crypt.texi: Likewise.
57855         * manual/errno.texi: Likewise.
57856         * manual/filesys.texi: Likewise.
57857         * manual/header.texi: Likewise.
57858         * manual/install.texi: Likewise.
57859         * manual/intro.texi: Likewise.
57860         * manual/io.texi: Likewise.
57861         * manual/job.texi: Likewise.
57862         * manual/lang.texi: Likewise.
57863         * manual/libc.texiinfo: Likewise.
57864         * manual/llio.texi: Likewise.
57865         * manual/locale.texi: Likewise.
57866         * manual/maint.texi: Likewise.
57867         * manual/math.texi: Likewise.
57868         * manual/memory.texi: Likewise.
57869         * manual/message.texi: Likewise.
57870         * manual/nss.texi: Likewise.
57871         * manual/pattern.texi: Likewise.
57872         * manual/process.texi: Likewise.
57873         * manual/resource.texi: Likewise.
57874         * manual/search.texi: Likewise.
57875         * manual/setjmp.texi: Likewise.
57876         * manual/signal.texi: Likewise.
57877         * manual/socket.texi: Likewise.
57878         * manual/startup.texi: Likewise.
57879         * manual/stdio.texi: Likewise.
57880         * manual/string.texi: Likewise.
57881         * manual/sysinfo.texi: Likewise.
57882         * manual/syslog.texi: Likewise.
57883         * manual/terminal.texi: Likewise.
57884         * manual/time.texi: Likewise.
57885         * manual/users.texi: Likewise.
57886         * INSTALL: Regenerated.
57887         * NOTES: Regenerated.
57888         * sysdeps/gnu/errlist.c: Regenerated.
57890 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
57892         * include/dirent.h: Include <dirstream.h> before
57893         <dirent/dirent.h>.
57895 2012-02-28  David S. Miller  <davem@davemloft.net>
57897         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57898         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57899         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57900         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57902 2012-02-27  David S. Miller  <davem@davemloft.net>
57904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57906         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57907         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57910         frame pointer instead of stack pointer relative arg slot.
57911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57912         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57913         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57915 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
57917         [BZ #3992]
57918         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57920 2012-02-27  David S. Miller  <davem@davemloft.net>
57922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57926         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57927         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57928         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57929         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57931 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
57933         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57934         later.  Allow versions 5-9.
57935         * configure: Regenerated.
57936         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57937         required minimum version and 4.6 as recommended version.  Do not
57938         mention bugs in GCC 2.7 and 2.8.
57939         * INSTALL: Regenerated.
57941 2012-02-27  David S. Miller  <davem@davemloft.net>
57943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57947         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57948         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57949         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57950         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57952         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57953         manipulate bits before adding and subtracting TWO112[sx].
57954         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57956 2012-02-27  Roland McGrath  <roland@hack.frob.com>
57958         [BZ #13775]
57959         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57960         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57961         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57962         being in POSIX, because they are in 1003.1-2008.
57964         * rt/tst-aio.c: Include <fcntl.h>.
57965         * rt/tst-aio7.c: Likewise.
57966         * rt/tst-aio64.c: Likewise.
57968         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57970 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
57972         * manual/install.texi (--with-headers): Describe headers as
57973         interface headers, not private headers.
57974         (Specific advice for GNU/Linux systems): Describe use of headers
57975         from "make headers_install", not private headers from older
57976         kernels.
57977         * INSTALL: Regenerated.
57978         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57979         Change to 2.6.19.
57980         * sysdeps/unix/sysv/linux/configure: Regenerated.
57982         * manual/llio.texi (fclean): Remove documentation.
57984         * manual/Makefile (libc-texi-generated): New variable.  Include
57985         version.texi.
57986         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57987         $(libc-texi-generated), not duplicated list of files.
57988         (version.texi, stamp-version): New rules.
57989         (realclean): Remove $(libc-texi-generated), not individual files
57990         from that list.  Do not remove dir-add.texinfo.
57991         * manual/libc.texinfo: Comment out uses of edition numbers and
57992         references to printed manual.  Remove last-updated dates.
57993         (EDITION): Comment out.
57994         (ISBN): Likewise.
57995         (VERSION, UPDATED): Remove.
57996         (version.texi): Include.
57998 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
58000         * sysdeps/posix/spawni.c: Include <signal.h>.
58001         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
58002         * sysdeps/pthread/aio_fsync.c: Likewise.
58004 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
58006         * conform/Makefile (tests): Run only when not cross-compiling and
58007         when fast-check is not defined.
58009         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
58010         * conform/data/limits.h-data: Fixes for POSIX2008.
58011         * conform/run-conformtest.sh: Run all tests.
58012         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
58013         headers.
58014         * include/bits/dlfcn.h: Likewise.
58015         * include/langinfo.h: Likewise.
58016         * include/monetary.h: Likewise.
58017         * include/sys/poll.h: Likewise.
58019         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
58020         for __USE_GNU.
58021         * posix/spawn.h: Define __need_sigset_t.
58022         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
58023         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
58024         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
58025         to get sigevent_t only.
58026         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
58027         only for __USE_GNU.
58028         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58029         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58030         process_vm_writev only for __USE_GNU.
58031         * termios/termios.h: Declare tcgetsid also for POSIX2008.
58033         * conform/Makefile: For now ignore errors from run-conformtest.
58034         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
58035         POSIX to avoid namespace pollution.  Don't prepend headers.
58036         * conform/data/aio.h-data: Fixes for POSIX testing.
58037         * conform/data/fcntl.h-data: Likewise.
58038         * conform/data/glob.h-data: Likewise.
58039         * conform/data/grp.h-data: Likewise.
58040         * conform/data/pthread.h-data: Likewise.
58041         * conform/data/pwd.h-data: Likewise.
58042         * conform/data/signal.h-data: Likewise.
58043         * conform/data/spawn.h-data: Likewise.
58044         * conform/data/stdio.h-data: Likewise.
58045         * conform/data/stdlib.h-data: Likewise.
58046         * conform/data/stropts.h-data: Likewise.
58047         * conform/data/sys/mman.h-data: Likewise.
58048         * conform/data/sys/stat.h-data: Likewise.
58049         * conform/data/sys/types.h-data: Likewise.
58050         * conform/data/sys/wait.h-data: Likewise.
58051         * conform/data/time.h-data: Likewise.
58052         * conform/data/unistd.h-data: Likewise.
58053         * conform/data/utime.h-data: Likewise.
58055         * io/sys/stat.h: fchmod was always in POSIX.
58056         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
58057         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
58058         * rt/aio.h: Define __need_timespec before including <time.h>.
58059         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
58060         struct.  Add forward declaration of pthread_attr_t and use it in
58061         sigevent.
58062         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58063         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58064         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
58065         always remove CLK_TCK definition.
58067 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
58069         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
58071 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
58073         * conform/run-conformtest.sh: New file.
58074         * conform/Makefile: Run run-conformtest for tests.
58075         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
58076         support.
58078         * conform/data/uchar.h-data: New file.
58079         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
58080         * conform/data/arpa/inet.h-data: Likewise.
58081         * conform/data/assert.h-data: Likewise.
58082         * conform/data/complex.h-data: Likewise.
58083         * conform/data/cpio.h-data: Likewise.
58084         * conform/data/ctype.h-data: Likewise.
58085         * conform/data/dirent.h-data: Likewise.
58086         * conform/data/dlfcn.h-data: Likewise.
58087         * conform/data/errno.h-data: Likewise.
58088         * conform/data/fcntl.h-data: Likewise.
58089         * conform/data/float.h-data: Likewise.
58090         * conform/data/fmtmsg.h-data: Likewise.
58091         * conform/data/fnmatch.h-data: Likewise.
58092         * conform/data/ftw.h-data: Likewise.
58093         * conform/data/glob.h-data: Likewise.
58094         * conform/data/grp.h-data: Likewise.
58095         * conform/data/iconv.h-data: Likewise.
58096         * conform/data/inttypes.h-data: Likewise.
58097         * conform/data/langinfo.h-data: Likewise.
58098         * conform/data/libgen.h-data: Likewise.
58099         * conform/data/limits.h-data: Likewise.
58100         * conform/data/locale.h-data: Likewise.
58101         * conform/data/math.h-data: Likewise.
58102         * conform/data/monetary.h-data: Likewise.
58103         * conform/data/mqueue.h-data: Likewise.
58104         * conform/data/ndbm.h-data: Likewise.
58105         * conform/data/net/if.h-data: Likewise.
58106         * conform/data/netdb.h-data: Likewise.
58107         * conform/data/netinet/in.h-data: Likewise.
58108         * conform/data/nl_types.h-data: Likewise.
58109         * conform/data/poll.h-data: Likewise.
58110         * conform/data/pthread.h-data: Likewise.
58111         * conform/data/pwd.h-data: Likewise.
58112         * conform/data/regex.h-data: Likewise.
58113         * conform/data/sched.h-data: Likewise.
58114         * conform/data/search.h-data: Likewise.
58115         * conform/data/semaphore.h-data: Likewise.
58116         * conform/data/setjmp.h-data: Likewise.
58117         * conform/data/signal.h-data: Likewise.
58118         * conform/data/spawn.h-data: Likewise.
58119         * conform/data/stdarg.h-data: Likewise.
58120         * conform/data/stdio.h-data: Likewise.
58121         * conform/data/stdlib.h-data: Likewise.
58122         * conform/data/string.h-data: Likewise.
58123         * conform/data/strings.h-data: Likewise.
58124         * conform/data/stropts.h-data: Likewise.
58125         * conform/data/sys/ipc.h-data: Likewise.
58126         * conform/data/sys/mman.h-data: Likewise.
58127         * conform/data/sys/msg.h-data: Likewise.
58128         * conform/data/sys/resource.h-data: Likewise.
58129         * conform/data/sys/select.h-data: Likewise.
58130         * conform/data/sys/sem.h-data: Likewise.
58131         * conform/data/sys/shm.h-data: Likewise.
58132         * conform/data/sys/socket.h-data: Likewise.
58133         * conform/data/sys/stat.h-data: Likewise.
58134         * conform/data/sys/statvfs.h-data: Likewise.
58135         * conform/data/sys/time.h-data: Likewise.
58136         * conform/data/sys/timeb.h-data: Likewise.
58137         * conform/data/sys/times.h-data: Likewise.
58138         * conform/data/sys/types.h-data: Likewise.
58139         * conform/data/sys/uio.h-data: Likewise.
58140         * conform/data/sys/un.h-data: Likewise.
58141         * conform/data/sys/utsname.h-data: Likewise.
58142         * conform/data/sys/wait.h-data: Likewise.
58143         * conform/data/syslog.h-data: Likewise.
58144         * conform/data/tar.h-data: Likewise.
58145         * conform/data/termios.h-data: Likewise.
58146         * conform/data/utime.h-data: Likewise.
58147         * conform/data/utmpx.h-data: Likewise.
58148         * conform/data/varargs.h-data: Likewise.
58149         * conform/data/wchar.h-data: Likewise.
58150         * conform/data/wctype.h-data: Likewise.
58151         * conform/data/wordexp.h-data: Likewise.
58153         * include/stropts.h: New file.
58154         * include/uchar.h: New file.
58155         * include/aio.h: Changes to allow conformtest.pl to use the headers.
58156         * include/assert.h: Likewise.
58157         * include/ctype.h: Likewise.
58158         * include/dirent.h: Likewise.
58159         * include/dlfcn.h: Likewise.
58160         * include/fcntl.h: Likewise.
58161         * include/fnmatch.h: Likewise.
58162         * include/glob.h: Likewise.
58163         * include/grp.h: Likewise.
58164         * include/libio.h: Likewise.
58165         * include/locale.h: Likewise.
58166         * include/math.h: Likewise.
58167         * include/net/if.h: Likewise.
58168         * include/netdb.h: Likewise.
58169         * include/netinet/in.h: Likewise.
58170         * include/pthread.h: Likewise.
58171         * include/pwd.h: Likewise.
58172         * include/regex.h: Likewise.
58173         * include/sched.h: Likewise.
58174         * include/search.h: Likewise.
58175         * include/setjmp.h: Likewise.
58176         * include/signal.h: Likewise.
58177         * include/stdio.h: Likewise.
58178         * include/stdlib.h: Likewise.
58179         * include/string.h: Likewise.
58180         * include/sys/cdefs.h: Likewise.
58181         * include/sys/mman.h: Likewise.
58182         * include/sys/msg.h: Likewise.
58183         * include/sys/resource.h: Likewise.
58184         * include/sys/select.h: Likewise.
58185         * include/sys/socket.h: Likewise.
58186         * include/sys/stat.h: Likewise.
58187         * include/sys/statvfs.h: Likewise.
58188         * include/sys/time.h: Likewise.
58189         * include/sys/times.h: Likewise.
58190         * include/sys/uio.h: Likewise.
58191         * include/sys/utsname.h: Likewise.
58192         * include/sys/wait.h: Likewise.
58193         * include/termios.h: Likewise.
58194         * include/time.h: Likewise.
58195         * include/ulimit.h: Likewise.
58196         * include/unistd.h: Likewise.
58197         * include/utime.h: Likewise.
58198         * include/wchar.h: Likewise.
58199         * include/wctype.h: Likewise.
58200         * include/wordexp.h: Likewise.
58202         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58204         * time/time.h: TIME_UTC must be a macro.
58205         Make timespec_get available for ISO C11 only as well.
58207 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
58209         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58210         Reported by Peng Haitao <penght@cn.fujitsu.com>.
58212 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58214         * configure.in: Use -o not -a in test for unsupported multi-arch.
58216 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58218         * manual/texinfo.tex: Update to version 2012-01-19.16.
58220 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58222         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58224 2012-02-24  Roland McGrath  <roland@hack.frob.com>
58226         [BZ #13738]
58227         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58228         * manual/fdl-1.3.texi: New file.
58229         * manual/fdl-1.1.texi: File removed.
58231         [BZ #13738]
58232         * manual/libc.texinfo (FDL_VERSION): New @set.
58233         Use it for mention of FDL in cover text.
58234         (Documentation License): Use it in @include file name.
58236 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58237             Roland McGrath  <roland@hack.frob.com>
58239         [BZ #5461]
58240         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58241         (not LONG_LONG_MAX and LONG_LONG_MIN.
58242         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58243         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
58244         name.
58245         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58247 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58249         [BZ #2547]
58250         [BZ #11365]
58251         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58252         manipulate bits before adding and subtracting TWO23[sx].
58253         * math/libm-test.inc (nearbyint_test): Add more tests.
58255 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58257         [BZ #2548]
58258         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58259         bits before adding and subtracting TWO23[sx].
58260         * math/libm-test.inc (rint_test): Add more tests.
58261         (rint_test_tonearest): Likewise.
58262         (rint_test_towardzero): Likewise.
58263         (rint_test_downward): Likewise.
58264         (rint_test_upward: Likewise.
58266 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58268         [BZ #10110]
58269         * include/stdc-predef.h: New file.  Extracted from features.h.
58270         * include/features.h: Include stdc-predef.h.
58271         * Makefile (headers): Add stdc-predef.h.
58272         * CONFORMANCE (Compiler limitations): Update.
58274 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58276         * manual/libc.texinfo (VERSION, UPDATED): Revert.
58278 2012-02-21  David S. Miller  <davem@davemloft.net>
58280         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58281         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58283 2012-02-20  David S. Miller  <davem@davemloft.net>
58285         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58286         using a normal save/restore sequence, rather than allocating a
58287         dummy stack frame just to store a frame pointer and restore.
58288         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58290 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58292         * manual/install.texi: Fix stray word in line-wrapped comment.
58294 2012-02-20  David S. Miller  <davem@davemloft.net>
58296         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58297         both binutils and gcc support GOTDATA.
58299         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58300         "rd %pc" in the PIC register setup sequences.
58302         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58303         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58304         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58305         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58306         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58307         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58308         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58309         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58310         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58311         (SYSCALL_ERROR_HANDLER): Likewise.
58312         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58313         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58314         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58315         (SYSCALL_ERROR_HANDLER): Likewise.
58317         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58318         (HAVE_GCC_GOTDATA): New.
58319         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58320         relocation support in both binutils and gcc.
58321         * sysdeps/sparc/elf/configure: Regenerate.
58323         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58324         * sysdeps/sparc/sparc32/elf/configure: Delete.
58325         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58326         * sysdeps/sparc/sparc64/elf/configure: Delete.
58327         * sysdeps/sparc/elf/configure.in: New file.
58328         * sysdeps/sparc/elf/configure: Generate.
58330         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58331         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58332         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58333         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58334         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58336 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58338         * manual/install.texi: Do not mention specific glibc version
58339         numbers.
58340         * manual/libc.texinfo (VERSION, UPDATED): Update.
58341         (@copying): Use @copyright{} and range of years.
58343 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58345         [BZ #13695]
58346         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58347         [crti.S not in sysdirs] (generated): Do not append.
58348         [crti.S not in sysdirs] (omit-deps): Likewise.
58349         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58350         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58351         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58352         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58353         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58354         Likewise.
58355         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58356         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58357         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58358         * csu/defs.awk: Remove file.
58359         * sysdeps/generic/initfini.c: Likewise.
58360         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58361         variable.
58362         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58363         Likewise.
58365 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58367         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58368         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58369         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58370         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58371         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58372         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58373         <bits/epoll.h>.
58374         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58375         (__EPOLL_PACKED): Define to empty if not defined by
58376         <bits/epoll.h>.
58377         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58379         bits/epoll.h.
58381 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58383         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58384         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58385         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58386         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58387         <bits/timerfd.h>.
58388         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58389         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58390         bits/timerfd.h.
58392 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58394         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58395         in C locale.
58396         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58397         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58398         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58401 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
58403         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58404         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58406 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
58408         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58409         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58410         defined.
58411         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58412         Likewise.
58413         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58414         entry for 2.16.
58416 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
58418         * math/w_acos.c: Use non-signaling floating-point comparisons.
58419         * math/w_acosf.c: Likewise.
58420         * math/w_acosh.c: Likewise.
58421         * math/w_acoshf.c: Likewise.
58422         * math/w_acoshl.c: Likewise.
58423         * math/w_acosl.c: Likewise.
58424         * math/w_asin.c: Likewise.
58425         * math/w_asinf.c: Likewise.
58426         * math/w_asinl.c: Likewise.
58427         * math/w_atanh.c: Likewise.
58428         * math/w_atanhf.c: Likewise.
58429         * math/w_atanhl.c: Likewise.
58430         * math/w_exp2.c: Likewise.
58431         * math/w_exp2f.c: Likewise.
58432         * math/w_exp2l.c: Likewise.
58433         * math/w_j0.c: Likewise.
58434         * math/w_j0f.c: Likewise.
58435         * math/w_j0l.c: Likewise.
58436         * math/w_j1.c: Likewise.
58437         * math/w_j1f.c: Likewise.
58438         * math/w_j1l.c: Likewise.
58439         * math/w_jn.c: Likewise.
58440         * math/w_jnf.c: Likewise.
58441         * math/w_log.c: Likewise.
58442         * math/w_log10.c: Likewise.
58443         * math/w_log10f.c: Likewise.
58444         * math/w_log10l.c: Likewise.
58445         * math/w_log2.c: Likewise.
58446         * math/w_log2f.c: Likewise.
58447         * math/w_log2l.c: Likewise.
58448         * math/w_logf.c: Likewise.
58449         * math/w_logl.c: Likewise.
58450         * math/w_sqrt.c: Likewise.
58451         * math/w_sqrtf.c: Likewise.
58452         * math/w_sqrtl.c: Likewise.
58453         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58454         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58455         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58456         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58457         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58459 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58461         [BZ #9739]
58462         * manual/string.texi (strnlen): Use correct parameter name in
58463         equivalent expression.
58465 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58467         [BZ #11174]
58468         * manual/users.texi (seteuid): Consistently use neweuid for
58469         argument name.
58471 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58473         [BZ #13704]
58474         * manual/nss.texi (Services in the NSS configuration): Correct
58475         list of services in example configuration file.
58477 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
58479         [BZ #11322]
58480         * manual/arith.texi: Remove statements about negative zero
58481         behaving identically to zero.
58483 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58485         [BZ #5993]
58486         * manual/install.texi: Do not document upgrading from libc5.
58488 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58490         [BZ #4596]
58491         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58493 2012-02-18  David S. Miller  <davem@davemloft.net>
58495         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58496         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58497         %o7 across the call.
58498         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58499         instead.
58500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58501         SETUP_PIC_REG_LEAF.
58502         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58503         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58504         * sysdeps/sparc/crtn.S: Likewise.
58506 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
58508         * aout/Makefile: Remove.
58510 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
58512         [BZ #13058]
58513         * manual/examples/argp-ex1.c (main): Format definition in GNU
58514         style.
58515         * manual/examples/argp-ex2.c (main): Likewise.
58516         * manual/examples/argp-ex3.c (main): Likewise.
58517         * manual/examples/argp-ex4.c (main): Likewise.
58518         * manual/examples/longopt.c (main): Use new-style prototype
58519         definition.
58520         * manual/examples/strncat.c (main): Specify return type and use
58521         (void) for arguments.
58522         * manual/examples/subopt.c (main): Use char **argv argument.
58524 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58526         [BZ #5077]
58527         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58528         rounding modes.
58530 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
58532         [BZ #6907]
58533         * manual/string.texi (strchr): Change when strchrnul is
58534         recommended.
58536 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
58538         [BZ #174]
58539         * manual/locale.texi (setlocale): Document LOCPATH.
58541 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58543         [BZ #10210]
58544         * manual/process.texi (execle): Move @dots{} before last argument.
58546 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
58548         [BZ #12047]
58549         * manual/charset.texi (Generic Charset Conversion): Fix typo
58550         (LC_TYPE -> LC_CTYPE).
58552 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
58554         [BZ #5805]
58555         * manual/arith.texi (scalbn): Use @var{} on parameter names.
58556         (scalbnf): Likewise.
58557         (scalbnl): Likewise.
58558         (scalbln): Likewise.
58559         (scalblnf): Likewise.
58560         (scalblnl): Likewise.
58561         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58562         (vwarnx): Likewise.
58563         (verr): Likewise.
58564         (verrx): Likewise.
58565         * manual/filesys.texi (telldir): Use braces around return type.
58566         * manual/llio.texi (mmap): Add space after comma.
58567         (mmap64): Likewise.
58568         * manual/math.texi (jn): Use @var{} on parameter names.
58569         (jnf): Likewise.
58570         (jnl): Likewise.
58571         (yn): Likewise.
58572         (ynf): Likewise.
58573         (ynl): Likewise.
58574         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58575         line.
58576         * manual/resource.texi (ulimit): Use @dots{} instead of literal
58577         "...".
58578         (sched_get_priority_min): Remove semicolon on @deftypefun line.
58579         (sched_get_priority_max): Likewise.
58580         * manual/signal.texi (sigvec): Add space after comma.
58581         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58582         names.
58583         (if_indextoname): Likewise.
58584         (if_freenameindex): Likewise.
58585         (sendto): Use ',' instead of '.' in prototype.
58586         * manual/startup.texi (syscall): Use @dots{} instead of literal
58587         "...".
58588         * manual/stdio.texi (__fpending): Separate initial words of
58589         paragraph from @deftypefun line.
58590         * manual/syslog.texi (syslog): Use @dots{} instead of literal
58591         "...".
58592         (vsyslog): Use @var{} on parameter names.
58593         * manual/terminal.texi (stty): Use @var{} on parameter names.
58594         * manual/users.texi (getutmp): Use @var{} on parameter names.
58595         (getutmpx): Likewise.
58597 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58599         [BZ #6884]
58600         * manual/stdio.texi (fopen): Fix typos in description of
58601         ",ccs=STRING".
58603 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
58605         [BZ #4026]
58606         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58607         get clock_id definition.
58609 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
58611         [BZ #4822]
58612         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58613         (madvise): Cast every argument to void on its own.
58615 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58617         [BZ #9902]
58618         * manual/startup.texi (Exit Status): Fix typo.
58620 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58622         [BZ #10140]
58623         * manual/examples/argp-ex1.c: Include <stdlib.h>.
58624         * manual/examples/argp-ex2.c: Likewise.
58625         * manual/examples/argp-ex3.c: Likewise.
58627 2012-02-16  Richard Henderson  <rth@redhat.com>
58629         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58630         * sysdeps/s390/s390-32/initfini.c: Remove.
58631         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58632         * sysdeps/s390/s390-64/initfini.c: Remove.
58634 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58636         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58637         compiler output for sysdeps/generic/initfini.c.
58638         * sysdeps/sh/elf/initfini.c: Remove file.
58640 2012-02-16  David S. Miller  <davem@davemloft.net>
58642         [BZ #11494]
58643         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58645         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58646         * sysdeps/sparc/crti.S: New file.
58647         * sysdeps/sparc/crtn.S: New file.
58648         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58649         * sysdeps/sparc/sparc64/Makefile: Likewise.
58651 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
58653         [BZ #3335]
58654         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58656 2012-02-15  Roland McGrath  <roland@hack.frob.com>
58658         [BZ #4822]
58659         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58661         * mach/devstream.c (cookie_io_functions_t): Macro removed.
58662         (write, read, close): Likewise.
58663         Patch by Aurelien Jarno <aurelien@aurel32.net>.
58665 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
58667         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58668         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58669         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58670         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58671         <bits/signalfd.h>.
58672         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58674         bits/signalfd.h.
58676 2012-02-14  Marek Polacek  <polacek@redhat.com>
58678         * sysdeps/x86_64/crti.S: New file.
58679         * sysdeps/x86_64/crtn.S: New file.
58680         * sysdeps/x86_64/elf/initfini.c: Remove file.
58682 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58684         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58685         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58686         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58687         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58688         <bits/inotify.h>.
58689         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58691         bits/inotify.h.
58693 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58695         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58696         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58697         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58698         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58699         <bits/eventfd.h>.
58700         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58701         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58702         bits/eventfd.h.
58704 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
58706         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58707         __feraiseexcept instead of feraiseexcept.
58709         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58710         nanosleep invocations.
58711         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58712         strings, and add error checking for a nanosleep invocations.
58714 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
58716         Replace FSF snail mail address with URLs, as per GNU coding standards.
58717         Most of the snail mail addresses were wrong anyway, and omitting
58718         them makes the source code easier to maintain.  Almost all of the
58719         changes are to license notices and to locale LC_IDENTIFICATION
58720         addresses, except for this one:
58721         * manual/libc.texinfo: In "Published by", give the FSF's URL,
58722         not its snail mail address.
58724 2012-02-09  Richard Henderson  <rth@twiddle.net>
58726         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58727         of kernel-features.h.
58729         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58731 2012-02-08  Marek Polacek  <polacek@redhat.com>
58733         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58734         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58735         * sysdeps/gnu/_G_config.h: Likewise.
58736         * sysdeps/generic/_G_config.h: Likewise.
58738 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
58740         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58741         tests.
58742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58744         * sysdeps/powerpc/powerpc32/crti.S: New file.
58745         * sysdeps/powerpc/powerpc32/crtn.S: New file.
58746         * sysdeps/powerpc/powerpc64/crti.S: New file.
58747         * sysdeps/powerpc/powerpc64/crtn.S: New file.
58749         * Makeconfig (have-initfini): Don't set.
58750         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58751         * configure.in (nopic_initfini): Don't substitute.
58752         * config.h.in (HAVE_INITFINI): Don't #undef.
58753         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58754         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58756 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
58758         Support crti.S and crtn.S provided directly by architectures.
58759         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58760         [crti.S in sysdirs] (omit-deps): Likewise.
58761         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58762         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58763         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58764         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58765         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58766         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58767         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58768         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58769         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58770         compiler output for sysdeps/generic/initfini.c.
58771         * sysdeps/i386/elf/Makefile: Remove file.
58772         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58774 2012-02-07  Marek Polacek  <polacek@redhat.com>
58776         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58777         * sysdeps/gnu/_G_config.h: Likewise.
58778         * sysdeps/mach/hurd/_G_config.h: Likewise.
58780 2012-02-07  Marek Polacek  <polacek@redhat.com>
58782         * math/Makefile (tests): Add tst-CMPLX2.
58783         * math/tst-CMPLX2.c: New file.
58785 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
58787         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58789         * math/libm-test.inc (jn_test): Add missing L suffix.
58791 2012-02-06  Marek Polacek  <polacek@redhat.com>
58793         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58794         * sysdeps/i386/fpu/e_powf.S: Likewise.
58795         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58796         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58797         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58798         * sysdeps/i386/fpu/e_pow.S: Likewise.
58799         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58800         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58801         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58802         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58803         * sysdeps/i386/fpu/e_log2.S: Likewise.
58804         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58805         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58806         * sysdeps/i386/fpu/e_powl.S: Likewise.
58807         * sysdeps/i386/fpu/s_log1p.S: Likewise.
58808         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58809         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58810         * sysdeps/i386/fpu/e_logl.S: Likewise.
58811         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58812         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58813         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58814         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58815         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58816         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58817         * sysdeps/i386/fpu/e_log.S: Likewise.
58818         * sysdeps/i386/fpu/s_cexp.S: Likewise.
58819         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58820         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58821         * sysdeps/i386/fpu/e_logf.S: Likewise.
58822         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58823         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58824         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58825         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58826         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58827         * sysdeps/i386/fpu/e_log10.S: Likewise.
58828         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58829         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58830         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58831         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58832         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58833         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58834         * sysdeps/i386/asm-syntax.h: Likewise.
58835         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58836         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58837         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58838         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58839         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58840         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58841         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58842         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58843         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58844         * sysdeps/powerpc/sysdep.h: Likewise.
58845         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58846         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58848 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
58850         [BZ #411]
58851         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58853 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
58855         * sysdeps/i386/sysdep.h: Include <features.h>.
58856         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58857         version.
58859 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
58861         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58862         Define.
58863         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58864         LOAD_PIC_REG_STR.
58866 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58868         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58869         (SETUP_PIC_REG): Use GET_PC_THUNK.
58870         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58871         macro.
58873 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58875         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58876         for non-PIC compilation.
58877         (SETUP_PIC_REG): Add .p2align directive.
58878         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58879         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58880         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58881         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58882         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58883         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58884         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58885         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58886         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58887         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58888         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58889         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58890         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58891         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58892         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58893         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58894         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58895         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58896         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58897         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58898         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58899         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58900         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58901         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58902         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58903         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58904         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58905         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58906         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58907         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58908         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58909         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58910         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58911         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58912         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58913         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58914         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58915         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58916         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58917         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58918         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58920 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58922         * math/tst-CMPLX.c: Include <stdio.h>.
58924 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
58926         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58927         float.
58928         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58929         * sysdeps/sparc/bits/mathdef.h: Likewise.
58931 2012-01-31  Marek Polacek  <polacek@redhat.com>
58933         * libio/libio.h: Don't define _PARAMS.
58934         * locale/programs/config.h: Don't define PARAMS.
58935         * stdlib/strtol_l.c: Likewise.
58936         (__strtol_l): Remove PARAMS from the prototype.
58938 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
58940         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
58941         names.  Just use the correct names.  Remove unnecessary wrapper
58942         functions.
58943         * malloc/arena.c: Likewise.
58944         * malloc/hooks.c: Likewise.
58946         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58947         ARENA_TEST says not to.  Simplify test for creation of a new arena.
58948         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58950 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
58952         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58953         into tail calls.
58954         (update_get_addr): New function.
58955         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58956         GET_ADDR_MODULE parameter.
58958 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
58960         * crypt/cert.c: Remove __STDC__ conditionals.
58961         * crypt/crypt-entry.c: Likewise.
58962         * crypt/crypt_util.c: Likewise.
58963         * libio/filedoalloc.c: Likewise.
58964         * libio/fileops.c: Likewise.
58965         * libio/genops.c: Likewise.
58966         * libio/iofclose.c: Likewise.
58967         * libio/iofdopen.c: Likewise.
58968         * libio/iofopen.c: Likewise.
58969         * libio/iofopen64.c: Likewise.
58970         * libio/iogetdelim.c: Likewise.
58971         * libio/iopopen.c: Likewise.
58972         * libio/obprintf.c: Likewise.
58973         * libio/oldfileops.c: Likewise.
58974         * libio/oldiofclose.c: Likewise.
58975         * libio/oldiofdopen.c: Likewise.
58976         * libio/oldiofopen.c: Likewise.
58977         * libio/oldiopopen.c: Likewise.
58978         * libio/wfiledoalloc.c: Likewise.
58979         * libio/wgenops.c: Likewise.
58980         * locale/programs/xmalloc.c: Likewise.
58981         * misc/syslog.c: Likewise.
58982         * stdio-common/xbug.c: Likewise.
58983         * string/memchr.c: Likewise.
58984         * string/memcmp.c: Likewise.
58985         * string/memrchr.c: Likewise.
58986         * string/rawmemchr.c: Likewise.
58987         * sysdeps/posix/getcwd.c: Likewise.
58988         * time/strftime_l.c: Likewise.
58990 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
58992         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58993         * config.make.in (config-cflags-sse2avx): Define.
58994         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58995         Fix typo.
58997 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
58999         * scripts/config.guess: Update from upstream config git repository.
59000         * scripts/config.sub: Likewise.
59002 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
59004         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
59005         (EM_NUM): Update.
59006         (R_TILEPRO_*, R_TILEGX_*): New macros.
59008         * scripts/firstversions.awk: Fix bug in version range handling.
59010         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
59012         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
59014         * include/sys/epoll.h: New file.
59015         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
59016         libc_hidden_def.
59018 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
59020         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
59021         Avoid unnecessary __WORDSIZE == 64 test.
59022         (fmaxf): Use VEX format if possible.
59023         (fmax): Likewise.
59024         (fminf): Likewise.
59025         (fmin): Likewise.
59027         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
59028         * math/math_private.h: Remove libc_fegetround* and
59029         libc_fesetround*.
59030         * sysdeps/i386/configure.in: Check for -msse2avx.
59031         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
59032         also if SSE2AVX is defined.
59033         Remove libc_fegetround* and libc_fesetround*.
59034         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
59035         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
59036         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
59037         of HAS_YMM_USABLE.
59038         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59039         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59040         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59041         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59042         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59044         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
59046 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59048         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
59049         size is not set.
59050         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59052 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
59054         [BZ #13618]
59055         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
59056         relocation.
59057         * Makeconfig (libm): Define.
59058         * elf/Makefile: Add rules to build and run tst-relsort1.
59059         * elf/tst-relsort1.c: New file.
59060         * elf/tst-relsort1mod1.c: New file.
59061         * elf/tst-relsort1mod2.c: New file.
59063 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
59065         * math/s_ldexp.c: Remove __STDC__ conditionals.
59066         * math/s_ldexpf.c: Likewise.
59067         * math/s_ldexpl.c: Likewise.
59068         * math/s_nextafter.c: Likewise.
59069         * math/s_nexttowardf.c: Likewise.
59070         * math/s_significand.c: Likewise.
59071         * math/s_significandf.c: Likewise.
59072         * math/s_significandl.c: Likewise.
59073         * math/w_jnl.c: Likewise.
59074         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59075         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59076         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59077         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59078         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59079         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59080         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
59081         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59082         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59083         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59084         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59085         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59086         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59087         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59088         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59089         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59090         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59091         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59092         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59093         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59094         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59095         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59096         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59097         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59098         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59099         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59100         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59101         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59102         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59103         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59104         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59105         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59106         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59107         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59108         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59109         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59110         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59111         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59112         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59113         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59114         * sysdeps/ieee754/k_standard.c: Likewise.
59115         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59116         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59117         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59118         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59119         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59120         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59121         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59122         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59123         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59124         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59125         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59126         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59127         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59128         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59129         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59130         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59131         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59132         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59133         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59134         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59135         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59136         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59137         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59138         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59139         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59140         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59141         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59142         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59143         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59144         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59145         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59146         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59147         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59148         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59149         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59150         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59151         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59152         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59153         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59154         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59155         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59156         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59157         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59158         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59159         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59160         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59161         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59162         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59163         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59164         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59165         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59166         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59167         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59168         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59169         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59170         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59171         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59172         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59173         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59174         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59175         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59176         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59177         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59178         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59179         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59180         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59181         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59182         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59183         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59184         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59185         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59186         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59187         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59188         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59189         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59190         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59191         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59192         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59193         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59194         * sysdeps/ieee754/s_matherr.c: Likewise.
59195         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59196         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59197         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59198         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59200 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59202         * crypt/md5.h: Remove __STDC__ conditionals.
59203         * libio/libioP.h: Likewise.
59204         * locale/programs/config.h: Likewise.
59205         * sysdeps/generic/sysdep.h: Likewise.
59206         * sysdeps/i386/asm-syntax.h: Likewise.
59207         * sysdeps/s390/asm-syntax.h: Likewise.
59208         * sysdeps/unix/sysdep.h: Likewise.
59209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59212 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59214         * libio/libio.h: Remove __STDC__ conditionals.
59215         * malloc/obstack.h: Likewise.
59216         * math/complex.h: Likewise.
59217         * math/math.h: Likewise.
59218         * sysdeps/generic/_G_config.h: Likewise.
59219         * sysdeps/gnu/_G_config.h: Likewise.
59220         * sysdeps/mach/hurd/_G_config.h: Likewise.
59221         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59222         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59223         * sysdeps/sparc/bits/mathdef.h: Likewise.
59225 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
59227         [BZ #13583]
59228         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59229         Clean up HAS_* macros.
59230         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59231         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59232         possible.
59233         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59234         HAS_AVX.
59235         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59236         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59237         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59238         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59239         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59241 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
59243         * elf/tst-unique3.cc (gets): Remove declaration.
59244         * elf/tst-unique3lib.cc (gets): Likewise.
59245         * elf/tst-unique3lib2.cc (gets): Likewise.
59246         * elf/tst-unique4.cc (gets): Likewise.
59248 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
59250         * include/stdio.h: Add C++ protection.  Add gets declarations and
59251         definitions.
59252         * debug/tst-chk1.c: Don't declare gets here.
59253         * stdio-common/tst-gets.c: Likewise.
59255 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59257         * posix/glob: Remove directory.
59259 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59261         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59263 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
59265         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59266         of the non-standard EPFNOSUPPORT.
59268 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59270         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59271         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59272         ANYWHERE set to 1 only on KERN_NO_SPACE error.
59274 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
59276         * wcsmbs/uchar.h: Test __STDC_VERSION__.
59278 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
59280         * nscd/aicache.c (addhstaiX): Do not cache negative results of
59281         transient errors.
59282         * nscd/grpcache.c (cache_addgr): Likewise.
59283         * nscd/hstcache.c (cache_addhst): Likewise.
59284         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59285         * nscd/pwdcache.c (cache_addpw): Likewise.
59286         * nscd/servicescache.c (cache_addserv): Likewise.
59288 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
59290         * malloc/malloc.c: Various cleanups.
59291         * malloc/hooks.c: Likewise.
59293         * stdlib/Makefile (tests): Add bug-fmtmsg1.
59294         * stdlib/bug-fmtmsg1.c: New file.
59296         * stdlib/fmtmsg.c (init): Add missing unlock.
59297         Patch by Peng Haitao <penght@cn.fujitsu.com>.
59299 2012-01-12  Marek Polacek  <polacek@redhat.com>
59301         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59302         and _GNU_SOURCE.
59304 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59306         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59307         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59308         macro to ensure uniqueness of label name.
59309         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59310         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59312 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
59314         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59316         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59317         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59318         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59319         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59321 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
59323         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59325         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59326         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59327         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59329         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59331         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59332         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59333         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59334         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59336         * math/bits/math-finite.h: Add ldexp support.
59338 2012-01-10  Marek Polacek  <polacek@redhat.com>
59340         * locale/programs/localedef.h (show_archive_content): Add noreturn
59341         attribute.
59343 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
59345         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59347 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59349         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59351         * io/Makefile (headers): Add bits/poll2.h.
59353 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
59355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59356         typo #include statement.
59358 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59360         * include/sys/cdefs.h: Define __attribute_alloc_size.
59361         * catgets/gencat.c: Add alloc_size attribute and apply consistently
59362         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59363         * elf/pldd.c: Likewise.
59364         * iconv/iconv_charmap.c: Likewise.
59365         * iconv/iconvconfig.c: Likewise.
59366         * iconv/strtab.c: Likewise.
59367         * locale/programs/locale.c: Likewise.
59368         * locale/programs/localedef.h: Likewise.
59369         * locale/programs/simple-hash.c: Likewise.
59370         * nscd/nscd.h: Likewise.
59371         * nss/makedb.c: Likewise.
59372         * sysdeps/generic/ldconfig.h: Likewise.
59373         * locale/programs/localedef.c: Remove xmalloc prototype.
59374         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59376 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59378         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59379         appropriate.
59381 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59383         * math/Makefile (tests): Add tst-CMPLX.
59384         * math/tst-CMPLX.c: New file.
59386         * math/complex.h (CMPLXL): Fix typo.
59388         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59389         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59390         GLIBC_2.16.
59391         * debug/tst-chk1.c: Add poll and ppoll tests.
59392         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59393         * include/sys/poll.h: Add hidden proto for ppoll.
59394         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59395         * sysdeps/mach/hurd/ppoll.c: Likewise.
59396         * io/ppoll.c: Likewise.
59397         * debug/poll_chk.c: New file.
59398         * debug/ppoll_chk.c: New file.
59399         * include/bits/poll2.h: New file.
59400         * io/bits/poll2.h: New file.
59402         [BZ #1350]
59403         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59405         * configure.in: static is always set to yes.  Remove.
59406         * config.make.in: Don't set build-static.
59407         * Makeconfig: Remove use of build-static.
59408         * dlfcn/Makefile: Likewise.
59409         * elf/Makefile: Likewise.
59410         * math/Makefile: Likewise.
59411         * misc/Makefile: Likewise.
59412         * nptl/Makefile: Likewise.
59413         * sysdeps/mach/hurd/Makefile: Likewise.
59415         * configure.in: PWD_P is not used anymore.
59416         * config.make.in: Remove PWD_P entry.
59418         * configure.in: Remove last remnants of RANLIB.
59419         No need to check for signed size_t anymore.
59420         Don't set libc_commonpagesize and libc_relro_required here for Alpha
59421         and IA-64.
59422         Remove __builtin_expect test because we require at least gcc 3.4.
59423         * aclocal.m4: Likewise.
59425         * wcsmbs/mbrtoc16.c: Implement using towc function.
59426         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59427         * wcsmbs/wcsmbsload.c: Likewise.
59428         * iconv/gconv_simple.c: Likewise.
59429         * iconv/gconv_int.h: Likewise.
59430         * iconv/gconv_builtin.h: Likewise.
59431         * iconv/iconv_prog.c: Remove CHAR16 handling.
59433         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59435         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59437         * configure.in: Remove --with-elf and --enable-bounded options.
59438         Dont set base_machine for ia64.  More non-ELF conditions removed.
59439         Remove testing and setting of leading underscore information.
59440         * config.make.in (build-bounded): Set to no.
59441         * config.h.in: Remove NO_UNDERSCORES entry.
59442         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
59443         them.
59444         * csu/start.c: Remove !NO_UNDERSCORE code.
59445         * locale/localeinfo.h: Likewise.
59446         * sysdeps/generic/machine-gmon.h: Likewise.
59447         * sysdeps/generic/sysdep.h: Likewise.
59448         * sysdeps/i386/sysdep.h: Likewise.
59449         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59450         * sysdeps/mach/sysdep.h: Likewise.
59451         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59452         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59453         * sysdeps/sh/sysdep.h: Likewise.
59454         * sysdeps/sparc/sparc32/alloca.S: Likewise.
59455         * sysdeps/unix/i386/sysdep.S: Likewise.
59456         * sysdeps/unix/sparc/start.c: Likewise.
59457         * sysdeps/unix/sparc/sysdep.S: Likewise.
59458         * sysdeps/unix/sparc/sysdep.h: Likewise.
59459         * sysdeps/unix/start.c: Likewise.
59460         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59461         * sysdeps/x86_64/sysdep.h: Likewise.
59463 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
59465         [BZ #13553]
59466         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59467         for non-gcc.
59468         * argp/argp-fmtstream.h: Use const instead __const.
59469         * argp/argp.h: Likewise.
59470         * assert/assert.h: Likewise.
59471         * bits/fenv.h: Likewise.
59472         * bits/sched.h: Likewise.
59473         * bits/sigset.h: Likewise.
59474         * bits/sigthread.h: Likewise.
59475         * catgets/nl_types.h: Likewise.
59476         * conform/data/pthread.h-data: Likewise.
59477         * crypt/crypt-private.h: Likewise.
59478         * crypt/crypt.h: Likewise.
59479         * crypt/crypt_util.c: Likewise.
59480         * ctype/ctype.h: Likewise.
59481         * debug/execinfo.h: Likewise.
59482         * debug/mbsnrtowcs_chk.c: Likewise.
59483         * debug/mbsrtowcs_chk.c: Likewise.
59484         * debug/wcsnrtombs_chk.c: Likewise.
59485         * debug/wcsrtombs_chk.c: Likewise.
59486         * debug/wcstombs_chk.c: Likewise.
59487         * dirent/dirent.h: Likewise.
59488         * dlfcn/dlfcn.h: Likewise.
59489         * elf/neededtest4.c: Likewise.
59490         * grp/grp.h: Likewise.
59491         * gshadow/gshadow.h: Likewise.
59492         * iconv/gconv.h: Likewise.
59493         * iconv/gconv_int.h: Likewise.
59494         * iconv/gconv_simple.c: Likewise.
59495         * iconv/iconv.h: Likewise.
59496         * iconv/loop.c: Likewise.
59497         * iconv/skeleton.c: Likewise.
59498         * include/aio.h: Likewise.
59499         * include/aliases.h: Likewise.
59500         * include/argz.h: Likewise.
59501         * include/arpa/inet.h: Likewise.
59502         * include/assert.h: Likewise.
59503         * include/dirent.h: Likewise.
59504         * include/dlfcn.h: Likewise.
59505         * include/execinfo.h: Likewise.
59506         * include/fcntl.h: Likewise.
59507         * include/fenv.h: Likewise.
59508         * include/glob.h: Likewise.
59509         * include/grp.h: Likewise.
59510         * include/libintl.h: Likewise.
59511         * include/mntent.h: Likewise.
59512         * include/netdb.h: Likewise.
59513         * include/pwd.h: Likewise.
59514         * include/rpc/netdb.h: Likewise.
59515         * include/sched.h: Likewise.
59516         * include/search.h: Likewise.
59517         * include/shadow.h: Likewise.
59518         * include/signal.h: Likewise.
59519         * include/stdio.h: Likewise.
59520         * include/stdlib.h: Likewise.
59521         * include/string.h: Likewise.
59522         * include/sys/socket.h: Likewise.
59523         * include/sys/stat.h: Likewise.
59524         * include/sys/statfs.h: Likewise.
59525         * include/sys/statvfs.h: Likewise.
59526         * include/sys/syslog.h: Likewise.
59527         * include/sys/time.h: Likewise.
59528         * include/sys/uio.h: Likewise.
59529         * include/time.h: Likewise.
59530         * include/unistd.h: Likewise.
59531         * include/utmp.h: Likewise.
59532         * include/wchar.h: Likewise.
59533         * include/wctype.h: Likewise.
59534         * inet/aliases.h: Likewise.
59535         * inet/arpa/inet.h: Likewise.
59536         * inet/netinet/ether.h: Likewise.
59537         * inet/netinet/in.h: Likewise.
59538         * intl/libintl.h: Likewise.
59539         * io/bits/fcntl2.h: Likewise.
59540         * io/fcntl.h: Likewise.
59541         * io/ftw.h: Likewise.
59542         * io/sys/poll.h: Likewise.
59543         * io/sys/stat.h: Likewise.
59544         * io/sys/statfs.h: Likewise.
59545         * io/sys/statvfs.h: Likewise.
59546         * io/utime.h: Likewise.
59547         * libio/bits/stdio.h: Likewise.
59548         * libio/bits/stdio2.h: Likewise.
59549         * libio/libio.h: Likewise.
59550         * libio/libioP.h: Likewise.
59551         * libio/stdio.h: Likewise.
59552         * locale/lc-ctype.c: Likewise.
59553         * locale/locale.h: Likewise.
59554         * login/utmp.h: Likewise.
59555         * malloc/arena.c: Likewise.
59556         * malloc/malloc.c: Likewise.
59557         * malloc/malloc.h: Likewise.
59558         * malloc/mcheck.c: Likewise.
59559         * malloc/mtrace.c: Likewise.
59560         * math/bits/mathcalls.h: Likewise.
59561         * math/fenv.h: Likewise.
59562         * math/math_private.h: Likewise.
59563         * misc/bits/error.h: Likewise.
59564         * misc/bits/syslog.h: Likewise.
59565         * misc/err.h: Likewise.
59566         * misc/error.h: Likewise.
59567         * misc/fstab.h: Likewise.
59568         * misc/mntent.h: Likewise.
59569         * misc/regexp.h: Likewise.
59570         * misc/search.h: Likewise.
59571         * misc/sgtty.h: Likewise.
59572         * misc/sys/mman.h: Likewise.
59573         * misc/sys/syslog.h: Likewise.
59574         * misc/sys/uio.h: Likewise.
59575         * misc/sys/xattr.h: Likewise.
59576         * misc/ttyent.h: Likewise.
59577         * nis/rpcsvc/ypclnt.h: Likewise.
59578         * nss/nss.h: Likewise.
59579         * posix/bits/unistd.h: Likewise.
59580         * posix/fnmatch.h: Likewise.
59581         * posix/glob.h: Likewise.
59582         * posix/sched.h: Likewise.
59583         * posix/spawn.h: Likewise.
59584         * posix/sys/wait.h: Likewise.
59585         * posix/unistd.h: Likewise.
59586         * posix/wordexp.h: Likewise.
59587         * pwd/pwd.h: Likewise.
59588         * resolv/netdb.h: Likewise.
59589         * resource/sys/resource.h: Likewise.
59590         * rt/aio.h: Likewise.
59591         * rt/bits/mqueue2.h: Likewise.
59592         * rt/mqueue.h: Likewise.
59593         * shadow/shadow.h: Likewise.
59594         * signal/signal.h: Likewise.
59595         * socket/send.c: Likewise.
59596         * socket/sendto.c: Likewise.
59597         * socket/sys/socket.h: Likewise.
59598         * stdio-common/printf.h: Likewise.
59599         * stdlib/bits/stdlib.h: Likewise.
59600         * stdlib/fmtmsg.h: Likewise.
59601         * stdlib/monetary.h: Likewise.
59602         * stdlib/stdlib.h: Likewise.
59603         * stdlib/ucontext.h: Likewise.
59604         * streams/stropts.h: Likewise.
59605         * string/argz.h: Likewise.
59606         * string/bits/string2.h: Likewise.
59607         * string/string.h: Likewise.
59608         * string/strings.h: Likewise.
59609         * sunrpc/rpc/auth.h: Likewise.
59610         * sunrpc/rpc/auth_des.h: Likewise.
59611         * sunrpc/rpc/clnt.h: Likewise.
59612         * sunrpc/rpc/netdb.h: Likewise.
59613         * sunrpc/rpc/pmap_clnt.h: Likewise.
59614         * sunrpc/rpc/xdr.h: Likewise.
59615         * sysdeps/generic/inttypes.h: Likewise.
59616         * sysdeps/generic/net/if.h: Likewise.
59617         * sysdeps/generic/sys/swap.h: Likewise.
59618         * sysdeps/gnu/net/if.h: Likewise.
59619         * sysdeps/gnu/utmpx.h: Likewise.
59620         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59621         * sysdeps/i386/i486/bits/string.h: Likewise.
59622         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59623         * sysdeps/s390/bits/string.h: Likewise.
59624         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59625         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59626         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59627         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59628         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59629         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59630         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59631         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59632         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59633         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59634         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59635         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59636         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59637         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59638         * sysdeps/unix/sysv/linux/readv.c: Likewise.
59639         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59640         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59641         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59642         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59643         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59644         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59645         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59646         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59647         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59648         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59649         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59650         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59651         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59652         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59653         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59654         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59655         * sysvipc/sys/ipc.h: Likewise.
59656         * sysvipc/sys/msg.h: Likewise.
59657         * sysvipc/sys/sem.h: Likewise.
59658         * sysvipc/sys/shm.h: Likewise.
59659         * termios/termios.h: Likewise.
59660         * time/sys/time.h: Likewise.
59661         * time/time.h: Likewise.
59662         * wcsmbs/bits/wchar2.h: Likewise.
59663         * wcsmbs/uchar.h: Likewise.
59664         * wcsmbs/wchar.h: Likewise.
59665         * wctype/wctype.h: Likewise.
59667         [BZ #13551]
59668         * Makeconfig: Remove all but ELF support including AIX support.
59669         * Makerules: Likewise.
59670         * config.h.in: Likewise.
59671         * config.make.in: Likewise.
59672         * configure: Likewise.
59673         * configure.in: Likewise.
59674         * csu/Makefile: Likewise.
59675         * csu/version.c: Likewise.
59676         * debug/Makefile: Likewise.
59677         * dlfcn/Makefile: Likewise.
59678         * elf/Makefile: Likewise.
59679         * extra-lib.mk: Likewise.
59680         * iconv/Makefile: Likewise.
59681         * include/libc-symbols.h: Likewise.
59682         * include/shlib-compat.h: Likewise.
59683         * resolv/Makefile: Likewise.
59684         * resolv/res_libc.c: Likewise.
59685         * rt/Makefile: Likewise.
59686         * sysdeps/i386/asm-syntax.h: Likewise.
59687         * sysdeps/i386/sysdep.h: Likewise.
59688         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59689         * sysdeps/mach/sysdep.h: Likewise.
59690         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59691         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59692         * sysdeps/s390/asm-syntax.h: Likewise.
59693         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59694         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59695         * sysdeps/sh/sysdep.h: Likewise.
59696         * sysdeps/unix/sparc/sysdep.h: Likewise.
59697         * sysdeps/wordsize-32/divdi3.c: Likewise.
59698         * sysdeps/x86_64/sysdep.h: Likewise.
59700         * argp/Versions: Remove _argp_unlock_xxx.
59702         [BZ #13559]
59703         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
59704         * abilist/libBrokenLocale.abilist: Likewise.
59705         * abilist/libanl.abilist: Likewise.
59706         * abilist/libc.abilist: Likewise.
59707         * abilist/libcrypt.abilist: Likewise.
59708         * abilist/libdl.abilist: Likewise.
59709         * abilist/libm.abilist: Likewise.
59710         * abilist/libnsl.abilist: Likewise.
59711         * abilist/libpthread.abilist: Likewise.
59712         * abilist/libresolv.abilist: Likewise.
59713         * abilist/librt.abilist: Likewise.
59714         * abilist/libthread_db.abilist: Likewise.
59715         * abilist/libutil.abilist: Likewise.
59716         * abilist/libnss_db.abilist: New file.
59718         * scripts/abilist.awk: Add support for indirect functions.
59720         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59722         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59724         * shlib-versions: Remove entries for ports architectures.
59726         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
59727         files in ports.
59728         * elf/stackguard-macros.h: Remove support for IA-64.
59729         * elf/tst-auditmod1.c: Likewise.
59730         * sysdeps/generic/ldsodefs.h: Likewise.
59732         * sysdeps/unix/sysv/linux/configure.in: Ports should define
59733         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59734         configure files.
59736         [BZ #13552]
59737         * configure.in: Remove --enable-omitfp support.
59738         * FAQ.in: Adjust.
59739         * config.make.in: Likewise.
59740         * Makeconfig: Likewise.
59741         * manual/install.texi: Likewise.
59743         In case anyone cares, the IA-64 architecture could move to ports.
59744         * sysdeps/ia64/*: Removed.
59745         * sysdeps/unix/sysv/linux/ia64/*: Removed.
59746         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59748         [BZ #13555]
59749         * configure.in: Remove entries for unsupported architectures.
59751         [BZ #13533]
59752         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59753         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
59754         routines.
59755         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59756         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59757         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
59758         fall back to using wcrtomb.
59759         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59760         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
59761         renaming.
59762         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59763         * wcsmbs/tst-c16c32-1.c: New file.
59765         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59766         local variable.
59768         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59770         * elf/tst-unique3.cc: Add explicit declaration of gets.
59771         * elf/tst-unique3lib.cc: Likewise.
59772         * elf/tst-unique3lib2.cc: Likewise.
59773         * elf/tst-unique4.cc: Likewise.
59775         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59777 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
59779         [BZ #13566]
59780         * assert/assert.h (static_assert): Don't define for C++.
59781         * libio/stdio.h (gets): Do declare for C++ <= C++11.
59782         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59784 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
59786         * iconv/loop.c (single loop): Fix assertion in storing of
59787         remaining bytes.
59789         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59791 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
59793         * posix/getconf.c: Update copyright year.
59794         * nss/getent.c: Likewise.
59795         * nss/makedb.c: Likewise.
59796         * iconv/iconvconfig.c: Likewise.
59797         * iconv/iconv_prog.c: Likewise.
59798         * elf/ldconfig.c: Likewise.
59799         * elf/pldd.c: Likewise.
59800         * elf/sotruss.ksh: Likewise.
59801         * catgets/gencat.c: Likewise.
59802         * csu/version.c: Likewise.
59803         * elf/ldd.bash.in: Likewise.
59804         * elf/sprof.c (print_version): Likewise.
59805         * locale/programs/locale.c: Likewise.
59806         * locale/programs/localedef.c: Likewise.
59807         * login/programs/pt_chown.c: Likewise.
59808         * nscd/nscd.c (print_version): Likewise.
59809         * debug/xtrace.sh: Likewise.
59810         * malloc/memusage.sh: Likewise.
59811         * malloc/mtrace.pl: Likewise.
59812         * debug/catchsegv.sh: Likewise.
59814 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
59816         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59817         pure attribute.
59819 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
59821         [BZ #13533]
59822         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59823         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59824         transformations.
59825         * iconv/gconv_int.h: Likewise.
59826         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59827         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59828         from libc for GLIBC_2.16.
59829         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59830         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59831         * wcsmbs/uchar.h: Really define mbstate_t.
59832         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59833         * wcsmbs/c16rtomb.c: New file.
59834         * wcsmbs/mbrtoc16.c: New file.
59835         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59836         for C/POSIX locale.
59837         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59838         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59840         * wcsmbs/wchar.h: Add missing __restrict.
59842 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
59844         [BZ #13532]
59845         * time/Makefile (routines): Add timespec_get.
59846         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59847         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
59848         timespec for ISO C11.
59849         * time/timespec_get.c: New file.
59850         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59851         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59853         [BZ #13531]
59854         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59855         * stdlib/stdlib.h: Declare aligned_alloc.
59856         * Versions.def: Add GLIBC_2.16 for libc.
59857         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59859         [BZ 13527]
59860         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59861         ISO C11.
59863         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59864         code.
59866         [BZ #13528]
59867         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59869         [BZ #13529]
59870         * assert/assert.h (static_assert): Define.
59872         * version.h: Update for 2.16 development version.
59874         [BZ #13526]
59875         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59876         _ISOC11_SOURCE.
59878         * version.h (RELEASE): Bump for 2.15 release.
59879         * include/features.h (__GLIBC_MINOR__): Bump to 15.
59881         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59882         Patch by Marek Polacek <mpolacek@redhat.com>.
59884         * bits/byteswap.h: Protect long long constants with __extension__.
59885         * sysdeps/i386/bits/byteswap.h: Likewise.
59886         * sysdeps/ia64/bits/byteswap.h: Likewise.
59887         * sysdeps/s390/bits/byteswap.h: Likewise.
59888         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59890 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59892         [BZ #13540]
59893         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59894         destination buffer.
59895         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59897 2011-12-23  Marek Polacek  <polacek@redhat.com>
59899         * elf/dl-addr.c (determine_info): Add inline keyword.
59900         * elf/tst-auditmod4b.c (check_avx): Likewise.
59901         * elf/tst-auditmod6b.c (check_avx): Likewise.
59902         * elf/tst-auditmod6c.c (check_avx): Likewise.
59903         * elf/tst-auditmod7b.c (check_avx): Likewise.
59905 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
59907         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59908         !__SSE_MATH__.
59910 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59912         [BZ #13540]
59913         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59914         processing for last bytes.
59916 2011-08-06  Bruno Haible  <bruno@clisp.org>
59918         [BZ #13061]
59919         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59920         U+0385, not to U+1FEE.
59922         [BZ #13062]
59923         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59924         entry for U+00A5 U+0301.
59926 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
59928         [BZ #13166]
59929         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59930         buffer for the output is too small.
59932         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59933         optimization.
59935         [BZ #13185]
59936         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59937         SSE flags if possible.
59939 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59941         [BZ #13540]
59942         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59943         processing for last bytes.
59945 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
59947         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59948         (syscall-list-default-options, syscall-list-default-condition)
59949         (syscall-list-includes): Define.
59950         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59951         list of ABIs and options and #if conditions for each ABI.  Do not
59952         handle common syscalls between ABIs specially.
59953         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59954         Remove.
59955         (syscall-list-variants, syscall-list-32bit-options)
59956         (syscall-list-32bit-condition, syscall-list-64bit-options)
59957         (syscall-list-64bit-condition): Define.
59958         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59959         (syscall-list-variants, syscall-list-32bit-options)
59960         (syscall-list-32bit-condition, syscall-list-64bit-options)
59961         (syscall-list-64bit-condition): Define.
59962         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59963         Remove.
59964         (syscall-list-variants, syscall-list-32bit-options)
59965         (syscall-list-32bit-condition, syscall-list-64bit-options)
59966         (syscall-list-64bit-condition): Define.
59967         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59968         Remove.
59969         (syscall-list-variants, syscall-list-32bit-options)
59970         (syscall-list-32bit-condition, syscall-list-64bit-options)
59971         (syscall-list-64bit-condition): Define.
59973 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
59975         * locale/iso-639.def: Add brx entry.
59977         [BZ #13328]
59978         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59979         Proposed by Mariusz_Cukr <marcukr@op.pl>.
59981         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59982         __feraiseexcept_renamed.
59984 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
59986         [BZ #13538]
59987         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59988         EPOLLET with unsigned values.
59989         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59990         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59992         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59993         to large cancellation.
59994         * math/s_cacoshf.c: Likewise.
59995         * math/s_cacoshl.c: Likewise.
59997 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
59999         [BZ #13305]
60000         [BZ #12786]
60001         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
60002         * math/s_cacoshf.c: Likewise.
60003         * math/s_cacoshl.c: Likewise.
60005 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60007         [BZ #13439]
60008         * iconv/gconv.h: Define __GCONV_SWAP.
60009         * iconvdata/unicode.c: The swap bit must be stored in __flags.
60010         * iconvdata/utf-16.c: Likewise.
60011         * iconvdata/utf-32.c: Likewise.
60013 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
60015         [BZ #13524]
60016         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
60017         numerator after shifting it by one limb.
60019 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
60021         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
60022         under [__USE_EXTERN_INLINES].
60024 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60026         [BZ #13446]
60027         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
60029 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60031         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
60032         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
60033         optimized code.
60034         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
60035         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
60036         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
60037         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
60038         for strncasecmp/strncasecmp_l compilation.
60039         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
60040         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
60042 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
60044         [BZ #13484]
60045         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
60046         of __asm__.
60048 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60050         [BZ #13506]
60051         * time/tzfile.c (__tzfile_read): Check values from file header.
60053 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60055         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
60056         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
60057         * powerpc/powerpc32/dl-start.S: Likewise.
60058         * powerpc/powerpc32/elf/start.S: Likewise.
60059         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60060         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
60061         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
60062         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
60063         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60064         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
60065         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
60066         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60067         * powerpc/powerpc32/fpu/s_round.S: Likewise.
60068         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60069         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60070         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60071         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
60072         * powerpc/powerpc32/memset.S: Likewise.
60073         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60074         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60075         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60076         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60077         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60078         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60079         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60080         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60081         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
60082         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
60083         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
60084         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
60085         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
60087 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60089         * math/libm-test.inc: Added more nearbyint tests.
60090         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
60091         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
60092         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
60093         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
60095 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
60097         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
60098         FD_CLOEXEC.
60100 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60102         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
60103         Add wcscpy-ssse3 wcscpy-c.
60104         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
60105         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
60106         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
60107         * sysdeps/x86_64/wcschr.S: New file.
60108         * sysdeps/x86_64/wcsrchr.S: New file.
60109         * string/test-strcmp.c: Remove checking of wcscmp function for
60110         wrong alignments.
60111         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
60112         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
60113         wcsrchr-sse2 wcsrchr-c.
60114         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
60115         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
60116         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
60117         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
60118         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
60119         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
60120         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
60121         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
60122         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
60123         * wcsmbc/wcschr.c (WCSCHR): New macro.
60125 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60127         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60128         * wcsmbs/test-wcsrchr.c: New file.
60129         * string/test-strrchr.c: Add wcsrchr support.
60130         (WIDE): New macro.
60131         * wcsmbs/test-wcscpy.c: New file.
60132         * string/test-strcpy.c: Add wcscpy support.
60133         (WIDE): New macro.
60135 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
60137         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60138         the inner loop.
60140 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
60142         [BZ #13472]
60143         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60145 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
60147         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60148         Minor optimizations.
60150         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60151         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60152         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60154 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
60156         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60157         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60158         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60159         for gcc to avoid warnings.
60160         * inet/Makefile (tests): Add tst-checks.
60161         * inet/tst-checks.c: New file.
60163         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60164         warning.
60166         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60167         __wmemcmp_sse2.
60169         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60170         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60172         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60174 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
60176         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60177         problem.
60179         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60181 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
60183         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60184         conditional on GCC version.
60185         (__arch_compare_and_exchange_val_8_acq)
60186         (__arch_compare_and_exchange_val_16_acq)
60187         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60188         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60189         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60191 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
60193         * sysdeps/sh/backtrace.c: New file.
60195 2011-12-02  Andreas Schwab  <schwab@redhat.com>
60197         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
60198         parenthesis.
60200 2011-12-01  Andreas Schwab  <schwab@redhat.com>
60202         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60203         falling back to utime.
60205 2011-11-30  Andreas Schwab  <schwab@redhat.com>
60207         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60208         expectations for float.
60210 2011-11-29  Andreas Schwab  <schwab@redhat.com>
60212         * locale/weight.h (findidx): Add parameter len.
60213         * locale/weightwc.h (findidx): Likewise.
60214         * posix/fnmatch_loop.c (FCT): Adjust caller.
60215         * posix/regcomp.c (build_equiv_class): Likewise.
60216         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60217         * posix/regexec.c (check_node_accept_bytes): Likewise.
60218         * string/strcoll_l.c (STRCOLL): Likewise.
60219         * string/strxfrm_l.c (STRXFRM): Likewise.
60221 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
60223         * Makefile.in: Remove CVSOPT handling.
60224         * configure.in: Remove use of AC_REVISION.
60225         * iconvdata/Makefile (distribute): No need to filter out CVS.
60226         * scripts/list-sources.sh: Remove CVS, subversion and monotone
60227         handling.
60229 2011-11-16  Andreas Schwab  <schwab@redhat.com>
60231         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60232         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60233         [USE_AS_STRNCASECMP_L]: Likewise.
60234         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60235         NO_TLS_DIRECT_SEG_REFS.
60236         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60237         Fix argument offsets for non-PIC.
60238         [USE_AS_STRNCASECMP_L]: Likewise.
60239         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60240         NO_TLS_DIRECT_SEG_REFS.
60242 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60244         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60245         O_CLOEXEC.
60246         * locale/loadlocale.c (_nl_load_locale): Likewise.
60248 2011-11-15  Andreas Schwab  <schwab@redhat.com>
60250         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60251         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60252         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60253         (SYSCALL_GETTIME): Set errno on error.
60255         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60256         count references to noai6ai_cached.
60258 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60260         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60262         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60263         FD_CLOEXEC for /proc/self/maps.
60265         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60266         FD_CLOEXEC for /proc/meminfo.
60268         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60269         gai.conf.
60271         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
60272         FD_CLOEXEC for given file.
60274         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60276         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60277         FD_CLOEXEC for /etc/hosts.
60278         (_gethtent): Likewise.
60280         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60282         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60283         cancellation and set FD_CLOEXEC for /etc/netgroup.
60285         * nss/nss_files/files-key.c (search): Don't allow cancellation when
60286         reading /etc/publickey.
60288         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60289         allow cancellation when reading /etc/group.
60291         * nss/nss_files/files-alias.c (internal_setent): Don't allow
60292         cancellation.
60293         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
60295         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60296         when using data file.
60298         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60300         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60301         (write_nis_obj): Use "c" and "e" in fopen.
60303         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60305         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60307         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60309         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60311         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60312         locale.alias.
60314         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60316         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60318         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60320         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60321         file parsing and set FD_CLOEXEC.
60323 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60325         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60327 2011-11-14  Andreas Schwab  <schwab@redhat.com>
60329         * malloc/arena.c (arena_get2): Don't call reused_arena when
60330         _int_new_arena failed.
60332 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60334         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60335         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60336         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60337         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60338         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60339         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60340         to compile strcasecmp and strncasecmp.
60341         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60342         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60344         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60346 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
60348         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60349         locale-defines.sym to gen-as-const-headers.
60350         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60351         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60352         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60353         to compile strcasecmp and strncasecmp.
60354         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60355         strcasecmp_l and strncasecmp_l.
60356         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60357         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60358         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60359         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60360         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60361         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60362         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60363         * sysdeps/i386/i686/multiarch/strncase.S: New file.
60364         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60365         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60366         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60368 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
60370         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60371         result of SYSDEP_GETTIME_CPU to retval.
60372         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60373         parameter list to macro.  Remove trailing semicolon.  Adjust users.
60375         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60376         variable.
60378         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60379         mantissa words.
60380         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60382         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60383         from unused variable.
60385         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60386         DWARF definitions.
60387         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60388         for assembling.
60390         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60391         over namespaces.
60393         * sunrpc/rpc_prot.c (rejected): Fix case value.
60395         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60396         unsigned long long int to avoid warnings in shift.
60398         * posix/regex_internal.c (re_string_reconstruct): Actually use result
60399         of use of trans.
60400         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60401         variable tmp.
60403         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60404         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60405         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60407         * nis/nis_table.c (nis_list): Use variable of correct type for
60408         result of __follow_path call.
60410 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60412         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60413         of math functions ceil, trunc, floor, round, and sqrt, when
60414         avaliable on the platform.
60415         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60416         name clash.
60417         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60418         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60419         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60421 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
60423         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60424         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60426 2011-11-11  Roland McGrath  <roland@hack.frob.com>
60428         * include/unistd.h: Fix __readlink return type.
60429         Reported by Chris Metcalf <cmetcalf@tilera.com>.
60431 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
60433         * stdlib/ucontext.h: Undo last change for makecontext.
60435 2011-11-11  Andreas Schwab  <schwab@redhat.com>
60437         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60439         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60440         * setjmp/setjmp.h: Mark functions as non-leaf.
60441         * setjmp/bits/setjmp2.h: Likewise.
60442         * stdlib/ucontext.h: Likewise.
60444 2011-11-10  Andreas Schwab  <schwab@redhat.com>
60446         * malloc/arena.c (_int_new_arena): Don't increment narenas.
60447         (reused_arena): Don't check arena limit.
60448         (arena_get2): Atomically check arena limit.
60450 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
60452         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60453         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60455         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60456         instructions.
60458 2011-11-07  Andreas Schwab  <schwab@redhat.com>
60460         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60461         handler when locking.
60463         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60464         Fix size of allocated buffer.
60466 2011-11-04  Andreas Schwab  <schwab@redhat.com>
60468         [BZ #10103]
60469         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60470         declarations for long double functions.
60471         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60473         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60475 2011-11-03  Andreas Schwab  <schwab@redhat.com>
60477         * nscd/nscd.c (main): Don't start AVC thread until credentials are
60478         installed.
60480         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60481         is disabled.
60483 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60485         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60487 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60489         * include/alloca.h (stackinfo_alloca_round): Define.
60490         (extend_alloca): Use it.
60491         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60492         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60493         here.
60495         * scripts/check-local-headers.sh: Ignore libaudit.h.
60497         * nscd/Makefile (extra-objs): Make recursively expanded.
60499 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
60501         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60502         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60504         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60505         * posix/tst-rfc3484-2.c: Likewise.
60506         * posix/tst-rfc3484-3.c: Likewise.
60508         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60509         process_vm_writev.
60510         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60511         process_vm_writev.
60512         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60513         process_vm_writev from libc using GLIBC_2.15 version.
60515         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60517 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
60519         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60520         stack usage.
60522 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
60524         [BZ #13367]
60525         * nss/getent.c (initgroups_keys): Show error message in case no group
60526         names are given.
60528         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60529         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60530         __bump_nl_timestamp.
60531         * nscd/connections (nscd_init): When host database is served open
60532         netlink socket and request notification about configuration changes.
60533         (main_loop_poll): Track netlink file descriptor and bump timestamp
60534         in case data becomes available.
60535         (main_loop_epoll): Likewise.
60536         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60537         (database_pers_head): Add extra_data fileds.
60538         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60539         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60540         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60541         Adjust caller.
60542         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60543         in6ai data, call __free_in6ai.
60544         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60545         Add -DHAVE_NETLINK.
60546         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
60547         interface information.  Reuse previous data if netlink timestamp
60548         is not changed.
60549         (__bump_nl_timestamp): New function.
60550         (__free_in6ai): New function.
60552 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
60554         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60555         close_not_cancel_no_status here.
60556         (__check_pf): Reorganize code a bit to not call close twice if OOM.
60558 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
60560         [BZ #13276]
60561         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60562         return value.
60564         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60565         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60566         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60568 2011-07-03  Andreas Jaeger  <aj@suse.de>
60570         [BZ #10709]
60571         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60572         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60573         * math/libm-test.inc (sin_test): Add test case.
60575 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
60577         [BZ #13337]
60578         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60579         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60581         * elf/chroot_canon.c (chroot_canon): Cleanups.
60583         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60585         [BZ #13335]
60586         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60587         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60589         * string/test-strchr.c: Make usable for strchrnul testing.
60590         * string/test-strchrnul.c: New file.
60591         * string/Makefile (strop-tests): Add strchrnul.
60593         * po/it.po: Update from translation team.
60594         * po/es.po: Likewise.
60596 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
60598         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60599         the three constants needed as parameters.  Drop the others.
60600         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60601         __m128i_strloadu_tolower.
60602         Create and initialize variable zero and use it in all the places
60603         where _mm_setzero_si128 was used.
60605         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60606         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60607         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60608         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60609         anymore.
60610         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60611         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60612         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60613         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60614         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60615         __mpranred, __mptan.
60616         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60617         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60618         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60619         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60620         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60621         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60622         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60623         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60624         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60626 2011-10-28  Andreas Schwab  <schwab@redhat.com>
60628         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60629         redefine if SHARED.
60630         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60632         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60633         wide char related routines to wcsmbs subdir.
60635 2011-10-27  Andreas Schwab  <schwab@redhat.com>
60637         [BZ #13344]
60638         * misc/sys/cdefs.h (__THROWNL): Define.
60639         * posix/unistd.h: Use __THREADNL instead of __THREAD
60640         for memory synchronization functions.
60642 2011-10-26  Roland McGrath  <roland@hack.frob.com>
60644         [BZ #13349]
60645         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60646         doesn't exist.
60647         * manual/stdio.texi (Obstack Streams): Node removed.
60649 2011-10-26  Andreas Schwab  <schwab@redhat.com>
60651         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60652         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60653         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60655         * math/math_private.h (math_force_eval): Allow non-addressable
60656         arguments.
60657         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60659 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60661         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60662         file is not needed.
60664         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60665         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60666         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60667         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60668         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60669         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60670         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60671         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60672         Add AVX variants.
60673         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60674         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60675         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60676         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60677         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60678         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60679         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60680         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60681         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60682         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60683         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60684         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60685         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60686         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60687         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60688         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60689         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60690         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60691         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60693         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60694         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
60696         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60697         place.  Use VEX encoding when compiling for AVX.
60699 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60701         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60702         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60704         * string/test-strchr.c (do_test): Don't generate NUL bytes.
60706 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60708         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60709         useless if() expression.
60710         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60711         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60712         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60713         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60714         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60715         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60716         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60717         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60718         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60719         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60720         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60721         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60722         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60723         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60724         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60725         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60726         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60727         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60728         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60730         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60732 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60734         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60735         condition.
60736         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60738 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60740         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60741         .text section.  Avoid duplicate constants.
60742         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60743         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60744         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60745         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60746         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60747         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60748         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60749         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60750         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60751         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60752         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60753         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60754         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60755         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60756         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60757         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60758         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60759         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60760         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60761         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60762         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60763         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60764         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60765         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60766         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60767         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60768         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60769         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60770         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60771         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60772         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60773         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60774         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60775         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60776         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60777         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60778         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60779         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60780         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60781         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60782         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60783         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60784         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60785         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60786         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60788 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
60790         * sysdeps/x86_64/dla.h: Move to ...
60791         * sysdeps/x86_64/fpu/dla.h: ...here.
60792         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60793         situations.  Use __builtin_fma only for gcc 4.6 and up.
60795         * config.make.in: Add have-mfma4 entry.
60796         * configure.in: Substitute libc_cv_cc_fma4.
60797         * math/Makefile (dbl-only-routines): Add sincostab.
60798         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60799         Use __sincostab not sincos.
60800         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60801         name is a macro.
60802         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60803         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60804         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60805         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
60806         using __copysign.
60807         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
60808         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
60809         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60810         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60811         and __inv.
60812         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60813         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60814         __copysign.
60815         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
60816         define aliases when function name is a macro.
60817         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60818         sysdeps/ieee754/dbl-64/sincos.tbl.
60819         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60820         fma4-enabled routines.
60821         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60822         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60823         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60824         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60825         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60826         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60827         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60828         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60829         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60830         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60831         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60832         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60833         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60834         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60835         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60836         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60837         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60838         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60839         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60840         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60841         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60842         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60843         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60844         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60845         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60846         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60847         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60848         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60849         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60850         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60852         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60853         rename.
60854         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60855         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60856         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60857         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60858         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60859         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60860         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60861         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60863 2011-10-24  Andreas Schwab  <schwab@redhat.com>
60865         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60867 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60869         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60871         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60872         prediction.
60873         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60875         * string/strnlen.c: Don't define STRNLEN, reverse logic.
60876         Remove unused variable magic_bits.
60877         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60879         * string/strnlen.c: Define and use STRNLEN macro.
60880         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60881         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60882         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60883         * wcsmbs/wcslen.c: Define and use WCSLEN.
60884         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60885         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60886         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60887         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60888         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60889         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60890         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60892 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60894         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60895         strnlen-sse2-no-bsf.
60896         Rename strlen-no-bsf to strlen-sse2-no-bsf.
60897         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60898         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60899         Add strnlen support.
60900         (USE_AS_STRNLEN): New macro.
60901         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60902         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60903         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60904         * sysdeps/x86_64/wcslen.S: New file.
60906 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
60908         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60909         XMM-moves are used for copying on small sizes.
60911 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60913         * wcsmbs/Makefile (strop-tests): Add wcschr.
60914         * wcsmbs/test-wcschr.c: New file.
60915         * string/test-strchr.c: Update.
60916         Add wcschr support.
60917         (WIDE): New macro.
60919 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60921         * wcsmbs/Makefile (strop-tests): Add wcslen.
60922         * wcsmbs/test-wcslen.c: New file.
60923         * string/test-strlen.c: Update.
60924         Add wcslen support.
60925         (WIDE): New macro.
60927 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60929         * po/it.po: Update from translation team.
60931 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60933         * sysdeps/x86_64/wcscmp.S: Update.
60934         Fix wrong comparison semantics.
60935         wcscmp shall use signed comparison not unsigned.
60936         Don't use substraction to avoid overflow bug.
60937         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60938         * wcsmbc/wcscmp.c: Likewise.
60939         * string/test-strcmp.c: Likewise.
60940         Add new tests to check cases with negative values.
60942 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60944         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60945         * sysdeps/x86_64/dla.h: ...here.  New file.
60946         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60947         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60948         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60949         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60950         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60951         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60952         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60953         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60954         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60956 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
60958         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60959         __ynl_finite aliases.
60961 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
60963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60965         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60966         define DLA_FMA.
60967         [DLA_FMA] (EMULV): Use DLA_FMA.
60968         [DLA_FMA] (MUL12): Use EMULV.
60969         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60970         that are not needed.
60971         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60972         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60973         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60974         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60975         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60976         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60977         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60979 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
60981         * math/s_nan.c: Undef __nan.
60982         * math/s_nanf.c: Undef __nanf.
60983         * math/s_nanl.c: Undef __nanl.
60984         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60985         "math_private.h".
60987 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
60989         * math/s_catan.c: Add branch predictions.
60990         * math/s_catanf.c: Likewise.
60991         * math/s_catanh.c: Likewise.
60992         * math/s_catanhf.c: Likewise.
60993         * math/s_catanhl.c: Likewise.
60994         * math/s_catanl.c: Likewise.
60995         * math/s_cexp.c: Likewise.
60996         * math/s_cexpf.c: Likewise.
60997         * math/s_cexpl.c: Likewise.
60998         * math/s_clog.c: Likewise.
60999         * math/s_clog10.c: Likewise.
61000         * math/s_clog10f.c: Likewise.
61001         * math/s_clog10l.c: Likewise.
61002         * math/s_clogf.c: Likewise.
61003         * math/s_clogl.c: Likewise.
61004         * math/s_csqrt.c: Likewise.
61005         * math/s_csqrtf.c: Likewise.
61006         * math/s_csqrtl.c: Likewise.
61007         * math/s_ctanf.c: Likewise.
61008         * math/s_ctanh.c: Likewise.
61009         * math/s_ctanhf.c: Likewise.
61010         * math/s_ctanhl.c: Likewise.
61011         * math/s_ctanl.c: Likewise.
61013         * math/math_private.h: Define __nan, __nanf, __nanl.
61014         * math/s_cacosh.c: Include <math_private.h>.
61015         * math/s_cacoshl.c: Likewise.
61016         * math/s_casinh.c: Likewise.
61017         * math/s_casinhf.c: Likewise.
61018         * math/s_casinhl.c: Likewise.
61019         * math/s_ccos.c: Rely entire on ccosh.
61020         * math/s_ccosf.c: Rely entire on ccoshf.
61021         * math/s_ccosl.c: Rely entirely on ccoshl.
61022         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
61023         Remove tests for FE_INVALID.
61024         * math/s_ccoshf.c: Likewise.
61025         * math/s_ccoshl.c: Likewise.
61026         * math/s_csin.c: Likewise.
61027         * math/s_csinf.c: Likewise.
61028         * math/s_csinh.c Likewise.
61029         * math/s_csinhf.c: Likewise.
61030         * math/s_csinhl.c: Likewise.
61031         * math/s_csinl.c: Likewise.
61032         * math/s_ctan.c: Likewise.
61033         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
61034         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
61035         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
61037 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
61039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
61040         compilation problems.
61042         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
61043         __builtin_expect.
61045 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
61047         * sysdeps/i386/configure.in: Test for -mfma4 option.
61048         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
61049         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
61050         COMMON_CPUID_INDEX_80000001.
61051         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
61052         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
61053         use it if FMA3 is not supported.
61054         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
61056         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
61057         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61059 2011-10-20  Andreas Schwab  <schwab@redhat.com>
61061         [BZ #12892]
61062         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
61063         it would create a cycle with a link time dependency.
61065 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
61067         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
61068         instruction.
61069         * string/Makefile (strop-tests): Add rawmemchr.
61070         * string/test-rawmemchr.c: New file.
61072         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
61073         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
61074         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
61075         when compiling str{,n}casecmp and when AVX is available.  Hook up
61076         new optimized code in initializers.
61078 2011-10-19  Andreas Schwab  <schwab@redhat.com>
61080         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
61081         __feraiseexcept instead of feraiseexcept.
61083 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
61085         * math/math_private.h: Define defaults for libc_fetestexcept and
61086         libc_feupdateenv.
61087         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
61088         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
61089         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61090         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61091         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61092         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61093         libc_fetestexcept and libc_feupdateenv.
61095         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
61096         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
61097         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
61098         * sysdeps/x86_64/fpu/math_private.h: Define special version of
61099         libc_feholdexcept_setround.
61101         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
61102         Add s_nearbyint-c and s_nearbyintf-c.
61103         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
61104         nearbyintf inlines.
61105         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
61106         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
61107         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
61108         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
61110         * math/math_private.h: Define defaults for libc_fegetround,
61111         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
61112         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
61113         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
61114         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
61115         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
61116         standard functions.
61117         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61118         Remove comments and hacks for old compiler versions.
61119         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61120         libc_fegetround, libc_fesetround, libc_feholdexcept, and
61121         libc_feholdexceptl.
61123 2011-10-18  Andreas Schwab  <schwab@redhat.com>
61125         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61126         (__feraiseexcept_renamed): Add __NTH.
61127         (feraiseexcept): Add __NTH.  Rename local variables to fix
61128         namespace violations.
61130 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
61132         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61134         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61136         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61137         recently added interfaces.
61138         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61140         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61141         about macro parameter expansion.
61143         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61144         __NO_MATH_INLINES is defined.  Cleanups.
61146         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61147         and __floorf is target has SSE4.1.
61148         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61149         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61150         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61151         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61153         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61154         name.
61155         (floorf): Likewise.
61157         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61159 2011-10-17  Andreas Schwab  <schwab@redhat.com>
61161         * misc/sys/cdefs.h: Fix last change.
61163         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61164         database lookup.
61166 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
61168         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61170         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61171         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61172         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61173         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61174         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61175         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61176         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61177         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61178         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61179         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61180         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61181         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61182         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61183         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61184         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61185         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61186         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61187         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61188         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61189         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61190         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61191         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61193         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61194         ceil, ceilf, floor, floorf.
61196         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61197         Perform IRELATIVE relocations last.
61199         * elf/do-rel.h: Add another parameter nrelative, replacing the
61200         local variable with the same name.  Change name of the function
61201         to end in Rel or Rela (uppercase).
61202         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61203         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
61204         elf_dynamic_do_##reloc function.
61206 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61208         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61209         is sufficient, at least on modern CPUs.
61211         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61213         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61214         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61216         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61217         __expl_finite.
61218         * math/bits/math-finite.h: Add entries for exp.
61219         * math/e_expl.c: Add __*_finite alias.
61220         * sysdeps/i386/fpu/e_exp.S: Likewise.
61221         * sysdeps/i386/fpu/e_expf.S: Likewise.
61222         * sysdeps/i386/fpu/e_expl.c: Likewise.
61223         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61224         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61225         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61226         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61227         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61228         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61229         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61231         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61232         is sufficient, at least on modern CPUs.
61234         * ctype/ctype-info.c (__ctype_init): Define.
61235         * include/ctype.h (__ctype_init): Declare.
61236         (__ctype_b_loc): The variable is always initialized.
61237         (__ctype_toupper_loc): Likewise.
61238         (__ctype_tolower_loc): Likewise.
61239         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61240         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61242 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
61244         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61246         * configure.in: Also look in $cxxmachine/include for C++ system
61247         headers.
61249 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61251         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61252         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61253         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61254         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
61255         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61256         (USE_AS_WMEMCMP): New macro.
61257         Fixing indents.
61258         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61259         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61260         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61261         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61262         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61263         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61264         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61265         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61266         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61267         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61268         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61269         (USE_AS_WMEMCMP): New macro.
61270         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61271         * sysdeps/string/test-memcmp.c: Update.
61272         Fix simple_wmemcmp.
61273         Add new tests.
61274         * wcsmbs/wmemcmp.c: Update.
61275         (WMEMCMP): New macro.
61276         Fix overflow bug.
61278 2011-10-12  Andreas Jaeger  <aj@suse.de>
61280         [BZ #13268]
61281         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61283 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61285         * libio/iofwide.c (do_length): Avoid warning.
61287         * ctype/ctype.h (__isctype_f): Add missing __THROW.
61289 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
61291         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61293         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61294         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61295         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61296         * sysdeps/i386/i686/fpu/e_log.S: New file.
61297         * sysdeps/i386/i686/fpu/e_logf.S: New file.
61298         * sysdeps/i386/i686/fpu/e_logl.S: New file.
61300         * ctype/ctype.h: Add support for inlined isXXX functions when
61301         compiling C++ code.
61303 2011-10-14  Andreas Schwab  <schwab@redhat.com>
61305         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61307         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61309 2011-10-13  Roland McGrath  <roland@hack.frob.com>
61311         [BZ #13291]
61312         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61314 2011-10-13  Andreas Schwab  <schwab@redhat.com>
61316         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61317         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61318         feraiseexcept.
61320         * sysdeps/x86_64/memrchr.S: Check for zero size.
61322         * string/stratcliff.c: Add memrchr tests.
61324 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61326         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61327         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61328         rawmemchr-sse2 rawmemchr-sse2-bsf.
61329         * sysdeps/i386/i686/multiarch/memchr.S: New file.
61330         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61331         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61332         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61333         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61334         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61335         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61336         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61337         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61338         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61339         * string/memrchr.c (MEMRCHR): New macro.
61341 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
61343         Add integration with gcc's -ffinite-math-only and optimize wrapper
61344         functions in libm.
61345         * Versions.def: Define GLIBC_2.15 version for libm.
61346         * math/Makefile (headers): Add bits/math-finite.h.
61347         * math/bits/math-finite.h: New file.
61348         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61349         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61350         * math/e_acoshl.c: Add __*_finite alias.
61351         * math/e_acosl.c: Likewise.
61352         * math/e_asinl.c: Likewise.
61353         * math/e_atan2l.c: Likewise.
61354         * math/e_atanhl.c: Likewise.
61355         * math/e_coshl.c: Likewise.
61356         * math/e_exp10.c: Likewise.
61357         * math/e_exp10f.c: Likewise.
61358         * math/e_exp10l.c: Likewise.
61359         * math/e_exp2l.c: Likewise.
61360         * math/e_fmodl.c: Likewise.
61361         * math/e_gammal_r.c: Likewise.
61362         * math/e_hypotl.c: Likewise.
61363         * math/e_j0l.c: Likewise.
61364         * math/e_j1l.c: Likewise.
61365         * math/e_jnl.c: Likewise.
61366         * math/e_lgammal_r.c: Likewise.
61367         * math/e_log10l.c: Likewise.
61368         * math/e_log2l.c: Likewise.
61369         * math/e_logl.c: Likewise.
61370         * math/e_powl.c: Likewise.
61371         * math/e_sinhl.c: Likewise.
61372         * math/e_sqrtl.c: Likewise.
61373         * math/e_scalb.c: Completely rewritten and optimized.
61374         * math/e_scalbf.c: Likewise.
61375         * math/e_scalbl.c: Likewise.
61376         * math/w_acos.c: Likewise.
61377         * math/w_acosf.c: Likewise.
61378         * math/w_acosl.c: Likewise.
61379         * math/w_acosh.c: Likewise.
61380         * math/w_acoshf.c: Likewise.
61381         * math/w_acoshl.c: Likewise.
61382         * math/w_asin.c: Likewise.
61383         * math/w_asinf.c: Likewise.
61384         * math/w_asinl.c: Likewise.
61385         * math/w_atan2.c: Likewise.
61386         * math/w_atan2f.c: Likewise.
61387         * math/w_atan2l.c: Likewise.
61388         * math/w_atanh.c: Likewise.
61389         * math/w_atanhf.c: Likewise.
61390         * math/w_atanhl.c: Likewise.
61391         * math/w_exp10.c: Likewise.
61392         * math/w_exp10f.c: Likewise.
61393         * math/w_exp10l.c: Likewise.
61394         * math/w_fmod.c: Likewise.
61395         * math/w_fmodf.c: Likewise.
61396         * math/w_fmodl.c: Likewise.
61397         * math/w_j0.c: Likewise.
61398         * math/w_j0f.c: Likewise.
61399         * math/w_j0l.c: Likewise.
61400         * math/w_j1.c: Likewise.
61401         * math/w_j1f.c: Likewise.
61402         * math/w_j1l.c: Likewise.
61403         * math/w_jn.c: Likewise.
61404         * math/w_jnf.c: Likewise.
61405         * math/w_log.c: Likewise.
61406         * math/w_logf.c: Likewise.
61407         * math/w_logl.c: Likewise.
61408         * math/w_log10.c: Likewise.
61409         * math/w_log10f.c: Likewise.
61410         * math/w_log10l.c: Likewise.
61411         * math/w_log2.c: Likewise.
61412         * math/w_log2f.c: Likewise.
61413         * math/w_log2l.c: Likewise.
61414         * math/w_pow.c: Likewise.
61415         * math/w_powf.c: Likewise.
61416         * math/w_powl.c: Likewise.
61417         * math/w_remainder.c: Likewise.
61418         * math/w_remainderf.c: Likewise.
61419         * math/w_remainderl.c: Likewise.
61420         * math/w_scalb.c: Likewise.
61421         * math/w_scalbf.c: Likewise.
61422         * math/w_scalbl.c: Likewise.
61423         * math/w_sqrt.c: Likewise.
61424         * math/w_sqrtf.c: Likewise.
61425         * math/w_sqrtl.c: Likewise.
61426         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61427         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
61428         used.
61429         * math/math_private.h: Declare __kernel_standard_f.
61430         * math/w_cosh.c: Remove cruft and optimize a bit.
61431         * math/w_coshf.c: Likewise.
61432         * math/w_coshl.c: Likewise.
61433         * math/w_exp2.c: Likewise.
61434         * math/w_exp2f.c: Likewise.
61435         * math/w_exp2l.c: Likewise.
61436         * math/w_hypot.c: Likewise.
61437         * math/w_hypotf.c: Likewise.
61438         * math/w_hypotl.c: Likewise.
61439         * math/w_lgamma.c: Likewise.
61440         * math/w_lgamma_r.c: Likewise.
61441         * math/w_lgammaf.c: Likewise.
61442         * math/w_lgammaf_r.c: Likewise.
61443         * math/w_lgammal.c: Likewise.
61444         * math/w_lgammal_r.c: Likewise.
61445         * math/w_sinh.c: Likewise.
61446         * math/w_sinhf.c: Likewise.
61447         * math/w_sinhl.c: Likewise.
61448         * math/w_tgamma.c: Likewise.
61449         * math/w_tgammaf.c: Likewise.
61450         * math/w_tgammal.c: Likewise.
61451         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61452         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61453         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61454         Minor optimizations.  Pretty printing.  Remove cruft.
61455         * sysdeps/i386/fpu/e_acosf.S: Likewise.
61456         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61457         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61458         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61459         * sysdeps/i386/fpu/e_acosl.c: Likewise.
61460         * sysdeps/i386/fpu/e_asin.S: Likewise.
61461         * sysdeps/i386/fpu/e_asinf.S: Likewise.
61462         * sysdeps/i386/fpu/e_atan2.S: Likewise.
61463         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61464         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61465         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61466         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61467         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61468         * sysdeps/i386/fpu/e_exp10.S: Likewise.
61469         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61470         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61471         * sysdeps/i386/fpu/e_exp2.S: Likewise.
61472         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61473         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61474         * sysdeps/i386/fpu/e_fmod.S: Likewise.
61475         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61476         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61477         * sysdeps/i386/fpu/e_hypot.S: Likewise.
61478         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61479         * sysdeps/i386/fpu/e_log.S: Likewise.
61480         * sysdeps/i386/fpu/e_log10.S: Likewise.
61481         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61482         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61483         * sysdeps/i386/fpu/e_log2.S: Likewise.
61484         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61485         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61486         * sysdeps/i386/fpu/e_logf.S: Likewise.
61487         * sysdeps/i386/fpu/e_logl.S: Likewise.
61488         * sysdeps/i386/fpu/e_pow.S: Likewise.
61489         * sysdeps/i386/fpu/e_powf.S: Likewise.
61490         * sysdeps/i386/fpu/e_powl.S: Likewise.
61491         * sysdeps/i386/fpu/e_remainder.S: Likewise.
61492         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61493         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61494         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61495         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61496         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61497         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61498         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61499         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61500         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61501         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61502         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61503         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61504         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61505         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61506         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61507         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61508         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61509         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61510         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61511         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61512         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61513         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61514         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61515         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61516         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61517         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61518         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61519         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61520         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61521         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61522         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61523         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61524         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61525         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61526         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61527         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61528         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61529         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61530         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61531         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61532         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61533         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61534         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61535         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61536         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61537         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61538         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61539         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61540         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61541         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61542         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61543         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61544         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61545         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61546         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61547         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61548         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61549         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61550         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61551         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61552         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61553         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61554         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61555         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61556         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61557         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61558         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61559         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61560         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61561         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61562         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61563         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61564         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61565         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61566         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61567         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61568         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61569         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61570         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61571         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61572         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61573         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61574         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61575         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61576         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61577         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61578         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61579         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61580         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61581         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61582         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61583         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61584         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61585         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61586         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61587         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61588         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61589         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61590         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61591         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61592         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61593         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61594         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61595         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61596         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61597         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61598         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61599         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61600         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61601         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61602         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61603         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61604         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61605         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61606         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61607         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61608         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61609         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61610         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
61611         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61612         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61613         (__isnanf): Likewise.
61614         (__isinf_ns): Likewise.
61615         (__isinf_nsf): Likewise.
61616         (__finite): Likewise.
61617         (__finitef): Likewise.
61618         (__ieee754_sqrt): Define as macro.
61619         (__ieee754_sqrtf): Define as macro.
61620         (__ieee754_sqrtl): Define as macro.
61621         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61622         inlined copy.
61623         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61624         __FINITE_MATH_ONLY__ consistent.
61625         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61627 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
61629         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61630         of rawmemchr.
61632         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61634 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
61636         * po/ja.po: Update from translation team.
61638 2011-10-08  Roland McGrath  <roland@hack.frob.com>
61640         * locale/programs/locarchive.c (prepare_address_space): New function.
61641         (create_archive, enlarge_archive, open_archive): Use it.
61643         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61644         inside [SHARED], where it is used.
61646         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61648         * nss/getent.c (netgroup_keys): Remove unused variable.
61649         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61651 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
61653         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61654         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61655         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61656         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61657         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61658         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61659         * math/Makefile (libm-calls): Add s_isinf_ns.
61660         * math/divtc3.c: Use __isinf_nsl instead of isinf.
61661         * math/multc3.c: Likewise.
61662         * math/s_casin.c: Likewise.
61663         * math/s_casinf.c: Likewise.
61664         * math/s_casinl.c: Likewise.
61665         * math/s_ccos.c: Likewise.
61666         * math/s_ccosf.c: Likewise.
61667         * math/s_ccosl.c: Likewise.
61668         * math/s_ctan.c: Likewise.
61669         * math/s_ctanf.c: Likewise.
61670         * math/s_ctanh.c: Likewise.
61671         * math/s_ctanhf.c: Likewise.
61672         * math/s_ctanhl.c: Likewise.
61673         * math/s_ctanl.c: Likewise.
61674         * math/w_fmod.c: Likewise.
61675         * math/w_fmodf.c: Likewise.
61676         * math/w_fmodl.c: Likewise.
61677         * math/w_remainder.c: Likewise.
61678         * math/w_remainderf.c: Likewise.
61679         * math/w_remainderl.c: Likewise.
61680         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61681         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61682         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61683         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61684         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61685         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61686         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61687         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61689         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61690         of the number.
61691         * stdio-common/printf_fphex.c: Likewise.
61692         * stdio-common/printf_size.c: Likewise.
61694         * math/e_exp10.c: Include math_private.h using <...> not "...".
61695         * math/e_exp10f.c: Likewise.
61696         * math/e_exp10l.c: Likewise.
61697         * math/e_exp2l.c: Likewise.
61698         * math/e_j0l.c: Likewise.
61699         * math/e_j1l.c: Likewise.
61700         * math/e_jnl.c: Likewise.
61701         * math/e_lgammal_r.c: Likewise.
61702         * math/e_rem_pio2l.c: Likewise.
61703         * math/e_scalb.c: Likewise.
61704         * math/e_scalbf.c: Likewise.
61705         * math/e_scalbl.c: Likewise.
61706         * math/k_cosl.c: Likewise.
61707         * math/k_sinl.c: Likewise.
61708         * math/k_tanl.c: Likewise.
61709         * math/s_cacoshf.c: Likewise.
61710         * math/s_catan.c: Likewise.
61711         * math/s_catanf.c: Likewise.
61712         * math/s_catanh.c: Likewise.
61713         * math/s_catanhf.c: Likewise.
61714         * math/s_catanhl.c: Likewise.
61715         * math/s_catanl.c: Likewise.
61716         * math/s_ccosh.c: Likewise.
61717         * math/s_ccoshf.c: Likewise.
61718         * math/s_ccoshl.c: Likewise.
61719         * math/s_cexp.c: Likewise.
61720         * math/s_cexpf.c: Likewise.
61721         * math/s_cexpl.c: Likewise.
61722         * math/s_clog.c: Likewise.
61723         * math/s_clog10.c: Likewise.
61724         * math/s_clog10f.c: Likewise.
61725         * math/s_clog10l.c: Likewise.
61726         * math/s_clogf.c: Likewise.
61727         * math/s_clogl.c: Likewise.
61728         * math/s_csin.c: Likewise.
61729         * math/s_csinf.c: Likewise.
61730         * math/s_csinh.c: Likewise.
61731         * math/s_csinhf.c: Likewise.
61732         * math/s_csinhl.c: Likewise.
61733         * math/s_csinl.c: Likewise.
61734         * math/s_csqrt.c: Likewise.
61735         * math/s_csqrtf.c: Likewise.
61736         * math/s_csqrtl.c: Likewise.
61737         * math/s_ctan.c: Likewise.
61738         * math/s_ctanf.c: Likewise.
61739         * math/s_ctanh.c: Likewise.
61740         * math/s_ctanhf.c: Likewise.
61741         * math/s_ctanhl.c: Likewise.
61742         * math/s_ctanl.c: Likewise.
61743         * math/s_ldexp.c: Likewise.
61744         * math/s_ldexpf.c: Likewise.
61745         * math/s_ldexpl.c: Likewise.
61746         * math/s_significand.c: Likewise.
61747         * math/s_significandf.c: Likewise.
61748         * math/s_significandl.c: Likewise.
61749         * math/w_acos.c: Likewise.
61750         * math/w_acosf.c: Likewise.
61751         * math/w_acosh.c: Likewise.
61752         * math/w_acoshf.c: Likewise.
61753         * math/w_acoshl.c: Likewise.
61754         * math/w_acosl.c: Likewise.
61755         * math/w_asin.c: Likewise.
61756         * math/w_asinf.c: Likewise.
61757         * math/w_asinl.c: Likewise.
61758         * math/w_atan2.c: Likewise.
61759         * math/w_atan2f.c: Likewise.
61760         * math/w_atan2l.c: Likewise.
61761         * math/w_atanh.c: Likewise.
61762         * math/w_atanhf.c: Likewise.
61763         * math/w_atanhl.c: Likewise.
61764         * math/w_cosh.c: Likewise.
61765         * math/w_coshf.c: Likewise.
61766         * math/w_coshl.c: Likewise.
61767         * math/w_dremf.c: Likewise.
61768         * math/w_exp10.c: Likewise.
61769         * math/w_exp10f.c: Likewise.
61770         * math/w_exp10l.c: Likewise.
61771         * math/w_exp2.c: Likewise.
61772         * math/w_exp2f.c: Likewise.
61773         * math/w_fmod.c: Likewise.
61774         * math/w_fmodf.c: Likewise.
61775         * math/w_fmodl.c: Likewise.
61776         * math/w_hypot.c: Likewise.
61777         * math/w_hypotf.c: Likewise.
61778         * math/w_hypotl.c: Likewise.
61779         * math/w_j0.c: Likewise.
61780         * math/w_j0f.c: Likewise.
61781         * math/w_j0l.c: Likewise.
61782         * math/w_j1.c: Likewise.
61783         * math/w_j1f.c: Likewise.
61784         * math/w_j1l.c: Likewise.
61785         * math/w_jn.c: Likewise.
61786         * math/w_jnf.c: Likewise.
61787         * math/w_jnl.c: Likewise.
61788         * math/w_lgamma.c: Likewise.
61789         * math/w_lgamma_r.c: Likewise.
61790         * math/w_lgammaf.c: Likewise.
61791         * math/w_lgammaf_r.c: Likewise.
61792         * math/w_lgammal.c: Likewise.
61793         * math/w_lgammal_r.c: Likewise.
61794         * math/w_log.c: Likewise.
61795         * math/w_log10.c: Likewise.
61796         * math/w_log10f.c: Likewise.
61797         * math/w_log10l.c: Likewise.
61798         * math/w_log2.c: Likewise.
61799         * math/w_log2f.c: Likewise.
61800         * math/w_log2l.c: Likewise.
61801         * math/w_logf.c: Likewise.
61802         * math/w_logl.c: Likewise.
61803         * math/w_pow.c: Likewise.
61804         * math/w_powf.c: Likewise.
61805         * math/w_powl.c: Likewise.
61806         * math/w_remainder.c: Likewise.
61807         * math/w_remainderf.c: Likewise.
61808         * math/w_remainderl.c: Likewise.
61809         * math/w_scalb.c: Likewise.
61810         * math/w_scalbf.c: Likewise.
61811         * math/w_scalbl.c: Likewise.
61812         * math/w_sinh.c: Likewise.
61813         * math/w_sinhf.c: Likewise.
61814         * math/w_sinhl.c: Likewise.
61815         * math/w_sqrt.c: Likewise.
61816         * math/w_sqrtf.c: Likewise.
61817         * math/w_sqrtl.c: Likewise.
61818         * math/w_tgamma.c: Likewise.
61819         * math/w_tgammaf.c: Likewise.
61820         * math/w_tgammal.c: Likewise.
61822         * po/ja.po: Update from translation team.
61824 2011-09-29  Andreas Jaeger  <aj@suse.de>
61826         [BZ #13179]
61827         * sunrpc/netname.c (netname2host): Fix logic.
61829         [BZ #6779]
61830         [BZ #6783]
61831         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61832         correctly.
61833         * math/w_remainder.c (__remainder): Likewise.
61834         * math/w_remainderf.c (__remainderf): Likewise.
61835         * math/libm-test.inc (remainder_test): Add test cases.
61837 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61839         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
61840         sdiv_qrnnd.
61842 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
61844         * string/test-memcmp.c: Avoid unncessary #defines.
61845         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61847 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61849         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61850         Use new sse2 version for core i3 - i7 as it's faster
61851         than sse42 version.
61852         (bit_Prefer_PMINUB_for_stringop): New.
61853         * sysdeps/x86_64/rawmemchr.S: Update.
61854         Replace with faster SSE2 version.
61855         * sysdeps/x86_64/memrchr.S: New file.
61856         * sysdeps/x86_64/memchr.S: Update.
61857         Replace with faster SSE2 version.
61859 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
61861         * elf/dl-load.c (lose): Add cast to avoid warning.
61863 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
61865         * po/ca.po: Update from translation team.
61867         * inet/getnetgrent_r.c: Hook up nscd.
61868         * nscd/Makefile (routines): Add nscd_netgroup.
61869         (nscd-modules): Add netgroupcache.
61870         (CFLAGS-netgroupcache.c): Define.
61871         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61872         (cache_search): Add const to second parameter.
61873         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61874         INNETGR.
61875         (dbs): Add netgrdb entry.
61876         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61877         (verify_persistent_db): Handle netgrdb.
61878         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61879         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61880         GETFDNETGR.
61881         (netgroup_response_header): Define.
61882         (innetgroup_response_header): Define.
61883         (datahead): Add netgroup_response_header and innetgroup_response_header
61884         elements.
61885         * nscd/nscd.conf: Add entries for netgroup cache.
61886         * nscd/nscd.h (dbtype): Add netgrdb.
61887         (_PATH_NSCD_NETGROUP_DB): Define.
61888         (netgroup_iov_disabled): Declare.
61889         (xmalloc, xcalloc, xrealloc): Move declarations here.
61890         (cache_search): Adjust prototype.
61891         Add netgroup-related prototypes.
61892         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61893         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61894         (__nscd_innetgr): Declare.
61895         * nscd/selinux.c (perms): Use access_vector_t as element type and
61896         add netgroup-related initializers.
61897         * nscd/netgroupcache.c: New file.
61898         * nscd/nscd_netgroup.c: New file.
61899         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61900         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61901         For four parameters use innetgr.
61902         * nss/nss_files/files-init.c: Add definition and callback for netgr.
61903         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61904         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61905         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61907         * nscd/connections.c (register_traced_file): Don't register file
61908         for disabled databases.
61910 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
61912         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61914         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61915         from tree and freeing node.
61917 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
61919         * nss/nsswitch.c (__nss_database_lookup): Handle
61920         nss_parse_service_list out of memory case.
61922 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
61924         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61925         out of memory case.
61927 2011-10-04  Andreas Schwab  <schwab@redhat.com>
61929         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61930         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61931         pass it down.
61932         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61933         elf_machine_rela, elf_machine_lazy_rel.
61934         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61935         (ELF_DYNAMIC_DO_REL): Likewise.
61936         (ELF_DYNAMIC_DO_RELA): Likewise.
61937         (ELF_DYNAMIC_RELOCATE): Likewise.
61938         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61939         to ELF_DYNAMIC_DO_REL.
61940         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61941         (dl_main): In trace mode always set __RTLD_NOIFUNC.
61942         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61943         elf_machine_rela.
61944         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61945         skip_ifunc, don't call ifunc function if non-zero.
61946         (elf_machine_rela): Likewise.
61947         (elf_machine_lazy_rel): Likewise.
61948         (elf_machine_lazy_rela): Likewise.
61949         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61950         (elf_machine_lazy_rel): Likewise.
61951         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61952         Likewise.
61953         (elf_machine_lazy_rel): Likewise.
61954         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61955         Likewise.
61956         (elf_machine_lazy_rel): Likewise.
61957         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61958         (elf_machine_lazy_rel): Likewise.
61959         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61960         (elf_machine_lazy_rel): Likewise.
61961         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61962         (elf_machine_lazy_rel): Likewise.
61963         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61964         (elf_machine_lazy_rel): Likewise.
61965         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61966         (elf_machine_lazy_rel): Likewise.
61967         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61968         (elf_machine_lazy_rel): Likewise.
61970 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
61972         * nss/nss_files/files-init.c (_nss_files_init): Use static
61973         initialization for all the *_traced_file variables.
61975 2011-09-28  Andreas Schwab  <schwab@redhat.com>
61977         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61979 2011-09-27  Roland McGrath  <roland@hack.frob.com>
61981         [BZ #13226]
61982         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61984 2011-09-27  Andreas Schwab  <schwab@redhat.com>
61986         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61987         Reread the line before reparsing it.
61989 2011-09-26  Andreas Schwab  <schwab@redhat.com>
61991         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61993 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
61994             Maxim Kuvyrkov  <maxim@codesourcery.com>
61995             Joseph Myers  <joseph@codesourcery.com>
61997         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61998         if needed for __stack_chk_guard.
62000 2011-09-19  Roland McGrath  <roland@hack.frob.com>
62002         * sysdeps/posix/spawni.c (script_execute): Always define it.
62003         It will be optimized away if unused.
62004         (maybe_script_execute): New function.
62005         (__spawni): Call it.
62007         * Makerules: Don't include tls.make.
62008         (config-tls): Always set to thread.
62009         * tls.make.c: File removed.
62011 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
62013         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
62014         * config.make.in (CPPFLAGS-config): New substituted variable.
62016 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62018         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
62020         [BZ #13192]
62021         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
62022         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
62024 2011-09-15  Roland McGrath  <roland@hack.frob.com>
62026         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
62027         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
62028         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62029         (CALL_FAIL): Likewise.
62030         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
62031         (CALL_FAIL): Macro removed.
62032         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
62034 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62036         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
62037         for __FINITE_MATH_ONLY__ == 1.
62039 2011-09-15  Andreas Schwab  <schwab@redhat.com>
62041         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
62042         __ieee754_sqrt instead of sqrt.
62043         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
62044         __ieee754_sqrtf instead of sqrtf.
62045         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
62046         __floorf instead of floorf.
62047         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
62048         __floorf, __truncf instead of floorf, truncf.
62050 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
62052         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
62054         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
62055         __extern_always_inline.
62056         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
62057         32-bit.
62059 2011-09-14  Andreas Schwab  <schwab@redhat.com>
62061         * elf/rtld.c (dl_main): Also relocate in dependency order when
62062         doing symbol dependency testing.
62064 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
62066         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62067         Always define `refsym'.
62069 2011-09-13  Andreas Schwab  <schwab@redhat.com>
62071         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
62072         (__FD_ELT): Renamed from __FDELT.
62073         * misc/bits/select2.h (__FD_ELT): Likewise.
62074         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
62075         __FD_MASK instead of __FDELT, __FDMASK.
62076         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62077         Likewise.
62078         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62079         Likewise.
62081         * elf/Makefile (gen-ldd): Fix pattern.
62083         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
62084         (init_tls): Likewise.
62086 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
62088         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
62090 2011-09-12  Andreas Schwab  <schwab@redhat.com>
62092         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
62093         `struct cmsghdr *' instead of `void *'.
62094         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
62095         Likewise.
62097 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
62099         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
62100         if non-absolute.
62101         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
62102         ldd_rewrite_script.
62104 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
62106         * configure.in: Remove --with-tls option.
62107         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
62108         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
62109         out in case it is missing.
62110         * sysdeps/ia64/elf/configure.in: Likewise.
62111         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
62112         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
62113         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
62114         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
62115         * sysdeps/sh/elf/configure.in: Likewise.
62116         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
62117         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62118         * sysdeps/x86_64/elf/configure.in: Likewise.
62119         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
62120         * sysdeps/mach/hurd/tls.h: Likewise.
62122         [BZ #13067]
62123         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62125         [BZ #13090]
62126         * configure.in: Fix use of AC_INIT.
62128         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62130 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
62132         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62133         __set_errno.
62134         * malloc/hooks.c: Likewise.
62136         [BZ #11929]
62137         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
62138         variables statically.
62139         (narenas): Initialize.
62140         (list_lock): Initialize.
62141         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
62142         initializtion of main_arena and list_lock.  Small cleanups.
62143         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62144         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
62145         Add initializers to main_arena and mp_.
62146         (malloc_state): Remove pagesize member.  Change all users to use
62147         GLRO(dl_pagesize).
62149         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62150         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
62151         is always initialized.
62153         * malloc/malloc.c: Removed unused configurations and dead code.
62154         * malloc/arena.c: Likewise.
62155         * malloc/hooks.c: Likewise.
62156         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62158         * include/tls.h: Removed.  USE___THREAD must always be defined.
62159         * bits/libc-tsd.h: Don't handle !USE___THREAD.
62160         * elf/dl-libc.c: Likewise.
62161         * elf/dl-tsd.c: Likewise.
62162         * include/errno.h: Likewise.
62163         * include/netdb.h: Likewise.
62164         * include/resolv.h: Likewise.
62165         * inet/herrno-loc.c: Likewise.
62166         * inet/herrno.c: Likewise.
62167         * malloc/arena.c: Likewise.
62168         * malloc/hooks.c: Likewise.
62169         * malloc/malloc.c: Likewise.
62170         * resolv/res-state.c: Likewise.
62171         * resolv/res_libc.c: Likewise.
62172         * sysdeps/i386/dl-machine.h: Likewise.
62173         * sysdeps/ia64/dl-machine.h: Likewise.
62174         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62175         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62176         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62177         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62178         * sysdeps/sh/dl-machine.h: Likewise.
62179         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62180         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62181         * sysdeps/unix/i386/sysdep.S: Likewise.
62182         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62183         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62184         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62185         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62186         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62187         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62188         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62189         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62190         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62192         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62193         * sysdeps/x86_64/dl-machine.h: Likewise.
62194         * tls.make.c: Likewise.
62196         * configure.in: Remove --with-__thread option.  Make tests for
62197         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62198         tls_model attribute fail if no support is available.  Remove
62199         USE_IN_LIBIO.
62200         * Makeconfig: Adjust for dropped configure option.  All features are
62201         now mandatory.
62202         * Makerules: Likewise.
62203         * Versions.def: Likewise.
62204         * argp/argp-fmtstream.c: Likewise.
62205         * argp/argp-fmtstream.h: Likewise.
62206         * argp/argp-help.c: Likewise.
62207         * assert/assert.c: Likewise.
62208         * config.h.in: Likewise.
62209         * config.make.in: Likewise.
62210         * configure: Likewise.
62211         * configure.in: Likewise.
62212         * csu/Versions: Likewise.
62213         * csu/init.c: Likewise.
62214         * elf/tst-audit2.c: Likewise.
62215         * elf/tst-tls10.c: Likewise.
62216         * elf/tst-tls10.h: Likewise.
62217         * elf/tst-tls11.c: Likewise.
62218         * elf/tst-tls12.c: Likewise.
62219         * elf/tst-tls14.c: Likewise.
62220         * elf/tst-tlsmod11.c: Likewise.
62221         * elf/tst-tlsmod12.c: Likewise.
62222         * elf/tst-tlsmod13.c: Likewise.
62223         * elf/tst-tlsmod13a.c: Likewise.
62224         * elf/tst-tlsmod14a.c: Likewise.
62225         * elf/tst-tlsmod15b.c: Likewise.
62226         * elf/tst-tlsmod16a.c: Likewise.
62227         * elf/tst-tlsmod16b.c: Likewise.
62228         * elf/tst-tlsmod7.c: Likewise.
62229         * elf/tst-tlsmod8.c: Likewise.
62230         * elf/tst-tlsmod9.c: Likewise.
62231         * gmon/gmon.c: Likewise.
62232         * grp/fgetgrent_r.c: Likewise.
62233         * grp/putgrent.c: Likewise.
62234         * hurd/fopenport.c: Likewise.
62235         * include/libc-symbols.h: Likewise.
62236         * include/tls.h: Likewise.
62237         * intl/gettextP.h: Likewise.
62238         * intl/loadinfo.h: Likewise.
62239         * locale/global-locale.c: Likewise.
62240         * locale/localeinfo.h: Likewise.
62241         * mach/devstream.c: Likewise.
62242         * malloc/arena.c: Likewise.
62243         * malloc/set-freeres.c: Likewise.
62244         * misc/err.c: Likewise.
62245         * misc/getttyent.c: Likewise.
62246         * misc/mntent_r.c: Likewise.
62247         * posix/getopt.c: Likewise.
62248         * posix/wordexp.c: Likewise.
62249         * pwd/fgetpwent_r.c: Likewise.
62250         * resolv/Versions: Likewise.
62251         * resolv/res_hconf.c: Likewise.
62252         * shadow/fgetspent_r.c: Likewise.
62253         * shadow/putspent.c: Likewise.
62254         * stdio-common/printf_fphex.c: Likewise.
62255         * stdio-common/tmpfile.c: Likewise.
62256         * stdlib/abort.c: Likewise.
62257         * stdlib/fmtmsg.c: Likewise.
62258         * sunrpc/auth_unix.c: Likewise.
62259         * sunrpc/clnt_perr.c: Likewise.
62260         * sunrpc/clnt_tcp.c: Likewise.
62261         * sunrpc/clnt_udp.c: Likewise.
62262         * sunrpc/clnt_unix.c: Likewise.
62263         * sunrpc/openchild.c: Likewise.
62264         * sunrpc/svc_simple.c: Likewise.
62265         * sunrpc/svc_tcp.c: Likewise.
62266         * sunrpc/svc_udp.c: Likewise.
62267         * sunrpc/svc_unix.c: Likewise.
62268         * sunrpc/xdr.c: Likewise.
62269         * sunrpc/xdr_array.c: Likewise.
62270         * sunrpc/xdr_rec.c: Likewise.
62271         * sunrpc/xdr_ref.c: Likewise.
62272         * sunrpc/xdr_stdio.c: Likewise.
62274 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62276         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62278 2011-07-03  Andreas Jaeger  <aj@suse.de>
62280         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62281         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62282         regenerate with gen-libm-tests.pl.
62284 2010-05-12  Petr Baudis  <pasky@suse.cz>
62286         [BZ #11589]
62287         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62288         around j0() zero points by switching to j1().
62289         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62290         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62291         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62292         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62294 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62296         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62297         instead of 0.
62298         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62299         instead of 0.
62300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62301         Patch in part by Pavel Roskin <proski@gnu.org>.
62303         [BZ #13138]
62304         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62305         realloc.
62306         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
62307         Free memory block if necessary.
62309         [BZ #12847]
62310         * libio/genops.c (INTDEF): For string streams the _lock pointer can
62311         be NULL.  Don't lock in this case.
62313 2011-09-09  Roland McGrath  <roland@hack.frob.com>
62315         * elf/elf.h (ELFOSABI_GNU): New macro.
62316         (ELFOSABI_LINUX): Define to that.
62318 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
62320         * string/strncat.c (strncat): Undef the symbol in case it has been
62321         defined in bits/string.h.
62323 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62325         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62327         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62328         link map.
62330 2011-08-17  Andreas Jaeger  <aj@suse.de>
62332         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62334 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
62335             Ian Lance Taylor  <iant@google.com>
62337         * math/libm-test.inc (lround_test): New testcase.
62338         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62340 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
62342         * Makefile: Remove support for automatic cvs check-ins.
62343         * Makerules: Likewise.
62344         * config.make.in: Likewise.
62345         * configure.in: Likewise.
62346         * intl/Makefile: Likewise.
62347         * locale/Makefile: Likewise.
62348         * po/Makefile: Likewise.
62349         * posix/Makefile: Likewise.
62350         * sysdeps/gnu/Makefile: Likewise.
62351         * sysdeps/mach/hurd/Makefile: Likewise.
62352         * sysdeps/sparc/sparc32/Makefile: Likewise.
62354         [BZ #13118]
62355         * posix/Makefile (bug-regex32-ENV): Define.
62356         Patch by John Stanley <jpsinthemix@verizon.net>.
62358         * misc/Makefile (headers): Add bits/select2.h.
62359         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62360         * misc/bits/select2.h: New file.
62361         * include/bits/select2.h: New file.
62362         * debug/Makefile (routines): Add fdelt_chk.
62363         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62364         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62365         FD_ISSET.
62366         * debug/fdelt_chk.c: New file.
62368         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
62369         * wcsmbs/test-wmemcmp.c: Likewise.
62370         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62371         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62373 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62375         * string/Makefile (strop-tests): Add memcmp.
62376         * string/test-wmemcmp.c: New file.
62377         * string/test-memcmp.c: Add wmemcmp support.
62379 2011-09-08  Roland McGrath  <roland@hack.frob.com>
62381         [BZ #13153]
62382         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62383         2011-07-19 change.
62385         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62386         garbage value in a __mach_port_mod_refs call in the cases of the
62387         task-self and thread-self ports.
62389 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62391         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62393 2011-09-08  Andreas Schwab  <schwab@redhat.com>
62395         * elf/dl-load.c (lose): Check for non-null L.
62397 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62399         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62401         * elf/dl-libc.c (dlerror_run): Pass back error code from
62402         dl_catch_error.
62404         [BZ #13123]
62405         * elf/dl-load.c (lose): Free l_origin if it is valid.
62407         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62408         names.
62409         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62410         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62411         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62412         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62413         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62414         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62416 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62418         * sysdeps/powerpc/fpu/e_hypot.c: New file.
62419         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62420         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62421         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62422         * sysdeps/powerpc/fpu/k_cosf.c: New file.
62423         * sysdeps/powerpc/fpu/k_sinf.c: New file.
62424         * sysdeps/powerpc/fpu/s_cosf.c: New file.
62425         * sysdeps/powerpc/fpu/s_sinf.c: New file.
62426         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62427         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62429 2011-08-15  Alan Modra  <amodra@gmail.com>
62431         [BZ #13092]
62432         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62433         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62434         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
62435         ppc_mcount to static-only-routines.
62436         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62437         __mcount_internal.
62438         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62439         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
62441 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
62443         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62444         for finite and infinity parameters.
62446 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62448         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62449         and add nop instructions for throughput optimization.
62450         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62452 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
62454         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62455         aligned copy for power7 with vector-scalar instructions.
62456         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62458 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
62460         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62461         AVX check.
62463 2011-09-07  Andreas Schwab  <schwab@redhat.com>
62465         [BZ #13144]
62466         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62467         last change.
62469 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62471         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62472         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62473         syscall wrapper around clock_gettime in __vdso_clock_gettime.
62474         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62475         clock_gettime.
62477 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62479         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62480         Forgot to demangle the pointer.
62482         * sysdeps/i386/sysdep.h: Define atom_text_section.
62483         * sysdeps/x86_64/sysdep.h: Likewise.
62484         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62485         section with atom_text_section.
62486         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62487         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62488         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62489         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62490         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62492         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62493         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62494         already be defined.  Change to take two parameters and don't assign
62495         result to variable.  Adjust all users.
62496         Define INTERNAL_GETTIME if not already defined.
62497         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62498         call.
62499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62500         HAVE_CLOCK_GETTIME_VSYSCALL.
62501         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62503         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62504         gettimeofday vsyscall, just use time.
62506 2011-09-06  Andreas Schwab  <schwab@redhat.com>
62508         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62509         <errno.h>.
62511 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62513         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62514         syscall on x86-64.
62515         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62516         syscall.
62517         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62518         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62519         syscall if possible.
62521 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62523         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62524         e_ident.  Don't pass to find_mapsXX.
62525         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62527 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62530         strchr-sse2-no-bsf strrchr-sse2-no-bsf
62531         * sysdeps/x86_64/multiarch/strchr.S: Update.
62532         Check bit_slow_BSF bit.
62533         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62534         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62535         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62537 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62539         [BZ #13134]
62540         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62541         before glibc 2.15.
62542         (tryshell): Define.
62543         (__spawni): Change last parameter to be flag.  Test
62544         SPAWN_XFLAGS_USE_PATH flag to use path or not.
62545         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62546         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62547         * posix/spawni.c: Likewise.
62548         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62549         * posix/spawnp.c: Likewise.  Change normal version to use
62550         SPAWN_XFLAGS_USE_PATH.
62551         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62552         SPAWN_XFLAGS_TRY_SHELL.
62554         [BZ #13150]
62555         * posix/glob.h: Remove gcc 1.x support.
62557         [BZ #13068]
62558         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62560 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62562         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62563         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62564         strrchr-sse2-bsf
62565         * sysdeps/i386/i686/multiarch/strchr.S: New file.
62566         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62567         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62568         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62569         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62570         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62572 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62574         * sysdeps/x86_64/wcscmp.S: New file.
62576         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62577         wcscmp-c wcscmp-sse2
62578         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62579         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62580         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62581         * wcsmbs/wcscmp.c: Allow renaming.
62583 2011-09-05  David S. Miller  <davem@davemloft.net>
62585         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62586         stack slot, rather than the struct return pointer slot.
62587         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62588         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62590         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62592 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62594         * po/ja.po: Update from translation team.
62596         [BZ #13144]
62597         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62598         kernel in 64-bit binaries.
62600 2011-09-01  David S. Miller  <davem@davemloft.net>
62602         * elf/elf.h (HWCAP_SPARC_*): Move to..
62603         * sysdeps/sparc/sysdep.h: this new file and add new values.
62604         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62605         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62606         _DL_HWCAP_COUNT to 24.
62607         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62608         entries.
62609         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62610         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62611         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62612         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62613         instead of magic constants.
62614         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62616 2011-08-31  David S. Miller  <davem@davemloft.net>
62618         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62620         Reimplement to do errno handling inline.
62621         (SYSCALL_ERROR_HANDLER): New macro.
62622         (__SYSCALL_STRING): Do not do errno handling in asm.
62623         (__CLONE_SYSCALL_STRING): Delete.
62624         (__INTERNAL_SYSCALL_STRING): Delete.
62625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62626         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62627         (PSEUDO): Reimplement to do errno handling inline.
62628         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62629         (SYSCALL_ERROR_HANDLER): New macro.
62630         (__SYSCALL_STRING): Do not do errno handling in asm.
62631         (__CLONE_SYSCALL_STRING): Delete.
62632         (__INTERNAL_SYSCALL_STRING): Delete.
62633         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62634         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62635         i386.
62636         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62637         (inline_syscall*): Add 'err' argument.
62638         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62639         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62640         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62641         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62643         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62644         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62646 2011-08-30  Andreas Schwab  <schwab@redhat.com>
62648         * elf/rtld.c (dl_main): Relocate objects in dependency order.
62650 2011-08-29  Jiri Olsa <jolsa@redhat.com>
62652         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62653         directive.
62655 2011-08-24  David S. Miller  <davem@davemloft.net>
62657         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62659 2011-08-24  Andreas Schwab  <schwab@redhat.com>
62661         * elf/Makefile: Add rules to build and run unload8 test.
62662         * elf/unload8.c: New file.
62663         * elf/unload8mod1.c: New file.
62664         * elf/unload8mod1x.c: New file.
62665         * elf/unload8mod2.c: New file.
62666         * elf/unload8mod3.c: New file.
62668         * elf/dl-close.c (_dl_close_worker): Reset private search list if
62669         it wasn't used.
62671 2011-08-23  David S. Miller  <davem@davemloft.net>
62673         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62674         subtract stack bias.
62675         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62676         %sp not %fp in calculations.
62677         (_JMPBUF_UNWINDS_ADJ): Likewise.
62679         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62680         (aio_suspend): Call it to force an exception region around the
62681         AIO_MISC_WAIT() invocation.
62683 2011-08-23  Andreas Schwab  <schwab@redhat.com>
62685         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62686         backslash.
62688 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
62690         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62691         protection macro.
62692         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62693         and <dl-machine.h>.
62694         (Elf64_FuncDesc): Remove.
62696 2011-08-22  David S. Miller  <davem@davemloft.net>
62698         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62699         sigaltstack check, add missing cfi directives.
62700         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62701         missing cfi directives, and sigaltstack handling.
62703 2011-08-16  Andreas Schwab  <schwab@redhat.com>
62705         [BZ #11724]
62706         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62707         object is seen twice.
62708         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62710         * elf/Makefile (distribute): Add tst-initorder2.c.
62711         (tests): Add tst-initorder2.
62712         (modules-names): Add tst-initorder2a tst-initorder2b
62713         tst-initorder2c tst-initorder2d.  Add rules to build them.
62714         ($(objpfx)tst-initorder2.out): New rule.
62715         * elf/tst-initorder2.c: New file.
62716         * elf/tst-initorder2.exp: New file.
62718 2011-08-22  Andreas Schwab  <schwab@redhat.com>
62720         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62722         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62723         dependencies back to end of function.
62725         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62726         $(elfobjdir)/ld.so.
62728 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
62730         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62731         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62732         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62733         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62734         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62735         of __vdso_gettimeofday.
62736         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62737         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
62738         attribute_hidden.
62739         (_libc_vdso_platform_setup): Remove initialization of
62740         __vdso_gettimeofday and __vdso_time.
62742 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
62744         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62745         and fgetc_unlocked.
62746         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62747         getc_unlocked.
62749         * elf/dl-open.c (add_to_global): Report additions to the global scope
62750         for LD_DEBUG=scopes.
62751         (dl_open_worker): Also print scope of newly loaded dependencies.
62752         (_dl_show_scope): Indicate if there is no scope.
62754         [BZ #13114]
62755         * stdio-common/Makefile (tests): Add bug24.
62756         * stdio-common/bug24.c: New file.
62758 2011-08-19  Andreas Jaeger  <aj@suse.de>
62760         [BZ #13114]
62761         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62762         non-existant file when using close-on-exec mode.
62764 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
62766         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62767         the very first instruction.
62769         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62770         the CFI state in the end.
62771         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62772         inclusion of dl-trampoline.h.
62773         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62775 2011-08-19  Andreas Schwab  <schwab@redhat.com>
62777         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62778         expectations for long double.
62780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62781         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62783 2011-08-14  David S. Miller  <davem@davemloft.net>
62785         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62786         artificual limit depends upon the system page size.
62788 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
62790         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62791         * resolv/Makefile: Define CFLAGS-libresolv.
62793 2011-08-17  Andreas Schwab  <schwab@redhat.com>
62795         * nss/makedb.c (compute_tables): Make variables used in nested
62796         function static.
62798 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
62800         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62801         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62802         if buffer was too small.
62804         * elf/pldd.c (main): Attach to all threads in the process.
62805         Rewrite /proc handling to use *at functions.
62807 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
62809         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62810         specifies first scope to show.
62811         (dl_open_worker): Update callers.  Move printing scope of new
62812         object to before the relocation.
62813         * elf/rtld.c (dl_main): Update _dl_show_scope call.
62814         * sysdeps/generic/ldsodefs.h: Update declaration.
62816         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62817         string for the scope number.
62819 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
62821         * nscd/servicescache.c (cache_addserv): Make sure written is always
62822         initialized.
62824 2011-08-14  Roland McGrath  <roland@hack.frob.com>
62826         * sysdeps/i386/i486/bits/atomic.h
62827         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62828         statement expression, so as to suppress "set but not used" warning.
62829         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62831         * string/strncat.c (STRNCAT): Use prototype definition.
62833         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62834         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62835         -Iprograms here.
62836         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62837         (localedef-modules): Add localedef.
62838         (locale-modules): Add locale.
62840         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62841         * elf/rtld.c (dl_main): Invert order of assignment in last change,
62842         to avoid a warning.
62844 2011-08-14  David S. Miller  <davem@davemloft.net>
62846         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62847         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62849 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
62851         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62852         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62853         * elf/rtld.c (dl_main): Set l_name of vDSO.
62854         Call _dl_show_scope when DL_DEBUG_SCOPES.
62855         (process_dl_debug): Recognize scopes flag and also set it for all.
62856         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62857         Declare _dl_show_scope.
62859         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62860         (do_dlopen): Pass caller_dlopen to dl_open.
62861         (__libc_dlopen_mode): Initialize caller_dlopen.
62863         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62864         of libc.  Make tolower call locale-independent.  Optimize a bit by
62865         using isdigit instead of isalnum.
62866         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62868 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
62870         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62871         was a dependency or dynamically loaded.
62873 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
62875         * intl/l10nflist.c: Allow architecture-specific pop function.
62876         * sysdeps/x86_64/l10nflist.c: New file.
62878         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62879         classification.
62881 2011-08-10  Andreas Schwab  <schwab@redhat.com>
62883         * include/dirent.h: Add libc_hidden_proto for scandirat and
62884         scandirat64.  Don't declare __scandirat64.
62885         * dirent/scandirat.c: Add libc_hidden_def.
62886         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62887         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62889 2011-08-10  David S. Miller  <davem@davemloft.net>
62891         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62892         enum.
62893         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62894         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62895         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62897 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
62899         * Versions.def [libc]: Add GLIBC_2.15.
62900         * dirent/Makefile (routines): Add scandirat and scandirat64.
62901         * dirent/Versions [libc]: Export scandirat and scandirat64 for
62902         GLIBC_2.15.
62903         * dirent/dirent.h: Declare scandirat and scandirat64.
62904         * dirent/scandirat.c: New file.
62905         * dirent/scandirat64.c: New file.
62906         * sysdeps/wordsize-64/scandirat.c: New file.
62907         * sysdeps/wordsize-64/scandirat64.c: New file.
62908         * dirent/opendir.c: Define opendirat.
62909         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
62910         using scandirat.
62911         * dirent/scandir64.c: Adjust for scandir.c change.
62912         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
62913         __scandirat64, and __scandir_cancel_handler.
62914         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
62915         additional parameter and use openat instead of open (outside of ld.so).
62916         Add new __opendir as wrapper around __opendirat.
62917         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62918         here without requiring old scandirat implementation.
62920 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
62922         * dirent/scandir.c (cancel_handler): Renamed to
62923         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
62924         defined.  Adjust users.
62925         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62926         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62928 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
62930         * string/test-string.h (IMPL): Use __STRING to expand name and then
62931         stringify it.
62933         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
62934         of cleanups.
62936 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62938         * string/Makefile: Update.
62939         (strop-tests): Append strncat.
62940         * string/test-wcscmp.c: New file.
62941         New comprehensive test for wcscmp.
62942         * string/test-strcmp.c: Update.
62943         (WIDE): New define.
62945 2011-07-22  Andreas Schwab  <schwab@redhat.com>
62947         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62948         line.
62950 2011-07-26  Andreas Schwab  <schwab@redhat.com>
62952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62953         encoding to ACE if AI_IDN.
62955 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
62957         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62958         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62960 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62962         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62963         Fix overflow bug in strncat.
62964         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62966         * string/test-strncat.c: Update.
62967         Add new tests for checking overflow bugs.
62969 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62971         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62972         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62973         * sysdeps/i386/i686/multiarch/strcat.S: New file.
62974         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62975         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62976         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62977         * sysdeps/i386/i686/multiarch/strncat.S: New file.
62978         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62979         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62981         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62982         (USE_AS_STRCAT): Define.
62983         Add strcat and strncat support.
62984         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62986 2011-07-25  Andreas Schwab  <schwab@redhat.com>
62988         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62989         __n bigger than INT_MAX+1.
62990         (__strncmp_g): Likewise.
62992 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
62994         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62995         * libio/stido.h: Likewise.
62997         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62998         (AF_NFC): Define.
62999         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
63000         (AF_NFC): Define.
63002         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
63003         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63004         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63005         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
63006         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63008         [BZ #13021]
63009         * scripts/test-installation.pl: Don't expect libnss_test1 to be
63010         installed.
63012         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
63013         typo.
63014         (_dl_x86_64_save_sse): Likewise.
63016 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
63018         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
63019         OSXSAVE.
63020         (_dl_x86_64_save_sse): Likewise.
63022         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
63024         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
63026 2011-07-21  Andreas Schwab  <schwab@redhat.com>
63028         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
63029         change.
63030         (_dl_x86_64_save_sse): Use correct AVX check.
63032 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63034         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
63035         bug in strncpy/strncat.
63036         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
63038 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
63040         * string/tester.c (test_strcat): Add tests for different alignments
63041         of source and destination.
63042         (test_strncat): Likewise.
63044 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63046         [BZ #12852]
63047         * posix/glob.c (glob): Check passed in values before using them in
63048         expressions to avoid some overflows.
63049         (glob_in_dir): Likewise.
63051         [BZ #13007]
63052         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
63053         check for AVX enablement so that we don't crash with old kernels and
63054         new hardware.
63055         * elf/tst-audit4.c: Add same checks here.
63056         * elf/tst-audit6.c: Likewise.
63058         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
63060 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
63062         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
63064 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63066         * po/cs.po: Update from translation team.
63067         * po/bg.po: Likewise.
63069 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
63071         * misc/sys/cdefs.h: Add support for const attribute.
63072         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
63073         to gnu_dev_{major,minor,makedev} functions.
63075 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
63077         * intl/dcigettext.c (get_output_charset): Add missing bracket.
63079 2011-07-20  Andreas Schwab  <schwab@redhat.com>
63081         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
63082         strlen results.
63084 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63086         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
63087         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
63088         register in order to avoid conflicts with the soft frame pointer
63089         being held in r11 when necessary.
63090         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
63091         (INTERNAL_VSYSCALL_NCS): Likewise.
63093 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
63095         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
63096         * elf/dl-fini.c (_dl_fini): Adjust caller.
63097         * elf/dl-close.c (_dl_close_worker): Likewise.
63098         * sysdeps/generic/ldsodefs.h: Adjust declaration.
63100 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63102         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
63103         "aux_cache->nlibs < 0".
63105         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
63106         in the reload-count case.
63108 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63111         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
63112         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
63113         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
63114         * sysdeps/x86_64/multiarch/strcat.S: New file.
63115         * sysdeps/x86_64/multiarch/strncat.S: New file.
63116         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
63117         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
63118         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
63119         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
63120         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
63121         (USE_AS_STRCAT): Define.
63122         Add strcat and strncat support.
63123         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63124         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63125         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63126         * string/strncat.c: Update.
63127         (USE_AS_STRNCAT): Define.
63128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63129         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63130         and i7.
63131         * sysdeps/x86_64/multiarch/init-arch.h
63132         (bit_Prefer_PMINUB_for_stringop): New.
63133         (index_Prefer_PMINUB_for_stringop): Likewise.
63134         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63135         bit_Prefer_PMINUB_for_stringop.
63137 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63139         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63140         buffer64.
63141         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63142         of casting of buffer.
63143         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63144         buffer32 and buffer64.
63145         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63146         writes instead of casting of buffer.
63147         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63148         buffer32.
63149         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63150         casting of buffer.
63152 2011-07-19  Andreas Schwab  <schwab@redhat.com>
63154         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63156 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63158         * nscd/nscd.c (termination_handler): Don't do anything for a database
63159         if it has not yet been initialized.
63161 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63163         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63165 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63167         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63169 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63171         * po/nl.po: Update from translation team.
63172         * po/sv.po: Likewise.
63174 2011-07-16  Roland McGrath  <roland@hack.frob.com>
63176         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63177         now disallowed by GCC.
63179         * configure.in (use-default-link): Default to yes if a test -shared
63180         link meets our qualifications.
63181         * configure: Regenerated.
63183         * config.make.in (output-format): New variable.
63184         * configure.in: Check for ld --print-output-format support.
63185         * configure: Regenerated.
63186         * Makerules ($(common-objpfx)format.lds)
63187         [$(output-format) != unknown]: Just use $(output-format),
63188         instead of the linker-script munging.
63190 2011-07-14  Roland McGrath  <roland@hack.frob.com>
63192         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63193         of $(common-objpfx)shlib.lds.
63194         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63196         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63197         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63199         * configure.in (-z relro check): Adjust test code to add a large
63200         writable data section after it.
63201         * configure: Regenerated.
63203 2011-07-11  Roland McGrath  <roland@hack.frob.com>
63205         * configure.in (-z relro check): Fix test code to make the variable
63206         truly const.
63207         * configure: Regenerated.
63209 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
63211         * nscd/nscd.h (struct traced_file): Define.
63212         (struct database_dyn): Remove inotify_descr, reset_res, and filename
63213         elements.  Add traced_files.
63214         (inotify_fd): Declare.
63215         (register_traced_file): Declare.
63216         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63217         (inotify_fd): Export.
63218         (resolv_conf_descr): Remove.
63219         (nscd_init): Move inotify descriptor creation to main.
63220         Don't register files for notification here.
63221         (register_traced_file): New function.
63222         (invalidate_cache): Don't use reset_res to determine whether to call
63223         res_init, go through the list of registered files.
63224         (main_loop_poll): The inotify descriptors are now stored in the
63225         structures for the traced files.
63226         (main_loop_epoll): Likewise
63227         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
63228         to __nss_disable_nscd.
63229         * nscd/cache.c (prune_cache): There is no single inotify descriptor
63230         for a database anymore.  Check the records for all the registered
63231         files instead.
63232         * nss/Makefile (libnss_files-routines): Add files-init.
63233         (libnss_db-routines): Add db-init.
63234         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63235         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63236         * nss/nss_db/db-init.c: New file.
63237         * nss/nss_files/files-init.c: New file.
63238         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
63239         __nss_lookup_function.
63240         (__nss_lookup_function): Call nss_load_library.
63241         (nss_load_all_libraries): New function.
63242         (__nss_disable_nscd): Take parameter with callback function for files
63243         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
63244         used for the cached services.
63245         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63246         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63247         options for features to all the files in nscd.
63249         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63251 2011-07-10  Roland McGrath  <roland@hack.frob.com>
63253         * csu/elf-init.c (__libc_csu_init): Comment typo.
63255 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
63257         * po/pl.po: Update from translation team.
63258         * po/ja.po: Likewise.
63259         * po/ru.po: Likewise.
63260         * po/ko.po: Likewise.
63261         * po/fr.po: Likewise.
63263 2011-07-09  Roland McGrath  <roland@hack.frob.com>
63265         * configure.in (.ctors/.dtors header and trailer check):
63266         Use an empirical test on a built program.
63267         * configure: Regenerated.
63269         * configure.in (-z relro check): Use an empirical test on a built DSO.
63270         Detect, but do not require, on ia64.
63271         * configure: Regenerated.
63273         * configure.in (READELF): Find it with AC_CHECK_TOOL.
63274         Update tests that use readelf to use $READELF instead.
63275         * configure: Regenerated.
63277 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
63279         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63280         if the result is not used.
63282 2011-07-05  Andreas Jaeger  <aj@suse.de>
63284         [BZ#9696]
63285         * stdlib/tst-strtod.c: Add testcase.
63287 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
63289         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63290         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63291         The latter has a higher limit.  Take additional parameter to pass to
63292         the new function.
63293         (__pathconf): Pass file to __statfs_link_max.
63294         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63295         __statfs_link_max.
63296         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63297         __statfs_link_max.
63299         [BZ #12868]
63300         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63301         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63302         Handle Lustre.
63303         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63304         (__statfs_filesize_max): Likewise.
63305         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63307 2011-07-05  Andreas Jaeger  <aj@suse.de>
63309         * resolv/res_comp.c (dn_skipname): Remove unused variable.
63311 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
63313         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63314         `status' variable.
63315         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63316         Likewise.
63318 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
63320         * Makefile (strop-tests): Add strncat.
63321         * string/test-strncat.c: New file.
63323 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
63325         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63327 2011-06-21  Andreas Jaeger  <aj@suse.de>
63329         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63330         Copy rule from iconvdata/Makefile.
63332 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63334         [BZ #12922]
63335         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63336         but no long options are defined, just return 'W'.
63338 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
63340         [BZ #9696]
63341         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63343 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63345         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63346         netgroups to read.
63347         (innetgr): Likewise.
63349 2011-07-05  Roland McGrath  <roland@hack.frob.com>
63351         * config.make.in (install_root): Default to $(DESTDIR).
63353 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
63355         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63357 2011-07-02  Roland McGrath  <roland@hack.frob.com>
63359         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63361         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63362         containing directory rather than embedding absolute directory names.
63364         * scripts/check-local-headers.sh: Rewritten using awk.
63365         Match by word, not by line.  Print error messages for matches.
63366         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63368         * Makerules [shlib-lds-flags empty]:
63369         ($(common-objpfx)libc_pic.opts): New target.
63370         ($(common-objpfx)libc_pic.os.clean): New target.
63371         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63373         * config.make.in (OBJCOPY): New variable.
63374         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63375         * configure: Regenerated.
63377         * config.make.in (use-default-link): New variable.
63378         * configure.in (use_default_link): Grok --with-default-link to set it.
63379         * configure: Regenerated.
63380         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63381         (shlib-lds, shlib-lds-flags): Define to empty.
63383         * Makerules (shlib-lds): New variable.
63384         (shlib-lds-flags): New variable.
63385         (build-shlib, build-moduile, build-module-asneeded): Use it.
63386         ($(common-objpfx)libc.so): Use $(shlib-lds).
63387         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63388         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63390         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63391         DT_FLAGS/DT_FLAGS_1 with zero flags.
63393         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63394         linker script munging.
63396 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
63398         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63399         as 128-bit value.
63400         * crypt/sha512.c (sha512_process_block): Perform total addition using
63401         128-bit if possible.
63402         (__sha512_finish_ctx): Likewise.
63403         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63404         as 64-bit value.
63405         * crypt/sha256.c (SWAP64): Define.
63406         (sha256_process_block): Perform total addition using 64-bit if
63407         possible.
63408         (__sha256_finish_ctx): Likewise.
63410 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
63412         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
63413         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63414         * nscd/hstcache.c (cache_addhst): Likewise.
63415         * nscd/grpcache.c (cache_addgr): Likewise.
63416         * nscd/aicache.c (addhstaiX): Likewise
63417         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63419 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
63421         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63422         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63423         * nscd/hstcache.c (cache_addhst): Likewise.
63424         * nscd/grpcache.c (cache_addgr): Likewise.
63425         * nscd/aicache.c (addhstaiX): Likewise
63427 2011-07-01  Andreas Schwab  <schwab@redhat.com>
63429         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63430         domain only when needed.
63432 2011-06-30  Andreas Schwab  <schwab@redhat.com>
63434         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63435         is always restored.
63437 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
63439         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63440         are re-adding the entry.
63441         * nscd/servicescache.c (cache_addserv): Likewise.
63443 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
63445         * sysdeps/generic/dl-irel.h: fix protection against multiple
63446         inclusions.
63447         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63449 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
63451         [BZ #12935]
63452         * malloc/memusage.sh: Fix quoting in message.
63453         * debug/xtrace.sh: Likewise.
63455         * configure.in: Remove support for --experimental-malloc option, make
63456         it the default.
63457         * config.make.in: Likewise.
63458         * malloc/Makefile: Likewise.
63460 2011-06-27  Andreas Schwab  <schwab@redhat.com>
63462         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63463         two-byte characters.
63465 2011-06-27  Roland McGrath  <roland@hack.frob.com>
63467         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63468         AC_CACHE_CHECK invocation.
63469         * configure: Regenerated.
63471         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63473 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
63475         [BZ #12350]
63476         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
63477         bit from old_res_options.
63479         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63481         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63482         value type for setfct.
63484 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
63486         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63487         __gettimeofday instead of gettimeofday.
63489 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
63491         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63493 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
63495         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63497         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63498         info.
63500 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
63502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63503         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63504         strcpy-sse2-unaligned strncpy-sse2-unaligned
63505         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63506         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63507         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63508         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63509         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63510         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63511         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63512         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63513         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63514         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63515         (STRCPY): Support SSE2 and SSSE3 versions.
63517 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
63519         [BZ #12874]
63520         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63521         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63522         kernels which artificially limit size of requests.
63524 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
63526         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63527         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63528         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63529         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63530         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63531         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63532         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63533         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63534         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63535         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63536         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63537         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63538         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63539         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63540         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63542         Enable unaligned load optimization for Intel Core i3, i5 and i7
63543         processors.
63544         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63545         Define.
63546         (index_Fast_Unaligned_Load): Define.
63547         (HAS_FAST_UNALIGNED_LOAD): Define.
63549 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
63551         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63553 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
63555         [BZ #12907]
63556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63557         until it is clear that the information is realy needed.
63558         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63560 2011-06-22  Andreas Schwab  <schwab@redhat.com>
63562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63564 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
63566         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63567         /sys/devices/system/cpu/online if it is usable.
63569         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63570         reading the information from the /proc filesystem to once a second.
63572 2011-06-21  Andreas Jaeger  <aj@suse.de>
63574         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63575         NULL after inclusion of kernel headers.
63577 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
63579         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63580         calls to internal_setent.
63582         [BZ #12885]
63583         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63584         addresses using gethostbyname4_r ignore IPv4 addresses.
63586         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63587         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
63589         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63591 2011-06-20  David S. Miller  <davem@davemloft.net>
63593         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63594         inclusions.
63595         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63597         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63598         (elf_irel): Use it.
63599         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63600         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63601         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63602         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63603         * sysdeps/x86_64/dl-irel.h: Likewise.
63605         * elf/dl-runtime.c: Use elf_ifunc_invoke.
63606         * elf/dl-sym.c: Likewise.
63608 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63610         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
63611         need to dereference resplen2.
63613 2011-06-14  Andreas Schwab  <schwab@redhat.com>
63615         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63617 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63619         * Makeconfig: Define vardbdir and inst_vardbdir.
63620         * nss/Makefile: Add rules to install db-Makefile.
63622         * nss/nss_db/db-XXX.c: Cleanup.
63624         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63625         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63626         GLIBC_PRIVATE.
63627         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63628         * nss/makedb.c: Implement -g option to specify that value strings
63629         are generated and should not be added to table iterated over for
63630         get*ent calls.
63631         * nss/nss_db/db-initgroups.c: New file.
63633         * nss/getent.c: Add support for initgroups lookups through getgrouplist
63634         interface.
63636         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63637         (internal_getgrouplist): Adjust to name change.
63638         Update use_initgroups_entry if this is not the first call.
63639         * nss/databases.def: Add initgroups entry.
63641         * nss/makedb.c (compute_tables): Check result of multiple hash table
63642         sizes to minimize maximum chain length.
63644 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
63646         * Versions.def: Add entry for libnss_db.
63647         * shlib-versions: Likewise.
63648         * nss/Makefile: Add rules to build libnss_db.
63649         * nss/Versions: Add libnss_db information.  Organize libnss_files
63650         entries better.
63651         * nss/db-Makefile: Add gshadow support.  Change rules for the new
63652         makedb progra.  Some minor improvements to generate smaller files.
63653         * nss/nss_db/nss_db.h: Move NSS database header data structures to
63654         here from...
63655         * nss/makedb.c: ...here.
63656         Improve database format to be smaller and require less memory at
63657         runtime.
63658         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
63659         db anymore.
63660         * nss/nss_db/db-netgrp.c: Likewise.
63661         * nss/nss_db/db-open.c: Likewise.
63662         * nss/nss_files/flies-XXX.x: Adjust comments.
63663         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63664         * nss/nss_files/files-grp.c: Likewise.
63665         * nss/nss_files/files-hosts.c: Likewise.
63666         * nss/nss_files/files-network.c: Likewise.
63667         * nss/nss_files/files-proto.c: Likewise.
63668         * nss/nss_files/files-pwd.c: Likewise.
63669         * nss/nss_files/files-rpc.c: Likewise.
63670         * nss/nss_files/files-service.c: Likewise.
63671         * nss/nss_files/files-sgrp.c: Likewise.
63672         * nss/nss_files/files-spwd.c: Likewise.
63673         * nss/nss_db/db-alias.c: Removed.
63674         * nss/nss_db/dummy-db.h: Removed.
63676 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
63678         * nss/makedb.c: Rewritten to not use database library.
63679         * nss/Makefile: Update to build new makedb program.
63681 2011-06-14  Andreas Jaeger  <aj@suse.de>
63683         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63684         memset declaration.
63686 2011-06-10  Andreas Schwab  <schwab@redhat.com>
63688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63689         tmpbuf.
63691 2011-06-10  Roland McGrath  <roland@hack.frob.com>
63693         * Makerules (shlib.lds): Fail if the linker script comes out empty.
63694         * elf/Makefile ($(objpfx)ld.so): Likewise.
63696         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63697         Don't list ld.so twice in dependencies.
63699         * posix/bug-regex31.c: Include <stdlib.h>.
63701         * nscd/hstcache.c (cache_addhst): Remove unused variable.
63703         * nis/nss_compat/compat-spwd.c
63704         (getspent_next_nss_netgr): Remove unused variable.
63705         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63707         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63708         nonmembers" output to use the right array.
63710         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63712         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63714         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63715         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63716         * catgets/gencat.c (read_input_file): Likewise.
63717         * locale/programs/locarchive.c (enlarge_archive): Likewise.
63719         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63720         variable definition inside #if's controlling its use.
63722         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63724         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63726         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63728         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63729         unreachable code.
63731         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63733         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63734         * configure: Regenerated.
63736         * Makerules: Revert last change.
63737         * elf/Makefile: Likewise.
63739 2011-06-09  Roland McGrath  <roland@hack.frob.com>
63741         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63742         * elf/Makefile ($(objpfx)librtld.os): Likewise.
63743         (reloc-link): Likewise.
63745 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
63747         * elf/Makefile: Add rules to build pldd.
63748         * elf/pldd.c: New file.
63749         * elf/pldd-xx.c: New file.
63751 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
63753         * version.h: Update for 2.15 development version.
63755 2011-06-07  David S. Miller  <davem@davemloft.net>
63757         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63758         ifuncs.
63759         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63760         elf_machine_lazy_rel): Likewise.
63761         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63762         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63763         elf_machine_lazy_rel): Likewise.
63764         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63765         dl_hwcap via passed in argument.
63766         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63767         Likewise.
63769 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63771         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
63773 2011-06-06  Roland McGrath  <roland@hack.frob.com>
63775         [BZ #12849]
63776         * manual/fdl-1.1.texi: New file, verbatim from:
63777         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63778         * manual/lgpl-2.1.texi: New file, verbatim from:
63779         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63780         * manual/Makefile (licenses): New variable, list those new file names.
63781         (texis): Use it.
63782         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63784         * manual/fdl.texi: File removed.
63785         * manual/lesser.texi: File removed.
63786         * manual/libc.texinfo (Copying, Documentation License):
63787         Use new @include file names, put @appendix directive before @include.
63789 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
63791         [BZ #12841]
63792         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63793         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63794         (mq_open): Add __NTH.
63796 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
63798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63799         Assume Intel Core i3/i5/i7 processor if AVX is available.
63801 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
63803         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63804         typo.
63806 2011-05-31  Andreas Schwab  <schwab@redhat.com>
63808         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63809         memory.  Use alloca_account.  Fix memory leak when retrying.
63811 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
63813         * version.h (RELEASE): Bump for 2.14 release.
63814         * include/features.h (__GLIBC_MINOR__): Bump to 14.
63816         * config.make.in (RANLIB): Remove entry.
63818 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
63820         * po/Makefile (po-sed-cmd): Add ksh to extensions.
63821         (libc.pot): Work around missing support for .ksh extension in xgettext.
63823         [BZ #12684]
63824         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63825         if both request failed.
63826         (send_dg): In case of server errors clear resplen or *resplen2.
63828         [BZ #12454]
63829         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63830         when there are multiple maps.
63831         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63832         (_dl_fini): Remove test here.
63834         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63836 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
63838         [BZ #12350]
63839         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63840         bit from old_res_options.
63841         (gaih_inet): Likewise.
63843         [BZ #11099]
63844         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63845         as signed.
63847         * resolv/res_init.c (res_setoptions): Make the code more compact.
63849         [BZ #11558]
63850         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63851         set RES_USEVC.
63853         [BZ #11634]
63854         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63856         * malloc/malloc.h: Mark malloc hook variables as deprecated.
63858         [BZ #11781]
63859         * malloc/malloc.h: Declare malloc hook variables as volatile.
63861         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63862         in last patch.
63864         [BZ #11799]
63865         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63866         raise in the comment.
63867         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63868         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63869         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63871 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
63873         [BZ #12811]
63874         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63875         grow the buffers more if it already has to be sufficient.
63876         (build_wcs_upper_buffer): Likewise.
63877         * posix/regexec.c (check_matching): Likewise.
63878         (clean_state_log_if_needed): Likewise.
63879         (extend_buffers): Don't enlarge buffers beyond size of the input
63880         buffer.
63881         Patches mostly by Emil Wojak <emil@wojak.eu>.
63882         * posix/bug-regex32.c: New file.
63883         * posix/Makefile (tests): Add bug-regex32.
63885         * locale/findlocale.c (_nl_find_locale): Return right away if
63886         _nl_explode_name failed.
63887         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63889         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63891         * debug/xtrace.sh: Unify messages.
63892         * malloc/memusage.sh: Likewise.
63894         [BZ #12813]
63895         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63896         time symbol from vDSO.  Substitute with vsyscall if not available.
63897         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63898         __vdso_time.
63900         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63901         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63902         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63903         Add sendmmsg and internal_sendmmsg.
63904         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63905         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63906         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63908         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63909         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63910         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63912 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
63914         [BZ #12813]
63915         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63916         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
63917         available.
63918         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63919         __vdso_getcpu.
63921         [BZ #12814]
63922         * iconvdata/Makefile (tests): Add bug-iconv9.
63923         * iconvdata/bug-iconv9.c: New file.
63925 2011-05-27  Andreas Schwab  <schwab@redhat.com>
63927         [BZ #12814]
63928         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63930 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
63932         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63933         (struct user_regs_struct): Change intcs field back to cs.
63935 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
63937         * po/ja.po: Update from translation team.
63939 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
63941         [BZ #12795]
63942         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63943         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63945 2011-05-20  Andreas Schwab  <schwab@redhat.com>
63947         * stdlib/longlong.h: Update from GCC.
63949 2011-05-23  Andreas Schwab  <schwab@redhat.com>
63951         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63952         parameter name.
63953         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63954         Add parameter name.
63955         (__sysconf): Pass it down.
63957 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
63959         [BZ #12671]
63960         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63961         some situations.
63962         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63963         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63964         add in in __libc_use_alloca calls.  Adjust callers.
63965         (glob): Use malloc in some situations.
63967         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63968         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63969         pltexit.
63971 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
63973         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63974         and CLOCK_BOOTTIME_ALARM.
63976         [BZ #12782]
63977         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63978         is returned.
63980         * string/_strerror.c (__strerror_r): Print negative errors as signed
63981         numbers.
63983         [BZ #12777]
63984         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63985         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63986         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63988         * configure.in: Fix typo in redirection and correct removal of test
63989         files in two cases.
63991         [BZ #12788]
63992         * locale/setlocale.c (new_composite_name): Fix test to check for
63993         identical name of all categories.
63995         [BZ #12792]
63996         * libio/filedoalloc.c (local_isatty): New function.
63997         (_IO_file_doallocate): Use local_isatty.
63998         * stdio-common/perror.c (perror): In case a new stream is used
63999         forward the stream error.
64000         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
64001         error flag.
64003 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
64005         [BZ #11869]
64006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
64007         alloca.
64008         * include/alloca.h (extend_alloca_account): Define.
64010         [BZ #11857]
64011         * posix/regex.h: Fix comments with documentation of user-accessible
64012         fields after compilation and describe correct free'ing of pattern
64013         after re_compile_pattern.
64014         Patch by Reuben Thomas <rrt@sc3d.org>.
64016 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
64018         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
64019         and -mno-altivec to prevent the compiler from using Altivec and/or
64020         VSX instructions when the corresponding registers are not available.
64022 2011-05-19  Andreas Schwab  <schwab@redhat.com>
64024         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
64026 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
64028         * libio/freopen.c (freopen): Use __dup2, not dup2.
64029         * libio/freopen64.c (freopen64): Likewise.
64031 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64033         [BZ #12775]
64034         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
64035         * math/Makefile (tests): Add test-powl.
64036         (CFLAGS-test-powl.c): Define.
64037         * math/test-powl.c: New file.
64039 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64041         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
64043 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
64045         [BZ #11837]
64046         * iconvdata/gb18030.c: Update to GB18020-2005.
64048 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
64050         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
64051         RE_SYNTAX_POSIX_AWK): Update to match recent development.
64052         Patch by Aharon Robbins <arnold@skeeve.com>.
64054         [BZ #11892]
64055         * stdlib/putenv.c (putenv): Don't always create copy of the variable
64056         on the stack.
64058         [BZ #11895]
64059         * misc/pselect.c (__pselect): Handle timeout value errors hidden
64060         through underflows.
64062         [BZ #12766]
64063         * misc/error.c (error_at_line): Ensure file_name and old_file_name
64064         point to strings before performing equality test for error_one_per_line
64065         mode.
64067         [BZ #11697]
64068         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
64070         [BZ #11820]
64071         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64072         (struct user_fpregs_struct): Avoid __uint*_t types.
64074         [BZ #6420]
64075         * malloc/mtrace.c (tr_where): Add additional parameter to point to
64076         symbol info.  Use it instead of calling _dl_addr locally.
64077         (lock_and_info): New function.
64078         (tr_freehook): Call lock_and_info and pass symbol info as additional
64079         parameter to tr_where.
64080         (tr_mallochook): Likewise.
64081         (tr_reallochook): Likewise.
64082         (tr_memalignhook): Likewise.
64084         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
64085         used and couldn't be at all thread-safe.
64087 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
64089         * libio/freopen.c (freopen): Don't close old file descriptor
64090         before the new one is opened.  Instead dup the new file descriptor
64091         to the old one after the new stream is created.
64092         * libio/freopen64.c (freopen64): Likewise.
64093         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
64094         * libio/fileops.c (_IO_new_file_close_it): Handle new
64095         _IO_FLAGS2_NOCLOSE flag.
64096         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
64097         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
64098         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
64099         _IO_FLAGS2_NOCLOSE flag.
64100         * include/unistd.h: Add hidden_proto for dup3.
64101         Define __have_dup3.
64102         * io/dup3.c: Define hidden symbol.
64103         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
64105         [BZ #7101]
64106         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
64107         when an incomplete long option is used.
64108         * posix/tst-getopt_long1.c: New file.
64109         * posix/Makefile (tests): Add tst-getopt_long1.
64111         [BZ #10138]
64112         * scripts/config.guess: Update from autoconf-2.68.
64113         * scripts/config.sub: Likewise.
64115         [BZ #10157]
64116         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
64117         tests into ...
64118         (has_cpuclock): ...this.  New function.
64119         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
64120         macro here based on has_cpuclock code.
64122         [BZ #10149]
64123         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64124         First byte (not low byte) is now always NUL.
64125         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64127         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64128         Use non-cancelable interfaces.
64130         [BZ #9809]
64131         * locale/iso-639.def: Add entry for Sorani.
64133         [BZ #11901]
64134         * include/stdlib.h: Move include protection to the right place.
64135         Define abort_msg_s.  Declare __abort_msg with it.
64136         * stdlib/abort.c (__abort_msg): Adjust type.
64137         * assert/assert.c (__assert_fail_base): New function.  Majority
64138         of code from __assert_fail.  Allocate memory for __abort_msg with
64139         mmap.
64140         (__assert_fail): Now call __assert_fail_base.
64141         * assert/assert-perr.c: Remove bulk of implementation.  Use
64142         __assert_fail_base.
64143         * include/assert.hL Declare __assert_fail_base.
64144         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64145         mmap.
64146         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64148 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
64150         [BZ #11952]
64151         [BZ #12453]
64152         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64153         until all modules are registered in the DTV.
64154         * elf/Makefile: Add rules to build and run tst-tls19.
64155         * elf/tst-tls19.c: New file.
64156         * elf/tst-tls19mod1.c: New file.
64157         * elf/tst-tls19mod2.c: New file.
64158         * elf/tst-tls19mod3.c: New file.
64159         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64161         [BZ #12083]
64162         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64163         correctly.
64165         [BZ #12601]
64166         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64167         two-byte sequence errors.
64168         * iconvdata/Makefile (tests): Add bug-iconv8.
64169         * iconvdata/bug-iconv8.c: New file.
64171         [BZ #12626]
64172         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64173         buf2 definition.
64175         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64177         [BZ #12432]
64178         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64179         (dummy_getcfa): New function.
64180         (init): Get _Unwind_GetCFA address, use dummy if not found.
64181         (backtrace_helper): In recursion check, also check whether CFA changes.
64182         (__backtrace): Completely initialize arg.
64184         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64185         storing incomplete byte sequence in state object.  Avoid testing for
64186         guaranteed too small input if we know there is enough data available.
64188 2011-05-11  Andreas Schwab  <schwab@redhat.com>
64190         * Makeconfig (+link-pie): Indent.
64191         * Rules (binaries-pie): Define if $(have-fpie) and
64192         $(build-shared).
64193         (binaries-shared): Also filter out $(binaries-pie).
64194         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64195         * nscd/Makefile (others-pie): Add nscd.
64196         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64197         ($(objpfx)nscd): Remove command override.
64198         * login/Makefile (others-pie): Add pt_chown.
64199         ($(objpfx)pt_chown): Remove command override.
64200         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64201         remove command overrides.
64203 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
64205         * libio/tst_putwc.c: Fix error messages.
64207         [BZ #12724]
64208         * libio/fileops.c (_IO_new_file_close_it): Always flush when
64209         currently writing and seek to current position when not.
64210         * libio/Makefile (tests): Add bug-fclose1.
64211         * libio/bug-fclose1.c: New file.
64213 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
64215         [BZ #12511]
64216         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64217         don't set DF_1_NODELETE here.
64218         (do_lookup_x): When entering new entry test for copy relocation
64219         and if necessary set DF_1_NODELETE flag.
64220         * elf/tst-unique4.cc: New file.
64221         * elf/tst-unique4.h: New file.
64222         * elf/tst-unique4lib.cc: New file.
64223         * elf/Makefile: Add rules to build and run tst-unique4.
64224         Patch by Piotr Bury <pbury@goahead.com>.
64226 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
64228         [BZ #12052]
64229         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64231         [BZ #12625]
64232         * misc/mntent_r.c (addmntent): Flush the stream after the output
64234         [BZ #12393]
64235         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64236         (is_trusted_path_normalize): Skip initial colon.  Append slash
64237         to empty buffer.  Duplicate is_trusted_path code but allow
64238         constructed patch to be prefix.
64239         (is_dst): Allow $ORIGIN followed by /.
64240         (_dl_dst_substitute): Correct clearing of check_for_trusted.
64241         Correct testing of result of is_trusted_path_normalize
64242         (decompose_rpath): Fix warning.
64244 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
64246         [BZ #11257]
64247         * grp/initgroups.c (internal_getgrouplist): When we found the service
64248         list through the initgroups entry in nsswitch.conf do not always
64249         continue on a successful lookup.  Don't always use the
64250         __nss_group_database value if it is set.
64251         * nss/nsswitch.conf (initgroups): Change action for successful db
64252         lookup to continue for compatibility.
64254 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
64256         [BZ #11532]
64257         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64258         and CP774 modules.
64259         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64260         and CP774 modules.
64261         * iconvdata/tst-tables.sh: Likewise.
64262         * iconvdata/cp770.c: New file.
64263         * iconvdata/cp771.c: New file.
64264         * iconvdata/cp772.c: New file.
64265         * iconvdata/cp773.c: New file.
64266         * iconvdata/cp774.c: New file.
64267         * iconvdata/testdata/CP770: New file.
64268         * iconvdata/testdata/CP770..UTF8: New file.
64269         * iconvdata/testdata/CP771: New file.
64270         * iconvdata/testdata/CP771..UTF8: New file.
64271         * iconvdata/testdata/CP772: New file.
64272         * iconvdata/testdata/CP772..UTF8: New file.
64273         * iconvdata/testdata/CP773: New file.
64274         * iconvdata/testdata/CP773..UTF8: New file.
64275         * iconvdata/testdata/CP774: New file.
64276         * iconvdata/testdata/CP774..UTF8: New file.
64278         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64279         END CHARMAP line.
64280         * iconvdata/gen-8bit-gap.sh: Likewise.
64281         * iconvdata/gen-8bit.sh: Likewise.
64283         * locale/iso-639.def: Add ary entry.
64285         [BZ #11258]
64286         * locale/C-translit.h.in: Add U20A1 transliteration.
64288         [BZ #12178]
64289         * locale/iso-639.def: Add wae entry.
64290         Patch by Kevin Bortis <bortis@translate-wae.ch>.
64292         [BZ #12545]
64293         * locale/programs/localedef.c (construct_output_path): Use ssize_t
64294         for n.
64296         [BZ #12711]
64297         * locale/C-translit.h.in: Add entry for U20B9.
64298         Patch by pravin.d.s@gmail.com.
64300 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
64302         [BZ #12713]
64303         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64304         ENAMETOOLONG use generic getcwd.
64305         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
64306         in rtld.  Use *stat64.
64307         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64308         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64309         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64310         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64311         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64312         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64313         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64314         __fstatat64 macros.
64315         * include/dirent.h: Add libc_hidden_proto for rewinddir.
64316         * dirent/rewinddir.c: Add libc_hidden_def.
64317         * sysdeps/mach/hurd/rewinddir.c: Likewise.
64318         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
64320         * include/dirent.h (__alloc_dir): Add flags parameter.
64321         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64322         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64323         __alloc_dir.
64324         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
64325         from fdopendir if O_CLOEXEC is already set.
64327 2011-03-15  Alan Modra  <amodra@gmail.com>
64329         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64330         l_tls_firstbyte_offset non-zero.  Save padding offset in
64331         l_tls_firstbyte_offset for later use.
64332         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64333         freeing static tls block.
64335 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
64337         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64338         where #ifdef was intended.  The intent is to prevent ARG_MAX from
64339         being defined by the kernel headers.
64341 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
64343         [BZ #12734]
64344         * resolv/resolv.h: Define RES_NOTLDQUERY.
64345         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64346         no-tld-query and set RES_NOTLDQUERY.
64347         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64348         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64349         modern BIND to search name as TLD unless forbidden.
64351 2011-05-07  Petr Baudis  <pasky@suse.cz>
64352             Ulrich Drepper  <drepper@gmail.com>
64354         [BZ #12393]
64355         * elf/dl-load.c (fillin_rpath): Move trusted path check...
64356         (is_trusted_path): ...to here.
64357         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64358         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64359         using is_trusted_path_normalize() in setuid scripts.
64361 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64363         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64364         __BEGIN/__END_DECLS.
64366 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
64368         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64369         NSS_STATUS_NOTFOUND if no record was found.
64371 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64373         * sunrpc/Makefile (headers): Add rpc/netdb.h.
64374         (headers-not-in-tirpc): Remove rpc/netdb.h
64375         * resolv/netdb.h: Revert last change.
64377 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64379         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64380         circular dependency between libgcc.a and libc.a.
64382 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64384         * resolv/netdb.h: Don't include <rpc/netdb.h>.
64385         * nis/Makefile: Don't install rpcsvc/*.
64386         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64387         instead of <rpc/types.h>.
64388         (MAXHOSTNAMELEN): Define.
64390 2011-05-03  Andreas Schwab  <schwab@redhat.com>
64392         * elf/ldconfig.c (add_dir): Don't crash on empty path.
64394 2011-04-28  Maciej Babinski  <mbabinski@google.com>
64396         [BZ #12714]
64397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64398         gethostbyname4_r when IPv6 results are possible.
64400 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
64402         [BZ #12723]
64403         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64404         _PC_PIPE_BUF handling.
64406 2011-04-30  Bruno Haible  <bruno@clisp.org>
64408         [BZ #12717]
64409         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64410         * resolv/netdb.h (getnameinfo): Change type of flags parameter
64411         to 'int'.
64412         * inet/getnameinfo.c (getnameinfo): Likewise.
64414 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
64416         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64417         to groups setting in database lookup.
64418         * nss/nsswitch.conf: Add initgroups entry.
64420 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
64422         [BZ #12685]
64423         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64424         mode string.
64425         Patch by Eric Blake <eblake@redhat.com>.
64427 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
64429         * sunrpc/Makefile (need-export-routines): Add svc_run.
64430         (routines): Remove svc_run.
64431         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64432         * sunrpc/clnt_perr.c (clnt_perrno): Export.
64433         * sunrpc/svc_run.c (svc_run): Likewise.
64434         * sunrpc/svc_udp.c (svcudp_create): Likewise.
64436 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
64438         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64439         problem in reallocation in last patch.
64441 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
64443         * sunrpc/Makefile: Move inclusion of Rules.
64445 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64447         * nss/nss_files/files-initgroups.c: New file.
64448         * nss/Makefile (libnss_files-routines): Add files-initgroups.
64449         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64450         _nss_files_initgroups_dyn.
64452 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
64454         * elf/elf.h (R_ARM_IRELATIVE): Define.
64456 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64458         * po/ru.po: Update from translation team.
64460 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64462         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64463         dependencies.
64465 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
64467         [BZ #12653]
64468         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64469         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64470         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64471         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64472         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64474 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
64476         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64477         differing bytes.
64478         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64479         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64480         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64482 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64484         [BZ #12420]
64485         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64486         storing it.
64487         * stdlib/bug-getcontext.c: New file.
64488         * stdlib/Makefile: Add rules to build and run bug-getcontext.
64490 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64492         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64493         instructions into .machine "z9-109".
64494         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64495         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64497 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64499         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64500         between environment variables and auxiliary vector.
64502 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
64504         * Makefile: Add rules to build linkobj/libc.so.
64505         * include/libc-symbols.h: Define libc_hidden_nolink.
64506         * include/rpc/auth.h: Mark functions which are to be hidden.
64507         * include/rpc/auth_des.h: Likewise.
64508         * include/rpc/auth_unix.h: Likewise.
64509         * include/rpc/clnt.h: Likewise.
64510         * include/rpc/des_crypt.h: Likewise.
64511         * include/rpc/key_prot.h: Likewise.
64512         * include/rpc/pmap_clnt.h: Likewise.
64513         * include/rpc/pmap_prot.h: Likewise.
64514         * include/rpc/pmap_rmt.h: Likewise.
64515         * include/rpc/rpc_msg.h: Likewise.
64516         * include/rpc/svc.h: Likewise.
64517         * include/rpc/svc_auth.h: Likewise.
64518         * include/rpc/xdr.h: Likewise.
64519         * nis/Makefile: Link all DSOs against linkobj/libc.so.
64520         * nss/Makefile: Likewise.
64521         * sunrpc/Makefile: Don't install headers.  Build library with normal
64522         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
64523         * sunrpc/auth_des.c: Hide exported symbols by default, export some
64524         for the compat linking library.  Remove use of INTDEF/INTUSE.
64525         * sunrpc/auth_none.c: Likewise.
64526         * sunrpc/auth_unix.c: Likewise.
64527         * sunrpc/authdes_prot.c: Likewise.
64528         * sunrpc/authuxprot.c: Likewise.
64529         * sunrpc/clnt_gen.c: Likewise.
64530         * sunrpc/clnt_perr.c: Likewise.
64531         * sunrpc/clnt_raw.c: Likewise.
64532         * sunrpc/clnt_simp.c: Likewise.
64533         * sunrpc/clnt_tcp.c: Likewise.
64534         * sunrpc/clnt_udp.c: Likewise.
64535         * sunrpc/clnt_unix.c: Likewise.
64536         * sunrpc/des_crypt.c: Likewise.
64537         * sunrpc/des_soft.c: Likewise.
64538         * sunrpc/get_myaddr.c: Likewise.
64539         * sunrpc/key_call.c: Likewise.
64540         * sunrpc/key_prot.c: Likewise.
64541         * sunrpc/netname.c: Likewise.
64542         * sunrpc/pm_getmaps.c: Likewise.
64543         * sunrpc/pm_getport.c: Likewise.
64544         * sunrpc/pmap_clnt.c: Likewise.
64545         * sunrpc/pmap_prot.c: Likewise.
64546         * sunrpc/pmap_prot2.c: Likewise.
64547         * sunrpc/pmap_rmt.c: Likewise.
64548         * sunrpc/publickey.c: Likewise.
64549         * sunrpc/rpc_cmsg.c: Likewise.
64550         * sunrpc/rpc_common.c: Likewise.
64551         * sunrpc/rpc_dtable.c: Likewise.
64552         * sunrpc/rpc_prot.c: Likewise.
64553         * sunrpc/rpc_thread.c: Likewise.
64554         * sunrpc/rtime.c: Likewise.
64555         * sunrpc/svc.c: Likewise.
64556         * sunrpc/svc_auth.c: Likewise.
64557         * sunrpc/svc_authux.c: Likewise.
64558         * sunrpc/svc_raw.c: Likewise.
64559         * sunrpc/svc_run.c: Likewise.
64560         * sunrpc/svc_simple.c: Likewise.
64561         * sunrpc/svc_tcp.c: Likewise.
64562         * sunrpc/svc_udp.c: Likewise.
64563         * sunrpc/svc_unix.c: Likewise.
64564         * sunrpc/svcauth_des.c: Likewise.
64565         * sunrpc/xcrypt.c: Likewise.
64566         * sunrpc/xdr.c: Likewise.
64567         * sunrpc/xdr_array.c: Likewise.
64568         * sunrpc/xdr_float.c: Likewise.
64569         * sunrpc/xdr_intXX_t.c: Likewise.
64570         * sunrpc/xdr_mem.c: Likewise.
64571         * sunrpc/xdr_rec.c: Likewise.
64572         * sunrpc/xdr_ref.c: Likewise.
64573         * sunrpc/xdr_sizeof.c: Likewise.
64574         * sunrpc/xdr_stdio.c: Likewise.
64576 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
64578         [BZ #12650]
64579         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64580         * sysdeps/ia64/dl-tls.h: Likewise.
64581         * sysdeps/powerpc/dl-tls.h: Likewise.
64582         * sysdeps/s390/dl-tls.h: Likewise.
64583         * sysdeps/sh/dl-tls.h: Likewise.
64584         * sysdeps/sparc/dl-tls.h: Likewise.
64585         * sysdeps/x86_64/dl-tls.h: Likewise.
64586         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64588 2011-03-14  Andreas Schwab  <schwab@redhat.com>
64590         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64591         rpath element also skip the following colon.
64592         (expand_dynamic_string_token): Add is_path parameter and pass
64593         down to DL_DST_REQUIRED and _dl_dst_substitute.
64594         (decompose_rpath): Call expand_dynamic_string_token with
64595         non-zero is_path.  Ignore empty rpaths.
64596         (_dl_map_object_from_fd): Call expand_dynamic_string_token
64597         with zero is_path.
64599 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
64601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64602         Make cancelable.
64604 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
64606         [BZ #12655]
64607         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64608         Patch by Filipe David Manana <fdmanana@apache.org>.
64610 2011-04-07  Andreas Schwab  <schwab@redhat.com>
64612         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64613         Maintain aligned stack.
64614         (CHECK_RSP): Remove unused macro.
64616 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
64618         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64619         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64621 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
64623         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64625         * include/features.h: Mention __USE_XOPEN2K8 in comment.
64627 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
64629         [BZ #12518]
64630         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64631         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64632         * sysdeps/x86_64/memmove.c: New file.
64633         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64634         (memcpy): Renamed to ...
64635         (__new_memcpy): This.
64636         (memcpy): Provide GLIBC_2_14 memcpy.
64637         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64638         (memcpy): Provide GLIBC_2_2_5 memcpy.
64640 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64642         [BZ #12631]
64643         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64645 2011-03-30  Andreas Schwab  <schwab@redhat.com>
64647         * misc/syncfs.c: New file.
64648         * misc/Makefile (routines): Add syncfs.
64649         * posix/unistd.h: Declare syncfs.
64650         * sysdeps/unix/syscalls.list: Add syncfs.
64652 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64654         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64655         open_by_handle_at.
64656         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64657         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64658         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64659         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64661         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64662         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64664 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64666         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64667         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64668         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64670         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64671         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64672         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64674         * io/Makefile: Compile fallocate.c, fallocate64.c, and
64675         sync_file_range.c with -fexceptions.
64676         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64677         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64678         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64679         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64680         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64681         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64682         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64683         sync_file_range as cancellation point
64684         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
64685         now a wrapper around __call_sync_file_range with cancellation handling.
64686         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64687         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
64688         function name to __call_sync_file_range.
64689         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64690         Add call_sync_file_range.
64692 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64695         bits/timex.h.
64697 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64699         * iconv/iconv.h: Fix typo in comment.
64700         * io/fcntl.h: Likewise.
64701         * libio/stdio.h: Likewise.
64702         * posix/spawn.h: Likewise.
64703         * posix/unistd.h: Likewise.
64704         * stdlib/stdlib.h: Likewise.
64705         * time/time.h: Likewise.
64706         * wcsmbs/wchar.h: Likewise.
64708         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64709         open_by_handle): Add.
64710         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64711         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
64712         Augment a few comments.
64713         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64714         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64715         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64717         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64718         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64719         open_by_handle.
64721         * io/fcntl.h (AT_EMPTY_PATH): Define.
64723 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
64725         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64726         * sysdeps/unix/sysv/linux/bits/time.h: New file.
64727         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64728         to...
64729         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
64730         * Versions.def: Add GLIBC_2.14.
64731         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64732         Export.
64734 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
64736         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64737         round counter.
64738         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64740 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64742         [BZ #12597]
64743         * string/test-strncmp.c (do_page_test): New function.
64744         (check2): Likewise.
64745         (test_main): Call check2.
64746         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64748 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
64750         [BZ #12587]
64751         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64752         Handle cache information in CPU leaf 4.
64753         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64755 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
64757         [BZ #12583]
64758         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64759         character representation.
64760         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64762 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
64764         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64765         END(__isnan) to END(__isnanf) to match function entry point/label
64766         EALIGN(__isnanf,...).
64768 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
64770         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64772 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
64774         [BZ #12510]
64775         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64776         copy from the symbol referenced in the relocation to initialize the
64777         used variable.
64778         Patch by Piotr Bury <pbury@goahead.com>.
64779         * elf/Makefile: Add rules to build and tst-unique3.
64780         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64781         * elf/tst-unique3.cc: New file.
64782         * elf/tst-unique3.h: New file.
64783         * elf/tst-unique3lib.cc: New file.
64784         * elf/tst-unique3lib2.cc: New file.
64786         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64788 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
64790         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64791         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
64792         to _start.
64794 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
64796         * elf/dl-load.c (_dl_map_object): If we are looking for the first
64797         to-be-loaded object along a path to loader is ld.so.
64799 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
64800             Ulrich Drepper  <drepper@gmail.com>
64802         * sysdeps/x86_64/memset.S: After aligning destination, code
64803         branches to different locations depending on the value of
64804         misalignment, when multiarch is enabled. Fix this.
64806 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
64808         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64809         Set _x86_64_preferred_memory_instruction for AMD processsors.
64810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64811         Set bit_Prefer_SSE_for_memop for AMD processors.
64813 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
64815         * libio/fmemopen.c (fmemopen): Optimize a bit.
64817 2011-03-03  Andreas Schwab  <schwab@redhat.com>
64819         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64821 2011-03-03  Roland McGrath  <roland@redhat.com>
64823         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64825 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
64827         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64828         __bzero_ultra1 instead of __memset_ultra1.
64830 2011-02-23  Andreas Schwab  <schwab@redhat.com>
64831             Ulrich Drepper  <drepper@gmail.com>
64833         [BZ #12509]
64834         * include/link.h (struct link_map): Add l_orig_initfini.
64835         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64836         returning unsuccessfully.
64837         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64838         close of a file loaded at startup, restore the original l_initfini
64839         list.
64840         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64841         list, store the pointer.
64842         * elf/Makefile ($(objpfx)noload-mem): New rule.
64843         (noload-ENV): Define.
64844         (tests): Add $(objpfx)noload-mem.
64845         * elf/noload.c: Include <memcheck.h>.
64846         (main): Call mtrace.  Close all opened handles.
64848 2011-02-17  Andreas Schwab  <schwab@redhat.com>
64850         [BZ #12454]
64851         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64852         dependencies are missing.
64854 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64856         Fix __if_freereq crash: Unlike the generic version which uses free,
64857         Hurd needs munmap.
64858         * sysdeps/mach/hurd/ifreq.h: New file.
64860 2011-01-27  Petr Baudis  <pasky@suse.cz>
64861             Ulrich Drepper  <drepper@gmail.com>
64863         [BZ 12445]#
64864         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64865         to extend_alloca().
64866         * stdio-common/bug23.c: New file.
64867         * stdio-common/Makefile (tests): Add bug23.
64869 2010-09-28  Andreas Schwab  <schwab@redhat.com>
64870             Ulrich Drepper  <drepper@gmail.com>
64872         [BZ #12489]
64873         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64874         before performing relro protection.  At old place add assertion
64875         to make sure nothing changed.
64877 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
64878             Glauber de Oliveira Costa  <glommer@gmail.com>
64880         * elf/elf.h: Add new ARM TLS relocs.
64882 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
64884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64885         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64886         cast from r3.
64887         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
64888         'tests' variable.
64889         * sysdeps/wordsize-64/tst-writev.c: New file.
64891 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
64893         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64894         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64895         insns in _dl_start to prevent a TOC reference before relocs are
64896         resolved.
64898 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
64900         [BZ #12469]
64901         * Makeconfig: Remove RANLIB definition.
64902         * Makerules: Don't use RANLIB.
64903         * aclocal.m4: Remove ranlib test.
64904         * configure.in: No need to check for ranlib.
64905         * elf/rtld-Rules: Don't use RANLIB.
64907 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64909         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64910         protection macro.
64911         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64912         inclusion protection macro.
64914         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64915         SIGRTMIN and SIGRTMAX and print information in that case only when
64916         SIGRTMIN is defined.
64918 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
64920         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64921         arginfo fn returning -1.
64923         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64924         and thousands string is zero terminated.
64926 2011-02-03  Andreas Schwab  <schwab@redhat.com>
64928         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64929         sysdeps/unix/sysv/linux/bits/socket.h.
64931 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64933         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64934         (__CPU_COUNT): Remove old macros.
64935         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64936         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64937         (__CPU_ALLOC, __CPU_FREE): Add macros.
64938         (__sched_cpualloc, __sched_cpufree): Add declarations.
64940 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
64942         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64943         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64944         * nscd/aicache.c (addhstaiX): Return timeout of added value.
64945         (readdhstai): Return value of addhstaiX call.
64946         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64947         (addgrbyX): Return value returned by cache_addgr.
64948         (readdgrbyname): Return value returned by addgrbyX.
64949         (readdgrbygid): Likewise.
64950         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64951         (addpwbyX): Return value returned by cache_addpw.
64952         (readdpwbyname): Return value returned by addhstbyX.
64953         (readdpwbyuid): Likewise.
64954         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64955         (addservbyX): Return value returned by cache_addserv.
64956         (readdservbyname): Return value returned by addservbyX:
64957         (readdservbyport): Likewise.
64958         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64959         (addhstbyX): Return value returned by cache_addhst.
64960         (readdhstbyname): Return value returned by addhstbyX.
64961         (readdhstbyaddr): Likewise.
64962         (readdhstbynamev6): Likewise.
64963         (readdhstbyaddrv6): Likewise.
64964         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64965         (readdinitgroups): Return value returned by addinitgroupsX.
64966         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64967         (prune_cache): Keep track of timeout value of re-added entries.
64968         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64969         * nscd/nscd.h: Adjust prototypes of readd* functions.
64971 2011-02-04  Roland McGrath  <roland@redhat.com>
64973         * nis/nis_server.c (nis_servstate): Use the right name for 0.
64974         (nis_stats): Likewise.
64975         * nis/nis_modify.c (nis_modify): Likewise.
64976         * nis/nis_remove.c (nis_remove): Likewise.
64977         * nis/nis_add.c (nis_add): Likewise.
64979         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64981         * posix/fnmatch_loop.c: Add some consts.
64983         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64985 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
64987         [BZ #12460]
64988         * config.make.in (config-cflags-novzeroupper): Define.
64989         * configure.in: Substitute libc_cv_cc_novzeroupper.
64990         * elf/Makefile (AVX-CFLAGS): Define.
64991         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64992         (CFLAGS-tst-auditmod4a.c): Likewise.
64993         (CFLAGS-tst-auditmod4b.c): Likewise.
64994         (CFLAGS-tst-auditmod6b.c): Likewise.
64995         (CFLAGS-tst-auditmod6c.c): Likewise.
64996         (CFLAGS-tst-auditmod7b.c): Likewise.
64997         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64999 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
65001         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
65002         function to the callback.
65003         Patch partly by Jiri Olsa <jolsa@redhat.com>.
65005 2011-02-02  Andreas Schwab  <schwab@redhat.com>
65007         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
65008         of errno.
65010 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
65012         [BZ #11724]
65013         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
65014         of constructors.
65015         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
65016         of destructors.
65017         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
65019         [BZ #11724]
65020         * elf/Makefile: Add rules to build and run new test.
65021         * elf/tst-initorder.c: New file.
65022         * elf/tst-initorder.exp: New file.
65023         * elf/tst-initordera1.c: New file.
65024         * elf/tst-initordera2.c: New file.
65025         * elf/tst-initordera3.c: New file.
65026         * elf/tst-initordera4.c: New file.
65027         * elf/tst-initorderb1.c: New file.
65028         * elf/tst-initorderb2.c: New file.
65029         * elf/tst-order-a1.c: New file.
65030         * elf/tst-order-a2.c: New file.
65031         * elf/tst-order-a3.c: New file.
65032         * elf/tst-order-a4.c: New file.
65033         * elf/tst-order-b1.c: New file.
65034         * elf/tst-order-b2.c: New file.
65035         * elf/tst-order-main.c: New file.
65036         New test case by George Gensure <werkt0@gmail.com>.
65038 2010-10-01  Andreas Schwab  <schwab@redhat.com>
65040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65041         decoding ACE if AI_CANONIDN.
65043 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
65045         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
65047 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
65049         * version.h (RELEASE): Bump for 2.13 release.
65050         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
65052         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
65054         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
65055         MADV_NOHUGEPAGE.
65056         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
65057         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65058         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65059         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65060         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65061         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65063         * posix/getconf.c: Update copyright year.
65064         * catgets/gencat.c: Likewise.
65065         * csu/version.c: Likewise.
65066         * debug/catchsegv.sh: Likewise.
65067         * debug/xtrace.sh: Likewise.
65068         * elf/ldconfig.c: Likewise.
65069         * elf/ldd.bash.in: Likewise.
65070         * elf/sprof.c (print_version): Likewise.
65071         * iconv/iconv_prog.c: Likewise.
65072         * iconv/iconvconfig.c: Likewise.
65073         * locale/programs/locale.c: Likewise.
65074         * locale/programs/localedef.c: Likewise.
65075         * malloc/memusage.sh: Likewise.
65076         * malloc/mtrace.pl: Likewise.
65077         * nscd/nscd.c (print_version): Likewise.
65078         * nss/getent.c: Likewise.
65080         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
65081         PF_CAIF, and PF_ALG.
65082         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65084 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
65086         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
65087         (modules-names): Use them.
65088         (ifunc-test-modules, ifunc-pie-tests): Define.
65089         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
65090         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
65091         (test-extras): Likewise.
65092         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
65093         $(compile-command.c).
65094         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
65095         (all-built-dso): Define.
65096         (check-textrel.out, check-execstack.out): Depend on it.
65098         * configure.in: Don't override --enable-multi-arch.
65100 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
65102         [BZ #6812]
65103         * nscd/hstcache.c (tryagain): Define.
65104         (cache_addhst): Return tryagain not notfound for temporary errors.
65105         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
65106         failed.
65108 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
65110         [BZ #10563]
65111         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
65112         to make the syscall.
65113         * sysdeps/unix/sysv/linux/setgroups.c: New file.
65115         [BZ #12378]
65116         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
65117         and fall back to matching as normal character if the string ends before
65118         the matching ']' is found.  This is what POSIX requires.
65119         * posix/testfnm.c: Adjust test result.
65120         * posix/globtest.sh: Adjust test result.  Add new test.
65121         * posix/tst-fnmatch.input: Likewise.
65122         * posix/tst-fnmatch2.c: Add new test.
65124 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
65126         * elf/Makefile (check-execstack): Revert last change.  Depend on
65127         check-execstack.h.
65128         (check-execstack.h): New target.
65129         (generated): Add check-execstack.h.
65130         * elf/check-execstack.c: Include "check-execstack.h".
65131         (main): Revert last change.
65132         (handle_file): Return zero if GNU_STACK is absent and
65133         DEFAULT_STACK_PERMS doesn't include PF_X.
65135 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
65137         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65138         in child fails because the descriptor is already closed.
65139         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65140         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65141         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65143         [BZ #12397]
65144         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65145         syscall.
65147         [BZ #10484]
65148         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65149         temporary buffer used to handle multi lookups locally.
65150         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65152 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65154         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65155         loader is ld.so.
65157 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
65159         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65160         alignment for SSE2.
65162 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65164         [BZ #12394]
65165         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65166         characters.  When rounding increased number of integer digits recompute
65167         number of groups.
65168         * stdio-common/tst-grouping.c: New file.
65169         * stdio-common/Makefile: Add rules to build and run tst-grouping.
65171 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
65173         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65174         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
65176         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65177         void.
65178         * bits/select.h: Likewise.
65180 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
65182         * po/ja.po: Update from translation team.
65184 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
65186         [BZ #11155]
65187         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65188         implementation just like for lxstat, fxstatat, et al.
65190 2010-12-27  Jim Meyering  <meyering@redhat.com>
65192         [BZ #12348]
65193         * posix/regexec.c (build_trtable): Return failure indication upon
65194         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
65196 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
65198         [BZ #12201]
65199         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65200         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65201         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65202         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65204         [BZ #12207]
65205         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65207         [BZ #12204]
65208         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65209         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65211 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
65213         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65214         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65215         script has SORT_BY_INIT_PRIORITY.
65216         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65217         NO_CTORS_DTORS_SECTIONS is defined.
65218         * elf/soinit.c: Likewise.
65219         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65220         NO_CTORS_DTORS_SECTIONS is defined.
65221         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65222         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65223         * sysdeps/sh/init-first.c: Likewise.
65224         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65226 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
65228         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65229         always use the slow path.
65231 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
65233         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65234         similar rule which adds the sysdep directories to the header search in
65235         order to pick up the correct platform stackinfo.h.
65236         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65237         perform test if it is, otherwise return successfully without testing.
65238         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65239         DEFAULT_STACK_PERMS define in stackinfo.h.
65240         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65241         defined in stackinfo.h.
65242         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65243         DEFAULT_STACK_PERMS defined in stackinfo.h.
65244         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65245         * sysdeps/ia64/stackinfo.h: Likewise.
65246         * sysdeps/s390/stackinfo.h: Likewise.
65247         * sysdeps/sh/stackinfo.h: Likewise.
65248         * sysdeps/sparc/stackinfo.h: Likewise.
65249         * sysdeps/x86_64/stackinfo.h: Likewise.
65250         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65251         PF_X for powerpc64.  Retain PF_X for powerpc32.
65253 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
65255         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65256         accurately.
65257         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65258         GETDENTS_64BIT_ALIGNED.
65260 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
65262         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65264 2010-12-10  Andreas Schwab  <schwab@redhat.com>
65266         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65267         _GNU_SOURCE.
65269         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65270         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65271         Remove __restrict.
65272         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65273         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65275 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
65277         [BZ #11655]
65278         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65279         are initialized.
65281 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
65283         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65285 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
65287         * po/it.po: Update from translation team.
65289 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
65291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65292         unused codes.
65294 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
65296         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65298 2010-11-24  Andreas Schwab  <schwab@redhat.com>
65300         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65301         specially.
65302         (gaih_getanswer_slice): Likewise.
65304 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
65306         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65308 2010-05-31  Petr Baudis  <pasky@suse.cz>
65310         [BZ #11149]
65311         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65312         silently even in the chroot mode.
65314 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
65316         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65317         last patch a bit.  Pretty printing
65319 2010-05-31  Petr Baudis <pasky@suse.cz>
65321         [BZ #10085]
65322         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65323         initialization of skip_initgroups_dyn.
65325 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
65327         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65328         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65330 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
65332         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65334 2010-11-11  Andreas Schwab  <schwab@redhat.com>
65336         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65337         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65338         (tst-fnmatch-ENV): Set MALLOC_TRACE.
65339         ($(objpfx)tst-fnmatch-mem): New rule.
65340         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65341         * posix/tst-fnmatch.c (main): Call mtrace.
65343 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
65345         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65346         Support Intel processor model 6 and model 0x2c.
65348 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
65350         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65351           signed comparison.
65353 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
65355         [BZ #12205]
65356         * string/test-strncasecmp.c (check_result): New function.
65357         (do_one_test): Use it.
65358         (check1): New function.
65359         (test_main): Use it.
65360         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65361         Support strcasecmp and strncasecmp.
65363 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
65365         [BZ #12194]
65366         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65367         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65369 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65371         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65372         IFUNC support.
65373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65374         memset-x86-64.
65375         * sysdeps/x86_64/multiarch/bzero.S: New file.
65376         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65377         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65378         * sysdeps/x86_64/multiarch/memset.S: New file.
65379         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65381         Set bit_Prefer_SSE_for_memop for Intel processors.
65382         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65383         Define.
65384         (index_Prefer_SSE_for_memop): Define.
65385         (HAS_PREFER_SSE_FOR_MEMOP): Define.
65387 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
65389         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65390         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65392 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
65394         [BZ #12191]
65395         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65396         (__x86_64_raw_data_cache_size_half): Likewise.
65397         (__x86_64_raw_shared_cache_size): Likewise.
65398         (__x86_64_raw_shared_cache_size_half): Likewise.
65400         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65401         (__x86_64_raw_data_cache_size_half): Likewise.
65402         (__x86_64_raw_shared_cache_size): Likewise.
65403         (__x86_64_raw_shared_cache_size_half): Likewise.
65404         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65405         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65406         and __x86_64_raw_shared_cache_size_half.  Round
65407         __x86_64_data_cache_size_half, __x86_64_data_cache_size
65408         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65409         to multiple of 256 bytes.
65411 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
65413         [BZ #12167]
65414         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65415         of inacessible symlinks.  Verify result of symlink before returning it.
65416         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65417         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65419 2010-10-28  Erich Ritz  <erichritz@gmail.com>
65421         * math/math.h (isinf): Fix typo in comment.
65423 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
65425         * po/da.po: Update from translation team.
65427 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
65429         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65430         is added to the list.
65432 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65433             Ulrich Drepper  <drepper@gmail.com>
65435         * elf/dl-object.c (_dl_new_object): Don't append the new object to
65436         the global list here.  Move code to...
65437         (_dl_add_to_namespace_list): ...here.  New function.
65438         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65439         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65440         * elf/dl-load.c (lose): Don't remove the element from the list.
65441         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65442         (_dl_map_object): Likewise.
65444 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
65446         [BZ #12159]
65447         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65448         into all bytes of SSE register.
65449         Patch by Richard Li <richardpku@gmail.com>.
65451 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
65453         [BZ #12140]
65454         * malloc/malloc.c (_int_free): Fill correct number of bytes when
65455         perturbing.
65457 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
65459         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65460         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65461         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65462         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65464         submachine.
65465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65467 2010-10-22  Andreas Schwab  <schwab@redhat.com>
65469         * include/dlfcn.h (__RTLD_SECURE): Define.
65470         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
65471         mode & __RTLD_SECURE instead.
65472         (open_path): Rename preloaded parameter to secure.
65473         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65474         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65475         * elf/dl-deps.c (openaux): Likewise.
65476         * elf/rtld.c (struct map_args): Remove is_preloaded.
65477         (map_doit): Don't use it.
65478         (dl_main): Likewise.
65479         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65480         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65482 2010-09-09  Andreas Schwab  <schwab@redhat.com>
65484         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65485         (sysd-rules-targets): Remove duplicates.
65486         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65487         rtld-%.$o dependency.
65489 2010-10-18  Andreas Schwab  <schwab@redhat.com>
65491         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65492         _dl_map_object do it.
65494 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
65496         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65497         fast fma builtins, define the macros in the C99 standard.
65498         (FP_FAST_FMAF): Likewise.
65499         (FP_FAST_FMAL): Likewise.
65500         * sysdeps/x86_64/bits/mathdef.h: Likewise.
65502         * bits/mathdef.h: Update copyright year.
65503         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65505 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
65507         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65508         builtins, define the macros in the C99 standard.
65509         (FP_FAST_FMAF): Likewise.
65510         (FP_FAST_FMAL): Likewise.
65511         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65512         multiply/add.
65513         (FP_FAST_FMAF): Likewise.
65515 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
65517         [BZ #3268]
65518         * math/libm-test.inc (fma_test): Some new testcases.
65519         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65520         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65521         y and infinite z.  Do multiplication by C already in long double.
65522         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65524         y and infinite z.  Do bitwise or of inexact bit into u.d.
65525         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65526         * sysdeps/i386/fpu/s_fmaf.S: Removed.
65527         * sysdeps/i386/fpu/s_fma.S: Removed.
65528         * sysdeps/i386/fpu/s_fmal.S: Removed.
65530 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
65532         [BZ #3268]
65533         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65534         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65535         computation is not scheduled after fetestexcept.  Fix value
65536         of minimum denormal long double.
65538 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
65540         [BZ #3268]
65541         * math/libm-test.inc (fma_test): Add some more tests.
65542         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65543         correctly.
65545 2010-10-15  Andreas Schwab  <schwab@redhat.com>
65547         * scripts/data/localplt-s390-linux-gnu.data: New file.
65548         * scripts/data/localplt-s390x-linux-gnu.data: New file.
65550 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
65552         [BZ #3268]
65553         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65554         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65555         instead of dbl-64.
65556         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65557         inlines.
65558         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65560         if one of x and y is very large and the other is subnormal.
65561         * sysdeps/s390/fpu/s_fmaf.c: New file.
65562         * sysdeps/s390/fpu/s_fma.c: New file.
65563         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65564         * sysdeps/powerpc/fpu/s_fma.S: New file.
65565         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65566         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65567         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65569 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
65571         [BZ #3268]
65572         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65573         fma tests.
65574         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65575         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65576         * sysdeps/i386/i686/multiarch/s_fma.c: Include
65577         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65578         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65579         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65580         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65582 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
65584         [BZ #12078]
65585         * posix/regcomp.c (parse_branch): One more memory leak plugged.
65586         * posix/bug-regex31.input: Add test case.
65588 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65590         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65591         * posix/bug-regex31.input: New file.
65593         [BZ #12078]
65594         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65595         (parse_sub_exp): Fix last change, use postorder.
65597         * posix/bug-regex31.c: New file.
65598         * posix/Makefile: Add rules to build and run bug-regex31.
65600         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65602         [BZ #12078]
65603         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65605         [BZ #12108]
65606         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65607         to have entries in sys_siglist.
65609         [BZ #12093]
65610         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65611         be NULL.
65613 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
65615         [BZ #3268]
65616         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65617         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65618         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65619         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65620         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65621         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65622         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65623         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65624         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65625         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65626         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65627         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65628         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65629         * math/ftestexcept.c (fetestexcept): Likewise.
65630         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65631         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65632         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65633         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65634         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65635         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65636         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65638 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65640         [BZ #12107]
65641         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65642         newline.
65644 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
65646         * string/bug-strstr1.c: New file.
65647         * string/Makefile: Add rules to build and run bug-strstr1.
65649 2010-10-05  Eric Blake  <eblake@redhat.com>
65651         [BZ #12092]
65652         * string/str-two-way.h (two_way_long_needle): Always clear memory
65653         when skipping input due to the shift table.
65655 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
65657         [BZ #12005]
65658         * malloc/mcheck.c: Handle large requests.
65660         [BZ #12077]
65661         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65662         for strncmp and strncasecmp.
65663         * string/stratcliff.c: Add tests for strcmp and strncmp.
65664         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65666 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65668         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65669         __set_fpscr.
65671 2010-09-30  Andreas Jaeger  <aj@suse.de>
65673         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65674         (CGROUP_SUPER_MAGIC): Define.
65675         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65676         Handle btrfs and cgroup file systems.
65677         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65678         Likewise.
65680 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
65682         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65683         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65685 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65687         [BZ #12067]
65688         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65689         trying to locate the ELF header.
65691 2010-09-27  Andreas Schwab  <schwab@redhat.com>
65693         [BZ #11611]
65694         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65695         Mask out sign-bit copies when constructing f_fsid.
65697 2010-09-24  Petr Baudis <pasky@suse.cz>
65699         * debug/stack_chk_fail_local.c: Add missing licence exception.
65700         * debug/warning-nop.c: Likewise.
65702 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
65704         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65705         implementing getdents64 using getdents syscall, set d_type if
65706         __ASSUME_GETDENTS32_D_TYPE.
65708 2010-09-16  Andreas Schwab  <schwab@redhat.com>
65710         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65711         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65713 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
65715         [BZ #12037]
65716         * posix/unistd.h: Undo change of feature selection for ftruncate from
65717         2010-01-11.
65719 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
65721         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65722         detection.
65724 2010-09-20  Andreas Schwab  <schwab@redhat.com>
65726         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65727         fanotify_mark.
65728         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65730 2010-09-14  Andreas Schwab  <schwab@redhat.com>
65732         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65733         variables after CHECK_SP call.
65734         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65736 2010-09-13  Andreas Schwab  <schwab@redhat.com>
65737             Ulrich Drepper  <drepper@redhat.com>
65739         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65740         re-relocationg ld.so.
65741         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65742         _dl_init_paths call.
65743         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
65744         here anymore.
65746 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
65748         * resolv/res_init.c (__res_vinit): Count the default server we added.
65750 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
65751             Ulrich Drepper  <drepper@redhat.com>
65753         [BZ #11968]
65754         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65755         (____longjmp_chk): Use %ebx for saving value across system call.
65756         Add unwind info.
65758 2010-09-06  Andreas Schwab  <schwab@redhat.com>
65760         * manual/Makefile: Don't mix pattern rules with normal rules.
65762 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
65764         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65765         operation.
65766         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65767         * libio/iofopncook.c (_IO_cookie_init): Likewise.
65768         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65769         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65770         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65771         Likewise.
65773 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
65775         [BZ #11979]
65776         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65777         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65779 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
65781         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65782         * sysdeps/x86_64/addmul_1.S: Likewise.
65783         * sysdeps/x86_64/lshift.S: Likewise.
65784         * sysdeps/x86_64/mul_1.S: Likewise.
65785         * sysdeps/x86_64/rshift.S: Likewise.
65786         * sysdeps/x86_64/sub_n.S: Likewise.
65787         * sysdeps/x86_64/submul_1.S: Likewise.
65789 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65791         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65792         Define __sched_param instead of SCHED_* and sched_param when
65793         <bits/sched.h> is included with __need_schedparam defined.
65794         * bits/sched.h [__need_schedparam]
65795         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65796         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65797         (__defined_schedparam): Define to 1.
65798         (__sched_param): New structure, identical to sched_param.
65799         (__need_schedparam): Undefine.
65801 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
65803         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65804         (epoll_create1): Declare.
65806         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65808 2010-08-31  Andreas Schwab  <schwab@redhat.com>
65810         [BZ #7066]
65811         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65812         shifting retval into place.
65814 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
65816         * nis/rpcsvc/nis.h: Update copyright notice.
65817         * nis/rpcsvc/nis.x: Likewise.
65818         * nis/rpcsvc/nis_callback.h: Likewise.
65819         * nis/rpcsvc/nis_callback.x: Likewise.
65820         * nis/rpcsvc/nis_object.x: Likewise.
65821         * nis/rpcsvc/nis_tags.h: Likewise.
65822         * nis/rpcsvc/yp.h: Likewise.
65823         * nis/rpcsvc/yp.x: Likewise.
65824         * nis/rpcsvc/ypupd.h: Likewise.
65825         * nis/yp_xdr.c: Likewise.
65826         * nis/ypupdate_xdr.c: Likewise.
65828         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
65829         mainly the body of pmap_getport.  Add parameters to specify timeouts.
65830         (pmap_getport): Use __libc_rpc_getport.
65831         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65832         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65833         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65835 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
65837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65838         fanotify_mark.
65840 2010-08-27  Roland McGrath  <roland@redhat.com>
65842         * sysdeps/i386/i686/multiarch/Makefile
65843         (CFLAGS-varshift.c): New variable.
65845 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
65847         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65848         * sysdeps/i386/i686/multiarch/varshift.c: New file.
65850         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65852         * sysdeps/x86_64/strlen.S: Minimal code improvement.
65854 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
65856         * sysdeps/x86_64/strlen.S: Unroll the loop.
65857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65858         strlen-sse2 strlen-sse2-bsf.
65859         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65860         __strlen_no_bsf if bit_Slow_BSF is set.
65861         (__strlen_sse42): Removed.
65862         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65863         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65865 2010-08-25  Roland McGrath  <roland@redhat.com>
65867         * sysdeps/x86_64/multiarch/varshift.S: File removed.
65868         * sysdeps/x86_64/multiarch/varshift.c: New file.
65869         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65870         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65871         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65872         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65874 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
65876         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65877         strlen-sse2 strlen-sse2-bsf.
65878         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65879         __strlen_sse2_bsf if bit_Slow_BSF is unset.
65880         (__strlen_sse2): Removed.
65881         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65882         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65884         bit_Slow_BSF for Atom.
65885         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65886         (index_Slow_BSF): Define.
65887         (HAS_SLOW_BSF): Define.
65889 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
65891         [BZ #10851]
65892         * resolv/res_init.c (__res_vinit): When no server address at all
65893         is given default to loopback.
65895 2010-08-24  Roland McGrath  <roland@redhat.com>
65897         * configure.in: Remove config-name.h generation.
65898         * configure: Regenerated.
65899         * config-name.in: File removed.
65900         * scripts/config-uname.sh: New file.
65901         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65902         ($(objdir)config-name.h): New target.
65904         * sunrpc/rpc_parse.h: Avoid nested comment.
65906 2010-08-24  Richard Henderson  <rth@redhat.com>
65907             Ulrich Drepper  <drepper@redhat.com>
65908             H.J. Lu  <hongjiu.lu@intel.com>
65910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65911         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65912         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65913         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
65914         _mm_alignr_epi8 with _mm_loadu_si128.
65915         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65916         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65917         (__m128i_shift_right): Removed.
65918         * sysdeps/i386/i686/multiarch/varshift.h: New file.
65919         * sysdeps/i386/i686/multiarch/varshift.S: New file.
65920         * sysdeps/x86_64/multiarch/varshift.h: New file.
65921         * sysdeps/x86_64/multiarch/varshift.S: New file.
65923 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
65925         * configure.in: Move assembler checks to before sysdep dir checking.
65927 2010-08-20  Petr Baudis  <pasky@suse.cz>
65929         * LICENSES: Sync the sunrpc license.
65931 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
65933         * sunrpc/auth_des.c: Update copyright notice once again.
65934         * sunrpc/auth_none.c: Likewise.
65935         * sunrpc/auth_unix.c: Likewise.
65936         * sunrpc/authdes_prot.c: Likewise.
65937         * sunrpc/authuxprot.c: Likewise.
65938         * sunrpc/bindrsvprt.c: Likewise.
65939         * sunrpc/clnt_gen.c: Likewise.
65940         * sunrpc/clnt_perr.c: Likewise.
65941         * sunrpc/clnt_raw.c: Likewise.
65942         * sunrpc/clnt_simp.c: Likewise.
65943         * sunrpc/clnt_tcp.c: Likewise.
65944         * sunrpc/clnt_udp.c: Likewise.
65945         * sunrpc/clnt_unix.c: Likewise.
65946         * sunrpc/des_crypt.c: Likewise.
65947         * sunrpc/des_soft.c: Likewise.
65948         * sunrpc/get_myaddr.c: Likewise.
65949         * sunrpc/getrpcport.c: Likewise.
65950         * sunrpc/key_call.c: Likewise.
65951         * sunrpc/key_prot.c: Likewise.
65952         * sunrpc/openchild.c: Likewise.
65953         * sunrpc/pm_getmaps.c: Likewise.
65954         * sunrpc/pm_getport.c: Likewise.
65955         * sunrpc/pmap_clnt.c: Likewise.
65956         * sunrpc/pmap_prot.c: Likewise.
65957         * sunrpc/pmap_prot2.c: Likewise.
65958         * sunrpc/pmap_rmt.c: Likewise.
65959         * sunrpc/rpc/auth.h: Likewise.
65960         * sunrpc/rpc/auth_unix.h: Likewise.
65961         * sunrpc/rpc/clnt.h: Likewise.
65962         * sunrpc/rpc/des_crypt.h: Likewise.
65963         * sunrpc/rpc/key_prot.h: Likewise.
65964         * sunrpc/rpc/netdb.h: Likewise.
65965         * sunrpc/rpc/pmap_clnt.h: Likewise.
65966         * sunrpc/rpc/pmap_prot.h: Likewise.
65967         * sunrpc/rpc/pmap_rmt.h: Likewise.
65968         * sunrpc/rpc/rpc.h: Likewise.
65969         * sunrpc/rpc/rpc_des.h: Likewise.
65970         * sunrpc/rpc/rpc_msg.h: Likewise.
65971         * sunrpc/rpc/svc.h: Likewise.
65972         * sunrpc/rpc/svc_auth.h: Likewise.
65973         * sunrpc/rpc/types.h: Likewise.
65974         * sunrpc/rpc/xdr.h: Likewise.
65975         * sunrpc/rpc_clntout.c: Likewise.
65976         * sunrpc/rpc_cmsg.c: Likewise.
65977         * sunrpc/rpc_common.c: Likewise.
65978         * sunrpc/rpc_cout.c: Likewise.
65979         * sunrpc/rpc_dtable.c: Likewise.
65980         * sunrpc/rpc_hout.c: Likewise.
65981         * sunrpc/rpc_main.c: Likewise.
65982         * sunrpc/rpc_parse.c: Likewise.
65983         * sunrpc/rpc_parse.h: Likewise.
65984         * sunrpc/rpc_prot.c: Likewise.
65985         * sunrpc/rpc_sample.c: Likewise.
65986         * sunrpc/rpc_scan.c: Likewise.
65987         * sunrpc/rpc_scan.h: Likewise.
65988         * sunrpc/rpc_svcout.c: Likewise.
65989         * sunrpc/rpc_tblout.c: Likewise.
65990         * sunrpc/rpc_util.c: Likewise.
65991         * sunrpc/rpc_util.h: Likewise.
65992         * sunrpc/rpcinfo.c: Likewise.
65993         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65994         * sunrpc/rpcsvc/key_prot.x: Likewise.
65995         * sunrpc/rpcsvc/klm_prot.x: Likewise.
65996         * sunrpc/rpcsvc/mount.x: Likewise.
65997         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65998         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65999         * sunrpc/rpcsvc/rex.x: Likewise.
66000         * sunrpc/rpcsvc/rstat.x: Likewise.
66001         * sunrpc/rpcsvc/rusers.x: Likewise.
66002         * sunrpc/rpcsvc/sm_inter.x: Likewise.
66003         * sunrpc/rpcsvc/spray.x: Likewise.
66004         * sunrpc/rpcsvc/yppasswd.x: Likewise.
66005         * sunrpc/rtime.c: Likewise.
66006         * sunrpc/svc.c: Likewise.
66007         * sunrpc/svc_auth.c: Likewise.
66008         * sunrpc/svc_authux.c: Likewise.
66009         * sunrpc/svc_raw.c: Likewise.
66010         * sunrpc/svc_run.c: Likewise.
66011         * sunrpc/svc_simple.c: Likewise.
66012         * sunrpc/svc_tcp.c: Likewise.
66013         * sunrpc/svc_udp.c: Likewise.
66014         * sunrpc/svc_unix.c: Likewise.
66015         * sunrpc/svcauth_des.c: Likewise.
66016         * sunrpc/xcrypt.c: Likewise.
66017         * sunrpc/xdr.c: Likewise.
66018         * sunrpc/xdr_array.c: Likewise.
66019         * sunrpc/xdr_float.c: Likewise.
66020         * sunrpc/xdr_mem.c: Likewise.
66021         * sunrpc/xdr_rec.c: Likewise.
66022         * sunrpc/xdr_ref.c: Likewise.
66023         * sunrpc/xdr_sizeof.c: Likewise.
66024         * sunrpc/xdr_stdio.c: Likewise.
66026         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
66027         handling.
66029 2010-08-19  Andreas Schwab  <schwab@redhat.com>
66031         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
66033 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
66035         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
66036         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
66037         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
66038         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
66039         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
66040         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
66041         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
66042         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
66043         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
66044         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
66045         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
66046         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
66047         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
66048         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
66050 2010-07-26  Anton Blanchard  <anton@samba.org>
66052         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
66053         * malloc/arena.c (heap_trim): Likewise.
66055 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
66057         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
66058         here.  Not...
66059         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
66060         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
66062 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
66064         * sysdeps/i386/elf/Makefile: New file.
66066 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66068         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
66069         from fanotify_init.
66070         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
66071         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66073 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
66075         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
66076         of strncasecmp_l.
66077         * sysdeps/multiarch/strcmp.S: Likewise.
66079 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
66081         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66082         strncase_l-nonascii.
66083         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66084         Add strncase_l-ssse3.
66085         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
66086         * sysdeps/x86_64/strcmp.S: Likewise.
66087         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
66088         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
66089         * sysdeps/x86_64/strncase.S: New file.
66090         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
66091         * sysdeps/x86_64/strncase_l.S: New file.
66092         * string/Makefile (strop-tests): Add strncasecmp.
66093         * string/test-strncasecmp.c: New file.
66095         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
66096         warning.
66098         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
66099         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
66101 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66103         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
66105 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
66107         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
66108         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
66109         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
66111 2010-05-01  Alan Modra  <amodra@gmail.com>
66113         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
66114         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
66115         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
66116         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
66117         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
66118         tidying.  Don't tail-call __sigjmp_save for static lib.
66119         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
66120         save location.
66121         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
66122         (CALL_MCOUNT): Add eh info, and nop after bl.
66123         (TAIL_CALL_SYSCALL_ERROR): New macro.
66124         (PSEUDO_RET): Use it.
66125         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66126         Correct save location of integer regs and cr.
66127         (_dl_profile_resolve): Correct cr save location.  Delete nops
66128         after bl when SHARED.  Reduce cfi size a little by better
66129         placement of cfi directives.
66130         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66131         make a stack frame.  Instead use parm save area as a temp.
66132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66133         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
66134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66135         Don't make a stack frame for parent, use parm save area.
66136         Increase child stack frame to 112 bytes.  Don't save unused reg,
66137         and adjust reg usage.  Set up cfi on error recovery and
66138         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66140         (__makecontext): Add dummy nop after jump to exit.
66141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66142         Use correct parm save area and cr save, reduce stack frame.
66143         Correct cfi for possible PSEUDO_RET frame setup.
66144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66145         Branch to local label emitted by PSEUDO_RET rather than
66146         __syscall_error.
66148 2010-08-12  Andreas Schwab  <schwab@redhat.com>
66150         [BZ #11904]
66151         * locale/programs/locale.c (print_assignment): New function.
66152         (show_locale_vars): Use it.
66154 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
66156         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66157         field.
66158         (struct statfs64): Likewise.
66159         (_STATFS_F_FLAGS): Define.
66160         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66161         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66162         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66163         (ST_VALID): Define locally.
66164         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66165         __statvfs_getflags, use the provided value.
66166         * sysdeps/unix/sysv/linux/kernel-features.h: Define
66167         __ASSUME_STATFS_F_FLAGS.
66169         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66171         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66172         Add sys/fanotify.h.
66173         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66174         fanotify_mask for GLIBC_2.13.
66175         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66176         fanotify_init and fanotify_mark.
66177         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66178         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66180         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66181         Add prlimit.
66182         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66183         prlimit64 for GLIBC_2.13.
66184         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66185         prlimit64.
66186         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66187         syscall.
66188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66189         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66190         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66191         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66192         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
66193         add prlimit alias.
66194         * sysdeps/unix/sysv/linux/prlimit.c: New file.
66196         [BZ #11903]
66197         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66198         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66200         * nss/Makefile: Add rules to build and run tst-nss-test1.
66201         * shlib-versions: Add entry for libnss_test1.
66202         * nss/nss_test1.c: New file.
66203         * nss/tst-nss-test1.c: New file.
66205         * nss/nsswitch.c (__nss_database_custom): Define new variable.
66206         (__nss_configure_lookup): Set appropriate entry in
66207         __nss_configure_lookup to true.
66208         * nss/nsswitch.h: Define enum with indeces of databases in
66209         databases and __nss_database_custom arrays.  Declare
66210         __nss_database_custom.
66211         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66212         to avoid using nscd when custom rules are installed.
66213         * nss/getXXbyYY_r.c: Likewise.
66214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66216         * nss/nss_files/files-parse.c: Whitespace fixes.
66218 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
66220         [BZ #11883]
66221         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66222         * posix/fnmatch_loop.c: Likewise.
66224 2010-07-17  Andi Kleen  <ak@linux.intel.com>
66226         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66227         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66228         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66229         * Versions.def [GLIBC_2.13]: Add.
66231 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
66233         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66234         Also fail if tpwd after pwuid call is NULL.
66236 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66238         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66239         when converting to ms.
66241 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66243         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66244         EOPNOTSUPP errors with ENOTTY.
66245         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66246         EOPNOTSUPP errors with ENOTTY.
66248 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
66250         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66251         Add strcasecmp_l-ssse3.
66252         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66253         strcasecmp.
66254         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66255         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66256         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66258 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
66260         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66262         * string/Makefile (strop-tests): Add strcasecmp.
66263         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66264         strcasecmp_l-nonascii.
66265         (gen-as-const-headers): Add locale-defines.sym.
66266         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66267         * sysdeps/x86_64/strcasecmp.S: New file.
66268         * sysdeps/x86_64/strcasecmp_l.S: New file.
66269         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66270         * sysdeps/x86_64/locale-defines.sym: New file.
66271         * string/test-strcasecmp.c: New file.
66273         * string/test-strcasestr.c: Test both ends of the range of characters.
66274         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66276 2010-07-29  Roland McGrath  <roland@redhat.com>
66278         [BZ #11856]
66279         * manual/locale.texi (Yes-or-No Questions): Fix example code.
66281 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
66283         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66284         for ld.so.
66286 2010-07-27  Andreas Schwab  <schwab@redhat.com>
66288         * manual/memory.texi (Malloc Tunable Parameters): Document
66289         M_PERTURB.
66291 2010-07-26  Roland McGrath  <roland@redhat.com>
66293         [BZ #11840]
66294         * configure.in (-fgnu89-inline check): Set and substitute
66295         gnu89_inline, not libc_cv_gnu89_inline.
66296         * configure: Regenerated.
66297         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66299 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
66301         * string/test-strnlen.c: New file.
66302         * string/Makefile (strop-tests): Add strnlen.
66303         * string/tester.c (test_strnlen): Add a few more test cases.
66304         * string/tst-strlen.c: Better error reporting.
66306         * sysdeps/x86_64/strnlen.S: New file.
66308 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
66310         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66311         lower-latency instructions.
66313 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
66315         * string/test-strcasestr.c: New file.
66316         * string/test-strstr.c: New file.
66317         * string/Makefile (strop-tests): Add strstr and strcasestr.
66318         * string/str-two-way.h: Don't undefine MAX.
66319         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66321 2010-07-21  Andreas Schwab  <schwab@redhat.com>
66323         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66324         strcasestr-nonascii.
66325         (CFLAGS-strcasestr-nonascii.c): Define.
66326         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66327         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66328         Remove unused attribute.
66330 2010-07-20  Roland McGrath  <roland@redhat.com>
66332         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66333         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
66334         ld.so.cache was broken.  With it, there is no way to disable dsocaps
66335         like LD_HWCAP_MASK can disable hwcaps.
66337 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66339         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66341 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
66343         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66344         call in strcasestr.
66345         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66346         __strcasestr_sse42_nonascii.
66347         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66348         strcasestr-nonascii.c.
66349         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66351 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
66353         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66354         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66355         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66356         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66358 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
66360         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66361         fcntl.
66363 2010-07-06  Andreas Schwab  <schwab@redhat.com>
66365         [BZ #11577]
66366         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66367         dl_signal_cerror.
66369 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
66371         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66372         _PC_PIPE_BUF using F_GETPIPE_SZ.
66374 2010-07-05  Roland McGrath  <roland@redhat.com>
66376         * manual/arith.texi (Rounding Functions): Fix rint description
66377         implicit in round description.
66379 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
66381         * elf/Makefile: Fix linking for a few tests to make recent linker
66382         happy.
66384 2010-06-30  Andreas Schwab  <schwab@redhat.com>
66386         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66387         $(common-objpfx)libc_nonshared.a.
66389 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
66391         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66392         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66393         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66394         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66395         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66396         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66397         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66398         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66413         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66414         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66415         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66416         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66417         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66418         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66419         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66420         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66421         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66422         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66423         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66424         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66440 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
66442         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66443         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
66444         * string/memmove.c (memmove): Renamed to ...
66445         (MEMMOVE): ...this.  Default to memmove.
66446         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66447         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66448         (END_CHK): Define.
66449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66450         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66451         mempcpy-ssse3-back memmove-ssse3-back.
66452         * sysdeps/x86_64/multiarch/bcopy.S: New file .
66453         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66454         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66455         * sysdeps/x86_64/multiarch/memcpy.S: New file.
66456         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66457         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66458         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66459         * sysdeps/x86_64/multiarch/memmove.c: New file.
66460         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66461         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66462         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66463         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66464         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66465         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66466         Define.
66467         (index_Fast_Copy_Backward): Define.
66468         (HAS_ARCH_FEATURE): Define.
66469         (HAS_FAST_REP_STRING): Define.
66470         (HAS_FAST_COPY_BACKWARD): Define.
66472 2010-06-21  Andreas Schwab  <schwab@redhat.com>
66474         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66475         Restore proper fallback handling.
66477 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
66479         [BZ #11701]
66480         * posix/group_member.c (__group_member): Correct checking loop.
66482         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66483         OOM in getpwuid_r correctly.  Return error number when the caller
66484         should return, otherwise -1.
66485         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66486         call returning > 0 value.
66487         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66489 2010-06-07  Andreas Schwab  <schwab@redhat.com>
66491         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66492         libc_nonshared.a from targets in modules-names.
66494 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
66496         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66497         requires it.
66499 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
66501         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66502         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66503         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66504         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66506 2010-06-02  Andreas Schwab  <schwab@redhat.com>
66508         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66510 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
66512         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66513         and F_GETPIPE_SZ.
66514         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66515         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66518         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66519         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66521 2010-06-14  Roland McGrath  <roland@redhat.com>
66523         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66525 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
66527         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66528         __REDIRECT followed by __THROW.
66529         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66530         * posix/getopt.h (getopt): Likewise.
66532 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66534         * hurd/lookup-at.c (__file_name_lookup_at): Accept
66535         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
66536         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66537         in AT_FLAGS.
66538         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66539         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66541 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
66543         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66545 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
66547         [BZ #11640]
66548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66549         Properly check family and model.
66551 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
66553         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66555 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
66557         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66559 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
66561         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66562         symbol reference.
66564 2010-05-19  Andreas Schwab  <schwab@redhat.com>
66566         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66567         symbol reference.
66569 2010-05-21  Andreas Schwab  <schwab@redhat.com>
66571         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66572         and internal_recvmmsg.
66573         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66574         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66575         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66576         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66578         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66579         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66580         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66582 2010-05-20  Andreas Schwab  <schwab@redhat.com>
66584         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66586 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
66588         POWER7 optimizations.
66589         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66590         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66592 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
66594         * version.h: Update for 2.13 development version.
66596 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
66598         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66599         exceptions.  Return 0.
66601 2010-05-07  Roland McGrath  <roland@redhat.com>
66603         * elf/ldconfig.c (main): Add a const.
66605 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
66607         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66608         (args_options): Add no-idn option.
66609         (ahosts_keys_int): Add idn_flags to ai_flags.
66610         (parse_option): Handle 'i' option to clear idn_flags.
66612         * malloc/malloc.c (_int_free): Possible race in the most recently
66613         added check.  Only act on the data if no current modification
66614         happened.
66616 See ChangeLog.17 for earlier changes.