Update timezone/Makefile to use -Wno-unused-variable
[glibc.git] / ChangeLog
blob58069c75a2f744c39aad08dbbc7ead300df3a8bb
1 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
3         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4         (CFLAGS-ialloc.c): Ditto.
5         (CFLAGS-scheck.c): Ditto.
7 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9         [BZ #19086]
10         * manual/filesys.texi (Storage Allocation): Fix argument order for
11         posix_fallocate64.
13 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15         [BZ #19085]
16         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17         exponent below 48 inside case for non-overflowing exponent.
18         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
20 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22         * iconvdata/cp737.h (from_idx): Add const.
23         * iconvdata/cp775.h (from_idx): Likewise.
25 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
28         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
31         [BZ #19079]
32         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
33         file, conditioned on [!_LP64].
34         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
35         [!_LP64] (__lround): Do not define as function or alias.
36         [!_LP64] (lround): Likewise.
37         [!_LP64] (__lroundl): Likewise.
38         [!_LP64] (lroundl): Likewise.
39         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
40         macro.
41         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
42         Likewise.
44 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
46         * math/libm-test.inc (lrint_test_data): Add more tests.
47         (llrint_test_data): Likewise.
48         (lround_test_data): Likewise.
49         (llround_test_data): Likewise.
51         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
52         (llrint_test_data): Add tests used for lrint.
54         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
55         test.
56         * sysdeps/i386/configure: Regenerated.
57         * sysdeps/i386/i686/multiarch/Makefile
58         [$(config-cflags-sse4) = yes]: Make code unconditional.
59         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
60         Likewise.
61         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
62         Likewise.
63         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
64         test.
65         * sysdeps/x86_64/configure: Regenerated.
66         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
67         Make code unconditional.
68         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
69         Likewise.
70         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
71         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
73         * scripts/rpm2dynsym.sh: Remove file.
75 2015-10-06  Florian Weimer  <fweimer@redhat.com>
77         * configure.ac (libc_cv_cxx_thread_local): Define.
78         * configure: Regenerate.
79         * config.make.in (have-cxx-thread_local): Define.
80         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
81         (LDLIBS-tst-thread_local1): Define.
82         (tests): Add tst-thread_local1.
83         [have-cxx-thread_local != yes] (tests-unsupported): Add
84         tst-thread_local1.
85         * nptl/tst-thread_local1.cc: New file.
87 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
89         [BZ #19078]
90         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
91         (u_thres): Likewise.
92         (__expl): Determine whether to call __kernel_standard_l based on
93         value of result, not argument.
95         * math/libm-test.inc (scalb_test_data): Add more expectations for
96         the "inexact" exception.
98         [BZ #19077]
99         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
100         0.0L for argument 1.0L.
102         [BZ #19076]
103         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
104         constant 0.0L when computing infinite result.
106 2015-10-06  Florian Weimer  <fweimer@redhat.com>
108         [BZ #10432]
109         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
110         malloc_usable_size.
112 2015-10-06  Florian Weimer  <fweimer@redhat.com>
114         [BZ #19018]
115         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
116         Mangle function pointer before storing it.
117         (__call_tls_dtors): Demangle function pointer before calling it.
119 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
121         [BZ #19012]
122         * iconv/gconv_db.c (gen_steps): Check for additional errors.
123         Clean up on failure.
125 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
127         [BZ #19071]
128         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
129         long int variable to store possibly incremented high part of
130         mantissa.
131         * math/libm-test.inc (lround_test_data): Add tests used for
132         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
133         for tests requiring 64-bit long.  Do not condition tests on
134         [TEST_FLOAT] unnecessarily.
135         (llround_test_data): Add tests used for lround.  Add another
136         expectation for the "inexact" exception.  Do not condition tests
137         on [TEST_FLOAT] unnecessarily.
139         [BZ #887]
140         [BZ #19049]
141         [BZ #19050]
142         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
143         * sysdeps/ieee754/dbl-64/e_log10.c: Include
144         <fix-int-fp-convert-zero.h>.
145         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
146         * sysdeps/ieee754/dbl-64/e_log2.c: Include
147         <fix-int-fp-convert-zero.h>.
148         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
149         * sysdeps/ieee754/dbl-64/s_erf.c: Include
150         <fix-int-fp-convert-zero.h>.
151         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
152         * sysdeps/ieee754/dbl-64/s_logb.c: Include
153         <fix-int-fp-convert-zero.h>.
154         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
155         * sysdeps/ieee754/flt-32/e_log10f.c: Include
156         <fix-int-fp-convert-zero.h>.
157         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
158         * sysdeps/ieee754/flt-32/e_log2f.c: Include
159         <fix-int-fp-convert-zero.h>.
160         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
161         * sysdeps/ieee754/flt-32/s_erff.c: Include
162         <fix-int-fp-convert-zero.h>.
163         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
164         * sysdeps/ieee754/flt-32/s_logbf.c: Include
165         <fix-int-fp-convert-zero.h>.
166         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
167         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
168         <fix-int-fp-convert-zero.h>.
169         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
170         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
171         <fix-int-fp-convert-zero.h>.
172         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
173         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
174         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
175         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
176         file.
177         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
179 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
181         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
183 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
185         [BZ #19059]
186         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
187         overflowing computation.
188         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
189         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
190         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
191         Likewise.
192         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
193         Likewise.
194         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
195         Likewise.
196         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
197         Likewise.
198         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
199         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
200         Likewise.
201         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
202         Likewise.
203         * math/libm-test.inc (nexttoward_test_data): Add more tests.
205         * nss/rewrite_field.c (__nss_rewrite_field): Use
206         internal_function.
207         * nss/valid_field.c (__nss_valid_field): Likewise.
208         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
210 2015-10-02  Florian Weimer  <fweimer@redhat.com>
212         [BZ #18724]
213         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
214         (__nss_invalid_field_characters, __nss_valid_field)
215         (__nss_valid_list_field, __nss_rewrite_field): Declare.
216         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
217         tst-field.c: New file.
218         * nss/Makefile (routines): Add valid_field, rewrite_field.
219         (tests-static): Define unconditionally.
220         (tests): Include tests-static.
221         [build-static-nss] (tests-static): Use append.
222         [build-static-nss] (tests): Remove modification.
223         * nss/getent.c (print_group): Call putgrent.  Report error.
224         (print_gshadow): Call putsgent.  Report error.
225         (print_passwd): Call putpwent.  Report error.
226         (print_shadow): Call putspent.  Report error.
227         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
228         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
229         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
230         name, password, directory, shell fields for valid syntax.  Rewrite
231         GECOS field to match syntax.
232         * pwd/Makefile (tests): Add tst-putpwent.
233         * pwd/tst-putpwent.c: New file.
234         * grp/putgrent.c (putgrent): Convert to ISO function definition.
235         Check grName, grpasswd, gr_mem fields for valid syntax.
236         Change loop variable i to size_t.
237         * grp/Makefile (tests): Add tst-putgrent.
238         * grp/tst-putgrent.c: New file.
239         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
240         valid syntax.
241         * shadow/Makefile (tests): Add tst-putspent.
242         * shadow/tst-putspent.c: New file.
243         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
244         sg_mem fields for valid syntax.
245         * gshadow/Makefile (tests): Add tst-putsgent.
246         * gshadow/tst-putsgent.c: New file.
248 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
250         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
251         assembly instructions.
253 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
255         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
256         prefix from operands.
258 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
260         [BZ #16347]
261         [BZ #19046]
262         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
263         <libc-internal.h>.
264         (MAXLGM): Do not use diagnostic control macros.
265         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
266         threshold for ldbl-128ibm.
267         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
268         instead of multiplying by log then subtracting.
269         * math/auto-libm-test-in: Add more tests of lgamma.
270         * math/auto-libm-test-out: Regenerated.
272         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
273         (TYPE_HEX_DIG): Likewise.
274         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
275         precisions when printing floating-point numbers.
276         (check_float_internal): Likewise.
278 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
280         [BZ #16620]
281         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
282         of log (10) rounded downward to 48 bits.
283         (log10_low): Use corresponding low part of log (10).
285         [BZ #19032]
286         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
287         compute result as (x - x) / (x - x) not as 0 / 0.
288         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
289         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
291         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
292         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
293         and expm1.
294         * math/auto-libm-test-out: Regenerated.
295         * math/libm-test.inc (acos_test_data): Add more tests.
296         (asin_test_data): Likewise.
297         (asinh_test_data): Likewise.
298         (atan_test_data): Likewise.
299         (atanh_test_data): Likewise.
300         (atan2_test_data): Likewise.
301         (cbrt_test_data): Likewise.
302         (ceil_test_data): Likewise.
303         (copysign_test_data): Likewise.
304         (cos_test_data): Likewise.
305         (cosh_test_data): Likewise.
306         (erf_test_data): Likewise.
307         (erfc_test_data): Likewise.
308         (exp_test_data): Likewise.
309         (exp10_test_data): Likewise.
310         (exp2_test_data): Likewise.
311         (expm1_test_data): Likewise.
312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
314 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
316         [BZ #19006]
317         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
318         to ...
319         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
320         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
321         to ...
322         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
323         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
324         to ...
325         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
326         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
327         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
328         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
329         to ...
330         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
331         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
332         Moved to ...
333         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
334         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
335         Moved to ...
336         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
337         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
338         to ...
339         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
340         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
341         Moved to ...
342         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
343         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
344         to ...
345         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
346         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
347         Removed.
348         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
349         Likewise.
350         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
351         Likewise.
352         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
353         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
354         Likewise.
355         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
356         Likewise.
357         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
358         Likewise.
359         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
360         Likewise.
361         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
362         Likewise.
363         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
364         Likewise.
365         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
366         Likewise.
367         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
368         Likewise.
369         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
370         Likewise.
371         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
372         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
373         Likewise.
374         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
375         Likewise.
376         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
377         Likewise.
378         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
379         Likewise.
380         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
381         Likewise.
382         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
383         Replace ../i486/pthread_cond_timedwait.S with
384         ../pthread_cond_timedwait.S.
386 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
388         * math/libm-test.inc (acos_test_data): Refine expectations for
389         errno and "inexact" exceptions.
390         (acosh_test_data): Likewise.
391         (asin_test_data): Likewise.
392         (asinh_test_data): Likewise.
393         (atan_test_data): Likewise.
394         (atanh_test_data): Likewise.
395         (atan2_test_data): Likewise.
396         (cbrt_test_data): Likewise.
397         (ceil_test_data): Likewise.
398         (copysign_test_data): Likewise.
399         (cosh_test_data): Likewise.
400         (erf_test_data): Likewise.
401         (erfc_test_data): Likewise.
402         (exp_test_data): Likewise.
403         (exp10_test_data): Likewise.
404         (exp2_test_data): Likewise.
405         (expm1_test_data): Likewise.
406         (fabs_test_data): Likewise.
407         (floor_test_data): Likewise.
408         (fma_test_data): Likewise.
409         (fmax_test_data): Likewise.
410         (fmin_test_data): Likewise.
411         (fmod_test_data): Likewise.
412         (fpclassify_test_data): Likewise.
413         (frexp_test_data): Likewise.
414         (hypot_test_data): Likewise.
415         (ilogb_test_data): Likewise.
416         (isgreater_test_data): Likewise.
417         (isgreaterequal_test_data): Likewise.
418         (isinf_test_data): Likewise.
419         (isless_test_data): Likewise.
420         (islessequal_test_data): Likewise.
421         (islessgreater_test_data): Likewise.
422         (isnan_test_data): Likewise.
423         (isnormal_test_data): Likewise.
424         (issignaling_test_data): Likewise.
425         (isunordered_test_data): Likewise.
426         (j0_test_data): Likewise.
427         (j1_test_data): Likewise.
428         (jn_test_data): Likewise.
429         (lgamma_test_data): Likewise.
430         (lrint_test_data): Likewise.
431         (llrint_test_data): Likewise.
432         (log_test_data): Likewise.
433         (log10_test_data): Likewise.
434         (log1p_test_data): Likewise.
435         (log2_test_data): Likewise.
436         (logb_test_data): Likewise.
437         (lround_test_data): Likewise.
438         (llround_test_data): Likewise.
439         (modf_test_data): Likewise.
440         (nearbyint_test_data): Likewise.
441         (nextafter_test_data): Likewise.
442         (nexttoward_test_data): Likewise.
443         (pow_test_data): Likewise.
444         (remainder_test_data): Likewise.
445         (remquo_test_data): Likewise.
446         (rint_test_data): Likewise.
447         (round_test_data): Likewise.
448         (signbit_test_data): Likewise.
449         (sinh_test_data): Likewise.
450         (sqrt_test_data): Likewise.
451         (tanh_test_data): Likewise.
452         (tgamma_test_data): Likewise.
453         (trunc_test_data): Likewise.
454         (y0_test_data): Likewise.
455         (y1_test_data): Likewise.
456         (yn_test_data): Likewise.
457         (significand_test_data): Likewise.
459 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
461         * manual/filesys.texi (Storage Allocation): Document that
462         posix_fallocate emulation fails when fd is open with O_WRONLY.
464 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
466         [BZ #19016]
467         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
468         allow more cases with X^2 + Y^2 >= 0.5.
469         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
470         normal element in sum instead of special-casing based on values of
471         arguments.
472         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
473         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
474         -1 as normal element in sum instead of special-casing based on
475         values of arguments.
476         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
477         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
478         (__x2y2m1): Update comment.
479         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
480         as normal element in sum instead of special-casing based on values
481         of arguments.
482         * math/s_clog.c (__clog): Handle more cases using log1p without
483         hypot.
484         * math/s_clog10.c (__clog10): Likewise.
485         * math/s_clog10f.c (__clog10f): Likewise.
486         * math/s_clog10l.c (__clog10l): Likewise.
487         * math/s_clogf.c (__clogf): Likewise.
488         * math/s_clogl.c (__clogl): Likewise.
489         * math/auto-libm-test-in: Add more tests of clog and clog10.
490         * math/auto-libm-test-out: Regenerated.
491         * sysdeps/i386/fpu/libm-test-ulps: Update.
492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
494 2015-09-28  Martin Sebor  <msebor@redhat.com>
496         [BZ #18969]
497         * string/Makefile (LOCALES): Define.
498         (gen-locales.mk): Include.
499         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
500         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
501         * string/tst-strxfrm2.c (do_test): Print the name of the locale
502         on setlocale failure.
504 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
506         [BZ #18985]
507         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
508         (__strftime_internal): Likewise.
509         * time/tst-strftime.c (do_bz18985): New test.
510         (do_test): Call it.
512 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
514         [BZ #18956]
515         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
516         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
517         extracting high part.
518         * math/auto-libm-test-in: Add another test of pow.
519         * math/auto-libm-test-out: Regenerated.
520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
522 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
524         [BZ #18825]
525         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
526         New macro.
527         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
528         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
529         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
530         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
531         DBL_NARROW_EVAL, reloading the PIC register as needed.
532         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
533         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
534         FLT_NARROW_EVAL.  Use separate return path for case when first
535         argument is NaN.
536         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
537         DEFINE_LDBL_MIN.
538         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
539         PIC register.
540         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
541         math_check_force_underflow_nonneg.
542         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
543         underflow for subnormal result.
544         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
545         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
546         math_check_force_underflow_nonneg.
547         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
548         math_check_force_underflow.
549         * sysdeps/x86_64/fpu/x86_64-math-asm.h
550         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
551         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
552         DEFINE_LDBL_MIN.
553         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
554         * math/auto-libm-test-in: Add more tests of pow.
555         * math/auto-libm-test-out: Regenerated.
557 2015-09-25  Florian Weimer  <fweimer@redhat.com>
559         * nss/bug17079.c (init_test_items): Add diagnostic for
560         inconsistent entries.
561         (test_buffer_size): Skip inconsistent entries.
563 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
565         [BZ #13304]
566         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
567         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
568         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
570         [BZ #13304]
571         * sysdeps/microblaze/s_fma.c: New file.
572         * sysdeps/microblaze/s_fmaf.c: Likewise.
573         * sysdeps/microblaze/sfp-machine.h: Likewise.
575 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
577         [BZ #17250]
578         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
579         member.
581 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
583         [BZ #18803]
584         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
585         (MO): New macro.
586         (__ieee754_hypot) [PIC]: Load PIC register.
587         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
588         DBL_NARROW_EVAL.
589         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
590         math_check_force_underflow_nonneg in case where result might be
591         tiny.
592         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
593         Likewise.
594         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
595         Likewise.
596         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
597         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
598         * math/auto-libm-test-in: Add more tests of hypot.
599         * math/auto-libm-test-out: Regenerated.
601 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
603         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
605 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
607         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
608         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
609         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
610         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
611         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
612         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
613         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
615         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
616         LOAD_PIC_REG.
618         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
619         (FLT_CHECK_FORCE_UFLOW): Likewise.
620         (DBL_CHECK_FORCE_UFLOW): Likewise.
621         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
622         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
623         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
624         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
625         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
626         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
627         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
628         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
629         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
630         (dbl_min): Replace with use of DEFINE_DBL_MIN.
631         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
632         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
633         (flt_min): Replace with use of DEFINE_FLT_MIN.
634         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
635         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
636         (dbl_min): Replace with use of DEFINE_DBL_MIN.
637         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
638         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
639         (flt_min): Replace with use of DEFINE_FLT_MIN.
640         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
641         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
642         (dbl_min): Replace with use of DEFINE_DBL_MIN.
643         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
644         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
645         (flt_min): Replace with use of DEFINE_FLT_MIN.
646         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
647         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
648         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
649         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
650         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
651         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
652         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
653         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
654         (dbl_min): Replace with use of DEFINE_DBL_MIN.
655         (__atan): Use DBL_CHECK_FORCE_UFLOW.
656         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
657         (flt_min): Replace with use of DEFINE_FLT_MIN.
658         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
659         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
660         (dbl_min): Replace with use of DEFINE_DBL_MIN.
661         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
662         main computation.
663         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
664         (flt_min): Replace with use of DEFINE_FLT_MIN.
665         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
666         main computation.
667         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
668         (dbl_min): Replace with use of DEFINE_DBL_MIN.
669         (MO): New macro.
670         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
671         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
672         (flt_min): Replace with use of DEFINE_FLT_MIN.
673         (MO): New macro.
674         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
675         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
676         (__log1pl): Use MO.
678         [BZ #19003]
679         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
680         $(config-cflags-nofma).
682 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
684         * sysdeps/aarch64/libm-test-ulps: Regenerated.
686 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
688         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
689         (TWO127): Likewise.
691         * sysdeps/generic/math_private.h (fabs_tg): New macro.
692         (min_of_type): Likewise.
693         (math_check_force_underflow): Likewise.
694         (math_check_force_underflow_nonneg): Likewise.
695         (math_check_force_underflow_complex): Likewise.
696         * math/e_exp2l.c (__ieee754_exp2l): Use
697         math_check_force_underflow_nonneg.
698         * math/k_casinh.c (__kernel_casinh): Likewise.
699         * math/k_casinhf.c (__kernel_casinhf): Likewise.
700         * math/k_casinhl.c (__kernel_casinhl): Likewise.
701         * math/s_catan.c (__catan): Use
702         math_check_force_underflow_complex.
703         * math/s_catanf.c (__catanf): Likewise.
704         * math/s_catanh.c (__catanh): Likewise.
705         * math/s_catanhf.c (__catanhf): Likewise.
706         * math/s_catanhl.c (__catanhl): Likewise.
707         * math/s_catanl.c (__catanl): Likewise.
708         * math/s_ccosh.c (__ccosh): Likewise.
709         * math/s_ccoshf.c (__ccoshf): Likewise.
710         * math/s_ccoshl.c (__ccoshl): Likewise.
711         * math/s_cexp.c (__cexp): Likewise.
712         * math/s_cexpf.c (__cexpf): Likewise.
713         * math/s_cexpl.c (__cexpl): Likewise.
714         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
715         * math/s_clog10.c (__clog10): Likewise.
716         * math/s_clog10f.c (__clog10f): Likewise.
717         * math/s_clog10l.c (__clog10l): Likewise.
718         * math/s_clogf.c (__clogf): Likewise.
719         * math/s_clogl.c (__clogl): Likewise.
720         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
721         * math/s_csinf.c (__csinf): Likewise.
722         * math/s_csinh.c (__csinh): Likewise.
723         * math/s_csinhf.c (__csinhf): Likewise.
724         * math/s_csinhl.c (__csinhl): Likewise.
725         * math/s_csinl.c (__csinl): Likewise.
726         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
727         * math/s_csqrtf.c (__csqrtf): Likewise.
728         * math/s_csqrtl.c (__csqrtl): Likewise.
729         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
730         * math/s_ctanf.c (__ctanf): Likewise.
731         * math/s_ctanh.c (__ctanh): Likewise.
732         * math/s_ctanhf.c (__ctanhf): Likewise.
733         * math/s_ctanhl.c (__ctanhl): Likewise.
734         * math/s_ctanl.c (__ctanl): Likewise.
735         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
736         instead of volatile.
737         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
738         math_check_force_underflow.
739         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
740         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
741         volatile when forcing underflow.
742         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
743         math_check_force_underflow_nonneg.
744         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
745         Likewise.
746         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
747         math_check_force_underflow.
748         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
749         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
750         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
751         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
752         math_check_force_underflow_nonneg.
753         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
754         math_check_force_underflow.
755         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
756         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
757         instead of volatile.
758         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
759         math_check_force_underflow.
760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
761         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
762         math_check_force_underflow_nonneg.
763         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
764         math_check_force_underflow.
765         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
766         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
767         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
768         math_check_force_underflow_nonneg.
769         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
770         Likewise.
771         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
772         math_check_force_underflow.
773         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
774         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
775         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
776         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
777         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
778         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
779         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
780         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
781         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
782         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
783         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
784         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
785         Likewise.
786         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
787         math_check_force_underflow_nonneg.
788         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
789         Likewise.
790         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
791         math_check_force_underflow.
792         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
793         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
794         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
795         Likewise.
796         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
797         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
798         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
799         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
800         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
801         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
802         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
803         instead of volatile.
804         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
805         math_check_force_underflow.
806         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
807         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
808         math_check_force_underflow.
809         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
810         Likewise.
811         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
812         Use math_check_force_underflow_nonneg.
813         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
814         math_check_force_underflow.
815         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
816         Likewise.
817         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
818         Likewise.
819         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
820         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
821         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
822         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
823         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
824         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
825         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
826         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
827         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
828         math_check_force_underflow_nonneg.
829         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
830         math_check_force_underflow.
831         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
832         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
833         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
834         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
835         math_check_force_underflow_nonneg.
836         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
837         math_check_force_underflow.
838         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
839         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
840         instead of volatile.
841         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
842         math_check_force_underflow.
844         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
845         * stdlib/strtod_l.c: Include <math_private.h>.
846         (overflow_value): Use math_narrow_eval.
847         (underflow_value): Likewise.
848         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
849         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
850         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
851         (__ieee754_gamma_r): Likewise.
852         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
853         Likewise.
854         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
855         Likewise.
856         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
857         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
858         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
859         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
860         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
861         (__ieee754_gammaf_r): Likewise.
862         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
863         Likewise.
864         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
865         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
866         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
867         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
868         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
869         volatile.
870         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
871         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
872         math_narrow_eval.
873         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
874         Likewise.
875         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
876         Likewise.
877         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
878         Likewise.
879         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
880         volatile.
881         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
882         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
883         math_narrow_eval.
884         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
885         Likewise.
886         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
887         Likewise.
889 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
891         * nptl/Versions: Remove ignored symbols.
893 2015-09-22  Florian Weimer  <fweimer@redhat.com>
895         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
896         * nss/Makefile (tests): Update.
898 2015-09-22  Florian Weimer  <fweimer@redhat.com>
900         * nss/bug18287.c: New file.
901         * nss/Makefile (tests): Add bug18287.
903 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
905         * mach/Versions (__mach_host_self_): Add symbol.
907 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
909         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
910         vm_page_size.
912 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
914         Really fix sysdeps/i386/fpu/s_scalbn.S build
916         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
917         (libc: GLIBC_2_22): Remove unused version set.
919 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
921         * config.make.in (enable-timezone-tools): New variable.
922         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
923         (enable_timezone_tools): Export to generated files.
924         * configure: Regenerate.
925         * INSTALL: Regenerate.
926         * manual/install.texi (--disable-timezone-tools): Document new flag.
927         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
928         ifeq ($(enable-timezone-tools),yes) check.
930 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
932         * timezone/Makefile: Revert previous change.
934         [BZ #18980]
935         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
936         (DEFINE_DBL_MIN): Likewise.
937         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
938         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
939         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
940         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
941         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
942         (dbl_min): Replace with use of DEFINE_DBL_MIN.
943         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
944         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
945         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
946         (dbl_min): Replace with use of DEFINE_DBL_MIN.
947         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
948         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
949         (flt_min): Replace with use of DEFINE_FLT_MIN.
950         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
951         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
952         (dbl_min): Replace with use of DEFINE_DBL_MIN.
953         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
954         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
955         (flt_min): Replace with use of DEFINE_FLT_MIN.
956         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
957         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
958         (flt_min): Replace with use of DEFINE_FLT_MIN.
959         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
960         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
961         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
962         (__ieee754_hypot): Use DBL_NARROW_EVAL.
963         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
964         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
965         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
966         (__ieee754_pow): Use DBL_NARROW_EVAL.
967         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
968         (__ieee754_powf): Use FLT_NARROW_EVAL.
969         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
970         (__ieee754_expf_sse2): Convert double-precision result to single
971         precision.
972         * sysdeps/i386/fpu/libm-test-ulps: Update.
974 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
976         * timezone/Makefile: Ignore unused variable errors due to private.h
977         (time_t_min) and (time_t_max).
978         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
979         Likewise.
981 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
983         [BZ #18981]
984         * sysdeps/i386/fpu/i386-math-asm.h: New file.
985         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
986         (__ieee754_scalb): Use DBL_NARROW_EVAL.
987         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
988         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
989         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
990         (__scalbn): Use DBL_NARROW_EVAL.
991         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
992         (__scalbnf): Use FLT_NARROW_EVAL.
994 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
996         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
997         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
998         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
999         * stdio-common/printf_fp.c (___printf_fp):
1000         Use signbit to get the sign. Use isinf macro to allow inlining.
1001         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
1002         * stdio-common/printf_size.c (__printf_size): Likewise.
1004 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1006         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
1008 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1010         [BZ #18980]
1011         * sysdeps/generic/math_private.h: Include <float.h>.
1012         (math_narrow_eval): New macro.
1013         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
1014         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
1015         math_narrow_eval on overflowing return value.
1016         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
1017         Likewise.
1018         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1019         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
1020         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
1021         Likewise.
1022         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1024 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1026         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1027         * math/Makefile: Remove isinf_ns.c.
1028         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1029         * math/multc3.c (__multc3): Likewise.
1030         * math/s_casin.c (__casin): Likewise.
1031         * math/s_casinf.c (__casinf): Likewise.
1032         * math/s_casinl.c (__casinl): Likewise.
1033         * math/s_cproj.c (__cproj): Likewise.
1034         * math/s_cprojf.c (__cprojf): Likewise.
1035         * math/s_cprojl.c (__cprofl): Likewise.
1036         * math/s_ctan.c (__ctan): Likewise.
1037         * math/s_ctanf.c (__ctanf): Likewise.
1038         * math/s_ctanh.c (__ctanh): Likewise.
1039         * math/s_ctanhf.c (__ctanhf): Likewise.
1040         * math/s_ctanhl.c (__ctanhl): Likewise.
1041         * math/s_ctanl.c (__ctanl): Likewise.
1042         * math/w_fmod.c (__fmod): Likewise.
1043         * math/w_fmodf.c (__fmodf): Likewise.
1044         * math/w_fmodl.c (_fmodl): Likewise.
1045         * math/w_remainder.c (__remainder): Likewise.
1046         * math/w_remainderf.c (__remainderf): Likewise.
1047         * math/w_remainderl.c (__remainderl): Likewise.
1048         * math/w_scalb.c (__scalb): Likewise.
1049         * math/w_scalbf.c (__scalbf): Likewise.
1050         * math/w_scalbl.c (__scalbl): Likewise.
1051         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1052         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1053         with isinf.
1054         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1056         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1057         __isinf_nsf with isinf.
1058         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1059         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1060         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1061         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1062         with isinf.
1063         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1064         __isinf_nsl with isinf.
1065         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1066         with isinf.
1067         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1068         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1069         __isinf_nsl with isinf.
1070         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1071         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1072         with isinf.
1074 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1076         * resolv/base64.c (rcsid): Remove unused static.
1077         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1078         static.  (tqpi1): Likewise.
1079         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1080         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1081         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1082         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1083         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1084         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1085         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1086         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
1087         Likewise.
1089 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
1091         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1092         <nptl/pthreadP.h>.
1093         (_longjmp_unwind): Use __libc_ptf_call.
1094         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1096 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
1098         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1099         * sysdeps/arm/__longjmp.S: Likewise
1101 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1103         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1104         Use __builtin_signbit.
1105         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1106         Use __builtin_signbitf.
1107         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1108         Use __builtin_signbitl.
1109         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1110         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1112 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1114         [BZ #15367]
1115         [BZ #17441]
1117         * math/Makefile: Build test-snan.c with -fsignaling-nans.
1118         * math/math.h (fpclassify): Use __builtin_fpclassify when
1119         available.  (signbit): Use __builtin_signbit(f/l).
1120         (isfinite): Use__builtin_isfinite.  (isnormal): Use
1121         __builtin_isnormal.  (isnan): Use __builtin_isnan.
1122         (isinf): Use __builtin_isinf_sign.
1124 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1126         * benchtests/Makefile: Add bench-math-inlines, link with libm.
1127         * benchtests/bench-math-inlines.c: New benchmark.
1128         * benchtests/bench-util.h: New file.
1129         * benchtests/bench-util.c: New file.
1130         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1132 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
1134         * elf/tst-dlmopen1.c: Define TEST_SO.
1135         (do_test): Use TEST_SO.
1137         * elf/dl-load.c: Include libc-internal.h.
1138         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1140 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1142         [BZ #17887]
1143         * time/strptime_l.c (__strptime_internal): Make %z accept
1144         [+-]HH:MM time zones.
1146 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1148         [BZ #17886]
1149         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1150         valid time zone.
1152 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
1154         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1155         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1156         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1157         (__ASSUME_FDATASYNC): Delete.
1159 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1161         * conform/linknamespace.pl: Require weak undefined symbols to be
1162         in the standard namespace.
1163         (%strong_syms): Rename to %seen_syms.
1164         (%strong_seen): Rename to %seen_where.
1166 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1168         [BZ #18970]
1169         * misc/error.c (error): Replace pthread_setcancelstate with
1170         __pthread_setcancelstate.
1171         (error_at_line): Likewise.
1172         * posix/wordexp.c (parse_comm): Likewise.
1173         * stdlib/fmtmsg.c (fmtmsg): Likewise.
1174         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1175         (__pthread_setcancelstate): This.
1176         (pthread_setcancelstate): Add an alias.
1177         * nptl/nptl-init.c (pthread_functions): Replace
1178         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1179         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1180         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1181         hidden_proto.
1182         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1183         it with hidden_def.
1184         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1185         (pthread_setcancelstate): Renamed to ...
1186         (__pthread_setcancelstate): This.
1187         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1188         __libc_ptf_call with __pthread_setcancelstate.
1190 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1191             Andreas Schwab  <schwab@suse.de>
1193         [BZ #17118]
1194         * math/s_ctan.c (__ctan): Determine sign of zero real part of
1195         result when imaginary part of argument is infinite using sine and
1196         cosine.
1197         * math/s_ctanf.c (__ctanf): Likewise.
1198         * math/s_ctanl.c (__ctanl): Likewise.
1199         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1200         of result when real part of argument is infinite using sine and
1201         cosine.
1202         * math/s_ctanhf.c (__ctanhf): Likewise.
1203         * math/s_ctanhl.c (__ctanhl): Likewise.
1204         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1205         (ctanh_test_data): Add more tests of ctanh.
1207 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1209         [BZ #15384]
1210         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1211         bit-mask as in subtraction.
1212         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1213         Likewise.
1214         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1215         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1216         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1218         [BZ #18951]
1219         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1220         underflow exception for small results.
1221         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1222         Likewise.
1223         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1224         Likewise.
1225         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1226         Likewise.
1227         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1228         Likewise.
1229         * math/auto-libm-test-in: Add more tests of tgamma.
1230         * math/auto-libm-test-out: Regenerated.
1232 2015-09-17  Andreas Schwab  <schwab@suse.de>
1234         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1236 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1238         [BZ #18977]
1239         * math/bits/mathcalls.h
1240         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1241         not declare.
1242         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1243         Likewise.
1244         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1245         Likewise.
1246         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1247         Likewise.
1248         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1249         Likewise.
1250         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1251         Likewise.
1252         * conform/data/math.h-data
1253         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1254         function.
1255         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1256         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1257         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1258         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1259         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1260         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1261         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1262         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1263         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1264         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1265         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1267         [BZ #6803]
1268         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1269         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1270         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1271         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1272         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1273         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1274         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1275         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1276         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1277         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1278         Likewise.
1279         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1280         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1281         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1282         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1283         long_double_symbol calls.
1284         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1285         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1286         strong alias of __ldexpl.
1287         (scalbnl): Define using long_double_symbol.
1288         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1289         Remove alias.
1290         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1291         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1292         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1293         (scalbln_test_data): Add more errno expectations.
1295 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
1297         Cache the host port like we cache the task port.  This way we do not
1298         need to call the kernel just to get the port.  Furthermore, we no
1299         longer increase the reference count on every invocation of
1300         `mach_host_self'.
1302         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1303         Protect declarations against the macro expansion.
1304         * mach/mach_init.c (__mach_host_self_): New variable.
1305         (mach_init): Initialize `__mach_host_self_'.
1306         * mach/mach_init.h (__mach_host_self_): New declaration.
1307         (__mach_host_self, mach_host_self): New macros.
1308         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1309         Release reference.
1311 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1313         [BZ #4404]
1314         * po/de.po: Update from Translation Project.
1316         [BZ #16415]
1317         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1318         (__expm1l): Remove code to handle positive infinity and overflow.
1319         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1320         variable.
1321         (__expm1l): Remove code to handle positive infinity and overflow.
1323 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
1324             Paul Pluzhnikov  <ppluzhnikov@google.com>
1326         [BZ #18872]
1327         * stdio-common/Makefile (tst-printf-bz18872): New test.
1328         (tst-printf-bz18872-mem.out): Likewise.
1329         * stdio-common/tst-printf-bz18872.sh: Generate new test.
1330         * stdio-common/vfprintf.c: Fix memory leaks.
1332 2015-09-16  Andreas Schwab  <schwab@suse.de>
1334         [BZ #17244]
1335         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1336         Remove extra va_start/va_end calls.
1338         [BZ #17243]
1339         * posix/execl.c (execl): Add missing va_end.
1340         * posix/execle.c (execle): Likewise.
1341         * posix/execlp.c (execlp): Likewise.
1343 2015-09-15  Roland McGrath  <roland@hack.frob.com>
1345         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1346         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1348 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
1350         [BZ #18967]
1351         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
1352         undefine around includes of <bits/mathcalls.h>.
1353         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1354         not declare function.
1355         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1356         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1357         (scalb): Likewise.
1358         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1359         not define macro.
1360         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1361         variable.
1362         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1363         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1364         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1366         [BZ #18857]
1367         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1368         return non-finite argument without doing ordered comparisons on
1369         it.
1371         [BZ #16296]
1372         * math/fenv.h (fegetround): Use __attribute_pure__.
1373         * include/fenv.h (__fegetround): Likewise.
1375         [BZ #18595]
1376         * math/s_ctan.c (__ctan): Force underflow exception for results
1377         whose real or imaginary part has small absolute value.
1378         * math/s_ctanf.c (__ctanf): Likewise.
1379         * math/s_ctanh.c (__ctanh): Likewise.
1380         * math/s_ctanhf.c (__ctanhf): Likewise.
1381         * math/s_ctanhl.c (__ctanhl): Likewise.
1382         * math/s_ctanl.c (__ctanl): Likewise.
1383         * math/auto-libm-test-in: Do not allow missing underflow for ctan
1384         and ctanh.  Add more tests of ctan and ctanh.
1386         [BZ #15918]
1387         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1388         handling of cases where one argument is an infinity.
1390         [BZ #18875]
1391         [BZ #18966]
1392         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1393         (MO): New macro.
1394         (__ieee754_exp10): For small results, force underflow exception
1395         and remove excess range and precision from return value.
1396         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1397         (MO): New macro.
1398         (__ieee754_exp10f): For small results, force underflow exception
1399         and remove excess range and precision from return value.
1400         * math/auto-libm-test-in: Add more tests of exp10.
1401         * math/auto-libm-test-out: Regenerated.
1403 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
1405         [BZ #18875]
1406         [BZ #18961]
1407         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1408         (MO): New macro.
1409         (__ieee754_exp): For small results, force underflow exception and
1410         remove excess range and precision from return value.
1411         (__exp_finite): Likewise.
1412         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1413         (MO): New macro.
1414         (__ieee754_expf): For small results, force underflow exception and
1415         remove excess range and precision from return value.
1416         (__expf_finite): Likewise.
1417         * math/auto-libm-test-in: Add more tests of exp.
1418         * math/auto-libm-test-out: Regenerated.
1420         [BZ #16521]
1421         [BZ #18875]
1422         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1423         small results.
1424         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1425         (MO): New macro.
1426         (__ieee754_exp2): For small results, force underflow exception and
1427         remove excess range and precision from return value.
1428         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1429         (MO): New macro.
1430         (__ieee754_exp2f): For small results, force underflow exception
1431         and remove excess range and precision from return value.
1432         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1433         (MO): New macro.
1434         (__ieee754_exp2l): Force underflow exception for small results.
1435         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1436         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1437         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1438         (MO): New macro.
1439         (__ieee754_exp2l): Force underflow exception for small results.
1440         * math/auto-libm-test-in: Add more tests or exp2.
1441         * math/auto-libm-test-out: Regenerated.
1443 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
1445         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1447         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1448         /dev/null.
1450 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1452         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1453         io fs process)): Drop spurious backslash.
1455 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1458         Use sysinfo system call instead of parsing /proc/meminfo.
1459         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1460         Likewise.
1462 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
1464         [BZ #16985]
1465         * programs/localedef.c (main): Display argv[remaining] when
1466         output_path is NULL.
1468 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
1470         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1471         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1472         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1473         tanh.
1474         * math/auto-libm-test-out: Regenerated.
1475         * sysdeps/i386/fpu/libm-test-ulps: Update.
1476         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1477         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1480 2015-09-11  Roland McGrath  <roland@hack.frob.com>
1482         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1483         Use 'override' keyword to freeze the value here, preventing
1484         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1486 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
1488         [BZ #14912]
1489         * sysdeps/aarch64/bits/atomic.h: Move to ...
1490         * sysdeps/aarch64/atomic-machine.h: ...here.
1491         (_AARCH64_BITS_ATOMIC_H): Rename macro to
1492         _AARCH64_ATOMIC_MACHINE_H.
1493         * sysdeps/alpha/bits/atomic.h: Move to ...
1494         * sysdeps/alpha/atomic-machine.h: ...here.
1495         * sysdeps/arm/bits/atomic.h: Move to ...
1496         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
1497         * bits/atomic.h: Move to ...
1498         * sysdeps/generic/atomic-machine.h: ...here.
1499         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1500         * sysdeps/i386/bits/atomic.h: Move to ...
1501         * sysdeps/i386/atomic-machine.h: ...here.
1502         * sysdeps/ia64/bits/atomic.h: Move to ...
1503         * sysdeps/ia64/atomic-machine.h: ...here.
1504         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1505         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1506         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1507         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1508         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1509         * sysdeps/microblaze/bits/atomic.h: Move to ...
1510         * sysdeps/microblaze/atomic-machine.h: ...here.
1511         * sysdeps/mips/bits/atomic.h: Move to ...
1512         * sysdeps/mips/atomic-machine.h: ...here.
1513         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1514         * sysdeps/powerpc/bits/atomic.h: Move to ...
1515         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
1516         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1517         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
1518         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
1519         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1520         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
1521         <atomic-machine.h> instead of <bits/atomic.h>.
1522         * sysdeps/s390/bits/atomic.h: Move to ...
1523         * sysdeps/s390/atomic-machine.h: ...here.
1524         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1525         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1526         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1527         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1528         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1529         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1530         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1531         * sysdeps/tile/bits/atomic.h: Move to ...
1532         * sysdeps/tile/atomic-machine.h: ...here.
1533         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1534         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
1535         <sysdeps/tile/atomic-machine.h> instead of
1536         <sysdeps/tile/bits/atomic.h>.
1537         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1538         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1539         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
1540         <sysdeps/tile/atomic-machine.h> instead of
1541         <sysdeps/tile/bits/atomic.h>.
1542         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1543         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1544         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
1545         <sysdeps/arm/atomic-machine.h> instead of
1546         <sysdeps/arm/bits/atomic.h>.
1547         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1548         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1549         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1550         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1551         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1552         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1553         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1554         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1555         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1556         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1557         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1558         * sysdeps/x86_64/bits/atomic.h: Move to ...
1559         * sysdeps/x86_64/atomic-machine.h: ...here.
1560         * include/atomic.h: Include <atomic-machine.h> instead of
1561         <bits/atomic.h>.
1563         * sysdeps/mips/mips32/libm-test-ulps: Update.
1564         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1566         [BZ #18952]
1567         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1568         not convert non-integer negative arguments to int to determine the
1569         value of signgam.
1570         * math/auto-libm-test-in: Add more tests of lgamma.
1571         * math/auto-libm-test-out: Regenerated.
1573         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1574         cosh, csqrt, erfc, expm1 and lgamma.
1575         * math/auto-libm-test-out: Regenerated.
1576         * sysdeps/i386/fpu/libm-test-ulps: Update.
1577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1579 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
1581         [BZ #2542]
1582         [BZ #2543]
1583         [BZ #2558]
1584         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1585         __lgamma_neg for arguments from -28.0 to -2.0.
1586         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1587         __lgamma_negf for arguments from -15.0 to -2.0.
1588         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1589         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1590         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1591         Call __lgamma_negl for arguments from -33.0 to -2.0.
1592         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1593         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1594         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1595         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1596         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1597         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1598         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1599         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1600         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1601         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1602         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1603         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1604         (__lgamma_neg): Likewise.
1605         (__lgamma_negl): Likewise.
1606         (__lgamma_product): Likewise.
1607         (__lgamma_productl): Likewise.
1608         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1609         * math/auto-libm-test-in: Add more tests of lgamma.
1610         * math/auto-libm-test-out: Regenerated.
1611         * sysdeps/i386/fpu/libm-test-ulps: Update.
1612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1614 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
1616         [BZ #18675]
1617         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1619 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
1621         [BZ #14912]
1622         * bits/libc-lock.h: Move to ...
1623         * sysdeps/generic/libc-lock.h: ...here.
1624         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1625         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1626         * sysdeps/mach/hurd/libc-lock.h: ...here.
1627         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1628         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1629         * sysdeps/mach/bits/libc-lock.h: Move to ...
1630         * sysdeps/mach/libc-lock.h: ...here.
1631         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1632         * sysdeps/nptl/bits/libc-lock.h: Move to ...
1633         * sysdeps/nptl/libc-lock.h: ...here.
1634         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1635         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1636         * sysdeps/nptl/libc-lockP.h: ...here.
1637         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1638         * crypt/crypt_util.c: Include <libc-lock.h> instead of
1639         <bits/libc-lock.h>.
1640         * dirent/scandir-tail.c: Likewise.
1641         * dlfcn/dlerror.c: Likewise.
1642         * elf/dl-close.c: Likewise.
1643         * elf/dl-iteratephdr.c: Likewise.
1644         * elf/dl-lookup.c: Likewise.
1645         * elf/dl-open.c: Likewise.
1646         * elf/dl-support.c: Likewise.
1647         * elf/dl-writev.h: Likewise.
1648         * elf/rtld.c: Likewise.
1649         * grp/fgetgrent.c: Likewise.
1650         * gshadow/fgetsgent.c: Likewise.
1651         * gshadow/sgetsgent.c: Likewise.
1652         * iconv/gconv_conf.c: Likewise.
1653         * iconv/gconv_db.c: Likewise.
1654         * iconv/gconv_dl.c: Likewise.
1655         * iconv/gconv_int.h: Likewise.
1656         * iconv/gconv_trans.c: Likewise.
1657         * include/link.h: Likewise.
1658         * inet/getnameinfo.c: Likewise.
1659         * inet/getnetgrent.c: Likewise.
1660         * inet/getnetgrent_r.c: Likewise.
1661         * intl/bindtextdom.c: Likewise.
1662         * intl/dcigettext.c: Likewise.
1663         * intl/finddomain.c: Likewise.
1664         * intl/gettextP.h: Likewise.
1665         * intl/loadmsgcat.c: Likewise.
1666         * intl/localealias.c: Likewise.
1667         * intl/textdomain.c: Likewise.
1668         * libidn/idn-stub.c: Likewise.
1669         * libio/libioP.h: Likewise.
1670         * locale/duplocale.c: Likewise.
1671         * locale/freelocale.c: Likewise.
1672         * locale/newlocale.c: Likewise.
1673         * locale/setlocale.c: Likewise.
1674         * login/getutent_r.c: Likewise.
1675         * login/getutid_r.c: Likewise.
1676         * login/getutline_r.c: Likewise.
1677         * login/utmp-private.h: Likewise.
1678         * login/utmpname.c: Likewise.
1679         * malloc/mtrace.c: Likewise.
1680         * misc/efgcvt.c: Likewise.
1681         * misc/error.c: Likewise.
1682         * misc/fstab.c: Likewise.
1683         * misc/getpass.c: Likewise.
1684         * misc/mntent.c: Likewise.
1685         * misc/syslog.c: Likewise.
1686         * nis/nis_call.c: Likewise.
1687         * nis/nis_callback.c: Likewise.
1688         * nis/nss-default.c: Likewise.
1689         * nis/nss_compat/compat-grp.c: Likewise.
1690         * nis/nss_compat/compat-initgroups.c: Likewise.
1691         * nis/nss_compat/compat-pwd.c: Likewise.
1692         * nis/nss_compat/compat-spwd.c: Likewise.
1693         * nis/nss_nis/nis-alias.c: Likewise.
1694         * nis/nss_nis/nis-ethers.c: Likewise.
1695         * nis/nss_nis/nis-grp.c: Likewise.
1696         * nis/nss_nis/nis-hosts.c: Likewise.
1697         * nis/nss_nis/nis-network.c: Likewise.
1698         * nis/nss_nis/nis-proto.c: Likewise.
1699         * nis/nss_nis/nis-pwd.c: Likewise.
1700         * nis/nss_nis/nis-rpc.c: Likewise.
1701         * nis/nss_nis/nis-service.c: Likewise.
1702         * nis/nss_nis/nis-spwd.c: Likewise.
1703         * nis/nss_nisplus/nisplus-alias.c: Likewise.
1704         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1705         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1706         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1707         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1708         * nis/nss_nisplus/nisplus-network.c: Likewise.
1709         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1710         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1711         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1712         * nis/nss_nisplus/nisplus-service.c: Likewise.
1713         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1714         * nis/ypclnt.c: Likewise.
1715         * nptl/libc_pthread_init.c: Likewise.
1716         * nss/getXXbyYY.c: Likewise.
1717         * nss/getXXent.c: Likewise.
1718         * nss/getXXent_r.c: Likewise.
1719         * nss/nss_db/db-XXX.c: Likewise.
1720         * nss/nss_db/db-netgrp.c: Likewise.
1721         * nss/nss_db/nss_db.h: Likewise.
1722         * nss/nss_files/files-XXX.c: Likewise.
1723         * nss/nss_files/files-alias.c: Likewise.
1724         * nss/nsswitch.c: Likewise.
1725         * posix/regex_internal.h: Likewise.
1726         * posix/wordexp.c: Likewise.
1727         * pwd/fgetpwent.c: Likewise.
1728         * resolv/res_hconf.c: Likewise.
1729         * resolv/res_libc.c: Likewise.
1730         * shadow/fgetspent.c: Likewise.
1731         * shadow/lckpwdf.c: Likewise.
1732         * shadow/sgetspent.c: Likewise.
1733         * socket/opensock.c: Likewise.
1734         * stdio-common/reg-modifier.c: Likewise.
1735         * stdio-common/reg-printf.c: Likewise.
1736         * stdio-common/reg-type.c: Likewise.
1737         * stdio-common/vfprintf.c: Likewise.
1738         * stdio-common/vfscanf.c: Likewise.
1739         * stdlib/abort.c: Likewise.
1740         * stdlib/cxa_atexit.c: Likewise.
1741         * stdlib/fmtmsg.c: Likewise.
1742         * stdlib/random.c: Likewise.
1743         * stdlib/setenv.c: Likewise.
1744         * string/strsignal.c: Likewise.
1745         * sunrpc/auth_none.c: Likewise.
1746         * sunrpc/bindrsvprt.c: Likewise.
1747         * sunrpc/create_xid.c: Likewise.
1748         * sunrpc/key_call.c: Likewise.
1749         * sunrpc/rpc_thread.c: Likewise.
1750         * sysdeps/arm/backtrace.c: Likewise.
1751         * sysdeps/generic/ldsodefs.h: Likewise.
1752         * sysdeps/generic/stdio-lock.h: Likewise.
1753         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1754         * sysdeps/i386/backtrace.c: Likewise.
1755         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1756         * sysdeps/m68k/backtrace.c: Likewise.
1757         * sysdeps/mach/hurd/cthreads.c: Likewise.
1758         * sysdeps/mach/hurd/dirstream.h: Likewise.
1759         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1760         * sysdeps/nptl/malloc-machine.h: Likewise.
1761         * sysdeps/nptl/stdio-lock.h: Likewise.
1762         * sysdeps/posix/dirstream.h: Likewise.
1763         * sysdeps/posix/getaddrinfo.c: Likewise.
1764         * sysdeps/posix/system.c: Likewise.
1765         * sysdeps/pthread/aio_suspend.c: Likewise.
1766         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1767         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1768         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1769         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1770         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1771         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1772         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1773         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1774         * sysdeps/unix/sysv/linux/system.c: Likewise.
1775         * sysdeps/x86_64/backtrace.c: Likewise.
1776         * time/alt_digit.c: Likewise.
1777         * time/era.c: Likewise.
1778         * time/tzset.c: Likewise.
1779         * wcsmbs/wcsmbsload.c: Likewise.
1780         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1781         instead of <bits/libc-lock.h> in comment.
1783 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
1785         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1786         Only use .set mips2 if the current ISA is below mips2.
1787         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1788         Likewise.
1789         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1790         mips32r2 if the current ISA is below mips32r2.
1791         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1792         (TLS_IE): Updated to use the TLD_RDHWR macro.
1793         (TLS_LE): Likewise.
1794         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1795         __ASSEMBLER__ condition.
1797 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1799         Fix parallel build of before-compile targets.
1801         * sysdeps/mach/Makefile ($(patsubst
1802         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1803         mach-before-compile target.
1804         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1805         io fs process)): Move rule to dedicated hurd-before-compile target.
1807 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1809         Fix rules generating headers in hurd/ and mach/ when initial make call
1810         has subdir= explicitly set.
1812         * sysdeps/mach/Makefile ($(patsubst
1813         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1814         calling $(MAKE).
1815         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1816         io fs process)): Force subdir to hurd when calling $(MAKE).
1817         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1818         subdir to mach when calling $(MAKE).
1820 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
1822         Check sysheaders when looking for Mach and Hurd headers
1824         * sysdeps/mach/configure.ac: Add sysheaders check.
1825         * sysdeps/mach/configure: Regenerate.
1826         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1827         * sysdeps/mach/hurd/configure: Regenerate.
1829 2015-09-04  Roland McGrath  <roland@hack.frob.com>
1831         [BZ #18921]
1832         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1833         Fix inverted sense of test of 'o_directory_works' value.
1834         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1835         Bernhard Voelker <mail@bernhard-voelker.de>.
1837 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
1839         [BZ #14912]
1840         * bits/linkmap.h: Move to ...
1841         * sysdeps/generic/linkmap.h: ...here.
1842         * sysdeps/aarch64/bits/linkmap.h: Move to ...
1843         * sysdeps/aarch64/linkmap.h: ...here.
1844         * sysdeps/arm/bits/linkmap.h: Move to ...
1845         * sysdeps/arm/linkmap.h: ...here.
1846         * sysdeps/hppa/bits/linkmap.h: Move to ...
1847         * sysdeps/hppa/linkmap.h: ...here.
1848         * sysdeps/ia64/bits/linkmap.h: Move to ...
1849         * sysdeps/ia64/linkmap.h: ...here.
1850         * sysdeps/mips/bits/linkmap.h: Move to ...
1851         * sysdeps/mips/linkmap.h: ...here.
1852         * sysdeps/s390/bits/linkmap.h: Move to ...
1853         * sysdeps/s390/linkmap.h: ...here.
1854         * sysdeps/sh/bits/linkmap.h: Move to ...
1855         * sysdeps/sh/linkmap.h: ...here.
1856         * sysdeps/x86/bits/linkmap.h: Move to ...
1857         * sysdeps/x86/linkmap.h: ...here.
1858         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1860 2015-09-04  Andreas Schwab  <schwab@suse.de>
1862         [BZ #18635]
1863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1864         (__makecontext): Terminate FDE before return label.
1865         (__novec_makecontext): Likewise.
1867 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1869         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1870         first member of struct sv in syscall macro.
1872 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
1874         [BZ #14912]
1875         * bits/stdio-lock.h: Move to ...
1876         * sysdeps/generic/stdio-lock.h: ...here.
1877         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1878         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1879         * sysdeps/nptl/stdio-lock.h: ...here.
1880         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1881         * include/libio.h: Include <stdio-lock.h> instead of
1882         <bits/stdio-lock.h>.
1883         * sysdeps/nptl/fork.c: Likewise.
1884         * sysdeps/pthread/flockfile.c: Likewise.
1885         * sysdeps/pthread/ftrylockfile.c: Likewise.
1886         * sysdeps/pthread/funlockfile.c: Likewise.
1888         [BZ #14912]
1889         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1890         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1891         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1892         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1893         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1894         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1895         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1897 2015-09-03  Roland McGrath  <roland@hack.frob.com>
1899         * elf/Makefile (test-xfail-tst-protected1a): New variable.
1900         (test-xfail-tst-protected1b): New variable.
1902 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
1904         [BZ #14912]
1905         * bits/libc-tsd.h: Move to ...
1906         * sysdeps/generic/libc-tsd.h: ...here.
1907         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1908         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1909         * sysdeps/mach/hurd/libc-tsd.h: ...here.
1910         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1911         * include/ctype.h: Include <libc-tsd.h> instead of
1912         <bits/libc-tsd.h>.
1913         * include/rpc/rpc.h: Likewise.
1914         * locale/localeinfo.h: Likewise.
1915         * sunrpc/rpc_thread.c: Likewise.
1916         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1917         * sysdeps/nptl/malloc-machine.h: Likewise.
1919         * Makefile (headers): Remove bits/libc-lock.h.
1920         * libio/Makefile (headers): Remove bits/stdio-lock.h.
1922         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1923         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1924         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1925         <bits/stdio-lock.h>.
1926         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1927         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1929 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
1931         [BZ #18757]
1932         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1933         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1934         BZ #18757.
1936 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
1938         * malloc/mtrace.pl: Filter out NULL entries.
1940 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
1942         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1943         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1944         macro.
1946         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1947         (TCP_CC_INFO): Likewise.
1948         (TCP_SAVE_SYN): Likewise.
1949         (TCP_SAVED_SYN): Likewise.
1951 2015-08-31  Brett Neumeier <brett@neumeier.us>
1953         [BZ #18870]
1954         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1956 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
1958         [BZ #18873]
1959         Fix broken overflow check in posix_fallocate
1960         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1961         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1962         Fix parenthesization typo.
1964 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
1966         [BZ #18887]
1967         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1968         tst-mntent-blank-passno.
1969         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1970         * misc/tst-mntent-blank-corrupt.c: New test.
1971         * misc/tst-mntent-blank-passno.c: New test ripped from ...
1972         * misc/tst-mntent.c (do_test): ... here.
1974 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
1976         [BZ #4404]
1977         * po/de.po: Fix SIGALRM typo.
1979 2015-08-28  James Perkins  <james@loowit.net>
1981         * time/tst-strptime2.c (tests): Replace short list of test
1982         strings for strptime %z specifier with code which exhaustively
1983         tests every combination of sign and 0 to 5 digits. Tests for
1984         rejection of invalid strings.
1986 2015-08-28  James Perkins  <james@loowit.net>
1988         [BZ #16141]
1989         * time/strptime_l.c (__strptime_internal): Fix %z minutes
1990         calculation, removing incorrect decimal time rounding, so that
1991         all minute values result in a valid seconds value.
1992         * time/strptime_l.c (__strptime_internal): Extend %z time zone
1993         offset range limits to UTC-99:59 through UTC+99:59 to parse
1994         current and historical use cases.
1995         * time/tst-strptime2.c (tests): Modify and add tests for the
1996         strptime %z input field descriptor, specifically conversion of
1997         minutes to seconds and validating an offset range of -9959 to
1998         +9959.
2000 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2001             Dmitry V. Levin  <ldv@altlinux.org>
2003         [BZ #18877]
2004         * posix/Makefile (tests): Add tst-mmap-offset.
2005         * posix/tst-mmap.c: New file.
2006         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
2007         offset calculation for negative values.
2009 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2011         * sysdeps/i386/init-arch.h: New file.
2012         * sysdeps/i386/i586/init-arch.h: Likewise.
2013         * sysdeps/i386/i686/init-arch.h: Likewise.
2014         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
2015         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
2016         * sysdeps/x86/cpu-features.h (bit_I586): New.
2017         (bit_I686): Likewise.
2018         (bit_CX8): Likewise.
2019         (bit_CMOV): Likewise.
2020         (index_CX8): Likewise.
2021         (index_CMOV): Likewise.
2022         (index_I586): Likewise.
2023         (index_I686): Likewise.
2024         (reg_CX8): Likewise.
2025         (reg_CMOV): Likewise.
2026         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2027         available at compile-time.
2028         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2029         available at compile-time.
2030         * sysdeps/x86/init-arch.h (USE_I586): New macro.
2031         (USE_I686): Likewise.
2033 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2035         * sysdeps/i386/bcopy.S: New file.
2036         * sysdeps/i386/bzero.S: Likewise.
2037         * sysdeps/i386/memcpy.S: Likewise.
2038         * sysdeps/i386/memmove.S: Likewise.
2039         * sysdeps/i386/mempcpy.S: Likewise.
2040         * sysdeps/i386/memset.S: Likewise.
2041         * sysdeps/i386/bzero.c: Removed.
2042         * sysdeps/i386/memset.c: Likewise.
2043         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2044         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2045         * sysdeps/i386/i586/memset_chk.S: Likewise.
2046         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2047         * sysdeps/i386/memcpy_chk.S: Here.
2048         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2049         * sysdeps/i386/memmove_chk.S: Here.
2050         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2051         * sysdeps/i386/mempcpy_chk.S: Likewise.
2052         * sysdeps/i386/i686/memset_chk.S: Moved to ...
2053         * sysdeps/i386/memset_chk.S: Likewise.
2055 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
2057         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2058         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2059         file, move DIAG_POP_NEEDS_COMMENT to end of file.
2060         * soft-fp/fmadf4.c: Ditto.
2061         * soft-fp/fmatf4.c: Ditto.
2063 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2065         * sysdeps/i386/i586/Implies: Removed.
2066         * sysdeps/i386/i686/Implies: Likewise.
2068 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2070         * sysdeps/i386/i486/strlen.S: Moved to ...
2071         * sysdeps/i386/strlen.S: Here.
2073 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2075         * sysdeps/i386/i486/strcat.S: Moved to ...
2076         * sysdeps/i386/strcat.S: Here.
2078 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2080         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2081         * sysdeps/i386/pthread_spin_trylock.S: Here.
2082         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2083         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2085 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2087         * sysdeps/i386/i486/string-inlines.c: Moved to ...
2088         * sysdeps/i386/string-inlines.c: Here.
2090 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2092         * sysdeps/i386/i486/htonl.S: Moved ...
2093         * sysdeps/i386/htonl.S: here.
2095 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2097         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2098         * sysdeps/i386/bits/atomic.h: Here.
2100 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2102         * sysdeps/i386/i486/Versions: Removed.
2104 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2106         [BZ #2898]
2107         * misc/mktemp.c: Add mkdtemp to the link_warning message.
2108         Based on patch by Aurelien Jarno.
2110 2015-08-26  Stan Shebs  <stanshebs@google.com>
2112         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2113         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2115 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2117         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2118         * sysdeps/powerpc/dl-procinfo.c:
2119         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2120         feature so it shows when LD_SHOW_AUXV=1.
2122 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2124         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2125         (__arch_compare_and_exchange_val_32_acq): Remove and use common
2126         definition.  ISA 2.07B no longer requires full sync.
2128 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
2130         [BZ #18863]
2131         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2132         (si_call_addr): Define.
2133         (si_syscall): Define.
2134         (si_arch): Define.
2136 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2138         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2139         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2140         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2141         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2142         (__memset_zero_constant_len_parameter): New.
2143         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2144         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2145         (__memset_zero_constant_len_parameter): Don't define if
2146         __memset_chk or USE_AS_BZERO are defined.
2148         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2149         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2150         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2152         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2153         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2154         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2155         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
2156         comments.
2157         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2158         -mno-mmx for $(all-rtld-routines).
2159         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2160         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
2161         i386.
2163 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2165         * sysdeps/generic/unwind.h
2166         (_Unwind_Word): Use __mode__(__unwind_word__)
2167         instead of __mode__(__word__).
2168         (_Unwind_Sword): Likewise.
2170         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2171         (MAX_NEEDED_INPUT): New define.
2172         (MAX_NEEDED_OUTPUT): New define.
2174         * NEWS: New item for IBM z13 string optimizations.
2176         * sysdeps/s390/multiarch/memrchr-c.c: New File.
2177         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2178         * sysdeps/s390/multiarch/memrchr.c: Likewise.
2179         * sysdeps/s390/multiarch/Makefile
2180         (sysdep_routines): Add memrchr functions.
2181         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2182         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2184         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2185         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2186         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2187         * sysdeps/s390/multiarch/Makefile
2188         (sysdep_routines): Add wmemcmp functions.
2189         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2190         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2191         * benchtests/bench-wmemcmp.c: New File.
2192         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2194         * sysdeps/s390/multiarch/wmemset-c.c: New File.
2195         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2196         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2197         * sysdeps/s390/multiarch/Makefile
2198         (sysdep_routines): Add wmemset functions.
2199         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2200         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2201         * wcsmbs/wmemset.c: Use WMEMSET if defined.
2202         * string/test-memset.c: Add wmemset support.
2203         * wcsmbs/test-wmemset.c: New File.
2204         * wcsmbs/Makefile (strop-tests): Add wmemset.
2205         * benchtests/bench-memset.c: Add wmemset support.
2206         * benchtests/bench-wmemset.c: New File.
2207         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2209         * sysdeps/s390/multiarch/memccpy-c.c: New File.
2210         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2211         * sysdeps/s390/multiarch/memccpy.c: Likewise.
2212         * sysdeps/s390/multiarch/Makefile
2213         (sysdep_routines): Add memccpy functions.
2214         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2215         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2216         * string/memccpy.c: Use MEMCCPY if defined.
2218         * sysdeps/s390/multiarch/memchr-vx.S: New File.
2219         * sysdeps/s390/multiarch/memchr.c: Likewise.
2220         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2221         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2222         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2223         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2224         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2225         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2226         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2227         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2228         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2229         and rawmemchr functions.
2230         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2231         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2232         and wmemchr.
2233         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2234         * string/test-memchr.c: Add wmemchr support.
2235         * wcsmbs/test-wmemchr.c: New File.
2236         * wcsmbs/Makefile (strop-tests): Add wmemchr.
2237         * benchtests/bench-memchr.c: Add wmemchr support.
2238         * benchtests/bench-wmemchr.c: New File.
2239         * benchtests/Makefile (wcsmbs-bench): wmemchr.
2241         * sysdeps/s390/multiarch/strcspn-c.c: New File.
2242         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2243         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2244         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2245         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2246         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2247         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2248         wcscspn functions.
2249         * sysdeps/s390/multiarch/ifunc-impl-list.c
2250         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2251         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2252         * string/test-strcspn.c: Add wcscspn support.
2253         * wcsmbs/test-wcscspn.c: New File.
2254         * wcsmbs/Makefile (strop-tests): Add wcscspn.
2255         * benchtests/bench-strcspn.c: Add wcscspn support.
2256         * benchtests/bench-wcscspn.c: New File.
2257         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2259         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2260         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2261         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2262         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2263         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2264         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2265         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2266         wcspbrk functions.
2267         * sysdeps/s390/multiarch/ifunc-impl-list.c
2268         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2269         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2270         * string/test-strpbrk.c: Add wcspbrk support.
2271         * wcsmbs/test-wcspbrk.c: New File.
2272         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2273         * benchtests/bench-strpbrk.c: Add wcspbrk support.
2274         * benchtests/bench-wcspbrk.c: New File.
2275         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2277         * sysdeps/s390/multiarch/strspn-c.c: New File.
2278         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2279         * sysdeps/s390/multiarch/strspn.c: Likewise.
2280         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2281         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2282         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2283         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2284         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2285         wcsspn functions.
2286         * sysdeps/s390/multiarch/ifunc-impl-list.c
2287         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2288         * string/test-strspn.c: Add wcsspn support.
2289         * wcsmbs/test-wcsspn.c: New File.
2290         * wcsmbs/Makefile (strop-tests): Add wcsspn.
2291         * benchtests/bench-strspn.c: Add wcsspn support.
2292         * benchtests/bench-wcsspn.c: New File.
2293         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2295         * sysdeps/s390/multiarch/strrchr-c.c: New File.
2296         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2297         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2298         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2299         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2300         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2302         wcsrchr functions.
2303         * sysdeps/s390/multiarch/ifunc-impl-list.c
2304         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2305         * benchtests/bench-wcsrchr.c: New File.
2306         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2308         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2309         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2310         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2311         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2312         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2313         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2314         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2315         wcschrnul functions.
2316         * sysdeps/s390/multiarch/ifunc-impl-list.c
2317         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2318         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2319         * string/test-strchr.c: Add wcschrnul support.
2320         * wcsmbs/test-wcschrnul.c: New File.
2321         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2322         * benchtests/bench-strchr.c: Add wcschrnul support.
2323         * benchtests/bench-wcschrnul.c: New File.
2324         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2326         * sysdeps/s390/multiarch/strchr-c.c: New File.
2327         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2328         * sysdeps/s390/multiarch/strchr.c: Likewise.
2329         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2330         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2331         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2332         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2333         wcschr functions.
2334         * sysdeps/s390/multiarch/ifunc-impl-list.c
2335         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2336         * string/strchr.c (STRCHR): Define and use macro.
2337         * benchtests/bench-wcschr.c: New File.
2338         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2340         * sysdeps/s390/multiarch/strncmp-c.c: New File.
2341         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2342         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2343         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2344         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2345         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2346         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2347         wcsncmp functions.
2348         * sysdeps/s390/multiarch/ifunc-impl-list.c
2349         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2350         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2351         * benchtests/bench-strncmp.c: Add wcsncmp support.
2352         * benchtests/bench-wcsncmp.c: New File.
2353         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2355         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2356         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2357         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2358         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2359         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2360         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2361         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2362         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2363         wcscmp functions.
2364         * sysdeps/s390/multiarch/ifunc-impl-list.c
2365         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2366         * string/strcmp.c (STRCMP): Define and use macro.
2367         * benchtests/bench-wcscmp.c: New File.
2368         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2369         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2370         instead of _HAVE_STRING_ARCH_memchr.
2372         * sysdeps/s390/multiarch/strncat-c.c: New File.
2373         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2374         * sysdeps/s390/multiarch/strncat.c: Likewise.
2375         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2376         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2377         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2378         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2379         wcsncat functions.
2380         * sysdeps/s390/multiarch/ifunc-impl-list.c
2381         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2382         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2383         * string/test-strncat.c: Add wcsncat support.
2384         * wcsmbs/test-wcsncat.c: New File.
2385         * wcsmbs/Makefile (strop-tests): Add wcsncat.
2386         * benchtests/bench-strncat.c: Add wcsncat support.
2387         * benchtests/bench-wcsncat.c: New File.
2388         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2390         * sysdeps/s390/multiarch/strcat-c.c: New File.
2391         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2392         * sysdeps/s390/multiarch/strcat.c: Likewise.
2393         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2394         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2395         * sysdeps/s390/multiarch/wcscat.c: Likewise.
2396         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2397         wcscat functions.
2398         * sysdeps/s390/multiarch/ifunc-impl-list.c
2399         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2400         * string/strcat.c (STRCAT): Define and use macro.
2401         * wcsmbs/wcscat.c: Use WCSCAT if defined.
2402         * string/test-strcat.c: Add wcscat support.
2403         * wcsmbs/test-wcscat.c: New File.
2404         * wcsmbs/Makefile (strop-tests): Add wcscat.
2405         * benchtests/bench-strcat.c: Add wcscat support.
2406         * benchtests/bench-wcscat.c: New File.
2407         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2409         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2410         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2411         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2412         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2413         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2414         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2415         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2416         wcpncpy functions.
2417         * sysdeps/s390/multiarch/ifunc-impl-list.c
2418         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2419         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2420         * string/test-stpncpy.c: Add wcpncpy support.
2421         * wcsmbs/test-wcpncpy.c: New File.
2422         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2423         * benchtests/bench-stpncpy.c: Add wcpncpy support.
2424         * benchtests/bench-wcpncpy.c: New File.
2425         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2427         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2428         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2429         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2430         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2431         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2432         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2433         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2434         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2435         wcsncpy functions.
2436         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2437         * sysdeps/s390/multiarch/ifunc-impl-list.c
2438         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2439         * string/test-strncpy.c: Add wcsncpy support.
2440         * wcsmbs/test-wcsncpy.c: New File.
2441         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2442         * benchtests/bench-strncpy.c: Add wcsncpy support.
2443         * benchtests/bench-wcsncpy.c: New File.
2444         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2446         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2447         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2448         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2449         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2450         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2451         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2452         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2453         wcpcpy functions.
2454         * string/stpcpy.c: Use STPCPY if defined.
2455         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2456         * sysdeps/s390/multiarch/ifunc-impl-list.c
2457         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2458         * string/test-stpcpy.c: Add wcpcpy support.
2459         * wcsmbs/test-wcpcpy.c: New File.
2460         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2461         * benchtests/bench-stpcpy.c: Add wcpcpy support.
2462         * benchtests/bench-wcpcpy.c: New File.
2463         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2465         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2466         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2467         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2468         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2469         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2470         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2471         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2472         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2473         wcscpy functions.
2474         * sysdeps/s390/multiarch/ifunc-impl-list.c
2475         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2476         * benchtests/bench-wcscpy.c: New File.
2477         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2479         * sysdeps/s390/multiarch/strnlen-c.c: New File.
2480         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2481         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2482         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2483         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2484         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2485         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2486         wcsnlen functions.
2487         * sysdeps/s390/multiarch/ifunc-impl-list.c
2488         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2489         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2490         * string/test-strnlen.c: Add wcsnlen support.
2491         * wcsmbs/test-wcsnlen.c: New File.
2492         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2493         * benchtests/bench-strnlen.c: Add wcsnlen support.
2494         * benchtests/bench-wcsnlen.c: New File.
2495         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2497         * sysdeps/s390/multiarch/Makefile: New File.
2498         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2499         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2500         * sysdeps/s390/multiarch/strlen.c: Likewise.
2501         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2502         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2503         * sysdeps/s390/multiarch/wcslen.c: Likewise.
2504         * string/strlen.c (STRLEN): Define and use macro.
2505         * sysdeps/s390/multiarch/ifunc-impl-list.c
2506         (IFUNC_VX_IMPL): New macro function.
2507         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2508         * benchtests/Makefile (wcsmbs-bench): New variable.
2509         (string-bench-all): Added wcsmbs-bench.
2510         * benchtests/bench-wcslen.c: New File.
2512         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2513         s390_vx_libc_ifunc2): New macro function.
2515         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2516         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2517         assembler support.
2518         * sysdeps/s390/configure: Regenerated.
2520         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2521         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2523         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2524         * sysdeps/s390/dl-procinfo.h: Add vector capability.
2525         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2527         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2528         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2529         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2530         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2531         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2532         (memcmp, bcmp): Use __memcmp_default as alias source.
2533         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2534         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2535         Rename to __memcmp_default.
2536         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2537         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2538         (memcpy): Use __memcpy_default as alias source.
2539         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2540         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2541         Rename to __memcpy_default.
2542         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2543         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2544         (memset): Use __memset_default as alias source.
2545         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2546         * sysdeps/s390/s390-32/memset.S (__memset_g5):
2547         Rename to __memset_default.
2548         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2549         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2550         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2551         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2552         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2553         (memcmp, bcmp): Use __memcmp_default as alias source.
2554         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2555         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2556         Rename to __memcmp_default.
2557         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2558         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2559         (memcpy): Use __memcpy_default as alias source.
2560         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2561         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2562         Rename to __memcpy_default.
2563         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2564         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2565         (memset): Use __memset_default as alias source.
2566         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2567         * sysdeps/s390/s390-64/memset.S (__memset_z900):
2568         Rename to __memset_default.
2569         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2570         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2572         [BZ #18610]
2573         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2574         __ieee_instruction_pointer to __unused.
2575         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2576         __ieee_instruction_pointer.
2577         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2578         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2579         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2580         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2581         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2582         Mark dxc-field as reserved.
2584 2015-08-25  Roland McGrath  <roland@hack.frob.com>
2586         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2587         if the weak reference is not null.
2589 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2591         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2593         [BZ #11214]
2594         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2596 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2598         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2599         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2600         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2601         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2602         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2603         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2604         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2605         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2606         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2607         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2608         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2609         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2610         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2611         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2612         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2613         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2614         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2615         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2617 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2619         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2620         register other than r0 for tabort, it has special meaning.
2621         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2622         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2623         transaction before starting syscall.
2625 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2627         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2629 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2631         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2633         * sysdeps/x86_64/rtld-memcmp.c: Removed.
2634         * sysdeps/x86_64/rtld-memset.S: Likewise.
2635         * sysdeps/x86_64/rtld-strchr.S: Likewise.
2636         * sysdeps/x86_64/rtld-strlen.S: Likewise.
2637         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2638         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2640         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2642 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
2644         * debug/strcpy_chk.c: Improve performance.
2645         * debug/stpcpy_chk.c: Likewise.
2646         * sysdeps/x86_64/strcpy_chk.S: Remove.
2647         * sysdeps/x86_64/stpcpy_chk.S: Remove.
2649         [BZ #18240]
2650         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2652 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2654         [BZ #15128]
2655         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2656         ifuncmain8.
2657         (modules-names): Add ifuncmod8.
2658         ($(objpfx)ifuncmain8): New rule.
2659         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2660         <cpuid.h>.
2661         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2662         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2663         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2664         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2665         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2666         * sysdeps/x86_64/dl-trampoline.h: Likewise.
2667         * sysdeps/x86_64/ifuncmain8.c: New file.
2668         * sysdeps/x86_64/ifuncmod8.c: Likewise.
2669         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2670         Removed.
2671         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2672         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2673         Change rtld_savespace_sse to __glibc_unused2.
2674         (RTLD_CHECK_FOREIGN_CALL): Removed.
2675         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2676         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2677         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2679 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
2681         * sysdeps/aarch64/bzero.S (__bzero): Remove.
2683 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
2685         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2686         Unconditionally set __fpcr to avoid uninialized warning.
2687         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2689 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2691         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2692         is corrupt.
2694         * malloc/arena.c (arena_get2): Drop unused argument.
2695         (arena_lock): Adjust.
2696         (arena_get_retry): Likewise.
2698 2015-08-24  Andreas Schwab  <schwab@suse.de>
2700         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2701         Don't define.
2702         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2703         (__ASSUME_IPC64): Don't undef.
2704         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2705         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2706         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2707         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2708         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2709         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2710         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2711         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2712         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2713         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2714         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2715         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2716         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2717         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2718         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2719         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2720         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2721         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2722         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2723         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2724         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2726 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
2728         * manual/Makefile (install): Only build manual when perl is available.
2730 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2732         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2733         '#undef memcpy' by '#undef memchr'.
2735 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2737         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2738         memchr not point to the internal __GI_memchr implementation.
2740 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
2742         * timezone/Makefile (CFLAGS-zdump.c): Remove
2743         -Wno-strict-prototypes.
2744         (CFLAGS-zic.c): Likewise.
2745         (CFLAGS-ialloc.c): Likewise.
2746         (CFLAGS-scheck.c): Likewise.
2748         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2749         -Wno-error=undef.
2751 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2753         * i386/i686/multiarch/strcasestr-c.c: Removed.
2754         * x86_64/multiarch/strcasestr.c: Likewise.
2755         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2756         Remove strcasestr.
2758 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
2760         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2762         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2763         variables for high and low parts before possibly modifying them.
2765 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2767         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2768         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2769         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2770         of "multiarch/init-arch.h".
2771         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2772         * sysdeps/x86/init-arch.h: This.
2774 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
2776         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2777         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2779 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
2781         [BZ #17787]
2782         * manual/macros.texi: Add twoexp macro.
2783         * manual/filesys.texi: Fix exponents.
2784         * manual/llio.texi: Likewise.
2785         * manual/stdio.texi: Likewise.
2787 2015-08-20  Florian Weimer  <fweimer@redhat.com>
2789         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2790         incorrect use.
2792 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
2794         [BZ #18370]
2795         * math/s_csqrt.c (__csqrt): Force underflow exception for results
2796         whose real or imaginary part has small absolute value.
2797         * math/s_csqrtf.c (__csqrtf): Likewise.
2798         * math/s_csqrtl.c (__csqrtl): Likewise.
2799         * math/auto-libm-test-in: Add more tests of csqrt.
2800         * math/auto-libm-test-out: Regenerated.
2801         * sysdeps/i386/fpu/libm-test-ulps: Update.
2803 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2805         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2806         __ppc_set_ppr_very_low): New functions.
2807         * manual/platform.texi: Add documentation about
2808         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2810 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
2812         * string/stpncpy.c (stpncpy): Improve performance using
2813         __strnlen/memcpy/memset.
2815 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2817         [BZ #18796]
2818         * scripts/test-installation.pl: Don't add -lmvec to build options if
2819         libmvec wasn't built.
2821 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2823         [BZ #14341]
2824         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2825         case when there is a gap between DT_REL and DT_JMPREL sections.
2826         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2827         (LDFLAGS-tst-split-dynreloc): New.
2828         (tst-split-dynreloc-ENV): Likewise.
2829         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2830         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2832 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2834         [BZ #18822]
2835         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2836         attribute_hidden.
2837         (__xstat64_conv): Likewise.
2838         (__xstat32_conv): Likewise.
2840 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2842         [BZ #18822]
2843         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2844         Don't load %ebx when calling __setcontext.  Call __setcontext
2845         with HIDDEN_JUMPTARGET.
2846         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2847         libc_hidden_def.
2849 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2851         * sysdeps/i386/i686/Makefile
2852         [$(subdir) == string] (sysdep_routines): Moved to ...
2853         * sysdeps/i386/Makefile: Here.
2854         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2855         * sysdeps/i386/cacheinfo.c: Here.
2856         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2857         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2858         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2859         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2861 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2863         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2864         __i586__ is defined.
2865         (HAS_I686): Defined to 1 if __i686__ is defined.
2867 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
2869         * elf/Makefile [$(have-z-execstack) = yes]
2870         (CPPFLAGS-tst-execstack.c): New variable.
2872         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2873         conditional to [defined UTMPX || _HAVE_UT_TYPE].
2874         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2875         UTMPX || _HAVE_UT_TV].
2876         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2877         UTMPX || _HAVE_UT_TV - 0].
2879 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
2881         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2882         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2883         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2885 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2887         * sysdeps/powerpc/dl-procinfo.c:
2888         (_dl_powerpc_cap_flags): Added missing strings for some
2889         hwcap features.
2890         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2892 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
2894         Port the 0x7efe...feff pattern to GCC 6.
2895         See Steve Ellcey's bug report in:
2896         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2897         * string/memrchr.c (MEMRCHR):
2898         * string/rawmemchr.c (RAWMEMCHR):
2899         * string/strchr.c (strchr):
2900         * string/strchrnul.c (STRCHRNUL):
2901         Rewrite code to avoid issues with signed shift overflow.
2903 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
2905         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2906         whether cpuid is available only if HAS_CPUID is 0.
2907         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2908         (HAS_I586): Likewise.
2909         (HAS_I686): Likewise.
2911 2015-08-18  Zack Weinberg  <zackw@panix.com>
2913         * misc/Versions (libc): Add GLIBC_2.23.
2915 2015-08-18  Alan Modra  <amodra@gmail.com>
2917         [BZ #18421]
2918         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2919         .Lp__global.
2920         (_start): Load %dp via .Lp__global.
2921         [!SHARED]: Use .section .rodata.
2923 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2925         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2926         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2928 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2930         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2931         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2933 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2935         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2936         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2938 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2940         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2941         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2943 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2945         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2946         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2948 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2950         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2951         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2953 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2955         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2957 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2959         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2960         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
2961         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2962         (__ASSUME_LWS_CAS): Delete.
2964 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
2966         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2967         * sysdeps/hppa/configure: Regenerated.
2968         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2969         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2970         * sysdeps/hppa/nptl/tls.h: Likewise.
2972 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
2974         [BZ #18823]
2975         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2976         for scaling up small arguments.
2977         * math/s_csqrtf.c (__csqrtf): Likewise.
2978         * math/s_csqrtl.c (__csqrtl): Likewise.
2979         * math/auto-libm-test-in: Add more tests of csqrt.
2980         * math/auto-libm-test-out: Regenerated.
2982 2015-08-17  Andreas Schwab  <schwab@suse.de>
2984         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2985         version set GLIBC_2.19.
2987 2015-08-16  Zack Weinberg  <zackw@panix.com>
2989         [BZ #18681]
2990         * misc/regexp.h: This interface is no longer supported.
2991         Remove all contents, leaving only an #error directive.
2992         * misc/regexp.c (loc1, loc2, locs, step, advance):
2993         Demote to compatibility symbols.
2995 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
2997         [BZ #18084]
2998         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2999         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
3000         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3001         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
3002         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
3003         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
3004         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
3005         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
3006         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3008 2015-08-15  Zack Weinberg  <zackw@panix.com>
3010         [BZ #18795]
3011         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
3012         buffer length is known to be too large, not if it's known to be
3013         small enough.
3014         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
3015         overflow at runtime, involving a length parameter, twice: once
3016         with a compile-time constant length parameter, once without.
3018 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
3020         [BZ #18824]
3021         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
3022         scaling x * y up instead of down.
3023         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3024         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3025         * math/auto-libm-test-in: Add more tests of fma.
3026         * math/auto-libm-test-out: Regenerated.
3028 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3030         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3032 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3034         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3035         unnecessary movq.
3036         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3037         Likewise.
3039 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
3041         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3042         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3043         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3044         and tgamma.
3045         * math/auto-libm-test-out: Regenerated.
3046         * sysdeps/i386/fpu/libm-test-ulps: Update.
3047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3049         [BZ #16520]
3050         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3051         (__tanh): Force underflow exception for arguments with small
3052         absolute value.
3053         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3054         (__tanhf): Force underflow exception for arguments with small
3055         absolute value.
3056         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3057         (__tanhl): Force underflow exception for arguments with small
3058         absolute value.
3059         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3060         (__tanhl): Force underflow exception for arguments with small
3061         absolute value.
3062         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3063         (__tanhl): Force underflow exception for arguments with small
3064         absolute value.
3065         * math/auto-libm-test-in: Add more tests of tanh.
3066         * math/auto-libm-test-out: Regenerated.
3067         * sysdeps/i386/fpu/libm-test-ulps: Update.
3069 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3071         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3072         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3074 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3076         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3077         <cpuid.h>.
3079 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3081         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3082         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3084 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3086         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3087         Remove $(objpfx)init-arch.o.
3088         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3089         init-arch.
3090         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3091         (INIT_ARCH_EXT): Defined as empty.
3092         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3093         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3094         __init_cpu_features call.  Replace HAS_XXX with
3095         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3096         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3097         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3098         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3099         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3100         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3101         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3102         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3103         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3104         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3105         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3106         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3107         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3108         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3109         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3110         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3111         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3112         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3114         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3115         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3116         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3117         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3118         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3119         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3120         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3121         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3122         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3123         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3124         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3125         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3126         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3127         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3128         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3129         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3130         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3132 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3134         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3135         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3136         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3137         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3138         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3139         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3140         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3141         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3142         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3143         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3144         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3145         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
3146         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3147         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3148         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3149         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3150         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3151         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3152         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3153         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3154         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3155         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3156         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3157         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3158         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3159         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3160         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3161         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3162         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3163         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3164         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3165         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3166         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3167         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3168         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3169         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3170         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3171         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3172         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3173         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3174         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3175         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3176         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3178 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3180         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3181         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3182         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3183         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3184         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3185         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3186         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3187         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3188         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3189         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3190         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3191         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3192         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3193         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3194         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3195         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3196         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3197         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3198         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3199         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3200         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3201         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3202         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3203         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3204         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3205         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3206         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3207         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
3208         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3209         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3210         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3211         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3212         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3213         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3214         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3215         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3216         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3217         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3218         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3219         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3220         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3221         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3222         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3224 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3226         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3227         (dl_platform_init): Call init_cpu_features.
3228         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3229         * sysdeps/i386/i686/cacheinfo.c
3230         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3231         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3232         * sysdeps/i386/i686/multiarch/Versions: Removed.
3233         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3234         Removed.
3235         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3236         * sysdeps/unix/sysv/linux/x86/Makefile
3237         (libpthread-sysdep_routines): Remove init-arch.
3238         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3239         <sysdeps/x86_64/dl-procinfo.c> instead of
3240         sysdeps/generic/dl-procinfo.c>.
3241         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3242         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3243         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3244         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3245         [$(subdir) == elf] (tests-static): Add
3246         tst-get-cpu-features-static.
3247         * sysdeps/x86/Versions: New file.
3248         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3249         * sysdeps/x86/cpu-features.c: Likewise.
3250         * sysdeps/x86/cpu-features.h: Likewise.
3251         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3252         * sysdeps/x86/libc-start.c: Likewise.
3253         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3254         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3255         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3256         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3257         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3258         Assume USE_MULTIARCH is defined and don't check it.
3259         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3260         (is_amd): Likewise.
3261         (max_cpuid): Likewise.
3262         (intel_check_word): Likewise.
3263         (__cache_sysconf): Don't call __init_cpu_features.
3264         (__x86_preferred_memory_instruction): Removed.
3265         (init_cacheinfo): Don't call __init_cpu_features. Replace
3266         __cpu_features with GLRO(dl_x86_cpu_features).
3267         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3268         (dl_platform_init): Call init_cpu_features.
3269         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3270         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3271         * sysdeps/x86_64/multiarch/Versions: Removed.
3272         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3273         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3274         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3275         Removed.
3276         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3278 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3280         [BZ #18820]
3281         * libio/Makefile (test-fmemopen-mem): New test.
3282         * libio/test-fmemopen.c (do_bz18820): New test.
3283         * libio/fmemopen.c (__fmemopen): Fix memory leak.
3284         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3286 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3288         [BZ #16734]
3289         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3290         (FREE_BUF): Delete.
3291         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3292         * libio/genops.c (_IO_setb): Use malloc and free directly.
3293         (_IO_default_doallocate, _IO_default_finish): Likewise.
3294         ( _IO_unbuffer_all): Likewise.
3295         ( libc_freeres_fn): Likewise.
3296         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3297         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3298         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3299         (_IO_wdefault_doallocate): Likewise.
3301 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3303         [BZ #18086]
3304         * sysdeps/posix/nice.c (nice): Restore old errno.
3305         * posix/tst-nice.c (do_test): Add test for BZ #18086.
3307 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
3309         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3311 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3313         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3314         __bcopy and add a weak_alias to bcopy.
3315         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3316         for static build.
3318         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3319         cleanup macro usage.
3320         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3321         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3322         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3323         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3324         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3325         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3326         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3327         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3328         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3329         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3330         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3331         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3332         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3333         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3334         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3335         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3336         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3337         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3338         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3340         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3341         libc_hidden_def.
3342         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3344         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3345         (sysdep_routines): Add strstr-ppc64.
3346         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3348 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
3350         [BZ #18778]
3351         * elf/Makefile (tests): Add Add tst-nodelete2.
3352         (modules-names): Add tst-nodelete2mod.
3353         (tst-nodelete2mod.so-no-z-defs): New.
3354         ($(objpfx)tst-nodelete2): Likewise.
3355         ($(objpfx)tst-nodelete2.out): Likewise.
3356         (LDFLAGS-tst-nodelete2): Likewise.
3357         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3358         out of loop through all loaded libraries.
3359         * elf/tst-nodelete2.c: New file.
3360         * elf/tst-nodelete2mod.c: Likewise.
3361         * elf/tst-znodelete-zlib.cc: Delete.
3363 2015-08-11  Andreas Schwab  <schwab@suse.de>
3365         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3366         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3367         (__openat64_nocancel): Likewise.
3369 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
3371         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3372         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3373         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3374         * math/auto-libm-test-out: Regenerated.
3375         * sysdeps/i386/fpu/libm-test-ulps: Update.
3376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3378 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3380         [BZ #18790]
3381         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3382         threshold for returning +/- 1.
3383         * math/auto-libm-test-in: Add more tests of tanh.
3384         * math/auto-libm-test-out: Regenerated.
3385         * sysdeps/i386/fpu/libm-test-ulps: Update.
3387 2015-08-10  Andreas Schwab  <schwab@suse.de>
3389         [BZ #18781]
3390         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3391         MORE_OFLAGS to oflag.
3392         * io/test-lfs.c (do_test): Test openat64.
3394 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3396         [BZ #18789]
3397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3398         smaller threshold for returning the argument.
3399         * math/auto-libm-test-in: Add more tests of sinh.
3400         * math/auto-libm-test-out: Regenerated.
3401         * sysdeps/i386/fpu/libm-test-ulps: Update.
3403 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
3405         [BZ #18674]
3406         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3407         break.
3409 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3411         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3412         (generated): Don't add $(addprefix z.,$(tzfiles)).
3414 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3416         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3417         * scripts/sysd-rules.awk: Likewise.
3419 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3421         * iconvdata/tst-tables.sh: Change echo -n to printf.
3422         * nss/db-Makefile: Likewise.
3423         * posix/tst-getconf.sh: Likewise.
3424         * stdio-common/tst-unbputc.sh: Likewise.
3426 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3428         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3429         MADV_*_PAGES defines behind this feature check.
3431 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
3433         [BZ #18480]
3434         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3435         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3436         Define.
3437         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3438         LOAD_REGS_5, LOAD_REGS_6): Update.
3439         (INTERNAL_SYSCALL): Update using new LOAD defines.
3440         (INTERNAL_SYSCALL_NCS): Likewise.
3441         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3443 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3445         [BZ #16734]
3446         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3448 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3450         [BZ #17905]
3451         * catgets/Makefile (tst-catgets-mem): New test.
3452         * catgets/catgets.c (catopen): Don't use unbounded alloca.
3453         * catgets/open_catalog.c (__open_catalog): Likewise.
3454         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3456 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
3458         [BZ #18787]
3459         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3460         clobber registers.
3461         (atomic_compare_and_exchange_val_acq): Use register asms to assign
3462         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
3463         Cast return to __typeof (oldval).
3465 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
3467         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3468         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
3469         and delete sys/syscall.h include.
3471 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
3473         [BZ #16517]
3474         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3475         (tan): Force underflow exception for arguments with small absolute
3476         value.
3477         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3478         (__kernel_tanf): Force underflow exception for arguments with
3479         small absolute value.
3480         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3481         (__kernel_tanl): Force underflow exception for arguments with
3482         small absolute value.
3483         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3484         (__kernel_tanl): Force underflow exception for arguments with
3485         small absolute value.
3486         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3487         (__kernel_tanl): Force underflow exception for arguments with
3488         small absolute value.
3489         * math/auto-libm-test-in: Add more tests of tan.
3490         * math/auto-libm-test-out: Regenerated.
3492 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3494         Fix sysdeps/i386/fpu/s_scalbn.S build
3496         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3498 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
3500         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3502 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3504         Fix gcrt0.o compilation
3506         When static-start-installed-name is different from
3507         start-installed-name, we must not use the shared objects.
3509         * csu/Makefile
3510         (extra-objs): Add gmon-start.o when building shared library and
3511         $(static-start-installed-name) is different from
3512         $(start-installed-name).
3513         $(objpfx)g$(static-start-installed-name): When building shared
3514         library and $(static-start-installed-name) is different from
3515         $(static-start-installed-name), revert to non-shared rule,
3516         i.e. using $(objpfx)% and gmon-start.o.
3518 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
3520         [BZ #16519]
3521         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3522         (__ieee754_sinh): Force underflow exception for arguments with
3523         small absolute value.
3524         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3525         (__ieee754_sinhf): Force underflow exception for arguments with
3526         small absolute value.
3527         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3528         (__ieee754_sinhl): Force underflow exception for arguments with
3529         small absolute value.
3530         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3531         (__ieee754_sinhl): Force underflow exception for arguments with
3532         small absolute value.
3533         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3534         (__ieee754_sinhl): Force underflow exception for arguments with
3535         small absolute value.
3536         * math/auto-libm-test-in: Add more tests of sinh.
3537         * math/auto-libm-test-out: Regenerated.
3538         * sysdeps/i386/fpu/libm-test-ulps: Update.
3540 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3542         * libio/oldfileops.c: Include unistd.h.
3544 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
3546         * stdlib/isomac.c: Include ctype.h.
3548 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
3550         * dirent/tst-seekdir.c (main): Converted to ...
3551         (do_test): ... this.
3552         (TEST_FUNCTION): New macro.
3553         Include test-skeleton.c.
3554         * elf/tst-dlmodcount.c (main): Converted to ...
3555         (do_test): ... this.
3556         (TEST_FUNCTION): New macro.
3557         Include test-skeleton.c.
3558         * elf/tst-order-main.c (main): Converted to ...
3559         (do_test): ... this.
3560         (TEST_FUNCTION): New macro.
3561         Include test-skeleton.c.
3562         * elf/tst-pie2.c (main): Converted to ...
3563         (do_test): ... this.
3564         (TEST_FUNCTION): New macro.
3565         Include test-skeleton.c.
3566         * inet/tst-ether_aton.c (main): Converted to ...
3567         (do_test): ... this.
3568         (TEST_FUNCTION): New macro.
3569         Include test-skeleton.c.
3570         * misc/tst-mntent.c (main): Converted to ...
3571         (do_test): ... this.
3572         (TEST_FUNCTION): New macro.
3573         Include test-skeleton.c.
3574         * misc/tst-tsearch.c (main): Converted to ...
3575         (do_test): ... this.
3576         (TEST_FUNCTION): New macro.
3577         Include test-skeleton.c.
3578         * posix/tst-regexloc.c (main): Converted to ...
3579         (do_test): ... this.
3580         (TEST_FUNCTION): New macro.
3581         Include test-skeleton.c.
3582         * resolv/tst-aton.c (main): Converted to ...
3583         (do_test): ... this.
3584         (TEST_FUNCTION): New macro.
3585         Include test-skeleton.c.
3586         * stdio-common/test-fwrite.c (main): Converted to ...
3587         (do_test): ... this.
3588         (TEST_FUNCTION): New macro.
3589         Include test-skeleton.c.
3590         * stdio-common/tst-ferror.c (main): Converted to ...
3591         (do_test): ... this.
3592         (TEST_FUNCTION): New macro.
3593         Include test-skeleton.c.
3594         * stdio-common/tst-printf.c (main): Converted to ...
3595         (do_test): ... this.
3596         (TEST_FUNCTION): New macro.
3597         Include test-skeleton.c.
3598         * stdio-common/tst-printfsz.c (main): Converted to ...
3599         (do_test): ... this.
3600         (TEST_FUNCTION): New macro.
3601         Include test-skeleton.c.
3602         * stdlib/tst-strtod.c (main): Converted to ...
3603         (do_test): ... this.
3604         (TEST_FUNCTION): New macro.
3605         Include test-skeleton.c.
3606         * string/tst-strlen.c (main): Converted to ...
3607         (do_test): ... this.
3608         (TEST_FUNCTION): New macro.
3609         Include test-skeleton.c.
3610         * string/tst-svc.c (main): Converted to ...
3611         (do_test): ... this.
3612         (TEST_FUNCTION): New macro.
3613         Include test-skeleton.c.
3614         * time/tst-strptime.c (main): Converted to ...
3615         (do_test): ... this.
3616         (TEST_FUNCTION): New macro.
3617         Include test-skeleton.c.
3618         * timezone/tst-timezone.c (main): Converted to ...
3619         (do_test): ... this.
3620         (TEST_FUNCTION): New macro.
3621         Include test-skeleton.c.
3623 2015-08-05  Zack Weinberg  <zackw@panix.com>
3625         * misc/regexp.h: Update comments.
3627 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
3629         [BZ #18635]
3630         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3631         before return label.
3633 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3635         [BZ #18661]
3636         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3637         when calling __errno_location.
3638         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3639         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3641 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3643         [BZ #18661]
3644         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3645         (__lll_timedwait_tid): Align stack to 16 bytes when calling
3646         __gettimeofday.
3648 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3650         [BZ #18661]
3651         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3652         (__start_context): Don't use pop to restore %rdi so that stack
3653         is aligned to 16 bytes when calling __setcontext.
3655 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3657         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3658         only for libc.
3659         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3661 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3663         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3664         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
3665         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3667 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3669         * string/memccpy.c (memccpy):
3670         Improve performance by using memchr/memcpy/__mempcpy.
3672 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3674         * string/strncpy.c (strncpy):
3675         Improve performance by using __strnlen/memcpy.
3677 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3679         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3680         Optimize to avoid an unnecessary FPCR read.
3682 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
3684         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3685         Optimize to reduce FPCR/FPSR accesses.
3687 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
3689         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3690         dead->data[category] != NULL.
3692 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
3694         [BZ #18647]
3695         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3696         and |x| close to 1, use absolute value of x when computing log.
3697         * math/auto-libm-test-in: Add more tests of pow.
3698         * math/auto-libm-test-out: Regenerated.
3700 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3702         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3703         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3704         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3706 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
3708         [BZ #18525]
3709         * locales/km_KH: Remove timezone definition.
3710         * locales/lo_LA: Likewise.
3711         * locales/my_MM: Likewise.
3712         * locales/nan_TW@latin: Likewise.
3713         * locales/th_TH: Likewise.
3714         * locales/uk_UA: Likewise.
3716 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3718         [BZ #18265]
3719         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3720         (wcsncat): Likewise.
3721         (wcscmp): Likewise.
3722         (wcsncmp): Likewise.
3724 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3726         * test-skeleton.c (usage): New function.
3727         (main): Call usage when opt is '?'.
3729 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3731         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3732         before first use.
3734 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
3736         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3737         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
3738         in there too.
3740 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
3742         * version.h (RELEASE): Set to "development".
3743         (VERSION): Set to "2.22.90"
3745         * version.h (RELEASE): Set to "stable".
3746         (VERSION): Set to "2.22"
3747         * include/features.h (__GLIBC_MINOR__): Set to 22.
3749 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
3751         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3752         Restructure macro to avoid "value computed is not used" warning.
3753         (atomic_compare_and_exchange_val_acq): Likewise.
3755 2015-08-04  Andreas Schwab  <schwab@suse.de>
3757         [BZ #18635]
3758         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3759         ret.
3760         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3762 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
3764         * po/pl.po: Updated translation.
3765         * po/uk.po: Likewise.
3766         * po/fi.po: Likewise.
3767         * po/ko.po: Likewise.
3768         * po/ru.po: Likewise.
3769         * po/vi.po: Likewise.
3771 2015-07-31  Zack Weinberg  <zackw@panix.com>
3773         [BZ #18681]
3774         * regexp.h: Add unconditional #warning stating that this header
3775         will be removed soon.  Revise banner comment to match.
3776         (compile): Consistently use ERROR instead of RETURN to report
3777         errors (partial fix for bz#18681).
3778         * regexp.c: Don't include regexp.h. Remove some unnecessary
3779         declarations.
3781 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
3783         * po/libc.pot: Regenerated.
3785 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3787         [BZ #18740]
3788         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3789         float-vlen4-arch-ext-cflags): Removed.
3790         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3791         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3793 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3795         [BZ #14113]
3796         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3797         aligned to __aligned__.
3798         (pthread_cond_t, pthread_rwlock_t): Likewise.
3800 2015-07-30  Torvald Riegel  <triegel@redhat.com>
3802         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3804 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3806         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3807         (struct sigaction): Change sa_flags from a long to an int, and add
3808         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3810 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3812         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3813         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3814         sysdeps/generic/sysdep.h include.
3815         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3816         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
3817         sysdeps/hppa/sysdep.h.
3818         (ENTRY, PSEUDO): Undefine before defining.
3820 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
3822         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3823         from scratch to use INTERNAL_SYSCALL.
3825 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
3827         [BZ #18078]
3828         * scripts/check-localplt.awk: Support alternate relocations.
3829         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3830         sections.
3831         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3832         malloc entries with + REL R_386_GLOB_DAT.
3833         * sysdeps/x86_64/localplt.data: New file.
3835 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
3837         [BZ #18731]
3838         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3839         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3840         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3842 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3844         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3846 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3848         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3849         directly in terms of __sync_fetch_and_add and delete (int) cast.
3851 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3853         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3854         the -D_ASM_IA64_CURRENT_H flag.
3856 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
3858         [BZ #18641]
3859         * pwd/pwd.h (putpwent): Delete __nonnull markings.
3861 2015-07-27  Andreas Schwab  <schwab@suse.de>
3863         * conform/conformtest.pl (checknamespace): Filter out string
3864         literals while tokenizing.
3866 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
3868         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3869         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3870         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3872 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
3874         * nptl/tst-join7mod.c: Add #include <string.h>.
3876 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
3878         * sysdeps/nios2/libm-test-ulps: Update.
3880 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
3882         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3883         Fix order of arguments to the rt_sigprocmask syscall.
3884         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3885         Likewise.
3887 2015-07-24  Roland McGrath  <roland@hack.frob.com>
3889         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3891 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3893         [BZ #18457]
3894         * nptl/Makefile (tests): New test case tst-join7.
3895         (modules-names): New test case module tst-join7mod.
3896         * nptl/tst-join7.c: New file.
3897         * nptl/tst-join7mod.c: New file.
3898         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3899         all translation units in libc.so, libpthread.so and rtld.
3901 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3905 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3907         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3908         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3909         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3910         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3911         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3912         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3913         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3914         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3915         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3916         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3917         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3918         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3919         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3920         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3921         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3922         implementation.
3924 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3926         [BZ #17711]
3927         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3928         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3929         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3930         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3931         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3932         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3934 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3936         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3937         instead of just saying load lock in the comments.
3939 2015-07-23  Roland McGrath  <roland@hack.frob.com>
3941         * sysdeps/unix/Subdirs: Moved ...
3942         * sysdeps/posix/Subdirs: ... here.
3943         * login/pty.h (struct termios, struct winsize): Add forward decls.
3944         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3945         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3946         * sysdeps/arm/nacl/libc.abilist: Updated.
3947         * sysdeps/nacl/libutil.abilist: New file.
3949         * bits/signum.h: Update comments to mention 1003.1-2013 too.
3950         (SIGWINCH): New macro.
3952         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3953         * sysdeps/arm/nacl/libc.abilist: Add it.
3955 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
3957         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3959 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
3961         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3962         Swap __glibc_reserved0 and sa_flags order.
3964 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3966         [BZ #18657]
3967         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3968         are pending TLS destructor calls.
3969         * include/link.h (struct link_map): Add concurrency note for
3970         L_TLS_DTOR_COUNT.
3971         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3972         Don't touch the link map flag.  Atomically increment
3973         l_tls_dtor_count.
3974         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3975         Avoid taking the load lock and don't touch the link map flag.
3976         * stdlib/tst-tls-atexit-nodelete.c: New test case.
3977         * stdlib/Makefile (tests): Use it.
3978         * stdlib/tst-tls-atexit.c (do_test): dlopen
3979         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
3980         to allow tst-tls-atexit-nodelete test case to use it.
3982 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3984         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3985         to bits/types.h.
3986         (msgqnum_t): New typedef.
3987         (msglen_t): Likewise.
3988         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
3989         and msg_qbytes type to msglen_t.
3991 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3993         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3994         pad0 to __glibc_reserved0.
3995         (struct stat64): Likewise.
3997 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3999         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4000         Change sa_flags from a long to an int and add __glibc_reserved0 before
4001         it for padding.
4003 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4005         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
4006         anonymous by deleting "siginfo" name.
4008 2015-07-21  Roland McGrath  <roland@hack.frob.com>
4010         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
4011         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
4012         rather than __nacl_irt_filename.
4013         * sysdeps/nacl/xstat.c (__xstat): Likewise.
4015         * NEWS: New item for arm-nacl port.
4016         * sysdeps/arm/nacl/libc.abilist: New file.
4017         * sysdeps/nacl/ld.abilist: New file.
4018         * sysdeps/nacl/libBrokenLocale.abilist: New file.
4019         * sysdeps/nacl/libanl.abilist: New file.
4020         * sysdeps/nacl/libcrypt.abilist: New file.
4021         * sysdeps/nacl/libdl.abilist: New file.
4022         * sysdeps/nacl/libm.abilist: New file.
4023         * sysdeps/nacl/libpthread.abilist: New file.
4024         * sysdeps/nacl/libresolv.abilist: New file.
4025         * sysdeps/nacl/librt.abilist: New file.
4027 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
4029         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4030         __startcontext to initialize the new context.
4031         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4032         up CFI directive to forbid further backtracing.
4034 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
4036         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4037         reference.
4038         * charmaps/ANSI_X3.4-1968: Likewise.
4039         * charmaps/BS_4730: Likewise.
4040         * charmaps/BS_VIEWDATA: Likewise.
4041         * charmaps/CP1250: Likewise.
4042         * charmaps/CP1251: Likewise.
4043         * charmaps/CP1252: Likewise.
4044         * charmaps/CP1253: Likewise.
4045         * charmaps/CP1254: Likewise.
4046         * charmaps/CP1255: Likewise.
4047         * charmaps/CP1256: Likewise.
4048         * charmaps/CSN_369103: Likewise.
4049         * charmaps/EBCDIC-DK-NO: Likewise.
4050         * charmaps/GB_1988-80: Likewise.
4051         * charmaps/GREEK-CCITT: Likewise.
4052         * charmaps/GREEK7: Likewise.
4053         * charmaps/INIS-8: Likewise.
4054         * charmaps/ISIRI-3342: Likewise.
4055         * charmaps/ISO_2033-1983: Likewise.
4056         * charmaps/ISO_5427-EXT: Likewise.
4057         * locales/POSIX: Likewise.
4058         * locales/ar_SA: Likewise.
4059         * locales/be_BY: Likewise.
4060         * locales/be_BY@latin: Likewise.
4061         * locales/ca_ES: Likewise.
4062         * locales/cs_CZ: Likewise.
4063         * locales/da_DK: Likewise.
4064         * locales/de_BE: Likewise.
4065         * locales/de_CH: Likewise.
4066         * locales/de_LU: Likewise.
4067         * locales/en_AU: Likewise.
4068         * locales/en_BW: Likewise.
4069         * locales/en_CA: Likewise.
4070         * locales/en_DK: Likewise.
4071         * locales/en_GB: Likewise.
4072         * locales/en_IE: Likewise.
4073         * locales/en_NZ: Likewise.
4074         * locales/en_ZA: Likewise.
4075         * locales/en_ZW: Likewise.
4076         * locales/es_AR: Likewise.
4077         * locales/es_BO: Likewise.
4078         * locales/es_CL: Likewise.
4079         * locales/es_CO: Likewise.
4080         * locales/es_DO: Likewise.
4081         * locales/es_EC: Likewise.
4082         * locales/es_ES: Likewise.
4083         * locales/es_HN: Likewise.
4084         * locales/es_MX: Likewise.
4085         * locales/es_PA: Likewise.
4086         * locales/es_PE: Likewise.
4087         * locales/es_PY: Likewise.
4088         * locales/es_SV: Likewise.
4089         * locales/es_US: Likewise.
4090         * locales/es_UY: Likewise.
4091         * locales/es_VE: Likewise.
4092         * locales/et_EE: Likewise.
4093         * locales/fa_IR: Likewise.
4094         * locales/fo_FO: Likewise.
4095         * locales/fr_CA: Likewise.
4096         * locales/fr_CH: Likewise.
4097         * locales/gv_GB: Likewise.
4098         * locales/he_IL: Likewise.
4099         * locales/hr_HR: Likewise.
4100         * locales/id_ID: Likewise.
4101         * locales/is_IS: Likewise.
4102         * locales/it_CH: Likewise.
4103         * locales/iw_IL: Likewise.
4104         * locales/kl_GL: Likewise.
4105         * locales/ko_KR: Likewise.
4106         * locales/kw_GB: Likewise.
4107         * locales/lg_UG: Likewise.
4108         * locales/lt_LT: Likewise.
4109         * locales/lv_LV: Likewise.
4110         * locales/mi_NZ: Likewise.
4111         * locales/nhn_MX: Likewise.
4112         * locales/nl_BE: Likewise.
4113         * locales/pl_PL: Likewise.
4114         * locales/sk_SK: Likewise.
4115         * locales/sl_SI: Likewise.
4116         * locales/sv_FI: Likewise.
4117         * locales/tl_PH: Likewise.
4118         * locales/tr_TR: Likewise.
4119         * locales/vi_VN: Likewise.
4121 2015-07-21  Khem Raj  <raj.khem@gmail.com>
4123         [BZ #17475]
4124         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4125         of tu_IN and bh_IN.
4127 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
4129         [BZ #18694]
4130         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4131         bits/wordsize.h.
4132         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4134 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4136         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4137         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4138         (spawn_thread): New function.
4139         (load): Rename to reg_dtor_and_close.  Move dlopen to...
4140         (do_test): ... here.  Use IS_LOADED to test for its
4141         availability.
4143 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
4145         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4147 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
4149         [BZ #18696]
4150         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4151         si_addr_bnd.
4152         (si_lower): New.
4153         (si_upper): Likewise.
4155 2015-07-16  David S. Miller  <davem@davemloft.net>
4157         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4159 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4161         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4162         buffer.
4163         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4164         fail output information.
4166 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4169         and strstr-ppc64..
4170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4171         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4172         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4173         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4174         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4176 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4178         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4179         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4180         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4181         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4183 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4185         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4186         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4187         rtld_hidden_proto.
4188         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4190 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4192         * tst-nodelete-opened.c (do_test): Add comment to clarify how
4193         the test can fail.
4195         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4197         [BZ #18676]
4198         * elf/tst-nodelete-opened.c: New test case.
4199         * elf/tst-nodelete-opened-lib.c: New test case module.
4200         * elf/Makefile (tests, modules-names): Use them.
4201         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4202         early.
4204 2015-07-15  David S. Miller  <davem@davemloft.net>
4206         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4207         futex-intenal.h
4208         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4209         * sysdeps/sparc/sparc64/Makefile: Likewise.
4210         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4211         Remove space from macro define.
4212         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4214 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
4216         [BZ #17475]
4217         * locale/iso-639.def: Update Bhili and Tulu language codes as
4218         per iso639-3.
4220 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
4222         * elf/tst-leaks1.c (main): Converted to ...
4223         (do_test): ... this.
4224         (TEST_FUNCTION): New macro.
4225         Include test-skeleton.c.
4226         * localedata/tst-langinfo.c (main): Converted to ...
4227         (do_test): ... this.
4228         (TEST_FUNCTION): New macro.
4229         Include test-skeleton.c.
4230         * math/test-fpucw.c (main): Converted to ...
4231         (do_test): ... this.
4232         (TEST_FUNCTION): New macro.
4233         Include test-skeleton.c.
4234         * math/test-tgmath.c (main): Converted to ...
4235         (do_test): ... this.
4236         (TEST_FUNCTION): New macro.
4237         Include test-skeleton.c.
4238         * math/test-tgmath2.c (main): Converted to ...
4239         (do_test): ... this.
4240         (TEST_FUNCTION): New macro.
4241         Include test-skeleton.c.
4242         * setjmp/tst-setjmp.c (main): Converted to ...
4243         (do_test): ... this.
4244         (TEST_FUNCTION): New macro.
4245         Include test-skeleton.c.
4246         * stdio-common/tst-sscanf.c (main): Converted to ...
4247         (do_test): ... this.
4248         (TEST_FUNCTION): New macro.
4249         Include test-skeleton.c.
4250         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4251         (do_test): ... this.
4252         (TEST_FUNCTION): New macro.
4253         Include test-skeleton.c.
4255         * elf/tst-audit9.c (main): Converted to ...
4256         (do_test): ... this.
4257         (TEST_FUNCTION): New macro.
4258         Include test-skeleton.c.
4260 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
4262         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4264 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4266         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4267         New variable.
4269 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4271         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4273 2015-07-14  Roland McGrath  <roland@hack.frob.com>
4275         * sysdeps/generic/dl-fileid.h: New file.
4276         * sysdeps/posix/dl-fileid.h: New file.
4277         * sysdeps/nacl/dl-fileid.h: New file.
4278         * include/link.h: Include <dl-fileid.h>.
4279         (struct link_map): Replace l_dev and l_ino with l_file_id.
4280         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4281         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
4282         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
4284 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4286         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4288 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4290         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4291         Add iff $CXX is set.
4292         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4293         Likewise.
4294         (tst-nodelete-zmodiff): Likewise.
4295         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4297 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4299         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4301 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4303         * sysdeps/aarch64/fpu/math_private.h
4304         (define math_opt_barrier): Add AArch64 version.
4305         (math_force_eval): Likewise.
4307 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4309         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4311 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4313         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4314         %ld with %jd and cast to intmax_t.
4315         (do_test_length_zero): Likewise.
4317 2015-07-10  Roland McGrath  <roland@hack.frob.com>
4319         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4321 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
4323         * sysdeps/tile/libm-test-ulps: Regenerated.
4325         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4326         Comment out the whole function, not just its body.
4328 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4330         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4331         locks.
4333         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4335 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4337         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4338         (sem_assume_only_signals_cause_futex_EINTR): Remove.
4340 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4342         * sysdeps/nptl/futex-internal.h: New file.
4343         * sysdeps/nacl/futex-internal.h: New file.
4344         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4345         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4346         error checking.
4347         (setxid_unmark_thread): Likewise.
4348         (__nptl_setxid): Likewise.
4349         (__wait_lookup_done): Likewise.
4350         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4351         * nptl/nptl-init.c (sighandler_setxid): Likewise.
4352         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4353         * nptl/pthread_once.c (clear_once_control): Likewise.
4354         (__pthread_once_slow): Likewise.
4355         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4356         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4357         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4358         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4359         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4360         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4361         Likewise.
4362         (__pthread_rwlock_rdlock): Likewise.
4363         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4364         Likewise.
4365         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4366         Likewise.
4367         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4368         Likewise.
4369         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4370         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4371         Likewise.
4372         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4373         __ASSUME_PRIVATE_FUTEX check.
4374         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4375         Check that shared futexes are supported.
4376         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4377         wrappers with error checking.
4378         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4379         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4380         * nptl/pthread_barrierattr_setpshared.c
4381         (pthread_barrierattr_setpshared): Check that shared futexes are
4382         supported.
4383         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4384         Likewise.
4385         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4386         Likewise.
4387         * nptl/sem_init.c (futex_private_if_supported): Remove.
4388         (__new_sem_init): Adapt and check that shared futexes are supported.
4389         * nptl/sem_open.c (sem_open): Likewise.
4390         * nptl/sem_post.c (futex_wake): Remove.
4391         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4392         (do_futex_wait): Use futex wrappers with error checking.
4393         * nptl/sem_wait.c: Include lowlevellock.h.
4394         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4395         Use futex_supports_pshared.
4396         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4397         Use futex wrappers with error checking.
4398         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4399         Likewise.
4400         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4401         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4402         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4403         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4404         (futex_wake): Likewise.
4405         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4406         (do_futex_wait): Use futex wrappers with error checking.
4407         (__new_sem_wait_slow): Update EINTR handling.
4408         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4410 2015-07-09  Martin Sebor  <msebor@redhat.com>
4412         [BZ #18435]
4413         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4414         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4415         * nptl/Makefile (test-xfail-tst-once5): Define.
4417 2015-07-09  Roland McGrath  <roland@hack.frob.com>
4419         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4420         * elf/dl-minimal.c: For readability, reorder some definitions and
4421         introduce more page breaks.  Include <stdio.h>.
4422         (__libc_fatal): New function.
4424         * include/unistd.h: Add rtld_hidden_proto for _exit.
4425         * posix/_exit.c: Add rtld_hidden_def.
4426         * sysdeps/mach/hurd/_exit.c: Likewise.
4427         * sysdeps/nacl/_exit.c: Likewise.
4428         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4429         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4431 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
4433         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4434         bndmov encoding with zero displacement.
4436 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4437             H.J. Lu  <hongjiu.lu@intel.com>
4439         [BZ #18134]
4440         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4441         * sysdeps/i386/configure: Regenerated.
4442         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4443         (_dl_runtime_profile): Save and restore Intel MPX return bound
4444         registers when calling _dl_call_pltexit.  Add
4445         PRESERVE_BND_REGS_PREFIX before return.
4446         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4447         (LRV_BND1_OFFSET): Likewise.
4448         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4449         lrv_bnd1.
4450         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4451         typo in bndmov encoding.
4452         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4453         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
4454         branch instructions to preserve bounds.
4456 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4459         [GLIBC_2.22]: Add fmemopen.
4461 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4463         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4464         returns an error, also try to use host port from __mach_host_self for
4465         the __vm_wire call.
4466         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4468 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4470         [BZ #18400]
4471         [BZ #18648]
4472         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4473         Fix pr_uid and pr_gid members.
4474         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4475         definition to elf_greg_t.
4477 2015-07-08  Roland McGrath  <roland@hack.frob.com>
4479         [BZ #18383]
4480         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4481         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4482         * sysdeps/arm/configure: Regenerated.
4483         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4484         (test-xfail-tst-tlsalign-static): Variable removed.
4486         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4487         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4488         rather than explicit 'ln -s'.
4490         * resolv/rpc/netdb.h: New file.
4491         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4493 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4495         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4496         length buffers.
4497         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4498         test-skeleton.c.
4500         [BZ #6544]
4501         [BZ #11216]
4502         [BZ #12836]
4503         [BZ #13151]
4504         [BZ #13152]
4505         [BZ #14292]
4506         * include/stdio.h (fmemopen): Remove hidden prototype.
4507         (__fmemopen): Add new hidden prototype.
4508         * libio/Makefile: Add oldfmemopen object.
4509         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4510         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4511         compliance.
4512         * libio/oldfmemopen.c: New file: old fmemopen implementation for
4513         symbol compatibility.
4514         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4515         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4516         fmemopen.
4517         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4518         on append and read mode.
4519         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4520         fmemopen.
4521         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4522         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4523         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4524         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4525         Likewise.
4526         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4527         [GLIBC_2.22]: Likewise.
4528         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4529         Likewise.
4530         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4531         Likewise.
4532         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4533         [GLIBC_2.22]: Likewise.
4534         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4535         [GLIBC_2.22]: Likewise.
4536         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4537         [GLIBC_2.22]: Likewise.
4538         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4539         [GLIBC_2.22]: Likewise.
4540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4541         [GLIBC_2.22]: Likewise.
4542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4543         [GLIBC_2.22]: Likewise.
4544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4545         [GLIBC_2.22]: Likewise.
4546         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4547         Likewise.
4548         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4549         Likewise.
4550         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4551         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4552         [GLIBC_2.22]: Likewise.
4553         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4554         [GLIBC_2.22]: Likewise.
4555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4556         [GLIBC_2.22]: Likewise.
4557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4558         [GLIBC_2.22]: Likewise.
4559         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4560         Likewise.
4561         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4562         Likewise.
4563         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4564         Likewise.
4565         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4566         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4568 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4570         [BZ #18643]
4571         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4572         IPV6_PATHMTU, and IPV6_DONTFRAG.
4574 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
4576         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4577         and _IO_UNBUFFERED.
4578         * libio/oldfileops.c: Likewise.
4579         * libio/wfileops.c: Likewise.
4581 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4583         * nscd/selinux.c: Delete selinux/flask.h include.
4585 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4587         [BZ #18641]
4588         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4589         (putpwent): Likewise.
4590         (getpwnam): Likewise.
4591         (getpwent_r): Likewise.
4592         (getpwuid_r): Likewise.
4593         (getpwnam_r): Likewise.
4594         (fgetpwent_r): Likewise.
4596 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4598         [BZ #18557]
4599         * inet/rcmd.c (__validuser2_sa): Check user first to
4600         short-circuit host check.
4602 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
4603             Mikhail Ilin  <m.ilin@samsung.com>
4605         [BZ #17833]
4606         * elf/Makefile (tests): Add tst-nodelete.
4607         (modules-names): Add tst-nodelete-uniquemod.
4608         (tst-nodelete-uniquemod.so-no-z-defs): New.
4609         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4610         (tst-nodelete-zmod.so-no-z-defs): Likewise.
4611         ($(objpfx)tst-nodelete): Likewise.
4612         ($(objpfx)tst-nodelete.out): Likewise.
4613         (LDFLAGS-tst-nodelete): Likewise.
4614         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4615         * elf/dl-close.c (_dl_close_worker): Add a parameter to
4616         implement forced object deletion.
4617         (_dl_close): Pass false to _dl_close_worker.
4618         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4619         * elf/tst-nodelete.cc: New file.
4620         * elf/tst-nodeletelib.cc: Likewise.
4621         * elf/tst-znodeletelib.cc: Likewise.
4622         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4624 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4626         [BZ #18508]
4627         * stdlib/Makefile ($(objpfx)tst-makecontext3):
4628         Depend on $(libdl).
4629         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4630         is not called infinitely times.
4631         (backtrace_helper): New function.
4632         (trace_arg): New struct.
4633         (st1): Enlarge stack size.
4634         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4635         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4636         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4637         Likewise.
4639 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4641         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4643 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4645         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4646         Include sys/types.h instead of bits/types.h.
4647         Remove inclusion of bits/wordsize.h.
4649 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4651         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4652         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4653         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4654         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4655         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4656         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4658 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4660         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4661         link-defines.sym.
4662         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4663         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4664         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4665         and LR_SIZE.
4666         * sysdeps/i386/link-defines.sym: New file.
4668 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4670         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4671         (modules-names): Add tst-auditmod3a tst-auditmod3b.
4672         ($(objpfx)tst-audit3): New rule.
4673         ($(objpfx)tst-audit3.out): Likewise.
4674         * sysdeps/i386/tst-audit3.c: New file.
4675         * sysdeps/i386/tst-audit3.h: Likewise.
4676         * sysdeps/i386/tst-auditmod3a.c: Likewise.
4677         * sysdeps/i386/tst-auditmod3b.c: Likewise.
4679 2015-07-07  Torvald Riegel  <triegel@redhat.com>
4681         [BZ #18633]
4682         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4683         pointer in C code.
4684         (__strcat_c): Likewise.
4685         (__strcat_g): Likewise.
4687 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
4689         [BZ #18592]
4690         * misc/sbrk.c: Set errno to ENOMEM on overflow.
4692 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
4694         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4695         New function.  (__ieee754_sqrtf): New function.
4696         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4697         New function.
4698         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4699         New function.
4701 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
4703         * sysdeps/ieee754/support.c: Remove unused file.
4705 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4707         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4708         registers instead of d ones so the layout is kernel abi compatible.
4709         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4710         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4711         Likewise.
4713 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4715         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4717 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
4719         [BZ #18619]
4720         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4721         and return argument in case of subnormal argument.
4723 2015-07-01  Martin Sebor  <msebor@redhat.com>
4725         [BZ #18435]
4726         * nptl/Makefile: Add tst-once5.cc.
4727         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4728         Remove macro redefinitions.
4729         * nptl/tst-once5.cc: New test.
4731 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
4733         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4735         * sysdeps/arm/libm-test-ulps: Regenerated.
4737         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4738         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4740 2015-06-30  Torvald Riegel  <triegel@redhat.com>
4742         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4743         lll_lock_wait_private and lll_futex_wake probes.
4745         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4746         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4747         Likewise.
4748         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4749         atomic_spin_nop.
4750         * sysdeps/x86_64/bits/atomic.h: Likewise.
4751         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4752         to atomic_spin_nop and move ...
4753         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4754         ... here and ...
4755         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4756         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4757         atomic_spin_nop instead of BUSY_WAIT_NOP.
4758         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4759         Likewise.
4760         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4761         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4762         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4763         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4764         instead of atomic_delay.
4766 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
4768         [BZ #18613]
4769         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4770         X_ADJ not X when adjusting exponent.
4771         (__ieee754_gamma_r): Do intermediate computations in
4772         round-to-nearest then adjust overflowing and underflowing results
4773         as needed.
4774         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4775         of X_ADJ not X when adjusting exponent.
4776         (__ieee754_gammaf_r): Do intermediate computations in
4777         round-to-nearest then adjust overflowing and underflowing results
4778         as needed.
4779         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4780         log of X_ADJ not X when adjusting exponent.
4781         (__ieee754_gammal_r): Do intermediate computations in
4782         round-to-nearest then adjust overflowing and underflowing results
4783         as needed.  Use 1.0L not 1.0f as numerator of division.
4784         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4785         log of X_ADJ not X when adjusting exponent.
4786         (__ieee754_gammal_r): Do intermediate computations in
4787         round-to-nearest then adjust overflowing and underflowing results
4788         as needed.  Use 1.0L not 1.0f as numerator of division.
4789         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4790         of X_ADJ not X when adjusting exponent.
4791         (__ieee754_gammal_r): Do intermediate computations in
4792         round-to-nearest then adjust overflowing and underflowing results
4793         as needed.  Use 1.0L not 1.0f as numerator of division.
4794         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
4795         to auto-libm-test-in.
4796         (tgamma_test): Use ALL_RM_TEST.
4797         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
4798         tests of tgamma with spurious-overflow.
4799         * math/auto-libm-test-out: Regenerated.
4800         * math/gen-libm-have-vector-test.sh: Do not check for START.
4801         * sysdeps/i386/fpu/libm-test-ulps: Update.
4802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4804         [BZ #18612]
4805         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4806         arguments, just return 0.5 times the argument, with underflow
4807         forced as needed.
4808         * math/auto-libm-test-in: Add more tests of j1.
4809         * math/auto-libm-test-out: Regenerated.
4811         [BZ #16559]
4812         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4813         (__ieee754_j1): Force underflow exception for small results.
4814         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4815         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4816         (__ieee754_j1f): Force underflow exception for small results.
4817         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4818         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4819         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4820         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4821         (__ieee754_j1l): Force underflow exception for small results.
4822         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4823         * math/auto-libm-test-in: Add more tests of j1 and jn.
4824         * math/auto-libm-test-out: Regenerated.
4826         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4827         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4828         (PF_MPLS): Likewise.
4829         (AF_IB): Likewise.
4830         (AF_MPLS): Likewise.
4831         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4832         value and macro.
4833         (MS_RMT_MASK): Include MS_LAZYTIME.
4835 2015-06-26  Mel Gorman  <mgorman@suse.de>
4837         [BZ #18502]
4838         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4839         already minimal.
4841 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
4843         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4844         (DT_MIPS_NUM): Update.
4845         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4846         DT_MIPS_RLD_MAP_REL.
4848 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
4850         [BZ #16559]
4851         [BZ #18602]
4852         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4853         round-to-nearest internally then recompute results that
4854         underflowed to zero in the original rounding mode.
4855         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4856         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4857         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4858         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4859         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4860         * sysdeps/i386/fpu/libm-test-ulps: Update.
4861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4863 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4865         * NEWS: Fixed description of link with vector math library.
4867 2015-06-25  Andreas Schwab  <schwab@suse.de>
4869         [BZ #18549]
4870         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4871         * libio/test-fmemopen.c (do_test): Add test for it.
4873 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
4875         [BZ #17841]
4876         * Makeconfig (no-pie-ldflag): New.
4877         (+link): Set to $(+link-pie) if default to PIE.
4878         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4879         * config.make.in (build-pie-default): New.
4880         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
4881         is default.  AC_SUBST.
4882         * configure: Regenerated.
4883         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4885 2015-06-24  Roland McGrath  <roland@hack.frob.com>
4887         * nptl/descr.h (struct pthread): Change type of field setxid_futex
4888         to 'unsigned int'.
4890         * resolv/gai_misc.h (struct waitlist): Change type of field
4891         counterp to 'volatile unsigned int *'.
4892         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4893         FUTEXADDR and OLDVAL.
4894         * resolv/getaddrinfo_a.c (getaddrinfo_a):
4895         Give local variable TOTAL type 'volatile unsigned int'.
4896         (struct async_waitlist): Change type of field counter to 'unsigned int'.
4897         * resolv/gai_suspend.c (gai_suspend):
4898         Give local variable CNTR type 'unsigned int'.
4900         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4901         counterp to 'volatile unsigned int *'.
4902         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4903         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4904         (aio_suspend): Give local variable CNTR type 'unsigned int'.
4905         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4906         Give local variable TOTAL type 'volatile unsigned int'.
4907         (struct async_waitlist): Change type of field counter to 'unsigned int'.
4909 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
4911         [BZ #18383]
4912         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4913         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
4914         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4915         comment for i386/x86-64.
4916         (test-xfail-tst-tlsalign-extern-static): Removed.
4918 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
4920         * math/test-double.h: New file.
4921         * math/test-float.h: Likewise.
4922         * math/test-ldouble.h: Likewise.
4923         * math/test-math-inline.h: Likewise.
4924         * math/test-math-no-inline.h: Likewise.
4925         * math/test-math-scalar.h: Likewise.
4926         * math/test-math-vector.h: Likewise.
4927         * math/test-vec-loop.h: Remove file.  Contents moved into
4928         test-math-vector.h.
4929         * math/libm-test.inc (MATHCONST): Do not document macro.
4930         * math/test-double.c: Include test-double.h, test-math-no-inline.h
4931         and test-math-scalar.h.
4932         (FUNC): Remove macro.
4933         (FUNC_TEST): Likewise.
4934         (FLOAT): Likewise.
4935         (MATHCONST): Likewise.
4936         (PRINTF_EXPR): Likewise.
4937         (PRINTF_XEXPR): Likewise.
4938         (PRINTF_NEXPR): Likewise.
4939         (TEST_DOUBLE): Likewise.
4940         (TEST_MATHVEC): Likewise.
4941         (__NO_MATH_INLINES): Likewise.
4942         * math/test-float.c: Include test-float.h, test-math-no-inline.h
4943         and test-math-scalar.h.
4944         (FUNC): Remove macro.
4945         (FUNC_TEST): Likewise.
4946         (FLOAT): Likewise.
4947         (MATHCONST): Likewise.
4948         (PRINTF_EXPR): Likewise.
4949         (PRINTF_XEXPR): Likewise.
4950         (PRINTF_NEXPR): Likewise.
4951         (TEST_FLOAT): Likewise.
4952         (TEST_MATHVEC): Likewise.
4953         (__NO_MATH_INLINES): Likewise.
4954         * math/test-idouble.c: Include test-double.h, test-math-inline.h
4955         and test-math-scalar.h.
4956         (FUNC): Remove macro.
4957         (FUNC_TEST): Likewise.
4958         (FLOAT): Likewise.
4959         (MATHCONST): Likewise.
4960         (PRINTF_EXPR): Likewise.
4961         (PRINTF_XEXPR): Likewise.
4962         (PRINTF_NEXPR): Likewise.
4963         (TEST_DOUBLE): Likewise.
4964         (TEST_MATHVEC): Likewise.
4965         (TEST_INLINE): Likewise.
4966         (__NO_MATH_INLINES): Likewise.
4967         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4968         test-math-scalar.h.
4969         (FUNC): Remove macro.
4970         (FUNC_TEST): Likewise.
4971         (FLOAT): Likewise.
4972         (MATHCONST): Likewise.
4973         (PRINTF_EXPR): Likewise.
4974         (PRINTF_XEXPR): Likewise.
4975         (PRINTF_NEXPR): Likewise.
4976         (TEST_FLOAT): Likewise.
4977         (TEST_MATHVEC): Likewise.
4978         (TEST_INLINE): Likewise.
4979         (__NO_MATH_INLINES): Likewise.
4980         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4981         and test-math-scalar.h.
4982         (FUNC): Remove macro.
4983         (FUNC_TEST): Likewise.
4984         (FLOAT): Likewise.
4985         (MATHCONST): Likewise.
4986         (PRINTF_EXPR): Likewise.
4987         (PRINTF_XEXPR): Likewise.
4988         (PRINTF_NEXPR): Likewise.
4989         (TEST_LDOUBLE): Likewise.
4990         (TEST_MATHVEC): Likewise.
4991         (TEST_INLINE): Likewise.
4992         (__NO_MATH_INLINES): Likewise.
4993         * math/test-ldouble.c: Include test-ldouble.h,
4994         test-math-no-inline.h and test-math-scalar.h.
4995         (FUNC): Remove macro.
4996         (FUNC_TEST): Likewise.
4997         (FLOAT): Likewise.
4998         (MATHCONST): Likewise.
4999         (PRINTF_EXPR): Likewise.
5000         (PRINTF_XEXPR): Likewise.
5001         (PRINTF_NEXPR): Likewise.
5002         (TEST_LDOUBLE): Likewise.
5003         (TEST_MATHVEC): Likewise.
5004         (__NO_MATH_INLINES): Likewise.
5005         * math/test-double-vlen2.h: Include test-double.h,
5006         test-math-no-inline.h and test-math-vector.h.
5007         (FLOAT): Remove macro.
5008         (FUNC): Likewise.
5009         (MATHCONST): Likewise.
5010         (PRINTF_EXPR): Likewise.
5011         (PRINTF_XEXPR): Likewise.
5012         (PRINTF_NEXPR): Likewise.
5013         (TEST_DOUBLE): Likewise.
5014         (TEST_MATHVEC): Likewise.
5015         (__NO_MATH_INLINES): Likewise.
5016         (CNCT): Likewise.
5017         (CONCAT): Likewise.
5018         (WRAPPER_NAME): Likewise.
5019         (WRAPPER_DECL): Likewise.
5020         (WRAPPER_DECL_ff): Likewise.
5021         (WRAPPER_DECL_fFF): Likewise.
5022         (VECTOR_WRAPPER): Likewise.
5023         (VECTOR_WRAPPER_ff): Likewise.
5024         (VECTOR_WRAPPER_fFF): Likewise.
5025         (VEC_LEN): New macro.
5026         * math/test-double-vlen4.h: Include test-double.h,
5027         test-math-no-inline.h and test-math-vector.h.
5028         (FLOAT): Remove macro.
5029         (FUNC): Likewise.
5030         (MATHCONST): Likewise.
5031         (PRINTF_EXPR): Likewise.
5032         (PRINTF_XEXPR): Likewise.
5033         (PRINTF_NEXPR): Likewise.
5034         (TEST_DOUBLE): Likewise.
5035         (TEST_MATHVEC): Likewise.
5036         (__NO_MATH_INLINES): Likewise.
5037         (CNCT): Likewise.
5038         (CONCAT): Likewise.
5039         (WRAPPER_NAME): Likewise.
5040         (WRAPPER_DECL): Likewise.
5041         (WRAPPER_DECL_ff): Likewise.
5042         (WRAPPER_DECL_fFF): Likewise.
5043         (VECTOR_WRAPPER): Likewise.
5044         (VECTOR_WRAPPER_ff): Likewise.
5045         (VECTOR_WRAPPER_fFF): Likewise.
5046         (VEC_LEN): New macro.
5047         * math/test-double-vlen8.h: Include test-double.h,
5048         test-math-no-inline.h and test-math-vector.h.
5049         (FLOAT): Remove macro.
5050         (FUNC): Likewise.
5051         (MATHCONST): Likewise.
5052         (PRINTF_EXPR): Likewise.
5053         (PRINTF_XEXPR): Likewise.
5054         (PRINTF_NEXPR): Likewise.
5055         (TEST_DOUBLE): Likewise.
5056         (TEST_MATHVEC): Likewise.
5057         (__NO_MATH_INLINES): Likewise.
5058         (CNCT): Likewise.
5059         (CONCAT): Likewise.
5060         (WRAPPER_NAME): Likewise.
5061         (WRAPPER_DECL): Likewise.
5062         (WRAPPER_DECL_ff): Likewise.
5063         (WRAPPER_DECL_fFF): Likewise.
5064         (VECTOR_WRAPPER): Likewise.
5065         (VECTOR_WRAPPER_ff): Likewise.
5066         (VECTOR_WRAPPER_fFF): Likewise.
5067         (VEC_LEN): New macro.
5068         * math/test-float-vlen4.h: Include test-float.h,
5069         test-math-no-inline.h and test-math-vector.h.
5070         (FLOAT): Remove macro.
5071         (FUNC): 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         (__NO_MATH_INLINES): Likewise.
5079         (CNCT): Likewise.
5080         (CONCAT): Likewise.
5081         (WRAPPER_NAME): Likewise.
5082         (WRAPPER_DECL): Likewise.
5083         (WRAPPER_DECL_ff): Likewise.
5084         (WRAPPER_DECL_fFF): Likewise.
5085         (VECTOR_WRAPPER): Likewise.
5086         (VECTOR_WRAPPER_ff): Likewise.
5087         (VECTOR_WRAPPER_fFF): Likewise.
5088         (VEC_LEN): New macro.
5089         * math/test-float-vlen8.h: Include test-float.h,
5090         test-math-no-inline.h and test-math-vector.h.
5091         (FLOAT): Remove macro.
5092         (FUNC): Likewise.
5093         (MATHCONST): Likewise.
5094         (PRINTF_EXPR): Likewise.
5095         (PRINTF_XEXPR): Likewise.
5096         (PRINTF_NEXPR): Likewise.
5097         (TEST_FLOAT): Likewise.
5098         (TEST_MATHVEC): Likewise.
5099         (__NO_MATH_INLINES): Likewise.
5100         (CNCT): Likewise.
5101         (CONCAT): Likewise.
5102         (WRAPPER_NAME): Likewise.
5103         (WRAPPER_DECL): Likewise.
5104         (WRAPPER_DECL_ff): Likewise.
5105         (WRAPPER_DECL_fFF): Likewise.
5106         (VECTOR_WRAPPER): Likewise.
5107         (VECTOR_WRAPPER_ff): Likewise.
5108         (VECTOR_WRAPPER_fFF): Likewise.
5109         (VEC_LEN): New macro.
5110         * math/test-float-vlen16.h: Include test-float.h,
5111         test-math-no-inline.h and test-math-vector.h.
5112         (FLOAT): Remove macro.
5113         (FUNC): Likewise.
5114         (MATHCONST): Likewise.
5115         (PRINTF_EXPR): Likewise.
5116         (PRINTF_XEXPR): Likewise.
5117         (PRINTF_NEXPR): Likewise.
5118         (TEST_FLOAT): Likewise.
5119         (TEST_MATHVEC): Likewise.
5120         (__NO_MATH_INLINES): Likewise.
5121         (CNCT): Likewise.
5122         (CONCAT): Likewise.
5123         (WRAPPER_NAME): Likewise.
5124         (WRAPPER_DECL): Likewise.
5125         (WRAPPER_DECL_ff): Likewise.
5126         (WRAPPER_DECL_fFF): Likewise.
5127         (VECTOR_WRAPPER): Likewise.
5128         (VECTOR_WRAPPER_ff): Likewise.
5129         (VECTOR_WRAPPER_fFF): Likewise.
5130         (VEC_LEN): New macro.
5131         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5132         test-vec-loop.h.
5133         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5134         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5135         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5136         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5137         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5138         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5139         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5141 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5143         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5144         (__getlogin_r): ... this.
5146 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5148         [BZ #18594]
5149         * math/s_ccosh.c (__ccosh): Compare with least normal value
5150         instead of comparing class with FP_SUBNORMAL.
5151         * math/s_ccoshf.c (__ccoshf): Likewise.
5152         * math/s_ccoshl.c (__ccoshl): Likewise.
5153         * math/s_cexp.c (__cexp): Likewise.
5154         * math/s_cexpf.c (__cexpf): Likewise.
5155         * math/s_cexpl.c (__cexpl): Likewise.
5156         * math/s_csin.c (__csin): Likewise.
5157         * math/s_csinf.c (__csinf): Likewise.
5158         * math/s_csinh.c (__csinh): Likewise.
5159         * math/s_csinhf.c (__csinhf): Likewise.
5160         * math/s_csinhl.c (__csinhl): Likewise.
5161         * math/s_csinl.c (__csinl): Likewise.
5162         * math/s_ctan.c (__ctan): Likewise.
5163         * math/s_ctanf.c (__ctanf): Likewise.
5164         * math/s_ctanh.c (__ctanh): Likewise.
5165         * math/s_ctanhf.c (__ctanhf): Likewise.
5166         * math/s_ctanhl.c (__ctanhl): Likewise.
5167         * math/s_ctanl.c (__ctanl): Likewise.
5168         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5169         csin, csinh, ctan and ctanh.
5170         * math/auto-libm-test-out: Regenerated.
5171         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5172         * sysdeps/i386/fpu/libm-test-ulps: Update.
5173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5175 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5177         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5178         return value is wrong, print the expected value too.
5180 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5182         [BZ #18585]
5183         * elf/readlib.c (is_gdb_python_file): New.
5184         (process_file): Don't issue errors on filenames with -gdb.py
5185         suffix.
5187 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5189         * math/auto-libm-test-in: Add more tests of csin and csinh.
5190         * math/auto-libm-test-out: Regenerated.
5191         * math/libm-test.inc (csin_test_data): Remove tests moved to
5192         auto-libm-test-in.
5193         (csinh_test_data): Likewise.
5195         [BZ #18593]
5196         * math/s_csin.c (__csin): Negate before rather than after possibly
5197         overflowing multiplication.
5198         * math/s_csinf.c (__csinf): Likewise.
5199         * math/s_csinh.c (__csinh): Likewise.
5200         * math/s_csinhf.c (__csinhf): Likewise.
5201         * math/s_csinhl.c (__csinhl): Likewise.
5202         * math/s_csinl.c (__csinl): Likewise.
5203         * math/auto-libm-test-in: Add some tests of csin and csinh.
5204         * math/auto-libm-test-out: Regenerated.
5205         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5206         (csinh_test_data): Likewise.
5207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5209         [BZ #18586]
5210         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5211         underflow exception for small results.
5213 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
5215         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5216         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5217         variable and included header.
5218         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5219         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5220         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5221         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5223         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5224         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5226         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5227         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5228         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5229         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5230         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5231         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5232         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5233         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5235 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5237         [BZ #16526]
5238         [BZ #16538]
5239         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5240         (__sin): Force underflow exception for arguments with small
5241         absolute value.
5242         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5243         (__kernel_sinf): Force underflow exception for arguments with
5244         small absolute value.
5245         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5246         (__kernel_sincosl): Force underflow exception for arguments with
5247         small absolute value.
5248         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5249         (__kernel_sinl): Force underflow exception for arguments with
5250         small absolute value.
5251         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5252         (__kernel_sincosl): Force underflow exception for arguments with
5253         small absolute value.
5254         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5255         (__kernel_sinl): Force underflow exception for arguments with
5256         small absolute value.
5257         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5258         (__kernel_sinl): Force underflow exception for arguments with
5259         small absolute value.
5260         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5261         (__kernel_sinf): Force underflow exception for arguments with
5262         small absolute value.
5263         * math/auto-libm-test-in: Add more tests of sin and sincos.
5264         * math/auto-libm-test-out: Regenerated.
5266         [BZ #18245]
5267         [BZ #18583]
5268         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5269         (__kernel_standard_l): Use feholdexcept and fesetenv around
5270         conversion to double instead of special-casing overflow and
5271         underflow.
5272         * math/libm-test.inc (fmod_test_data): Add more tests.
5273         (remainder_test_data): Likewise.
5274         (sqrt_test_data): Likewise.
5276 2015-06-23  Torvald Riegel  <triegel@redhat.com>
5278         [BZ #17403]
5279         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5280         atomic_read_barrier, atomic_write_barrier): Define.
5281         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5282         atomic_read_barrier, atomic_write_barrier): Define.
5284 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5286         * math/Makefile [$(PERL) != no]
5287         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5288         dependency on libm-test.stmp below the inclusion of Rules.
5290 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
5292         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5294         and included header.
5295         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5296         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5297         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5298         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5299         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5301         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5303         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5304         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5305         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5306         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5307         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5308         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5309         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5310         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5311         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5312         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5313         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5315 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5317         [BZ #18371]
5318         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5319         intermediate but not final result might underflow.
5320         * math/s_csqrtf.c (__csqrtf): Likewise.
5321         * math/s_csqrtl.c (__csqrtl): Likewise.
5322         * math/auto-libm-test-in: Add more tests of csqrt.
5323         * math/auto-libm-test-out: Regenerated.
5324         * sysdeps/i386/fpu/libm-test-ulps: Update.
5326         [BZ #18219]
5327         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5328         threshold on absolute value of exponent for which scaling is used.
5329         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5330         * math/auto-libm-test-in: Add more tests of exp2.
5331         * math/auto-libm-test-out: Regenerated.
5333 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
5335         [BZ #17977]
5336         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5337         when initializing interface list, based on the bug analysis
5338         and the patch proposed by Eric Newton.
5339         * resolv/tst-res_hconf_reorder.c: New test.
5340         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5341         tst-res_hconf_reorder.
5342         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5343         and $(shared-thread-library).
5344         (tst-res_hconf_reorder-ENV): New variable.
5346         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5347         in comment.
5349 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
5351         [BZ #16353]
5352         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5353         (__expm1): Force underflow exception for arguments with small
5354         absolute value.
5355         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5356         (__expm1f): Force underflow exception for arguments with small
5357         absolute value.
5358         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5359         (__expm1): Force underflow exception for arguments with small
5360         absolute value.
5361         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5362         (__expm1f): Force underflow exception for arguments with small
5363         absolute value.
5364         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5365         Check for small arguments before calling __expm1.
5366         * math/auto-libm-test-in: Do not mark underflow exceptions as
5367         possibly missing for bug 16353.
5368         * math/auto-libm-test-out: Regenerated.
5370 2015-06-22  Andreas Schwab  <schwab@suse.de>
5372         [BZ #18513]
5373         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5374         PTR queries.
5376 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
5378         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5380         * string/strcoll_l.c: Remove unused struct element idxnow.
5382 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
5384         [BZ #18569]
5385         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5386         underflow and return argument in case of subnormal argument.
5387         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5388         Likewise.
5389         * math/auto-libm-test-in: Add more tests of expm1.
5390         * math/auto-libm-test-out: Regenerated.
5392         [BZ #16361]
5393         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5394         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5395         tiny results.
5396         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5397         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5398         tiny results.
5399         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
5400         mark underflow exceptions as possibly missing for bug 16361.
5401         * math/auto-libm-test-out: Regenerated.
5403 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
5405         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5406         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5407         Remove variable.
5408         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5409         (test-xfail-XOPEN2K8/utmpx.h/conform).
5411         * conform/conformtest.pl ($xerrors): New variable.
5412         (note_error): New function.
5413         (compiletest): New argument $xfail.  Use not_error.
5414         (runtest): Likewise.
5415         (top level): Handle xfail- lines.  Update calls to compiletest and
5416         runtest.  Handle xfail- and optional- in headers listed with
5417         allow-header.
5418         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5419         (O_EXEC): Likewise.
5420         (O_SEARCH): Likewise.
5421         * conform/data/stropts.h-data (ioctl): Likewise.
5422         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5423         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5424         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5425         (msghdr.msg_controllen): Likewise.
5426         (cmsghdr.cmsg_len): Likewise.
5427         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5428         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5429         variable.
5430         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5431         (test-xfail-XPG4/stropts.h/conform): Likewise.
5432         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5433         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5434         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5435         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5436         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5437         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5438         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5439         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5440         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5441         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5442         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5443         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5444         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5445         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5446         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5447         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5448         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5449         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5450         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5452 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5454         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5455         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5456         definitions for proper unfolding of __MATHDECL_VEC.
5458 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5460         * benchtests/bench-strcoll.c:
5461         Include string.h.
5462         (main): Remove unused variable res.
5464 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5466         * timezone/Makefile (%/UTC %/Universal):
5467         Generate test-result files for UTC and Universal.
5469 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5471         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5473 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
5475         [BZ #16350]
5476         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5477         for arguments with small absolute value.
5478         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5479         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5480         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5481         (__asinh): Force underflow exception for arguments with small
5482         absolute value.
5483         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5484         (__asinhf): Force underflow exception for arguments with small
5485         absolute value.
5486         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5487         (__asinhl): Force underflow exception for arguments with small
5488         absolute value.
5489         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5490         (__asinhl): Force underflow exception for arguments with small
5491         absolute value.
5492         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5493         (__asinhl): Force underflow exception for arguments with small
5494         absolute value.
5495         * math/auto-libm-test-in: Do not mark underflow exceptions as
5496         possibly missing for bug 16350.
5497         * math/auto-libm-test-out: Regenerated.
5499         * include/bits/ipc.h: Remove file.
5500         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5501         variable.
5502         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5503         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5504         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5505         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5506         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5507         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5508         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5509         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5510         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5512         * math/auto-libm-test-in: Remove spurious underflow allowance for
5513         tests of cexp.
5514         * math/auto-libm-test-out: Regenerated.
5516         [BZ #18558]
5517         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5518         unconditional definition.
5519         (MCAST_BLOCK_SOURCE): Likewise.
5520         (MCAST_UNBLOCK_SOURCE): Likewise.
5521         (MCAST_LEAVE_GROUP): Likewise.
5522         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5523         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5524         (MCAST_MSFILTER): Likewise.
5525         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5526         Remove variable.
5527         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5528         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5529         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5530         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5531         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5533 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
5535         * NEWS: Mention addition of x86_64 vector sincosf.
5536         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5537         * math/test-float-vlen4.h: Likewise.
5538         * math/test-float-vlen8.h: Likewise.
5539         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5540         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5541         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5542         * sysdeps/x86_64/fpu/Versions: New versions added.
5543         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5544         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5545         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5546         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5547         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5548         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5549         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5550         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5552         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5553         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5554         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5555         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5556         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5557         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5558         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5559         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5560         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5561         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5562         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5563         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5564         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5565         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5566         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5568         * NEWS: Mention addition of x86_64 vector sincos.
5569         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5570         * math/math.h (__MATHDECL_VEC): New macro.
5571         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5572         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5573         declaration under condition.
5574         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5575         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5576         TEST_VEC_LOOP change.
5577         * math/test-double-vlen4.h: Likewise.
5578         * math/test-double-vlen8.h: Likewise.
5579         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5580         * math/test-float-vlen4.h: Likewise.
5581         * math/test-float-vlen8.h: Likewise.
5582         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5583         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5584         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5585         * sysdeps/x86_64/fpu/Versions: New versions added.
5586         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5587         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5588         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5589         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5590         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5591         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5592         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5593         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5595         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5596         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5597         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5598         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5599         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5600         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5601         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5602         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5603         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5604         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5605         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5606         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5607         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5608         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5609         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5611         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5612         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5613         redirections for powf.
5614         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5615         * sysdeps/x86_64/fpu/Versions: New versions added.
5616         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5617         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5618         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5619         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5620         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5621         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5622         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5624         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5625         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5626         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5627         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5628         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5629         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5630         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5631         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5632         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5633         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5634         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5635         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5636         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5637         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5638         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5639         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5640         * math/test-float-vlen16.h: Fixed 2 argument macro.
5641         * math/test-float-vlen4.h: Likewise.
5642         * math/test-float-vlen8.h: Likewise.
5643         * NEWS: Mention addition of x86_64 vector powf.
5645 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
5647         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5648         and redefine.
5649         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5650         and redefine.
5651         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5652         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5653         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5655         [BZ #18553]
5656         * resource/getpriority.c (getpriority): Rename to __getpriority
5657         and define as weak alias of __getpriority.
5658         * resource/setpriority.c (setpriority): Rename to __setpriority
5659         and define as weak alias of __setpriority.
5660         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5661         __getpriority and define as weak alias of __getpriority.
5662         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5663         __setpriority and define as weak alias of __setpriority.
5664         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5665         strong name.
5666         (setpriority): Use __setpriority as strong name.
5667         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5668         __getpriority and define as weak alias of __getpriority.
5669         * include/sys/resource.h (__getpriority): Declare.  Use
5670         libc_hidden_proto.
5671         (__setpriority): Likewise.
5672         (getpriority): Don't use libc_hidden_proto.
5673         (setpriority): Likewise.
5674         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5675         getpriority.  Call __setpriority instead of setpriority.
5676         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5677         Remove variable.
5679         [BZ #18547]
5680         * misc/getttyent.c (getttynam): Rename to __getttynam and define
5681         as weak alias of __getttynam.  Use prototype function definition.
5682         Call __setttyent, __getttyent and __endttyent instead of
5683         setttyent, getttyent and endttyent.
5684         (getttyent): Rename to __getttyent and define as weak alias of
5685         __getttyent.  Call __setttyent instead of setttyent.  Call
5686         __fgets_unlocked instead of fgets_unlocked.
5687         (setttyent): Rename to __setttyent and define as weak alias of
5688         __setttyent.
5689         (endttyent): Rename to __endttyent and define as weak alias of
5690         __endttyent.
5691         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
5692         (__setttyent): Likewise.
5693         (__endttyent): Likewise.
5694         (getttyent): Don't use libc_hidden_proto.
5695         (setttyent): Likewise.
5696         (endttyent): Likewise.
5697         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5698         __endttyent instead of setttyent, getttyent and endttyent.
5699         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5700         Remove variable.
5702         [BZ #18546]
5703         * socket/recv.c (__recv): Use libc_hidden_def.
5704         * socket/socket.c (__socket): Likewise.
5705         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5706         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5707         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5708         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5709         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5710         libc_hidden_def.
5711         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5712         libc_hidden_weak.
5713         * include/sys/socket.h (__socket): Do not use attribute_hidden.
5714         Use libc_hidden_proto.
5715         (__recv): Likewise.
5716         * socket/Versions (libc): Export __recv and __socket at version
5717         GLIBC_PRIVATE.
5718         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5719         instead of recv.
5720         (init_mq_netlink): Call __socket instead of socket.
5721         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5722         Remove variable.
5724         [BZ #18545]
5725         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5726         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
5727         hidden_weak.
5728         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5729         define as alias of __mq_timedsend.  Use hidden_weak.
5730         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5731         __mq_timedsend as strong name.
5732         (mq_timedreceive): Use __mq_timedreceive as strong name.
5733         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
5734         (__mq_timedreceive): Likewise.
5735         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5736         __mq_timedreceive instead of mq_timedreceive.
5737         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5738         instead of mq_timedsend.
5739         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5740         Remove variable.
5742         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5743         hidden_def and hidden_weak instead of libc_hidden_def and
5744         libc_hidden_weak.
5745         (top level): Refer to hidden_def in comment.
5746         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5747         macro.  Use it instead of libc_hidden_def.
5748         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5749         specify __GI_* name explicitly.
5750         (mq_timedreceive): Likewise.
5751         (mq_setattr): Likewise.
5753         [BZ #18544]
5754         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5755         __pthread_barrier_init and define as weak alias of
5756         __pthread_barrier_init.
5757         * sysdeps/sparc/nptl/pthread_barrier_init.c
5758         (pthread_barrier_init): Likewise.
5759         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5760         __pthread_barrier_wait and define as weak alias of
5761         __pthread_barrier_wait.
5762         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5763         (pthread_barrier_wait): Likewise.
5764         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5765         (pthread_barrier_wait): Likewise.
5766         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5767         (pthread_barrier_wait): Likewise.
5768         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5769         (pthread_barrier_wait): Likewise.
5770         * nptl/Versions (libpthread): Export __pthread_barrier_init and
5771         __pthread_barrier_wait at version GLIBC_PRIVATE.
5772         * include/pthread.h (__pthread_barrier_init): Declare.
5773         (__pthread_barrier_wait): Likewise.
5774         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5775         Call __pthread_barrier_wait instead of pthread_barrier_wait.
5776         (helper_thread): Likewise.
5777         (init_mq_netlink): Call __pthread_barrier_init instead of
5778         pthread_barrier_init.
5780         [BZ #18542]
5781         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5782         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5783         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
5784         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5785         vswscanf.
5786         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5787         Remove variable.
5789         [BZ #18540]
5790         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5791         strong alias of _IO_fflush.  Use libc_hidden_def.
5792         * libio/iofflush_u.c (fflush_unlocked): Rename to
5793         __fflush_unlocked and define as weak alias of __fflush_unlocked.
5794         Use libc_hidden_weak.
5795         * include/stdio.h (__fflush_unlocked): Declare.  Use
5796         libc_hidden_proto.
5797         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5798         fflush_unlocked.
5799         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5800         Remove variable.
5802         [BZ #18539]
5803         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5804         define as weak alias of __addseverity.
5805         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5806         Remove variable.
5807         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5808         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5809         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5811         [BZ #18536]
5812         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5813         (__tfind): Likewise.
5814         (__tdelete): Likewise.
5815         (__twalk): Likewise.
5816         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5817         __twalk to GLIBC_PRIVATE.
5818         * include/search.h (__tsearch): Use libc_hidden_proto.
5819         (__tfind): Likewise.
5820         (__tdelete): Likewise.
5821         (__twalk): Likewise.
5822         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5823         Call __tdelete instead of tdelete.
5824         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5825         tfind.  Call __tsearch instead of tsearch.
5826         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5827         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5828         Remove variable.
5829         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5831         [BZ #18534]
5832         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5833         (dprintf): Define as a weak alias of __dprintf, not a strong
5834         alias.
5835         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
5836         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5837         dprintf.
5838         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5839         Remove variable.
5840         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5841         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5843         [BZ #18533]
5844         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5845         not a strong alias.
5846         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5847         Remove variable.
5849         [BZ #18532]
5850         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5851         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
5852         (in6addr_loopback): Rename to __in6addr_loopback and define as
5853         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
5854         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
5855         libc_hidden_proto.
5856         (__in6addr_any): Likewise.
5857         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5858         in6addr_any.
5859         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5860         variable.
5861         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5863 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5865         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5866         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5867         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5868         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5869         redirections for pow.
5870         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5871         * sysdeps/x86_64/fpu/Versions: New versions added.
5872         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5873         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5874         build of SSE, AVX2 and AVX512 IFUNC versions.
5875         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5876         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5877         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5878         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5879         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5880         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5881         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5882         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5883         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5884         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5885         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5886         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5887         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5888         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5889         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5890         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5891         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5892         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5893         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5894         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5895         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5896         * NEWS: Mention addition of x86_64 vector pow.
5898         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5899         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5900         redirections for expf.
5901         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5902         * sysdeps/x86_64/fpu/Versions: New versions added.
5903         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5904         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5905         build of SSE, AVX2 and AVX512 IFUNC versions.
5906         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5907         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5908         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5909         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5910         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5911         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5912         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5913         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5914         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5915         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5916         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5917         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5918         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5919         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5920         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5921         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5922         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5923         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5924         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5925         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5926         * NEWS: Mention addition of x86_64 vector expf.
5928         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5929         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5930         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5931         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5932         redirections for exp.
5933         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5934         * sysdeps/x86_64/fpu/Versions: New versions added.
5935         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5936         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5937         build of SSE, AVX2 and AVX512 IFUNC versions.
5938         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5939         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5940         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5941         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5942         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5943         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5944         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5945         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5946         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5947         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5948         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5949         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5950         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5951         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5952         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5954         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5955         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5956         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5957         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5958         * NEWS: Mention addition of x86_64 vector exp.
5960         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5961         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5962         redirections for logf.
5963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5964         * sysdeps/x86_64/fpu/Versions: New versions added.
5965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5966         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5967         build of SSE, AVX2 and AVX512 IFUNC versions.
5968         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5969         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5970         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5971         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5972         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5973         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5974         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5975         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5976         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5977         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5978         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5979         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5980         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5981         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5982         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5983         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5984         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5985         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5986         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5987         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5988         * NEWS: Mention addition of x86_64 vector logf.
5990         * bits/libm-simd-decl-stubs.h: Added stubs for log.
5991         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5992         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5993         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5994         redirections for log.
5995         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5996         * sysdeps/x86_64/fpu/Versions: New versions added.
5997         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5998         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5999         build of SSE, AVX2 and AVX512 IFUNC versions.
6000         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
6001         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
6002         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
6003         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
6004         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
6005         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
6006         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
6007         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
6008         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
6009         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
6010         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
6011         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
6012         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
6013         test.
6014         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6015         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6016         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6017         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6018         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6019         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6020         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6021         * NEWS: Mention addition of x86_64 vector log.
6023 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6025         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6026         cfi_adjust_cfa_offset argument.
6027         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6028         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6030         [BZ #18034]
6031         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6032         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6033         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6034         ordering using ldar.
6035         (_dl_tlsdesc_dynamic): Likewise.
6036         (_dl_tlsdesc_return_lazy): Likewise.
6037         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6038         relaxed atomics instead of volatile and synchronize with release store.
6039         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6040         volatile.
6041         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6043 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
6045         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6046         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6047         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6048         * sysdeps/x86_64/fpu/Versions: New versions added.
6049         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6050         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6051         build of SSE, AVX2 and AVX512 IFUNC versions.
6052         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6053         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6054         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6055         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6056         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6058         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6059         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6060         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6061         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6062         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6063         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6064         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6065         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6066         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6067         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6068         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6069         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6070         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6071         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6072         * NEWS: Mention addition of x86_64 vector sinf.
6074 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
6076         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6077         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6078         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6079         Remove variable.
6080         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6081         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6083 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6085         [BZ #18530]
6086         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6087         strong alias of _IO_fputs.  Use libc_hidden_def.
6088         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6089         and define as weak alias of __fputs_unlocked.  Use
6090         libc_hidden_weak.
6091         * include/stdio.h (__fputs_unlocked): Declare.  Use
6092         libc_hidden_proto.
6093         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6094         fputs_unlocked.
6096         [BZ #18529]
6097         * resolv/netdb.h [__USE_POSIX]: Change condition to
6098         [__USE_XOPEN2K].
6099         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6100         not expect.
6101         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6102         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6103         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6104         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6105         [XPG4 || UNIX98] (AI_ALL): Likewise.
6106         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6107         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6108         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6109         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6110         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6111         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6112         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6113         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6114         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6115         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6116         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6117         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6118         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6119         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6120         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6121         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6122         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6123         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6124         [XPG4 || UNIX98] (gai_strerror): Likewise.
6125         [XPG4 || UNIX98] (getaddrinfo): Likewise.
6126         [XPG4 || UNIX98] (getnameinfo): Likewise.
6128         [BZ #18528]
6129         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6130         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6131         __USE_XOPEN2K8].
6132         (getgrent): Likewise.
6133         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6134         expect.
6135         [XPG3 || POSIX2008] (endgrent): Likewise.
6136         [XPG3] (setgrent): Likewise.
6137         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6138         variable.
6139         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6141         [BZ #18527]
6142         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6143         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
6144         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6145         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6146         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6147         * include/unistd.h (__getlogin_r): Declare.  Use
6148         libc_hidden_proto.
6149         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6150         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6151         variable.
6152         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6153         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6154         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6156 2015-06-12  Martin Sebor  <msebor@redhat.com>
6158         [BZ #18512]
6159         * Makerules (check-install-supported): New target.
6160         (install): Add check-install-supported as a dependency.
6161         * manual/install.texi (Installing the C Library): Document
6162         that overriding prefix and exec_prefix is not supported.
6163         Mention DESTDIR.
6164         * INSTALL: Regenerate from the above.
6166 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6168         [BZ #18519]
6169         * posix/Versions (libc): Export __libc_pread at version
6170         GLIBC_PRIVATE.
6171         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6172         instead of pread.
6173         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6174         variable.
6176         [BZ #18522]
6177         * misc/efgcvt_r.c
6178         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6179         (cvt_symbol): Use weak_alias instead of strong_alias.
6180         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6181         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6182         Remove variable.
6183         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6184         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6186         [BZ #18520]
6187         * inet/herrno.c (h_errno): Rename to __h_errno.
6188         (__libc_h_errno): Define as alias of __h_errno not h_errno.
6189         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6190         to __h_errno instead of h_errno.
6191         * nptl/herrno.c (h_errno): Rename to __h_errno.
6192         (__h_errno_location): Refer to __h_errno not h_errno.
6193         * resolv/Versions (h_errno): Rename to __h_errno.
6194         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6195         Remove variable.
6196         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6198 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
6200         * configure.ac: More strict check for AVX512 assembler support.
6201         * configure: Regenerated.
6203         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6204         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6205         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6206         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6208         * sysdeps/x86_64/fpu/Versions: New versions added.
6209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6210         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6211         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6212         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6213         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6214         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6215         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6216         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6217         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6218         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6219         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6220         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6221         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6222         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6223         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6224         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6225         test.
6226         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6227         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6228         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6229         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6230         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6231         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6232         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6233         * NEWS: Mention addition of x86_64 vector sin.
6235 2015-06-11  Florian Weimer  <fweimer@redhat.com>
6237         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6238         comment.
6240 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6242         [BZ #18479]
6243         * nptl/pt-interp.c: New file.
6244         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6245         Add pt-interp.
6246         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6247         $(common-objpfx)runtime-linker.h.
6249 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
6251         * Makeconfig (+interp): Remove unused variable.
6252         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6253         only.  Depend on $(common-objpfx)runtime-linker.h instead of
6254         $(elf-objpfx)runtime-linker.h.
6255         ($(elf-objpfx)runtime-linker.h): Rename to
6256         $(common-objpfx)runtime-linker.h and move ...
6257         * Makerules [$(build-shared) = yes]: ... here.
6258         * elf/interp.c: Include <runtime-linker.h> instead of
6259         <elf/runtime-linker.h>.
6261 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6263         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6264         (__gettimeofday_syscall): Remove vsyscall fallback.
6265         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6266         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6267         Add syscall fallback function.
6268         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6269         if vDSO is not present.
6270         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6271         fallback function.
6272         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6273         present.
6274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6275         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6277 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
6279         [BZ #18497]
6280         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6281         of wcscmp.
6282         (wcscmp): Define as weak alias of WCSCMP.
6283         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6284         wcscoll.
6285         (USE_HIDDEN_DEF): Define.
6286         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6287         __wcscoll.  Don't use libc_hidden_weak.
6288         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6289         wcscmp.
6290         * sysdeps/i386/i686/multiarch/wcscmp-c.c
6291         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6292         __GI_wcscmp.
6293         (weak_alias): Undefine and redefine.
6294         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6295         __wcscmp and define as weak alias of __wcscmp.
6296         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6297         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
6298         (__wcscoll): Likewise.
6299         (wcscmp): Don't use libc_hidden_proto.
6300         (wcscoll): Likewise.
6301         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6302         wcscoll.
6303         * posix/regexec.c (check_node_accept_bytes): Likewise.
6304         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6305         variable.
6306         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6307         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6309         [BZ #18507]
6310         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6311         __fstatvfs and define as weak alias of __fstatvfs.  Use
6312         libc_hidden_weak.
6313         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6314         and define as weak alias of __statvfs.  Use libc_hidden_weak.
6315         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6316         Define as alias of __fstatvfs, not fstatvfs.
6317         (fstatvfs64): Likewise.
6318         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6319         Define as alias of __statvfs, not statvfs.
6320         (statvfs64): Likewise.
6321         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6322         Remove variable.
6324 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6327         (HAVE_GETCPU_VSYSCALL): Define.
6328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6329         (HAVE_GETCPU_VSYSCALL): Likewise.
6330         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6331         * sysdeps/unix/sysv/linux/sched_getcpu.c
6332         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6333         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6334         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6335         prototype.
6336         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6337         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6338         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6339         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6340         Define.
6341         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6342         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6343         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6344         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6346 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
6348         * sysdeps/x86_64/fpu/Makefile: New file.
6349         * sysdeps/x86_64/fpu/Versions: New file.
6350         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6351         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6352         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6353         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6354         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6355         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6356         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6357         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6358         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6359         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6360         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6361         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6362         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6363         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6364         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6365         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6366         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6367         * sysdeps/x86_64/configure.ac: Options for libmvec build.
6368         * sysdeps/x86_64/configure: Regenerated.
6369         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6370         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6371         * manual/install.texi (Configuring and compiling): Document
6372         --disable-mathvec.
6373         * INSTALL: Regenerated.
6374         * NEWS: Mention addition of libmvec and x86_64 vector cos.
6376         * math/Makefile: Added rules for vector tests.
6377         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6378         declaration under condition.
6379         * math/test-double-vlen2.h: New file.
6380         * math/test-double-vlen4.h: New file.
6381         * math/test-double-vlen8.h: New file.
6382         * math/test-vec-loop.h: Added initialization macro.
6383         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6384         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6385         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6386         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6387         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6388         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6390         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6391         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6392         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6393         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6395         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6396         * sysdeps/x86_64/fpu/Versions: New versions added.
6397         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6398         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6399         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6400         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6401         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6402         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6403         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6404         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6405         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6406         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6407         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6408         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6409         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6410         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6411         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6412         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6413         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6414         * NEWS: Mention addition of x86_64 vector cosf.
6416         * math/Makefile: Added CFLAGS for new tests.
6417         * math/test-float-vlen16.h: New file.
6418         * math/test-float-vlen4.h: New file.
6419         * math/test-float-vlen8.h: New file.
6420         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6421         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6422         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6423         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6424         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6425         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6426         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6427         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6428         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6429         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6430         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6432 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
6434         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6435         * locale/programs/ld-ctype.c: Likewise.
6437 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6439         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6440         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6441         bit_ZMM16_31_state): New macro.
6442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6443         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6445 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
6447         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6449 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
6451         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6453 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
6455         [BZ #18498]
6456         * libio/memstream.c (open_memstream): Rename to __open_memstream
6457         and define as weak alias of __open_memstream.
6458         * include/stdio.h (__open_memstream): Declare.  Use
6459         libc_hidden_proto.
6460         (open_memstream): Don't use libc_hidden_proto.
6461         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6462         open_memstream.
6463         * posix/getopt.c (_getopt_internal_r): Likewise.
6464         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6465         variable.
6466         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6467         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6468         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6470         [BZ #18496]
6471         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6472         instead of wcrtomb.
6474         [BZ #18483]
6475         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6476         [__USE_XOPEN2K8].  Remove redundant #endif.
6477         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6478         Remove redundant #if.
6479         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6480         Remove variable.
6481         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6482         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6484         [BZ #18495]
6485         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6486         (__iswlower): Likewise.
6487         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
6488         (__iswlower): Likewise.
6489         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6490         instead of towlower.
6491         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6492         instead of iswlower.  Call __towupper instead of towupper.
6493         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6494         instead of iswalnum.
6496 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6498         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6499         errors to stderr.
6501 2015-06-05  Florian Weimer  <fweimer@redhat.com>
6503         [BZ #15661]
6504         [BZ #17322]
6505         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6506         Check for overflow properly.  Check for O_APPEND.  Ignore large
6507         file system block sizes.  Add comments about problems.
6508         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6509         * manual/filesys.texi (Storage Allocation): New node.
6511 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6513         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6514         cancellable syscalls.
6515         (SYS_ify): Add guard to no redefine it.
6516         (INLINE_SYSCALL): Likewise.
6517         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6518         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6519         SYSCALL_CANCEL instead.
6520         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6521         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6522         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6523         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6524         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6525         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6526         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6527         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6528         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6529         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6530         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6531         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6532         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6533         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6534         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6535         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6536         Likewise.
6537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6538         (__libc_pread64): Likewise.
6539         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6540         (__libc_preadv): Likewise.
6541         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6542         (__libc_readv64): Likewise.
6543         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6544         (__libc_pwrite): Likewise.
6545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6546         (__libc_pwrite64): Likewise.
6547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6548         (__libc_pwritev): Likewise.
6549         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6550         (__libc_pwritev64): Likewise.
6551         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6552         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6553         (sync_file_range): Likewise.
6554         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6555         Likewise.
6556         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6557         Likewise.
6558         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6559         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6560         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6561         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6562         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6563         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6564         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6565         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6569         (__libc_read64): Likewise.
6570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6571         Likewise.
6572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6573         Likewise.
6574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6575         Likewise.
6576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6577         Likewise.
6578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6579         (__libc_pread64): Likewise.
6580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6581         Likewise.
6582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6583         (__libc_pwrite64): Likewise.
6584         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6585         (sync_file_range): Likewise.
6586         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6587         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6588         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6589         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6590         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6591         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6592         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6593         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6594         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6595         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6596         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6597         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6598         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6599         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6600         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6601         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6602         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6603         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6604         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6605         Likewise.
6606         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6607         Likewise.
6608         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6609         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6610         Likewise.
6611         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6612         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6613         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6614         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6615         Likewise.
6616         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6617         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6618         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6619         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6620         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6622 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
6624         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6625         Include dl-vdso.
6626         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6627         Use VDSO routines for gettimeofday, clock_gettime if
6628         available.
6629         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6630         Declare VDSO symbols.
6631         * sysdeps/unix/sysv/linux/arm/sysdep.h:
6632         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6633         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6634         * sysdeps/unix/sysv/linux/arm/Versions: Add
6635         __vdso_clock_gettime.
6637 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6639         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6640         be an inline implementation regardless of library is built within.
6641         (open_not_cancel_2): Likewise.
6642         (__read_nocancel): Likewise.
6643         (__write_nocancel): Likewise.
6644         (openat_not_cancel): Likewise.
6645         (openat_not_cancel_3): Likewise.
6646         (openat64_not_cancel): Likewise.
6647         (openat64_not_cancel_3): Likewise.
6648         (__close_nocancel): Likewise.
6649         (pause_not_cancel): Likewise.
6650         (nanosleep_not_cancel): Likewise.
6651         (sigsuspend_not_cancel): Likewise.
6653 2015-06-04  Torvald Riegel  <triegel@redhat.com>
6655         [BZ #14958]
6656         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6657         wake-up.
6658         (__pthread_rwlock_rdlock_slow): Likewise.
6659         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6660         Likewise.
6661         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6662         Likewise.
6663         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6664         * nptl/tst-rwlock16.c: New file.
6665         * nptl/Makefile (tests): Add new test.
6667 2015-06-04  Torvald Riegel  <triegel@redhat.com>
6669         [BZ #18324]
6670         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6671         missing wake-up of readers.
6672         * nptl/tst-rwlock15.c: New file.
6673         * nptl/Makefile (tests): Add new test.
6675 2015-06-03  Roland McGrath  <roland@hack.frob.com>
6677         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6678         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6679         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6680         and __nacl_supply_interface_rtld.
6681         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6682         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6683         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6684         Add __nacl_supply_interface_rtld.
6685         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6687 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
6689         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6690         isfinite.
6691         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6692         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6694 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
6696         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6697         __signbit* with standard C99 macros.
6698         * math/e_exp10l.c: Likewise.
6699         * math/e_exp2l.c: Likewise.
6700         * math/e_scalb.c: Likewise.
6701         * math/e_scalbf.c: Likewise.
6702         * math/e_scalbl.c: Likewise.
6703         * math/s_ldexp.c: Likewise.
6704         * math/s_ldexpf.c: Likewise.
6705         * math/s_ldexpl.c: Likewise.
6706         * math/w_atan2.c: Likewise.
6707         * math/w_atan2f.c: Likewise.
6708         * math/w_atan2l.c: Likewise.
6709         * math/w_cosh.c: Likewise.
6710         * math/w_coshf.c: Likewise.
6711         * math/w_coshl.c: Likewise.
6712         * math/w_exp10.c: Likewise.
6713         * math/w_exp10f.c: Likewise.
6714         * math/w_exp10l.c: Likewise.
6715         * math/w_exp2.c: Likewise.
6716         * math/w_exp2f.c: Likewise.
6717         * math/w_exp2l.c: Likewise.
6718         * math/w_fmod.c: Likewise.
6719         * math/w_fmodf.c: Likewise.
6720         * math/w_fmodl.c: Likewise.
6721         * math/w_hypot.c: Likewise.
6722         * math/w_hypotf.c: Likewise.
6723         * math/w_hypotl.c: Likewise.
6724         * math/w_jnl.c: Likewise.
6725         * math/w_lgamma.c: Likewise.
6726         * math/w_lgamma_r.c: Likewise.
6727         * math/w_lgammaf.c: Likewise.
6728         * math/w_lgammaf_r.c: Likewise.
6729         * math/w_lgammal.c: Likewise.
6730         * math/w_lgammal_r.c: Likewise.
6731         * math/w_pow.c: Likewise.
6732         * math/w_powf.c: Likewise.
6733         * math/w_powl.c: Likewise.
6734         * math/w_remainder.c: Likewise.
6735         * math/w_remainderf.c: Likewise.
6736         * math/w_remainderl.c: Likewise.
6737         * math/w_scalb.c: Likewise.
6738         * math/w_scalbf.c: Likewise.
6739         * math/w_scalbl.c: Likewise.
6740         * math/w_scalbln.c: Likewise.
6741         * math/w_scalblnf.c: Likewise.
6742         * math/w_scalblnl.c: Likewise.
6743         * math/w_sinh.c: Likewise.
6744         * math/w_sinhf.c: Likewise.
6745         * math/w_sinhl.c: Likewise.
6746         * math/w_tgamma.c: Likewise.
6747         * math/w_tgammaf.c: Likewise.
6748         * math/w_tgammal.c: Likewise.
6749         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6750         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6751         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6752         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6753         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6755         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6756         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6757         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6758         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6759         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6760         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6761         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6762         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6763         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6764         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6765         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6766         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6767         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6768         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6769         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6770         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6771         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6772         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6773         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6774         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6775         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6776         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6777         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6778         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6779         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6780         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6781         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6782         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6783         * stdio-common/printf_fp.c: Likewise.
6784         * stdio-common/printf_fphex.c: Likewise.
6785         * stdio-common/printf_size.c: Likewise.
6787 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
6789         [BZ #18470]
6790         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6791         strnlen.
6792         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6793         Remove variable.
6794         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6795         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6796         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6797         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6798         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6799         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6800         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6801         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6802         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6803         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6805         [BZ #18468]
6806         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6807         weak alias of __wmemchr.  Use libc_hidden_weak.
6808         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
6809         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6810         instead of wmemchr.
6812 2015-06-02  Roland McGrath  <roland@hack.frob.com>
6814         [BZ #18383]
6815         * elf/tst-tlsalign-extern.c: New file.
6816         * elf/tst-tlsalign-extern-static.c: New file.
6817         * elf/tst-tlsalign-vars.c: New file.
6818         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6819         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6820         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6821         ($(objpfx)tst-tlsalign-extern-static): Likewise.
6822         (test-xfail-tst-tlsalign-extern-static): New variable.
6824 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
6826         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6827         Use variable name _sc_err instead of err.
6828         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6829         instead of ret.
6830         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6831         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6832         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6833         (INLINE_SYSCALL): Likewise.
6835         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6836         * include/string.h (__strnlen): Use libc_hidden_proto.
6837         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6838         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6839         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6840         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6841         (libc_hidden_def): Undefine and redefine.
6842         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6843         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6844         __GI_strnlen.
6845         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6846         libc_hidden_def.
6847         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6849         [BZ #18469]
6850         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6851         weak alias of __towlower.  Use libc_hidden_weak.
6852         (towupper): Rename to __towupper and define as weak alias of
6853         __towupper.  Use libc_hidden_weak.
6854         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
6855         (__towupper): Likewise.
6856         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6857         __towlower instead of towlower.
6859 2015-06-02  Roland McGrath  <roland@hack.frob.com>
6861         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6862         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6864 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6866         * sysdeps/aarch64/libm-test-ulps: Update.
6868 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6870         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6871         Define.
6872         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6874         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6875         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6876         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6877         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6878         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6880 2015-06-01  Martin Sebor  <msebor@redhat.com>
6882         [BZ #18116]
6883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6884         (__setcontext): Use extended four-operand version of mtsf whenever
6885         possible.
6886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6887         (__novec_swapcontext): Likewise.
6889 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6891         * benchtests/scripts/compare_bench.py: New file.
6892         * benchtests/scripts/import_bench.py (mean): New function.
6893         (split_list): Likewise.
6894         (do_for_all_timings): Likewise.
6895         (compress_timings): Likewise.
6897         * benchtests/scripts/import_bench.py: New file.
6898         * benchtests/scripts/validate_benchout.py: Import import_bench
6899         instead of jsonschema.
6900         (validate_bench): Remove function.
6901         (main): Use import_bench.
6903 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
6905         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6906         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6908 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6912 2015-05-28  Roland McGrath  <roland@hack.frob.com>
6914         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6915         set THREAD_SELF->tid to a magic value and futex-wake it.
6916         Pass its address to the thread_exit system call.
6917         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6918         bit is clear.
6919         * sysdeps/nacl/lowlevellock.h: New file.
6920         * sysdeps/nacl/lll_timedwait_tid.c: New file.
6922         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6923         Add TIMEOUT to current time, don't subtract it.
6925 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
6927         [BZ #2981]
6928         [BZ #18422]
6929         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6930         ($(objpfx)tst-audit2.out): Also depend on
6931         $(objpfx)tst-auditmod9b.so.
6932         * elf/tst-audit2.c: Include <dlfcn.h>.
6933         (calloc_called): New.
6934         (calloc): Allow to be called more than once.
6935         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6937 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
6939         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6940         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6942 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
6944         * stdlib/monetary.h: Fix comment.
6946 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
6948         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6949         Avoid using variables in #defines that might cause shadowing.
6950         (INTERNAL_VSYSCALL_CALL): Likewise.
6952 2015-05-26  Roland McGrath  <roland@hack.frob.com>
6954         * sysdeps/nacl/lll_timedlock_wait.c: New file.
6956         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6957         * nptl/lll_timedlock_wait.c: ... to this new file.
6958         * nptl/Makefile (libpthread-routines): Add it.
6959         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6960         * nptl/lll_timedwait_tid.c: ... to this new file.
6961         * nptl/Makefile (libpthread-routines): Add it.
6962         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6963         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6964         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6965         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6966         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6967         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6968         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6969         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6970         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6971         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6973 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6975         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6976         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6977         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6978         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6979         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6981         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6983         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6984         * sysdeps/unix/sysv/linux/tile/sysdep.h
6985         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6986         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6987         using vDSO syscall macro.
6989 2015-05-26  Andriy Rysin  <arysin@gmail.com>
6991         [BZ #17293]
6992         * uk_UA: Fix sorting order for Ukrainian locale
6994 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
6996         * stdlib/monetary.h: Fix comment.
6998 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7000         [BZ #18234]
7001         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
7002         st_mtim and st_ctim members.
7003         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
7004         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
7005         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
7006         (struct stat64): Likewise.
7007         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
7008         (struct stat64): Likewise.
7009         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
7010         (struct stat64): Likewise.
7012 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7014         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
7015         Define and include sysdep-vdso.h.
7016         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
7017         Likewise.
7018         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
7019         Likewise.
7020         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
7021         Define with VDSO_SYMBOL and use PTR_MANGLE.
7022         (__vdso_clock_gettime): Likewise.
7023         (__vdso_clock_getres): Likewise.
7024         (_libc_vdso_platform_setup): Likewise.
7025         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7026         Likewise.
7027         (_libc_vdso_platform_setup): Likewise.
7028         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7029         Likewise.
7030         (__vdso_clock_gettime): Likewise.
7031         (__vdso_clock_getres): Likewise.
7032         (__vdso_get_tbfreq): Likewise.
7033         (__vdso_getcpu): Likewise.
7034         (__vdso_time): Likewise.
7035         (__vdso_sigtramp_rt64): Likewise.
7036         (__vdso_signtramp32): Likewise.
7037         (__vdso_sigtramp_rt32): Likewise.
7038         (_libc_vdso_platform_setup): Likewise.
7039         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7040         Likewise.
7041         (__vdso_clock_gettime): Likewise.
7042         (__vdso_clock_getres): Likewise.
7043         (_libc_vdso_platform_setup): Likewise.
7044         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7045         Likewise.
7046         (__vdso_clock_gettime): Likewise.
7047         (_libc_vdso_platform_setup): Likewise.
7048         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7049         Likewise.
7050         (__vdso_getcpu): Likewise.
7051         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7052         Use VDSO_SYMBOL macro to define.
7053         (__vdso_clock_gettime): Likewise.
7054         (__vdso_clock_getres): Likewise.
7055         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7056         Likewise.
7057         (__vdso_clock_gettime): Likewise.
7058         (__vdso_clock_getres): Likewise.
7059         (__vdso_get_tbfreq): Likewise.
7060         (__vdso_getcpu): Likewise.
7061         (__vdso_time): Likewise.
7062         (__vdso_sigtramp_rt64): Likewise.
7063         (__vdso_signtramp32): Likewise.
7064         (__vdso_sigtramp_rt32): Likewise.
7065         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7066         Likewise.
7067         (__vdso_clock_gettime): Likewise.
7068         (__vdso_clock_getres): Likewise.
7069         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7070         Likewise.
7071         (__vdso_clock_gettime): Likewise.
7072         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7073         Likewise.
7074         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
7075         macro.
7076         (INTERNAL_VSYSCALL): Likewise.
7077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7078         Remove macro.
7079         (INTERNAL_VSYSCALL): Likewise.
7080         (INTERNAL_VSYSCALL_NCS): Likewise.
7081         (INTERNAL_VSYSCALL_CALL): New macro.
7082         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7084         Likewise.
7085         (INTERNAL_VSYSCALL): Likewise.
7086         (INTERNAL_VSYSCALL_NCS): Likewise.
7087         (INTERNAL_VSYSCALL_CALL): New macro.
7088         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7090         (INLINE_VSYSCALL): Remove macro.
7091         (INTERNAL_VSYSCALL): Remove macro.
7092         (INTERNAL_VSYSCALL_NCS): Remove macro.
7093         (INTERNAL_VSYSCALL_CALL): New macro.
7094         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7095         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7096         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7097         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7098         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7100         (INLINE_VSYSCALL): Remove macro.
7101         (INTERNAL_VSYSCALL): Likewise.
7102         (INTERNAL_VSYSCALL_NCS): Likewise.
7103         (INTERNAL_VSYSCALL_CALL): New macro.
7104         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7105         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7106         PTR_DEMANGLE on vDSO pointer.
7107         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7108         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7109         macro.
7110         (INTERNAL_SYSCALL): Likewise.
7111         (INTERNAL_VSYSCALL_NCS): Remove macro.
7112         (INTERNAL_VSYSCALL_CALL): New macro.
7113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7114         Remove macro.
7115         (INTERNAL_VSYSCALL): Likewise.
7116         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7117         sysdep-vdso.h instead of libc-vdso.h.
7118         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7119         definition.
7120         (INLINE_VSYSCALL): Likewise.
7121         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7122         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7123         definition.
7124         (INLINE_VSYSCALL): Likewise.
7125         (INTERNAL_VSYSCALL): Likewise.
7126         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7127         * sysdeps/unix/sysv/linux/timespec_get.c
7128         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7129         (timespec_get): Use ANSI prototype.
7130         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7131         and definition for Linux.
7133 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7135         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7136         * include/libc-symbols.h: libmvec_hidden_* macro series added.
7138 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7140         [BZ #2981]
7141         [BZ #18410]
7142         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7143         for missing DT_PLTRELSZ.
7145 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
7147         Remove obsolete aliases that broke 'locale -a'
7148         [BZ #18412]
7149         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7150         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7151         breaking some applications that use 'locale -a' output.
7152         Change the encoding of this file from Latin-1 to ASCII to avoid
7153         other potential problems with people grepping this file.
7155 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7157         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7158         -fasynchronous-unwind-tables.
7159         (CFLAGS-sendto.c): Likewise.
7160         (CFLAGS-sendmsg.c): Likewise.
7161         (CFLAGS-connect.c): Likewise.
7162         (CFLAGS-recvmsg.c): Likewise.
7163         (CFLAGS-recvfrom.c): Likewise.
7164         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7165         (SOCKETCALL): New macro: non-cancellable socketcall.
7166         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7167         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7168         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7169         * sysdeps/unix/sysv/linux/accept.c: New file.
7170         * sysdeps/unix/sysv/linux/bind.c: Likewise.
7171         * sysdeps/unix/sysv/linux/connect.c: Likewise.
7172         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7173         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7174         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7175         * sysdeps/unix/sysv/linux/listen.c: Likewise.
7176         * sysdeps/unix/sysv/linux/recv.c: Likewise.
7177         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7178         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7179         * sysdeps/unix/sysv/linux/send.c: Likewise.
7180         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7181         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7182         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7183         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7184         * sysdeps/unix/sysv/linux/socket.c: Likewise.
7185         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7186         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7187         prototype.
7188         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7189         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7190         instead of __internal_xxx function.
7191         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7192         prototype.
7193         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7194         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7195         instead of __internal_xxx function.
7196         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7197         prototype.
7198         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7199         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7200         instead of __internal_xxx function.
7201         * sysdeps/unix/sysv/linux/accept.S: Remove file.
7202         * sysdeps/unix/sysv/linux/bind.S: Likewise.
7203         * sysdeps/unix/sysv/linux/connect.S: Likewise.
7204         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7205         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7206         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7207         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7208         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7209         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7210         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7211         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7212         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7213         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7214         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7215         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7216         * sysdeps/unix/sysv/linux/listen.S: Likewise.
7217         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7218         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7219         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7220         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7223         * sysdeps/unix/sysv/linux/recv.S: Likewise.
7224         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7225         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7226         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7227         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7228         * sysdeps/unix/sysv/linux/send.S: Likewise.
7229         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7230         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7231         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7232         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7233         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7234         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7235         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7236         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7237         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7238         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7239         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7240         socketcall is implemented in GLIBC.
7242 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7244         * soft-fp/fmadf4.c: Include <libc-internal.h>.
7245         (__fma): Ignore uninitialized warnings around packing.
7246         * soft-fp/fmasf4.c: Include <libc-internal.h>.
7247         (__fmaf): Ignore uninitialized warnings around packing.
7248         * soft-fp/fmatf4.c: Include <libc-internal.h>.
7249         (__fmal): Ignore uninitialized warnings around packing.
7251         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7252         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7253         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7254         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7256         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7257         switch statement into default case.
7258         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7260         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7261         a conditional in forcing "inexact".
7262         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7263         Likewise.
7265 2015-05-22  Roland McGrath  <roland@hack.frob.com>
7267         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7268         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7269         for each INTERNAL_SYSCALL use.
7271 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7273         [BZ #438]
7274         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7275         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7276         variable.
7278         [BZ #18444]
7279         * string/basename.c (basename): Rename to __basename and define as
7280         weak alias of __basename.  Use libc_hidden_weak.
7281         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
7282         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7283         __basename instead of basename.
7284         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7285         Remove variable.
7286         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7288 2015-05-18  Florian Weimer  <fweimer@redhat.com>
7290         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7291         (_IO_JUMPS_FILE_plus): New.
7292         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7293         _IO_CAST_FIELD_ACCESS.
7294         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7295         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7296         * libio/freopen.c (freopen): Likewise.
7297         * libio/freopen64.c (freopen64): Likewise.
7298         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7299         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7300         * libio/iofwide.c (_IO_fwide): Likewise.
7301         * libio/memstream.c (open_memstream): Likewise.
7302         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7303         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7304         * libio/oldiopopen.c (_IO_old_popen): Likewise.
7306 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
7308         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7309         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7310         NADJ.
7311         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7312         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7313         NADJ.
7314         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7315         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7316         NADJ.
7318         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7319         (p == 4) case.
7321         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7322         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7323         Remove variable.
7324         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7325         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7326         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7328 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7330         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7331         Adjust jump table label generation macros.
7333 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7335         * stdio-common/vfprintf.c (vfprintf): Move local variables
7336         args_malloced, specs, specs_malloced, and the code after
7337         do_positional to the printf_positional function.
7338         (printf_positional): New function.
7340 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7342         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7343         function.
7344         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7345         STEP4_TABLE, process_arg): Move macro definitions
7346         out of the vfprintf function.  (Cosmetic change only.)
7348 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
7350         * benchtests/Makefile (stdio-common-bench): Define.
7351         (benchset): Add stdio-common-bench.
7352         * sprintf-inputs: New file.
7353         * sprintf-source.c: New file.
7355 2015-05-21  Andreas Schwab  <schwab@suse.de>
7357         [BZ #13028]
7358         [BZ #17053]
7359         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7360         of struct __res_state.
7361         * resolv/res_send.c (__libc_res_nsend): Likewise.
7362         (get_nsaddr): New function.
7363         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7364         statp directly.
7366 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
7368         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7369         -D_POSIX_C_SOURCE=199506L.
7371         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7373         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7374         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7375         Do not mention otherwise.
7376         [POSIX] (_XOPEN_VERSION): Do not expect.
7377         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7378         [POSIX] (_POSIX2_C_BIND): Likewise.
7379         [POSIX] (_POSIX2_VERSION): Likewise.
7380         [POSIX] (_XOPEN_XPG2): Likewise.
7381         [POSIX] (_XOPEN_XPG3): Likewise.
7382         [POSIX] (_XOPEN_XPG4): Likewise.
7383         [POSIX] (_XOPEN_UNIX): Likewise.
7384         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7385         [POSIX] (_POSIX_BARRIERS): Likewise.
7386         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7387         [POSIX] (_POSIX_CPUTIME): Likewise.
7388         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7389         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7390         [POSIX] (_POSIX_SHELL): Likewise.
7391         [POSIX] (_POSIX_SPAWN): Likewise.
7392         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7393         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7394         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7395         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7396         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7397         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7398         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7399         [POSIX] (_XBS5_LP64_OFF64): Likewise.
7400         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7401         [POSIX] (_POSIX_TIMEOUTS): Likewise.
7402         [POSIX] (_POSIX2_PBS): Likewise.
7403         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7404         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7405         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7406         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7407         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7408         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7409         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7410         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7411         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7412         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7413         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7414         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7415         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7416         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7417         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7418         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7419         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7420         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7421         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7422         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7423         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7424         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7425         [POSIX] (_SC_2_C_BIND): Likewise.
7426         [POSIX] (_SC_2_C_VERSION): Likewise.
7427         [POSIX] (_SC_2_PBS): Likewise.
7428         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7429         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7430         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7431         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7432         [POSIX] (_SC_2_PBS_TRACK): Likewise.
7433         [POSIX] (_SC_ATEXIT_MAX): Likewise.
7434         [POSIX] (_SC_BARRIERS): Likewise.
7435         [POSIX] (_SC_BASE): Likewise.
7436         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7437         [POSIX] (_SC_DEVICE_IO): Likewise.
7438         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7439         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7440         [POSIX] (_SC_FD_MGMT): Likewise.
7441         [POSIX] (_SC_FIFO): Likewise.
7442         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7443         [POSIX] (_SC_FILE_LOCKING): Likewise.
7444         [POSIX] (_SC_FILE_SYSTEM): Likewise.
7445         [POSIX] (_SC_IOV_MAX): Likewise.
7446         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7447         [POSIX] (_SC_NETWORKING): Likewise.
7448         [POSIX] (_SC_PAGE_SIZE): Likewise.
7449         [POSIX] (_SC_PASS_MAX): Likewise.
7450         [POSIX] (_SC_PIPE): Likewise.
7451         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7452         [POSIX] (_SC_REGEXP): Likewise.
7453         [POSIX] (_SC_SHELL): Likewise.
7454         [POSIX] (_SC_SIGNALS): Likewise.
7455         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7456         [POSIX] (_SC_SPIN_LOCKS): Likewise.
7457         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7458         [POSIX] (_SC_USER_GROUPS): Likewise.
7459         [POSIX] (_SC_USER_GROUPS_R): Likewise.
7460         [POSIX] (_SC_STREAMS): Likewise.
7461         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7462         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7463         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7464         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7465         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7466         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7467         [POSIX] (_PC_FILESIZEBITS): Likewise.
7468         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7469         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7470         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7471         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7472         [POSIX] (uid_t): Likewise.
7473         [POSIX] (gid_t): Likewise.
7474         [POSIX] (off_t): Likewise.
7475         [POSIX] (pid_t): Likewise.
7476         [POSIX] (cuserid): Allow.
7477         (_SC_2_CHAR_TERM): Require constant.
7478         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7479         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7480         variable.
7482 2015-05-20  Roland McGrath  <roland@hack.frob.com>
7484         * sysdeps/nacl/pthread-pids.h: New file.
7485         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7486         (create_thread): Use __nacl_get_tid to initialize PD->tid.
7488         * nptl/pthread-pids.h: New file.
7489         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7490         * nptl/nptl-init.c: Include <pthread-pids.h>.
7491         (__pthread_initialize_minimal_internal):
7492         Call __pthread_initialize_pids instead of set_tid_address syscall.
7494         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7495         * sysdeps/posix/usleep.c: ... here.
7497 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7499         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7500         call_pselect6 object.
7501         [$(subdir) = io]: Remove call_sync_file_range object.
7502         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7503         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7504         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7505         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7507 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
7509         * math/s_cproj.c: Add include "math_private.h".
7510         * math/s_cprojf.c: Likewise.
7511         * math/s_cprojl.c: Likewise.
7513 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
7515         [BZ #18244]
7516         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7517         high mantissa bit when testing whether P is a NaN.
7518         * math/libm-test.inc (remainder_test_data): Add more tests.
7519         (remquo_test_data): Likewise.
7521         [BZ #18049]
7522         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7523         below -32, return the argument, with underflow if subnormal.
7524         * math/auto-libm-test-in: Add more tests of atanh.
7525         * math/auto-libm-test-out: Regenerated.
7527 2015-05-19  Roland McGrath  <roland@hack.frob.com>
7529         [BZ #18434]
7530         * nptl/tst-sem15.c: New file.
7531         * nptl/Makefile (tests): Add it.
7532         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7533         s/<</>>/ to fix typo in EOVERFLOW check.
7534         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7536 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7538         * manual/strings.texi (envz_remove): Fix typo in safety
7539         annotations.
7541 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
7542             Steve Ellcey  <sellcey@imgtec.com>
7544         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7545         in order to avoid strict alias warnings.
7546         (iruserok_af): Ditto for ra.
7548 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
7550         [BZ #17581]
7551         * malloc/hooks.c
7552         (magicbyte): Convert to a function and avoid returning 0x01.
7553         (mem2mem_check): Avoid using a length byte equal to the magic byte.
7554         (mem2chunk_check): Fix unsigned comparisons to zero.
7555         Hoist defs of sz and magic.
7557 2015-05-19  Richard Henderson  <rth@redhat.com>
7559         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7561         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7563 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7565         [BZ #16159]
7566         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7567         * malloc/arena.c (arena_lock): Check if arena is corrupt.
7568         (reused_arena): Find a non-corrupt arena.
7569         (heap_trim): Pass arena to unlink.
7570         * malloc/hooks.c (malloc_check_get_size): Pass arena to
7571         malloc_printerr.
7572         (top_check): Likewise.
7573         (free_check): Likewise.
7574         (realloc_check): Likewise.
7575         * malloc/malloc.c (malloc_printerr): Add arena argument.
7576         (unlink): Likewise.
7577         (munmap_chunk): Adjust.
7578         (ARENA_CORRUPTION_BIT): New macro.
7579         (arena_is_corrupt): Likewise.
7580         (set_arena_corrupt): Likewise.
7581         (sysmalloc): Use mmap if there are no usable arenas.
7582         (_int_malloc): Likewise.
7583         (__libc_malloc): Don't fail if arena_get returns NULL.
7584         (_mid_memalign): Likewise.
7585         (__libc_calloc): Likewise.
7586         (__libc_realloc): Adjust for additional argument to
7587         malloc_printerr.
7588         (_int_free): Likewise.
7589         (malloc_consolidate): Likewise.
7590         (_int_realloc): Likewise.
7591         (_int_memalign): Don't touch corrupt arenas.
7592         * malloc/tst-malloc-backtrace.c: New test case.
7594         * Makefile (summarize-tests): Fix return value on success.
7596         * manual/string.texi (Envz Functions): Add envz_remove.
7598 2015-05-18  Roland McGrath  <roland@hack.frob.com>
7600         * sysdeps/posix/opendir.c: Include <stdbool.h>.
7601         (invalid_name): New function, broken out of ...
7602         (__opendirat): ... here.  Call it.
7603         (need_isdir_precheck): New function, broken out of ...
7604         (__opendirat): ... here.  Call it.
7605         Use __fxstatat64, not __xstatat64.
7606         (opendir_oflags): New function, broken out of ...
7607         (__opendirat): ... here.  Call it.
7608         (opendir_tail): New function, broken out of ...
7609         (__opendirat): ... here.  Call it.
7610         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7611         opendir_tail, rather than punting to __opendirat.
7612         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7614 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7616         * .gitignore: Ignore generated *.pyc.
7618 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
7620         * include/stdio.h: Define __need_wint_t.
7621         * test-skeleton.c: Avoid `for' loop initial declaration.
7622         * nptl/tst-initializers1.c: Use test-skeleton.c.
7624 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7626         [BZ #18418]
7627         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7629 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
7631         [BZ #16352]
7632         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7633         (__ieee754_atanh): Force underflow exception for results with
7634         small absolute value.
7635         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7636         (__ieee754_atanhf): Force underflow exception for results with
7637         small absolute value.
7638         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7639         (__ieee754_atanh): Force underflow exception for results with
7640         small absolute value.
7641         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7642         (__ieee754_atanhf): Force underflow exception for results with
7643         small absolute value.
7644         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7645         (__ieee754_atanhl): Force underflow exception for results with
7646         small absolute value.
7647         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7648         (__ieee754_atanhl): Force underflow exception for results with
7649         small absolute value.
7650         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7651         (__ieee754_atanhl): Force underflow exception for results with
7652         small absolute value.
7653         * math/auto-libm-test-in: Do not allow missing underflow
7654         exceptions from atanh.
7655         * math/auto-libm-test-out: Regenerated.
7657         [BZ #18221]
7658         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7659         2**-28 as threshold for returning x or +/- 1/x.
7660         * math/auto-libm-test-in: Add more tests of tan.
7661         * math/auto-libm-test-out: Regenerated.
7663         [BZ #18220]
7664         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7665         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7666         * math/auto-libm-test-in: Add another test of lgamma.
7667         * math/auto-libm-test-out: Regenerated.
7669 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
7671         * stdio-common/printf_fp.c (___printf_fp): Use abs.
7672         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
7673         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7674         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7675         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
7676         (ADD2A): Use fabs.  (SUB2A): Use fabs.
7677         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7678         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7679         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7680         (log1): Use fabs.  (my_log2): Use fabs.
7681         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7682         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7683         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7684         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7685         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7686         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
7687         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
7688         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
7689         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
7690         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7691         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7693 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
7695         [BZ #18217]
7696         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7697         as threshold for returning 1 - x.
7698         * math/auto-libm-test-in: Add more tests of erfc.
7699         * math/auto-libm-test-out: Regenerated.
7701 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
7703         [BZ #18196]
7704         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7705         threshold for large arguments.
7706         * math/auto-libm-test-in: Add another test of atan.
7707         * math/auto-libm-test-out: Regenerated.
7709         [BZ #16339]
7710         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7711         (__log1p): Force underflow exception for results with small
7712         absolute value.
7713         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7714         (__log1pf): Force underflow exception for results with small
7715         absolute value.
7716         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7717         (__log1p): Force underflow exception for results with small
7718         absolute value.
7719         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7720         (__log1pf): Force underflow exception for results with small
7721         absolute value.
7722         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7723         (__log1pl): Force underflow exception for results with small
7724         absolute value.
7725         * math/auto-libm-test-in: Do not allow missing underflow
7726         exceptions from log1p.
7727         * math/auto-libm-test-out: Regenerated.
7729 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
7730             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7732         [BZ #16704]
7733         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7735 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
7737         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7738         (libmvec): New variable.
7739         * configure.ac: Added option for mathvec build.
7740         * configure: Regenerated.
7741         * mathvec/Depend: New file.
7742         * mathvec/Makefile: New file.
7743         * shlib-versions: Added libmvec.
7744         * math/Makefile: Added rule for libm.so installation.
7746         * bits/math-vector.h: New file.
7747         * bits/libm-simd-decl-stubs.h: New header.
7748         * math/Makefile (headers): Added new header
7749         libm-simd-decl-stubs.h.
7750         * math/math.h (__MATHCALL_VEC): New macro.
7752         * math/gen-libm-have-vector-test.sh: Script generates series of macros
7753         for conditions in testing functions.
7754         * math/Makefile: Added call of libm-have-vector-test.sh.
7755         * math/libm-test.inc (HAVE_VECTOR): New macros.
7757         * math/libm-test.inc: START refactored.
7758         * math/test-double.c (TEST_MATHVEC): Add define.
7759         * math/test-float.c: Likewise.
7760         * math/test-idouble.c: Likewise.
7761         * math/test-ifloat.c: Likewise.
7762         * math/test-ildoubl.c: Likewise.
7763         * math/test-ldouble.c: Likewise.
7764         * sysdeps/generic/math-tests-arch.h
7765         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7766         architecture check.
7768         * math/test-double.c (FUNC_TEST): New macro.
7769         * math/test-float.c: Likewise.
7770         * math/test-idouble.c: Likewise.
7771         * math/test-ifloat.c: Likewise.
7772         * math/test-ildoubl.c: Likewise.
7773         * math/test-ldouble.c: Likewise.
7774         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7776 2015-05-13  Roland McGrath  <roland@hack.frob.com>
7778         * sysdeps/nacl/fdopendir.c: New file.
7780         * dirent/scandir-tail.c: New file.
7781         * dirent/scandir64-tail.c: New file.
7782         * dirent/Makefile (routines): Add them.
7783         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7784         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7785         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7786         [!SCANDIR] (SCANDIR_TAIL): New macro.
7787         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7788         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7789         (SCANDIRAT): Macro removed.
7790         (SCANDIR_TAIL): New macro.
7791         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7792         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7793         (SCANDIRAT): Just call __opendirat and __scandir_tail.
7794         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7795         (READDIR): Macro removed.
7796         (SCANDIR_TAIL): New macro.
7797         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7798         (SCANDIR_TAIL): New macro.
7800         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7801         * dirent/scandir-cancel.c: ... to this new file.
7802         * dirent/Makefile (routines): Add it.
7803         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7804         * sysdeps/unix/sysv/linux/i386/scandir64.c
7805         (SKIP_SCANDIR_CANCEL): Macro removed.
7806         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7808         * dirent/tst-scandir.c: New file.
7809         * dirent/tst-scandir64.c: New file.
7810         * dirent/Makefile (tests): Add them.
7812 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7814         [BZ #18409]
7815         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7817 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7819         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7820         list.
7822 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
7824         * benchtests/bench-strcoll.c: New benchmark.
7825         * benchtests/Makefile: Generate locales and run benchmark.
7826         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7827         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7828         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7829         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7830         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7831         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7832         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7833         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7834         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7835         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7836         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7837         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7838         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7839         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7840         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7841         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7842         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7843         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7844         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7845         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7846         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7847         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7848         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7849         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7851 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
7853         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7854         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7856 2015-05-12  Roland McGrath  <roland@hack.frob.com>
7858         * posix/uname-values.h: New file.
7859         * posix/uname.c: Include that instead of <config-name.h>.
7860         * sysdeps/nacl/uname-values.h: New file.
7861         * sysdeps/arm/nacl/uname-values.h: New file.
7863 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
7865         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7866         splitting into fields.
7868 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
7870         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7871         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7872         * locale/localeinfo.h: Add enum collation_encoding_type.
7873         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7874         * programs/ld-collate.c (collate_output): Add encoding type info.
7875         * string/strcoll_l.c (STRDIFF): New function.
7876         * (STRCOLL): Use STRDIFF to skip over equal prefix.
7877         * wcsmbs/wcscoll_l.c: Define STRDIFF.
7879 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
7881         [BZ #18397]
7882         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7883         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
7884         <fpu_control.h> instead of <math/fpu_control.c>.
7885         * sysdeps/mips/mips32/fpu/Makefile: New file.
7887 2015-05-11  Andreas Schwab  <schwab@suse.de>
7889         [BZ #18007]
7890         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7891         nss_endgrent.
7892         (_nss_compat_endgrent): Call nss_endgrent.
7893         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7894         nss_endpwent.
7895         (_nss_compat_endpwent): Call nss_endpwent.
7896         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7897         needent, call nss_setspent only if non-zero.
7898         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7899         (internal_endspent): Don't call nss_endspent.
7900         (_nss_compat_endspent): Call nss_endspent.
7901         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7902         Remove.  All uses removed.
7903         (internal_setent): Remove parameter stayopen, add parameter
7904         stream.  Use it instead of global variable.
7905         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7906         (internal_endent, internal_getent): Add parameter stream.  Use it
7907         instead of global variable.
7908         (CONCAT(_nss_files_end,ENTNAME))
7909         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7910         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
7911         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
7912         uses removed.
7913         (internal_setent, internal_endent): Add parameter stream.  Use it
7914         instead of global variable.
7915         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7916         stream.
7917         (get_next_alias): Add parameter stream.
7918         (_nss_files_getaliasent_r): Pass global stream.
7919         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
7920         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7921         (_nss_files_gethostbyname4_r): Pass local stream to
7922         internal_setent, internal_getent and internal_endent.  Remove
7923         locking.
7925 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7927         * tst-strfmon1.c (tests): Update expected currency symbol.
7929 2015-05-08  Roland McGrath  <roland@hack.frob.com>
7931         * sysdeps/nacl/gethostname.c: New file.
7933 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
7935         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7936         and sinh.
7937         * math/auto-libm-test-out: Regenerated.
7938         * sysdeps/i386/fpu/libm-test-ulps: Update.
7939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7941 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
7943         [BZ #18125]
7944         * stdlib/tst-setcontext3.c: New file.
7945         * stdlib/tst-setcontext3.sh: New file.
7946         * stdlib/Makefile (tests): Add tst-setcontext3.
7947         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7948         to verify test program created output file.
7949         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7950         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7951         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7952         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7954 2015-05-06  Roland McGrath  <roland@hack.frob.com>
7956         [BZ #18383]
7957         * elf/tst-tlsalign.c: New file.
7958         * elf/tst-tlsalign-static.c: New file.
7959         * elf/tst-tlsalign-lib.c: New file.
7960         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7961         (tests-static): Add tst-tlsalign-static.
7962         (modules-names): Add tst-tlsalign-lib.
7963         (test-xfail-tst-tlsalign): New variable.
7964         (test-xfail-tst-tlsalign-static): New variable.
7966         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7967         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7969 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
7971         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7972         csqrt, erfc, sin and sincos.
7973         * math/auto-libm-test-out: Regenerated.
7974         * sysdeps/i386/fpu/libm-test-ulps: Update.
7975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7977 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7979         * sysdeps/aarch64/libm-test-ulps: Update.
7981 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
7983         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7984         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7985         * math/auto-libm-test-out: Regenerated.
7986         * sysdeps/i386/fpu/libm-test-ulps: Update.
7987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7989 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7991         [BZ #18265]
7992         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7993         (wcsncpy): Likewise.
7995 2015-05-05  Florian Weimer  <fweimer@redhat.com>
7997         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7998         Assume __ASSUME_FALLOCATE is always true.
7999         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8000         (__posix_fallocate64_l64): Likweise.
8001         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
8002         (posix_fallocate): Likewise.
8003         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
8004         (__posix_fallocate64_l64): Likewise.
8005         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8006         [!__ASSUME_FALLOCATE]: Add comment.
8008 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8010         * sysdeps/unix/sysv/linux/i386/Makefile
8011         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
8012         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
8013         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
8014         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8015         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8016         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
8017         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
8019 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
8021         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
8022         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
8023         tgamma.
8024         * math/auto-libm-test-out: Regenerated.
8025         * sysdeps/i386/fpu/libm-test-ulps: Update.
8026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8028 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8030         * math/auto-libm-test-in: Add more tests of tgamma.
8031         * math/auto-libm-test-out: Regenerated.
8032         * sysdeps/i386/fpu/libm-test-ulps: Update.
8033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8035         * math/auto-libm-test-in: Add more tests of tanh.
8036         * math/auto-libm-test-out: Regenerated.
8037         * sysdeps/i386/fpu/libm-test-ulps: Update.
8038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8040         * math/auto-libm-test-in: Add more tests of tan.
8041         * math/auto-libm-test-out: Regenerated.
8042         * sysdeps/i386/fpu/libm-test-ulps: Update.
8043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8045         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8046         * math/auto-libm-test-out: Regenerated.
8047         * sysdeps/i386/fpu/libm-test-ulps: Update.
8048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8050         * math/auto-libm-test-in: Add another test of pow.
8051         * math/auto-libm-test-out: Regenerated.
8052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8054         * math/auto-libm-test-in: Add more tests of lgamma.
8055         * math/auto-libm-test-out: Regenerated.
8056         * sysdeps/i386/fpu/libm-test-ulps: Update.
8057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8059         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8060         log1p.
8061         * math/auto-libm-test-out: Regenerated.
8062         * sysdeps/i386/fpu/libm-test-ulps: Update.
8063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8065 2015-05-01  Mark Wielaard  <mjw@redhat.com>
8067         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8068         Elf64_Chdr structs and ELFCOMPRESS constants.
8070 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8072         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8073         expm1.
8074         * math/auto-libm-test-out: Regenerated.
8075         * sysdeps/i386/fpu/libm-test-ulps: Update.
8076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8078         * math/auto-libm-test-in: Add more tests of erf and erfc.
8079         * math/auto-libm-test-out: Regenerated.
8080         * sysdeps/i386/fpu/libm-test-ulps: Update.
8081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8083 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8085         * config.h.in (HAVE_AARCH64_BE): Add.
8087 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
8089         * math/auto-libm-test-in: Add more tests of csqrt.
8090         * math/auto-libm-test-out: Regenerated.
8091         * sysdeps/i386/fpu/libm-test-ulps: Update.
8092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8094         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8095         * math/auto-libm-test-out: Regenerated.
8096         * sysdeps/i386/fpu/libm-test-ulps: Update.
8097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8099         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8101 2015-04-29  Roland McGrath  <roland@hack.frob.com>
8103         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8104         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8106         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8107         (euidaccess, eaccess): Define as weak aliases.
8109         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8110         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
8111         but __suseconds_t is often 'long int' so some sources assume that
8112         type is being used (e.g. they use %ld to print tv_usec).
8114 2015-04-29  Florian Weimer  <fweimer@redhat.com>
8116         [BZ #18007]
8117         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8118         (CVE-2014-8121)
8119         * nss/tst-nss-getpwent.c: New file.
8120         * nss/Makefile (tests): Add new test.
8122 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
8124         [BZ #18346]
8125         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8126         exponents less than 48 as cases where high part of mantissa needs
8127         examining to determine whether argument is integral.
8128         * math/libm-test.inc (round_test_data): Add more tests.
8130 2015-04-28  Mark Wielaard  <mjw@redhat.com>
8132         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8134 2015-04-27  David S. Miller  <davem@davemloft.net>
8136         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8137         __tls_get_addr.
8138         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8140 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
8142         [BZ#18333]
8143         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8145 2015-04-27  Florian Weimer  <fweimer@redhat.com>
8147         [BZ#18333]
8148         * time/tzset.c (parse_tzname): Return error on memory allocation
8149         failure.
8150         * test-skeleton.c (struct temp_name_list): Change type of name
8151         member to non-const.
8152         (add_temp_file): Create a copy of the file name.
8153         (delete_temp_files): Deallocate memory.
8154         (create_temp_file): Add comment.
8156 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8158         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8159         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8161 2015-04-24  Roland McGrath  <roland@hack.frob.com>
8163         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8164         * sysdeps/arm/configure: Regenerated.
8166 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8168         [BZ #17715]
8169         * time/tzfile.c (__tzfile_read): Check for large values of
8170         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
8171         * time/tzset.c (__tzstring_len): New function, based on the old
8172         __tzstring function.
8173         (__tzstring): Call __tzstring_len.
8174         (parse_tzname): New helper function extracted from
8175         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
8176         the input string.
8177         (parse_offset): New helper function extracted from
8178         __tzset_parse_tz.  Replace switch with fallthrough with
8179         initialization before sscanf.
8180         (parse_rule): Likewise.
8181         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
8182         new-style function definition.
8183         * timezone/Makefile (tests): Add tst-tzset.
8184         (tst-tzset.out): Dependencies on time zone files.
8185         (tst-tzset-ENV): Set TZDIR.
8186         (testdata/XT%): Copy crafted time zone files.
8187         * timezone/README: Mention crafted time zone files.
8188         * timezone/testdata/XT1, timezone/testdata/XT2,
8189         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8190         files.
8191         * timezone/tst-tzset.c: New test.
8193 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8195         * Makeconfig (+gccwarn): Remove -Winline.
8197 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8199         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8201 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8203         * NEWS: Mention sysconf() cache information support for s390.
8204         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8206 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
8208         * math/k_casinh.c (__kernel_casinh): Use __copysign.
8209         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8210         (__nearbyint): Likewise.
8211         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8212         (copysignl): Likewise.
8214 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
8216         [BZ #18287]
8217         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8218         based on padding.  (CVE-2015-1781)
8220 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8222         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8223         libc-vdso.h.
8224         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8225         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8226         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8227         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8228         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8229         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8230         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8231         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8232         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8233         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8234         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8235         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8236         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8237         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8238         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8239         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8240         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8241         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8242         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8243         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8244         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8245         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8246         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8248 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
8250         * stdlib/setenv.c (__add_to_environ):
8251         Dump core quickly if setenv (..., NULL, ...) is called.
8252         This time, do it the right way, and pacify GCC with a pragma.
8254 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8256         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8257         IMAP->l_prev cannot be null, and #if out the code for the contrary
8258         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8259         believe that NS (&_dl_ns[NSID]) could point outside the array.
8261         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8262         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8263         before using NSID as an index.
8265 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
8267         [BZ #17825]
8268         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8269         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8270         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8272 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8274         Add preliminary port to Google Native Client on ARM.
8275         * abi-tags (.*-.*-nacl.*): New entry.
8276         * sysdeps/arm/nacl: New directory.
8277         * sysdeps/nacl: New directory.
8279 2015-04-16  David S. Miller  <davem@davemloft.net>
8281         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8282         lowlevellock-futex.h
8284 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
8286         * sysdeps/tile/configure.ac: New file.
8287         * sysdeps/tile/configure: Regenerated.
8289 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8291         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
8292         conditionals for weak_alias and libc_hidden_weak.
8293         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8294         libc_hidden_weak and weak_alias.
8295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8296         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8297         and weak_alias for static one.
8299 2015-04-15  David S. Miller  <davem@davemloft.net>
8301         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8303 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8305         [BZ #18206]
8306         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8307           Use signed comparision instead of substraction to avoid
8308           overflow bug.
8309         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8310           Take the sign of ret.
8311         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8312           Do not expect precise return values. Only the sign matters.
8313         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8314         * wcsmbs/test-wcsncmp.c: New File.
8315         * string/test-strncmp.c: Add wcsncmp support.
8317 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8319         [BZ #6792]
8320         * math/w_log1p.c: New file.
8321         * math/w_log1pf.c: Likewise.
8322         * math/w_log1pl.c: Likewise.
8323         * math/Makefile (libm-calls): Add w_log1p.
8324         * math/s_log1pl.c (log1pl): Remove weak_alias.
8325         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8326         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8327         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8328         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8329         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8330         [NO_LONG_DOUBLE] (log1pl): Likewise.
8331         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8332         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8333         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8334         (log1p): Remove long_double_symbol.
8335         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8336         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8337         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8338         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8339         remove weak_alias for corresponding log1p function.
8340         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8341         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8342         * sysdeps/ia64/fpu/w_log1p.c: New file.
8343         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8344         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8345         * math/libm-test.inc (log1p_test_data): Add errno expectations.
8347 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
8349         [BZ #18247]
8350         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8351         decimal exponent by 1.
8352         * stdlib/tst-strtod-round-data: Add more tests.
8353         * stdlib/tst-strtod-round.c (tests): Regenerated.
8355 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
8357         * math/auto-libm-test-in: Add more tests of clog and clog10.
8358         * math/auto-libm-test-out: Regenerated.
8359         * sysdeps/i386/fpu/libm-test-ulps: Update.
8360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8362 2015-04-09  Roland McGrath  <roland@hack.frob.com>
8364         * Makeconfig (module-cppflags): Exclude all .v.i files.
8365         (skip-module-cppflags): Variable removed.
8367         * configure.ac (libc_config_ok): Initialize before reading
8368         preconfigure scripts, not after.
8369         * configure: Regenerated.
8371         * test-skeleton.c (TIMEOUT): Move #define to top level.
8372         (main): Grok environment variable TEST_DIRECT.  If set, print
8373         test expectation details into that file and then behave as if
8374         given --direct.
8376 2015-04-09  Florian Weimer  <fweimer@redhat.com>
8378         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8379         warning on 32-bit.
8381 2015-04-08  David S. Miller  <davem@davemloft.net>
8383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8385 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8387         * math/auto-libm-test-in: Add more tests of atanh.
8388         * math/auto-libm-test-out: Regenerated.
8389         * sysdeps/i386/fpu/libm-test-ulps: Update.
8390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8392         * math/auto-libm-test-in: Add more tests of atan.
8393         * math/auto-libm-test-out: Regenerated.
8394         * sysdeps/i386/fpu/libm-test-ulps: Update.
8395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8397 2015-04-08  Florian Weimer  <fweimer@redhat.com>
8399         * elf/pldd.c (main): Rewrite to use struct
8400         scratch_buffer instead of extend_alloca.
8401         * elf/pldd-xx.c (find_maps): Likewise.
8402         * grp/initgroups.c: Include <scratch_buffer.h> instead of
8403         <alloca.h>.
8404         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8405         scratch_buffer instead of extend_alloca.
8406         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8407         grp/compat-initgroups.c.
8408         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8409         Rewrite to use struct scratch_buffer instead of extend_alloca.
8410         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8411         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8413 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8415         * math/auto-libm-test-in: Add more tests of cbrt.
8416         * math/auto-libm-test-out: Regenerated.
8417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8419         * math/auto-libm-test-in: Add more tests of cabs.
8420         * math/auto-libm-test-out: Regenerated.
8421         * sysdeps/i386/fpu/libm-test-ulps: Update.
8422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8424         [BZ #18210]
8425         [BZ #18211]
8426         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8427         (__ieee754_atan2): Set FE_TONEAREST mode for internal
8428         computations.
8429         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8430         clog10.
8431         * math/auto-libm-test-out: Regenerated.
8432         * sysdeps/i386/fpu/libm-test-ulps: Update.
8433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8435         [BZ #18197]
8436         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8437         (atan): Set FE_TONEAREST mode for internal computations.
8438         * math/auto-libm-test-in: Add more tests of atan.
8439         * math/auto-libm-test-out: Regenerated.
8441 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
8443         [BZ #17930]
8444         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8446 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8448         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8450 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8452         * include/scratch_buffer.h: New file.
8453         * malloc/scratch_buffer_grow.c: Likewise.
8454         * malloc/scratch_buffer_grow_preserve.c: Likewise.
8455         * malloc/scratch_buffer_set_array_size.c: Likewise.
8456         * malloc/tst-scratch_buffer.c: Likewise.
8457         * malloc/Makefile (routines): Add scratch_buffer_grow.
8458         (tests): Add test case.
8459         * malloc/Versions (GLIBC_PRIVATE): Export
8460         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8461         __libc_scratch_buffer_set_array_size.
8463 2015-04-06  Richard Henderson  <rth@redhat.com>
8465         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8466         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8468         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8469         unsigned int before printing.
8471 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8473         [BZ #17596]
8474         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8475         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8477 2015-04-02  Florian Weimer  <fweimer@redhat.com>
8479         * include/libc-internal.h (libc_max_align_t): Define.
8481 2015-04-02  Andreas Schwab  <schwab@suse.de>
8483         [BZ #16850]
8484         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8486 2015-04-02  Mel Gorman  <mgorman@suse.de>
8488         [BZ #17195]
8489         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8490         as well as the main arena.
8492 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8494         [BZ #18185]
8495         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8496         sharing L2 cache to 2 for Silvermont/Knights Landing.
8498 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8500         [BZ #17711]
8501         * config.make.in (have-protected-data): New.
8502         * configure.ac: Check linker support for protected data symbol.
8503         * configure: Regenerated.
8504         * elf/Makefile (modules-names): Add tst-protected1moda and
8505         tst-protected1modb if $(have-protected-data) is yes.
8506         (tests): Add tst-protected1a and tst-protected1b if
8507         $(have-protected-data) is yes.
8508         ($(objpfx)tst-protected1a): New.
8509         ($(objpfx)tst-protected1b): Likewise.
8510         (tst-protected1modb.so-no-z-defs): Likewise.
8511         * elf/tst-protected1a.c: New file.
8512         * elf/tst-protected1b.c: Likewise.
8513         * elf/tst-protected1mod.h: Likewise.
8514         * elf/tst-protected1moda.c: Likewise.
8515         * elf/tst-protected1modb.c: Likewise.
8517 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8519         [BZ #17711]
8520         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8521         indicates it is called from do_lookup_x on relocation against
8522         protected data, skip the data definion in the executable from
8523         copy reloc.
8524         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8525         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8526         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8527         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8528         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8529         otherwise to 0.
8530         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8531         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8532         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8533         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8534         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8535         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8537 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
8539         * sysdeps/nptl/pthread.h: Remove duplicate definition of
8540         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8542 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
8544         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8545         THREAD_SETMEM_NC.
8546         * sysdeps/x86_64/nptl/tls.h: Ditto.
8548 2015-03-27  Roland McGrath  <roland@hack.frob.com>
8550         * dlfcn/tststatic.c (main): Converted to ...
8551         (do_test): ... this.
8552         (TEST_FUNCTION): New macro.
8553         Include test-skeleton.c.
8555 2015-03-26  Alan Modra  <amodra@gmail.com>
8557         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8558         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
8559         zero for undefined weak.
8560         (elf_machine_plt_conflict): Similarly.
8562 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8564         * math/auto-libm-test-in: Add more tests of acosh, asinh and
8565         atanh.
8566         * math/auto-libm-test-out: Regenerated.
8567         * sysdeps/i386/fpu/libm-test-ulps: Update.
8568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8570         * math/auto-libm-test-in: Add another test of asin.
8571         * math/auto-libm-test-out: Regenerated.
8572         * sysdeps/i386/fpu/libm-test-ulps: Update.
8573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8575         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8576         Remove macro.
8577         (LLL_EBX_REG): Likewise.
8578         (LLL_ENTER_KERNEL): Likewise.
8580         * math/auto-libm-test-in: Add more tests of asin.
8581         * math/auto-libm-test-out: Regenerated.
8582         * sysdeps/i386/fpu/libm-test-ulps: Update.
8583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8585         [BZ #18138]
8586         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8587         libc_do_syscall_args): New structure.
8588         (INTERNAL_SYSCALL_MAIN_0): New macro.
8589         (INTERNAL_SYSCALL_MAIN_1): Likewise.
8590         (INTERNAL_SYSCALL_MAIN_2): Likewise.
8591         (INTERNAL_SYSCALL_MAIN_3): Likewise.
8592         (INTERNAL_SYSCALL_MAIN_4): Likewise.
8593         (INTERNAL_SYSCALL_MAIN_5): Likewise.
8594         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
8595         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8596         Replace conditional definitions by conditional definitions of ....
8597         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
8598         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8599         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8600         (libpthread-sysdep_routines): Add libc-do-syscall.
8601         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8602         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8603         to __NR_futex not 240.
8605 2015-03-25  Alan Modra  <amodra@gmail.com>
8607         * NEWS: Advertise TLS optimization.
8608         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8609         (DT_PPC_NUM): Increment.
8610         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8611         (CHECK_STATIC_TLS): Use here.
8612         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8613         TLS descriptors.
8614         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8615         * sysdeps/powerpc/dl-tls.c: New file.
8616         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8617         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8618         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8619         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8624 2015-03-25  Alan Modra  <amodra@gmail.com>
8626         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8627         for overlapping .opd entries" to "support...".
8628         * sysdeps/powerpc/powerpc64/configure: Regenerate
8630 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8632         * math/auto-libm-test-in: Add more tests of acos.
8633         * math/auto-libm-test-out: Regenerated.
8634         * sysdeps/i386/fpu/libm-test-ulps: Update.
8635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8637         * math/auto-libm-test-in: Add more tests of expm1.
8638         * math/auto-libm-test-out: Regenerated.
8639         * sysdeps/i386/fpu/libm-test-ulps: Update.
8640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8642 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
8644         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8645         * math/auto-libm-test-out: Regenerated.
8646         * sysdeps/i386/fpu/libm-test-ulps: Update.
8647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8649         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8652         * math/auto-libm-test-in: Add more tests of log2.
8653         * math/auto-libm-test-out: Regenerated.
8654         * sysdeps/i386/fpu/libm-test-ulps: Update.
8655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8657 2015-03-23  Roland McGrath  <roland@hack.frob.com>
8659         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8660         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
8661         _IO_IS_APPENDING bit in READ_WRITE instead.
8663 2015-03-23  Florian Weimer  <fweimer@redhat.com>
8665         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8666         (__determine_cpumask_size): Replace extend_alloca with a
8667         variable-length array.  Do not treat res == 0 as an error.
8669 2015-03-23  Florian Weimer  <fweimer@redhat.com>
8671         [BZ #18100]
8672         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8673         and integer overflow.
8674         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8675         (main): Add integer overflow tests.
8676         * manual/pattern.texi (Calling Wordexp): Document additional use
8677         for WRDE_SYNTAX.
8679 2015-03-23  Alan Modra  <amodra@gmail.com>
8681         * config.h.in: Remove HAVE_ASM_PPC_REL16.
8682         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8683         and false branch of conditional.
8684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8685         Likewise.
8687 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
8689         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8690         libc-modules.h
8691         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8692         unused declaration of _hurd_intr_rpc_msg_in_trap.
8693         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8694         defined instead of whether it is non-zero.
8695         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8696         input constraint instead of both input and output constraint.  Use ecx
8697         clobber instead of %ecx.
8698         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8699         mutex_unlock): Use a statement expression instead of an expression list.
8700         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8701         type to vm_size_t instead of vm_address_t.
8702         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8703         defined instead of whether it is non-zero.
8704         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8705         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8706         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8707         comparisons with mapaddr.
8708         * nscd/nscd-client.h: Include <time.h>.
8709         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8710         9th parameter to __vm_region instead of int.
8711         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8712         * scripts/check-local-headers.sh (exclude): Add device/,
8713         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8714         cthreads.h.
8716 2015-03-19  Roland McGrath  <roland@hack.frob.com>
8718         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8719         to account for alignment padding.
8720         * sysdeps/arm/memmove.S: Likewise.
8722 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
8724         * sysdeps/unix/sysv/linux/generic/README: New file.
8726 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
8728         [BZ #18138]
8729         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8730         (futex_abstimed_wait)
8731         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8732         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8733         of lll_futex_timed_wait.
8735 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
8737         [BZ #17542]
8738         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8740 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
8742         [BZ #17090]
8743         [BZ #17620]
8744         [BZ #17621]
8745         [BZ #17628]
8746         * NEWS: Update.
8747         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8748         entries with Static TLS too.  Skip entries past the end of the
8749         allocated DTV, from Alan Modra.
8750         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
8751         Static TLS DTV entry set up from...
8752         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8753         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8754         * nptl/allocatestack.c (init_one_static_tls): ... and here...
8755         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8756         for Static TLS.
8757         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
8758         that the slot we find is associated with the given map before
8759         using its generation count.
8760         * nptl_db/db_info.c: Include ldsodefs.h.
8761         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8762         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8763         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8764         (link_map::l_tls_offset): New struct field.
8765         (dtv_t::counter): Likewise.
8766         (rtld_global): New struct.
8767         (_rtld_global): New rtld variable.
8768         (dl_tls_dtv_slotinfo_list): New rtld global field.
8769         (dtv_slotinfo_list): New struct.
8770         (dtv_slotinfo): Likewise.
8771         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8772         (td_lookup): Rename to...
8773         (td_mod_lookup): ... this.  Use new mod parameter instead of
8774         LIBPTHREAD_SO.
8775         * nptl_db/td_thr_tlsbase.c: Include link.h.
8776         (dtv_slotinfo_list, dtv_slotinfo): New functions.
8777         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
8778         addresses even if the DTV is out of date or missing them.
8779         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8780         index zero-length arrays.
8781         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8782         (td_lookup): Make it a macro implemented in terms of...
8783         (td_mod_lookup): ... this declaration.
8784         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8785         (DB_MAIN_VARIABLE): Likewise.
8787 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8789         [BZ #18134]
8790         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8792 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
8794         * stdlib/setenv.c (__add_to_environ): Revert previous change.
8796 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8798         [BZ #18128]
8799         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8800         (atomic_add, atomic_increment_and_test)
8801         (atomic_decrement_and_test): Fix 64-bit arithmetic.
8803 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
8805         * stdlib/setenv.c (__add_to_environ):
8806         Dump core quickly if setenv (..., NULL, ...) is called.
8808 2015-03-13  Roland McGrath  <roland@hack.frob.com>
8810         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8811         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8812         all the necessary asm magic in one place.
8813         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8814         using those.
8816 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
8818         [BZ #14906]
8819         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8820         traced file mtime. Use consistent log message.
8821         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8822         (register_traced_file): Call install_watches. Always set mtime.
8823         (invalidate_cache): Iterate over all trace files. Call install_watches.
8824         (inotify_check_files): Don't inline. Handle watching parent
8825         directories and configuration file movement in and out.
8826         (handle_inotify_events): New function.
8827         (main_loop_poll): Call handle_inotify_events.
8828         (main_loop_epoll): Likewise.
8829         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8830         (struct traced_file): Use array of inotify fds. Add parent directory,
8831         and basename.
8832         (struct database_dyn): Remove unused file_mtime.
8833         (init_traced_file): New inline function.
8834         (define_traced_file): New macro.
8835         * nss/nss_db/db-init.c: Use define_traced_file.
8836         (_nss_db_init): Use init_traced_file.
8837         * nss/nss_files/files-init.c: Use define_traced_file.
8838         (_nss_files_init): Use init_traced_file.
8840 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
8842         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8843         [_LIBC]: Do not include <stdlib.h>.
8844         [!_LIBC] (abort): Remove declaration.
8845         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8846         _FP_STATIC_ASSERT instead of conditionally calling abort.
8847         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8848         (_FP_EXTEND_CNAN): Likewise.
8849         (FP_TRUNC): Likewise.
8850         (__FP_CLZ): Likewise.
8851         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8853 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
8855         * manual/string.texi (XPG basename): Fix prototype.
8857 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8859         [BZ #18080]
8860         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8861         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8862         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8863         (__setcontext): Likewise.
8864         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8865         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8866         Call rt_sigprocmask syscall one time to set new signal mask
8867         and retrieve the current signal mask instead of two calls.
8868         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8869         (__swapcontext): Likewise.
8870         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8871         * stdlib/tst-setcontext2.c: New file.
8873 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8875         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8877 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
8879         [BZ #18093]
8880         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8881         the wrong size.
8883 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8885         [BZ #18043]
8886         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8888 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8890         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8891         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8892         Remove define.
8893         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8894         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8895         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8896         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8897         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8898         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8899         define.
8900         * nptl_db/td_symbol_list.c (td_lookup): Remove
8901         HAVE_ASM_GLOBAL_DOT_NAME code.
8902         * sysdeps/powerpc/powerpc64/configure.ac: Remove
8903         HAVE_ASM_GLOBAL_DOT_NAME check.
8904         * sysdeps/powerpc/powerpc64/configure: Regenerate.
8905         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8906         (DOT_LABEL): Remove define.
8907         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8908         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8909         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8910         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8911         (__TLS_GET_ADDR): Likewise.
8912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8913         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8915 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
8917         [BZ #18111]
8918         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8919         (_FPU_SETCW): Initialize cw from fpsr before storing.
8920         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8921         (fesetexceptflag): Rewrite using fpu_control.h.
8922         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8924 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
8926         [BZ #18110]
8927         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8928         asms.
8929         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8931 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
8933         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8934         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8935         abort.
8936         (_FP_FMA): Likewise.
8937         (_FP_DIV): Likewise.
8939 2015-03-10  Roland McGrath  <roland@hack.frob.com>
8941         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8942         with 0 in that case.
8943         * Makefile (summarize-tests): New canned sequence, factored out of
8944         commands for targets tests and xtests.  Display summary lines that
8945         don't start with PASS: or XFAIL: rather than ones that do start with
8946         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
8947         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8948         do start with ERROR: or FAIL:.
8949         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8950         (except for [$(build-shared) = yes]).
8951         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8952         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8953         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8954         * nptl/Makefile: Revert 2015-03-04 changes.
8955         [$(CXX) empty] (tests-unsupported): New variable.
8956         * debug/Makefile: Likewise.
8958         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8959         gnulib file.  Replace __attribute with __attribute__ throughout.
8961 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
8963         * sysdeps/hppa/fpu/libm-test-ulps: Update.
8965 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
8967         [BZ #18104]
8968         * math/auto-libm-test-in: Add another test of pow.
8969         * math/auto-libm-test-out: Regenerated.
8971 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8973         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8974         $(config-cflags-nofma).
8976 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
8978         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8979         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8980         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8981         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8982         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8983         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8984         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8985         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8986         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8987         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8988         Add comment on closing #endif.
8990 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8992         * posix/wordexp.c (CHAR_IN_SET): New macro.
8993         (parse_param): Use it.
8995 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8997         * sysdeps/powerpc/fpu/libm-test-ulps: update.
8999 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9001         [BZ #18043]
9002         * posix/wordexp.c (parse_param): Fix buffer overflow.
9003         * posix/wordexp-test.c (test_case): Add test case.
9005 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9007         [BZ #18042]
9008         * posix/wordexp.c (parse_backtick): Fix off-by-one.
9009         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
9011 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9013         [BZ #18043]
9014         * posix/wordexp-test.c (test_case): Add test for BZ #18043
9015         (do_bz18043): Delete.
9016         (at_page_end): New.
9017         (testit): Refactor to have words at the edge of unreadable page.
9019 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9021         [BZ #16734]
9022         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
9023         Cleanup read-only streams as well.
9024         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9026 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9028         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9029         <bits/libc-lockP.h>
9031 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
9033         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
9034         on [__KERNEL__].
9035         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9036         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9037         * soft-fp/op-common.h (_FP_DECL): Likewise.
9039 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9041         * elf/ifuncdep2.c (global): Replace
9042         __attribute__((visibility("protected"))) with
9043         asm (".protected global").
9044         * elf/ifuncmod1.c (global): Likewise.
9045         * elf/ifuncmod5.c (global): Likewise.
9047 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
9049         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9050         <asm/sfp-machine.h> instead of <sfp-machine.h>.
9052 2015-03-06  Roland McGrath  <roland@hack.frob.com>
9054         * manual/install.texi (Configuring and compiling):
9055         Document test-wrapper-env-only.
9056         * INSTALL: Regenerated.
9058 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9060         [BZ #18043]
9061         * posix/wordexp.c (parse_param): Fix buffer overflow.
9062         * posix/wordexp-test.c (do_bz18043): Add test case.
9064 2015-03-06  Vincent Bernat  <vincent@bernat.im>
9066         * time/tst-strptime2.c (do_test): Ensure failing tests are
9067         reported correctly.
9068         * time/tst-strptime3.c (do_test): Likewise.
9070 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
9072         Fix aio_error thread-safety.
9073         * sysdeps/pthread/aio_error.c: New file
9074         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9075         synchronization.
9077 2015-03-06  Florian Weimer  <fweimer@redhat.com>
9079         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9080         (group_number, vfprintf): Use it.
9081         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9082         (JUMP, REF): Use it.
9083         (WORK_BUFFER_SIZE): New enum constant.
9084         (process_arg, vfprintf): Use it.
9086 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
9088         * manual/errno.texi (Error Messages): Complete example function
9089         by adding missing #define.
9090         (program_invocation_name): Add statement indicating GNU
9091         extension and reference which header file declares the variable.
9092         (program_invocation_short_name): Likewise.
9094 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
9096         * manual/errno.texi (Error Messages): Delete strerror ISO C89
9097         compatibility note.
9099 2015-03-05  Roland McGrath  <roland@hack.frob.com>
9101         * Makeconfig (test-wrapper-env-only): New variable.
9102         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9103         then use that with $(test-wrapper-env-only) rather than using
9104         $(test-wrapper-env) $(run-program-env) $($*-ENV).
9106 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9108         [BZ #18082]
9109         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9110         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9111         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9112         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9113         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9114         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9115         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9116         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9117         Likewise.
9118         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9119         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9120         Likewise.
9121         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9122         Likewise.
9123         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9124         Likewise.
9125         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9126         Likewise.
9127         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9128         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9129         Likewise.
9130         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9131         Likewise.
9132         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9133         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9135 2015-03-04  Roland McGrath  <roland@hack.frob.com>
9137         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9138         (ETH_ALEN): New macro.
9139         (struct ether_addr): Use it for length of ether_addr_octet.
9141         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9142         (setdb): Don't call __nss_configure_lookup for "rpc".
9143         (do_test): Don't call test_rpc.
9144         (output_rpcent, test_rpc): Functions moved ...
9145         * sunrpc/test-rpcent.c: ... to this new file.
9146         * sunrpc/Makefile (tests): Add it.
9148         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9149         __xpg_sigpause.
9150         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9151         * nptl/tst-signal6.c: Likewise.
9152         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9153         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9155         * configure.ac (libc_cv_cxx_link_ok): New check.
9156         Reset CXX to empty if it fails to link.
9157         * configure: Regenerated.
9158         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9159         bug-atexit3-lib only if $(CXX) is nonempty.
9160         * nptl/Makefile (tests): Likewise for tst-cancel24.
9161         (tests, tests-static): Likewise for tst-cancel24-static.
9162         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9163         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9164         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9165         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9167 2015-03-04  Andreas Schwab  <schwab@suse.de>
9169         [BZ #17631]
9170         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9171         for non-GCC compilers.
9172         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9173         Likewise.
9175 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9177         [BZ #17776]
9178         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9179         integer before bitwise and assembly operations.
9180         (feclearexcept): Likewise.
9181         * math/test-fenvinline.c: New file.
9182         * math/Makefile: Add test-fenvinline test.
9184 2015-03-03  Alan Modra  <amodra@gmail.com>
9186         [BZ #16512]
9187         * scripts/localplt.awk: Strip off symbol version.
9188         * NEWS: Mention bug fix.
9190 2015-03-02  Roland McGrath  <roland@hack.frob.com>
9192         * sysdeps/pthread/timer_routines.c
9193         (timer_free_list, thread_free_list, thread_active_list): Make static.
9195 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
9197         [BZ #17779]
9198         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9199         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9200         Undefine.
9201         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9202         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9203         Likewise.
9204         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9205         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9206         Likewise.
9208 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
9210         [BZ #18036]
9211         * posix/fnmatch_loop.c (END): Detect invalid pattern.
9212         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9214 2015-03-02  Andreas Schwab  <schwab@suse.de>
9216         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9217         variable name.
9219 2015-03-02  Florian Weimer  <fweimer@redhat.com>
9221         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9222         Return error status.
9224 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
9226         [BZ #15969]
9227         * locale/findlocale.c (_nl_find_locale): Introduce const
9228         version of loc_name and drop unsafe type casts.
9230 2015-02-27  Roland McGrath  <roland@hack.frob.com>
9232         * dlfcn/tststatic2.c (main): Converted to ...
9233         (do_test): ... this.
9234         (TEST_FUNCTION): New macro.
9235         Include test-skeleton.c.
9237 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
9239         [BZ #17711]
9240         * elf/Makefile (tests): Add vismain only if PIE is enabled.
9241         (tests-pie): Add vismain.
9242         (CFLAGS-vismain.c): New.
9243         * elf/vismain.c: Add comments for PIE requirement.
9245 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9247         [BZ #18046]
9248         [BZ #18047]
9249         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9250         0x1p-56L as threshold for just returning the argument.
9251         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9252         0x1p-32L as threshold for just returning the argument.
9253         * math/auto-libm-test-in: Add more tests of atanh.
9254         * math/auto-libm-test-out: Regenerated.
9255         * sysdeps/i386/fpu/libm-test-ulps: Update.
9256         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9258 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9260         * string/bcopy.c (bcopy): Call memmove for performance.
9262 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9264         * string/bzero.c (__bzero): Call memset for performance.
9266 2015-02-27  John David Anglin  <dave.anglin@bell.net>
9268         [BZ #18068]
9269         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9270         to 00100000.
9272 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9274         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9276 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9278         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9279         (__kernel_standard): Use CSTR macro when setting exc.name.
9280         * sysdeps/ieee754/Makefile [$(subdir) = math]
9281         (CFLAGS-k_standard.c): Remove variable.
9283         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9284         setting p and q from "else if" to "else".
9285         (qzero): Likewise.
9286         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9287         (qone): Likewise.
9288         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9289         (qzerof): Likewise.
9290         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9291         (qonef): Likewise.
9292         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9293         (qzero): Likewise.
9294         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9295         (qone): Likewise.
9297         [BZ #18038]
9298         [BZ #18039]
9299         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9300         return pi/2 for arguments below 0x1p-113L.
9301         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9302         return pi/2 for arguments below 0x1p-106L.
9303         * math/auto-libm-test-in: Add more tests of acos.
9304         * math/auto-libm-test-out: Regenerated.
9306         [BZ #16351]
9307         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9308         (MO): New macro.
9309         (__ieee754_asin): Force underflow exception for results with small
9310         absolute value.
9311         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9312         (MO): New macro.
9313         (__ieee754_asinf): Force underflow exception for results with
9314         small absolute value.
9315         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9316         (__ieee754_asin): Force underflow exception for results with small
9317         absolute value.
9318         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9319         (__ieee754_asinf): Force underflow exception for results with
9320         small absolute value.
9321         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9322         (__ieee754_asinl): Force underflow exception for results with
9323         small absolute value.
9324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9325         (__ieee754_asinl): Force underflow exception for results with
9326         small absolute value.
9327         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9328         (__ieee754_asinl): Force underflow exception for results with
9329         small absolute value.
9330         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9331         Include <math.h>.
9332         * math/auto-libm-test-in: Do not mark underflow exceptions as
9333         possibly missing for bug 16351.
9334         * math/auto-libm-test-out: Regenerated.
9336         [BZ #18030]
9337         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9338         of power of 2 down when low part has opposite sign.
9339         * math/libm-test.inc (logb_test_data): Add more tests.
9341 2015-02-26  Andreas Schwab  <schwab@suse.de>
9343         [BZ #18032]
9344         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9345         over collating symbol inside a bracket expression.  Minor cleanup.
9346         * posix/tst-fnmatch3.c (do_test): Add test case.
9348 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9350         [BZ #18029]
9351         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9352         Adjust exponent of power of 2 down when low part has opposite
9353         sign.
9354         * math/libm-test.inc (ilogb_test_data): Add more tests.
9356 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
9358         [BZ #15969]
9359         * locale/findlocale.c (_nl_find_locale): Fix constness error in
9360         the previous change.
9362         [BZ #15969]
9363         * locale/findlocale.c (_nl_find_locale): Retry archive search
9364         after alias expansion.
9366 2015-02-25  Roland McGrath  <roland@hack.frob.com>
9368         * iconv/tst-iconv3.c (main): Converted to ...
9369         (do_test): ... this.
9370         (TEST_FUNCTION): New macro.
9371         Include test-skeleton.c.
9373         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9374         (convert): Make function static.
9375         (test_unalign): Likewise.  Add const to argument pointee types.
9376         (main): Replace with static function do_test.
9377         Print "Succeeded." only if RET is zero.
9378         (TEST_FUNCTION): New macro.
9379         Include test-skeleton.c.
9381         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9382         returns a null pointer.
9384 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9386         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9387         to __memcpy_ppc only for static builds.
9389 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
9391         [BZ #18020]
9392         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9393         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9394         * math/auto-libm-test-in: Add more tests of asinh.
9395         * math/auto-libm-test-out: Regenerated.
9396         * sysdeps/i386/fpu/libm-test-ulps: Update.
9397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9399 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
9401         [BZ #15850]
9402         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9403         and ip6_mtuinfo definitions here.
9404         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9405         in this define too.  Update comment.
9407 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
9409         * elf/sprof.c (load_shobj): Tweak error message to match others.
9411 2015-02-24  Kevin Easton  <kevin@guarana.org>
9413         [BZ #16145] (partial fix)
9414         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9415         to reduce lock contention.
9417 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
9419         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9420         (struct timex): Update time comment.
9421         (ADJ_SETOFFSET): Define.
9423 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
9425         [BZ #18019]
9426         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9427         2**56 not 2**28 as threshold for log (2x) formula.
9428         * math/auto-libm-test-in: Add more tests of acosh.
9429         * math/auto-libm-test-out: Regenerated.
9430         * sysdeps/i386/fpu/libm-test-ulps: Update.
9431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9433 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
9435         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9436         parenthesis around the buf assignment.
9437         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9439 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
9441         [BZ #16783]
9442         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9443         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9444         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9445         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9446         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9447         * math/libm-test.inc (scalb_test_data): Add more tests.
9449 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9451         [BZ #17916]
9452         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9453         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9455 2015-02-24  Eric Rannaud  <e@nanocritical.com>
9457         [BZ #17523]
9458         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9459         * io/bits/fcntl2.h (open): Use it.
9460         (openat): Likewise.
9461         * io/open.c (__libc_open): Likewise.
9462         * io/open64.c (__libc_open64): Likewise.
9463         * io/open64_2.c (__open64_2): Likewise.
9464         * io/open_2.c (__open_2): Likewise.
9465         * io/openat.c (__openat): Likewise.
9466         * io/openat64.c (__openat64): Likewise.
9467         * io/openat64_2.c (__openat64_2): Likewise.
9468         * io/openat_2.c (__openat_2): Likewise.
9469         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9470         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9471         * sysdeps/posix/open64.c (__libc_open64): Likewise.
9472         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9473         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9474         (__open_nocancel): Likewise.
9475         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9476         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9477         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9479 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9481         [BZ #14841]
9482         * resolv/gethnamaddr.c (getanswer): Skip logging if
9483         RES_USE_DNSSEC is set.
9484         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9486 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
9488         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9490 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
9492         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9493         201304L, for Unicode 7.
9495 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
9497         [BZ #17836]
9498         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9499         shared library.  Add gmon-start.os otherwise.
9500         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9501         $(objpfx)gmon-start.os if builing shared library.
9502         ($(objpfx)g$(static-start-installed-name)): Likewise.
9504 2015-02-23  Andreas Schwab  <schwab@suse.de>
9506         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9508 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9510         [BZ #17269]
9511         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9512         (enlarge_userbuf): Likewise.
9514 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
9516         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9517         * math/atest-exp.c (TIMEOUT): Adjust to 200.
9518         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9519         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9521 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
9523         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9524         expression inside statement expression.
9526 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9528         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9529         <sysdeps/nptl/lowlevellock.h> and remove macros and
9530         functions that are now defined there.
9531         (SYS_futex): Remove.
9532         (lll_compare_and_swap): Remove.
9533         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9535 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
9537         [BZ #17999]
9538         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9539         instead of scandirat.
9540         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9541         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9542         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9543         __scandirat.
9544         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9545         (__scandirat): Declare.  Use libc_hidden_proto.
9546         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9547         Remove variable.
9548         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9550 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9552         [BZ #15319]
9553         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9554         (MO): New macro.
9555         (__ieee754_atan2): For results with small absolute value, force
9556         underflow exception and remove excess range and precision from
9557         return value.
9558         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9559         (MO): New macro.
9560         (__ieee754_atan2f): For results with small absolute value, force
9561         underflow exception and remove excess range and precision from
9562         return value.
9563         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9564         (MO): New macro.
9565         (__atan): For results with small absolute value, force underflow
9566         exception and remove excess range and precision from return value.
9567         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9568         (MO): New macro.
9569         (__atanf): For results with small absolute value, force underflow
9570         exception and remove excess range and precision from return value.
9571         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9572         <math.h>.
9573         (__ieee754_atan2): Force underflow exception for results with
9574         small absolute value.
9575         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9576         <math_private.h>.
9577         (atan): Force underflow exception for results with small absolute
9578         value.
9579         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9580         (__atanf): Force underflow exception for results with small
9581         absolute value.
9582         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9583         <math.h>.
9584         (__atanl): Force underflow exception for results with small
9585         absolute value.
9586         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9587         (__atanl): Force underflow exception for results with small
9588         absolute value.
9589         * sysdeps/x86/fpu/bits/mathinline.h
9590         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9591         (__ieee754_atan2): Only define inline for long double.
9592         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9593         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9594         * math/auto-libm-test-in: Do not mark underflow exceptions as
9595         possibly missing for bug 15319.  Add more tests of atan2.
9596         * math/auto-libm-test-out: Regenerated.
9597         * math/libm-test.inc (casin_test_data): Do not mark underflow
9598         exceptions as possibly missing for bug 15319.
9599         (casinh_test_data): Likewise.
9600         * sysdeps/i386/fpu/libm-test-ulps: Update.
9602 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
9604         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9605         * sysdeps/mips/bits/endian.h: Fix comments.
9607 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9609         [BZ #17996]
9610         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9611         (hdestroy_r): Likewise.
9612         (hsearch_r): Likewise.
9613         (__hcreate_r): Declare and use libc_hidden_proto.
9614         (__hdestroy_r): Likewise.
9615         (__hsearch_r): Likewise.
9616         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9617         (hcreate): Call __hcreate_r instead of hcreate_r.
9618         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9619         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9620         as weak alias of __hcreate_r.
9621         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9622         __hdestroy_r.
9623         (hsearch_r): Rename to __hsearch_r and define as weak alias of
9624         __hsearch_r.
9625         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9626         Remove variable.
9627         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9628         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9629         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9630         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9632 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9634         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9635         arena_lock into a single arena_get.
9637 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
9639         * dl-reloc.c: Inlucde libc-internal.h.
9640         (_dl_try_allocate_static_tls): Call ALIGN_UP.
9641         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9642         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9643         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9644         (grow_heap): Likewise.
9645         * malloc/malloc.c: Include libc-internal.h.
9646         (do_check_malloc): Call powerof2.
9647         (sysmalloc): Use pagesize. Call ALIGN_UP.
9648         (systrim): Use pagesize.
9649         (mremap_chunk): Use pagesize. Call ALIGN_UP.
9650         (__libc_valloc): Use pagesize.
9651         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9653 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
9655         [BZ #17991]
9656         * include/sys/resource.h (__getrlimit64): Declare.  Use
9657         libc_hidden_proto.
9658         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9659         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
9660         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9661         getrlimit64.
9662         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9663         __getrlimit64.
9664         [!getrlimit64] (getrlimit64): Define as weak alias of
9665         __getrlimit64.  Use libc_hidden_weak.
9666         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9667         using __getrlimit64 not __new_getrlimit64.
9668         (__GI_getrlimit64): Likewise.
9669         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9670         Likewise.
9671         (__GI_getrlimit64): Likewise.
9672         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9674         (getrlimit): Add __getrlimit64 alias.
9675         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9676         Likewise.
9677         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9678         Remove variable.
9679         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9680         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9682 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
9684         * libio/fileops.c: Add missing sys/mman.h
9685         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9687 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
9689         * manual/math.texi (Errors in Math Functions): Clarify goals
9690         regarding inexact and underflow exceptions.
9692 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
9694         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9695         * sysdeps/mips/memset.S: Ditto.
9697 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
9699         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9701 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9703         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9704         (__v1longjmp): Remove versioned symbol.
9705         (__v1siglongjmp): Remove alias and versioned symbol.
9706         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9707         (__v2siglongjmp): Likewise.
9709 2015-02-16  Torvald Riegel  <triegel@redhat.com>
9711         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9713 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
9715         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9717 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
9719         [BZ #17987]
9720         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9721         zero result does not depend on the sign resulting from
9722         subtraction.
9723         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9724         Likewise.
9725         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9726         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9727         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9728         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9729         * math/libm-test.inc (remquo_test_data): Add more tests.
9731 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
9733         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9734         Problem reported by J William Piggott.
9736 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
9738         [BZ #17978]
9739         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9740         products 4 * y and 2 * y where those would overflow.
9741         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9742         Likewise.
9743         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9744         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9745         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9746         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9747         * math/libm-test.inc (remquo_test_data): Add more tests.
9749         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9751         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9752         [defined _COMPILING_NEWLIB].
9753         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9754         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9756         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9757         [!defined __mips_isa_rev || __mips_isa_rev < 6].
9759 2015-02-16  Torvald Riegel  <triegel@redhat.com>
9761         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9762         acquired.
9764 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
9766         [BZ #17792]
9767         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9768         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9769         HOST_STACK_END_ADDR): Likewise.
9771 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
9773         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9774         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9775         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9777 2015-02-13  Roland McGrath  <roland@hack.frob.com>
9779         * sysdeps/generic/c++-types.data: New file.
9780         * sysdeps/generic/ld.abilist: New file.
9781         * sysdeps/generic/libBrokenLocale.abilist: New file.
9782         * sysdeps/generic/libanl.abilist: New file.
9783         * sysdeps/generic/libc.abilist: New file.
9784         * sysdeps/generic/libcrypt.abilist: New file.
9785         * sysdeps/generic/libdl.abilist: New file.
9786         * sysdeps/generic/libm.abilist: New file.
9787         * sysdeps/generic/libpthread.abilist: New file.
9788         * sysdeps/generic/libresolv.abilist: New file.
9789         * sysdeps/generic/librt.abilist: New file.
9791 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
9793         [BZ #17569]
9794         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9795         Compute absolute value of x as modified by fmod, not original
9796         value of x.
9797         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9798         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
9799         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
9800         RUN_TEST_ffI_f1_mod8.
9801         (remquo_test_data): Add more tests.
9803 2015-02-13  Roland McGrath  <roland@hack.frob.com>
9805         * sysdeps/init_array/pt-crti.S: New file.
9807 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
9809         [BZ #17967]
9810         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9811         __builtin_fmaf instead of relying on contraction of a * b + c.
9813 2015-02-12  J William Piggott  <elseifthen@gmx.com>
9815         [BZ #17969]
9816         * manual/time.texi: correct the zoneinfo path in the TZ Variable
9817         node.
9819 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
9821         [BZ #17964]
9822         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9823         __builtin_fma instead of relying on contraction of a * b + c.
9825 2015-02-12  Roland McGrath  <roland@hack.frob.com>
9827         * Makeconfig (ASFLAGS): Add -Werror=undef.
9828         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9829         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9830         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9832         * Makeconfig (after-link): New variable.
9833         (+link-pie, +link-pie-tests): Use it.
9834         (+link-static, +link-static-tests): Likewise.
9835         (+link, +link-tests): Likewise.
9836         * Makerules (build-module, build-module-asneeded): Likewise.
9837         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9838         Likewise.
9839         * elf/Makefile ($(objpfx)ld.so): Likewise.
9841 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
9843         [BZ #17965]
9844         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9845         both struct timeval and struct timespec.
9847 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
9849         [BZ #16560]
9850         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9851         and redefine.
9852         (__ieee754_exp2l): Do not multiply small fractional parts by
9853         M_LN2l.
9854         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9855         small argument.
9856         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9857         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9858         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9859         * math/auto-libm-test-in: Add more tests of exp2.
9860         * math/auto-libm-test-out: Regenerated.
9862 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9864         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9865         unaligned path.
9867 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9869         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9870         little endian.
9872 2015-02-12  Andreas Schwab  <schwab@suse.de>
9874         [BZ #15790]
9875         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9876         Filter out elision flags from value returned in kind.
9877         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9878         * nptl/tst-pthread-mutexattr.c: New file.
9880 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9882         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9883         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9884         into gnu-gnu, and update comment to refer to abi-tags.
9886 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
9888         [BZ #15467]
9889         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9890         (__sincos): Set errno to EDOM for infinite argument.
9891         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9892         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9893         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9894         (__sincosl): Set errno to EDOM for infinite argument.
9895         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9896         (__sincosl): Set errno to EDOM for infinite argument.
9897         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9898         (__sincosl): Set errno to EDOM for infinite argument.
9899         * math/libm-test.inc (sincos_test_data): Test errno setting.
9901 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
9903         * string/strxfrm_l.c: Remove #define STRCMP.
9904         * string/strcoll_l.c: Remove #define STRLEN.
9905         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9906         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9908 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
9910         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9911         * sysdeps/mips/mips32/sfp-machine.h: ... here.
9912         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9913         * sysdeps/mips/mips64/Makefile: ... here.
9914         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9915         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9916         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9917         * sysdeps/mips/mips64/sfp-machine.h: ... here.
9918         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9919         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9920         * sysdeps/mips/mips64/n64/Implies: Likewise.
9922 2015-02-10  Roland McGrath  <roland@hack.frob.com>
9924         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9925         <sys/time.h>, <string.h>, and <errno.h>.
9926         (dest_offset, dest_address, value, zero): Remove unused variables.
9927         (ldouble): Remove typedef.
9928         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9929         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
9930         1).  Fix code style.
9931         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9932         (check): Function removed.
9933         (CHECK): New macro.
9934         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
9935         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9936         Don't call set_sigaction_FP and remove_sigaction_FP here.
9937         (ldouble_test): Just use 'long double' as macro argument, no need for
9938         the 'ldouble' typedef.
9939         (do_test): Set up SIGFPE handler at start, using plain signal rather
9940         than sigaction.  Fix code style.
9942 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
9944         [BZ #17949]
9945         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9946         jump label.
9948 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9950         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9951         * sysdeps/powerpc/powerpc32/configure: Regenerated.
9953         * sysdeps/powerpc/configure.ac: Remove file.
9954         * sysdeps/powerpc/configure: Likewise.
9956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9957         [sysdep_routines]: Remove wordcopy-power6 object.
9958         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9959         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9960         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9961         (__memmove_ppc32): Likewise.
9962         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9963         file.
9964         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9966         Remove preprocessor.
9968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9969         [sysdep_routines]: Remove wide chars objects.
9970         [wcsmbs]: New rule for wide char objects.
9972         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9973         Remove wordcopy-power6 obejct.
9974         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9975         Use local call for wordcopy and memcpy symbols.
9976         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9977         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9978         implementation for loader.
9979         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9981         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9982         Remove wordcopy-power7 object.
9983         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9984         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9985         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9986         (_wordcopy_fwd_dest_aligned): Likewise.
9987         (_wordcopy_bwd_aligned): Likewise.
9988         (_wordcopy_bwd_dest_aligned): Likewise.
9990         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9991         Rewrite to call __memmove_ppc instead of include default
9992         implementation.
9994         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9995         Remove wide chars objects.
9996         [wcsmbs]: New rule for wide char objects.
9998 2015-02-09  Andreas Schwab  <schwab@suse.de>
10000         [BZ #17912]
10001         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10002         in terms of __O_DIRECTORY.
10004 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10006         * time/getdate.c: Include <stdbool.h>.
10007         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
10008         call PTR_MANGLE.
10009         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
10010         PTR_DEMANGLE.
10012 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
10014         Add ersatz _Static_assert on older C hosts
10015         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
10016         pre-C11 C platform that is not known to support _Static_assert.
10018 2015-02-07  Richard Braun  <rbraun@sceen.net>
10020         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
10021         sigstate.
10022         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
10024 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10026         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10027         priority against unexistent AIO_PRIO_DELTA_MAX.
10028         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10029         instead of int.
10030         * misc/fchflags.c (fchflags): Likewise.
10031         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10032         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10033         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10034         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10035         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10036         Declare macros.
10037         [__USE_MISC] (chflags, fchflags): Declare functions.
10038         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10039         EINVAL when nfds is greater than FD_SETSIZE.
10040         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10041         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10042         45.
10043         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10044         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10045         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10046         MACH_RCV_TIMED_OUT.
10047         * hurd/hurd/signal.h (_hurd_self_sigstate,
10048         _hurd_critical_section_lock, _hurd_critical_section_unlock):
10049         Explicit casts from void *.
10050         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10051         * abi-tags: Rename gnu-gnu os into gnu.
10053         [BZ #4719]
10054         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10055         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10056         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10057         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10058         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10059         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10061         [BZ #17944]
10062         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10063         duplicates ADDR->sun_path with sockaddr LEN limitation.
10064         * sysdeps/mach/hurd/connect.c: Include <string.h>
10065         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10066         * sysdeps/mach/hurd/sendmsg.c: Likewise.
10067         * sysdeps/mach/hurd/sendto.c: Likewise.
10068         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10069         implementing it by hand.
10071 2015-02-06  Roland McGrath  <roland@hack.frob.com>
10073         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10074         Use sfi_breg on ldr.
10075         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10076         Likewise.
10078         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10079         it's defined.
10080         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10081         Test SIGSETXID only if it's defined.
10083         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10085         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10086         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
10088         * nptl/tst-align2.c: Moved ...
10089         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10090         * nptl/Makefile (tests): Remove tst-align2.
10091         * sysdeps/unix/sysv/linux/Makefile
10092         [$(subdir) = nptl] (tests): Add tst-align-clone.
10093         * nptl/tst-getpid1.c: Moved ...
10094         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10095         * nptl/tst-getpid2.c: Moved ...
10096         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10097         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10098         * sysdeps/unix/sysv/linux/Makefile
10099         [$(subdir) = nptl] (tests): ... here.
10100         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10101         * sysdeps/unix/sysv/linux/Makefile
10102         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10104         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10105         Drop trailing \n from perror argument.  Use return rather than exit.
10107         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10108         on [SA_SIGINFO].
10109         * nptl/tst-cancel21.c (do_test): Likewise.
10110         * debug/tst-backtrace6.c: Include <signal.h> first thing.
10111         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10112         [!SA_SIGINFO]: Make it a stub test.
10114         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10115         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10117         * posix/tst-getlogin.c: Move to ...
10118         * login/tst-getlogin.c: ... here.
10119         * posix/Makefile (tests): Move tst-getlogin to ...
10120         * login/Makefile (tests): ... here.
10122         * libio/tst-atime.c (do_test): Move local variables SV and E
10123         inside [ST_NOATIME] conditional.
10125         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10127         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10129         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10130         (wait_code): New function replaces macro.
10131         Call nanosleep rather than syscall.
10133         * nptl/pt-system.c: Rewritten.  Put everything under
10134         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10135         Use IFUNC to redirect when possible.
10137         * nptl/pt-longjmp.c: Rewritten.  Put everything under
10138         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10139         Use IFUNC to redirect when possible.
10141         * nptl/pt-fork.c: Rewritten.  Put everything under
10142         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10143         Use IFUNC to redirect when possible.
10144         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10146         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10147         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10148         unconditionally nowadays.  This included the only reference to
10149         __vdso_clock_gettime that appears outside libc proper.
10150         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10151         Remove version set (containing only __vdso_clock_gettime).
10152         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10153         Add attribute_hidden.
10154         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10155         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10156         libc_hidden_data_def.
10157         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10158         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10160         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10161         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10162         setrpcent, and getrpcport to ...
10163         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10164         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10165         getrpcbynumber_r, and getrpcent_r to ...
10166         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10167         * inet/getrpcbyname.c: Moved ...
10168         * sunrpc/getrpcbyname.c: ... here.
10169         * inet/getrpcbyname_r.c: Moved ...
10170         * sunrpc/getrpcbyname_r.c: ... here.
10171         * inet/getrpcbynumber.c: Moved ...
10172         * sunrpc/getrpcbynumber.c: ... here.
10173         * inet/getrpcbynumber_r.c: Moved ...
10174         * sunrpc/getrpcbynumber_r.c: ... here.
10175         * inet/getrpcent.c: Moved ...
10176         * sunrpc/getrpcent.c: ... here.
10177         * inet/getrpcent_r.c: Moved ...
10178         * sunrpc/getrpcent_r.c: ... here.
10179         * inet/Makefile (routines): Move those to ...
10180         * sunrpc/Makefile (routines): ... here.
10181         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10182         the $(subdirs) list.
10183         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
10184         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10185         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10186         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10188         * elf/Makefile (routines): Include $(all-dl-routines), not just
10189         $(dl-routines).
10190         (rtld-routines): Likewise.  Use = rather than :=.
10191         * sysdeps/aarch64/Makefile [$(subdir) = elf]
10192         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10193         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10194         * sysdeps/arm/Makefile: Likewise.
10195         * sysdeps/i386/Makefile: Likewise.
10196         * sysdeps/x86_64/Makefile: Likewise.
10197         * sysdeps/hppa/Makefile [$(subdir) = elf]
10198         (sysdep_routines, sysdep-rtld-routines): Don't add
10199         $(sysdep-dl-routines) to these.
10200         * sysdeps/ia64/Makefile: Likewise.
10201         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10202         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10203         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10204         Don't add dl-static to these; sysdep-dl-routines alone is enough.
10205         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10206         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10207         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10208         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10209         * sysdeps/powerpc/Makefile [$(subdir) = elf]
10210         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10211         these; sysdep-dl-routines alone is enough.
10213 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
10215         [BZ #17932]
10216         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10217         where multiplication results in zero and third argument is finite
10218         and nonzero.
10219         * math/auto-libm-test-in: Add more tests of fma.
10220         * math/auto-libm-test-out: Regenerated.
10222         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10223         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10224         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10225         (_FP_CMP_EQ): Likewise.
10226         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10228         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10229         extra argument CHECK_NAN.  Redefine as wrapper around
10230         _FP_EXTEND_CNAN.
10232 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
10234         * version.h (RELEASE): Set to "stable".
10235         (VERSION): Set to "2.21"
10236         * include/features.h (__GLIBC_MINOR__): Set to 21.
10238         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10240 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10241             Paul Eggert  <eggert@cs.ucla.edu>
10243         [BZ #16618]
10244         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10245         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10246         size in bytes. Store needed elements in wpmax. Use needed size
10247         in bytes for extend_alloca.
10249 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
10251         * manual/install.texi: Latest tested versions are GCC 4.9.2,
10252         binutls 2.25, and texinfo 5.2.
10253         * INSTALL: Regenerate.
10254         * sysdeps/nios2/configure: Regenerate.
10255         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10256         * manual/contrib.texi: Update.
10257         * po/be.po: Update.
10258         * po/bg.po: Update.
10259         * po/ca.po: Update.
10260         * po/cs.po: Update.
10261         * po/da.po: Update.
10262         * po/de.po: Update.
10263         * po/el.po: Update.
10264         * po/eo.po: Update.
10265         * po/es.po: Update.
10266         * po/fi.po: Update.
10267         * po/fr.po: Update.
10268         * po/gl.po: Update.
10269         * po/hr.po: Update.
10270         * po/hu.po: Update.
10271         * po/ia.po: Update.
10272         * po/id.po: Update.
10273         * po/it.po: Update.
10274         * po/ja.po: Update.
10275         * po/ko.po: Update.
10276         * po/lt.po: Update.
10277         * po/nb.po: Update.
10278         * po/nl.po: Update.
10279         * po/pl.po: Update.
10280         * po/pt_BR.po: Update.
10281         * po/ru.po: Update.
10282         * po/rw.po: Update.
10283         * po/sk.po: Update.
10284         * po/sl.po: Update.
10285         * po/sv.po: Update.
10286         * po/tr.po: Update.
10287         * po/uk.po: Update.
10288         * po/vi.po: Update.
10289         * po/zh_CN.po: Update.
10290         * po/zh_TW.po: Update.
10292         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10293         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10294         * sysdeps/hppa/dl-irel.h: Remove #warning.
10295         * sysdeps/hppa/entry.h: Provide prototype for
10296         __canonicalize_funcptr_for_compare and cast argument.
10297         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10298         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10299         * sysdeps/hppa/sotruss-lib.c: New file.
10300         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10301         (atomic_compare_and_exchange_val_acq): Use __typeof__.
10302         (atomic_compare_and_exchange_bool_acq): Likewise.
10303         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10304         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10306         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10307         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10308         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10310 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
10312         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10313         called function in non-PIC case.
10315 2015-01-31  David S. Miller  <davem@davemloft.net>
10317         * sysdeps/sparc/sparc32/bits/atomic.h
10318         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10319         unlock not after it.
10320         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10321         volatile register usage warnings from the compiler.
10323         * sysdeps/sparc/nptl/sem_init.c: Delete.
10324         * sysdeps/sparc/nptl/sem_post.c: Delete.
10325         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10326         * sysdeps/sparc/nptl/sem_wait.c: Delete.
10327         * sysdeps/sparc/sparc32/sem_init.c: New file.
10328         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10329         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10330         padding explicitly initialized.
10331         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10332         padding for in-semaphore spinlock.
10333         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10334         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10335         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10336         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10337         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10338         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10339         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10340         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10341         version.
10342         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10343         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10345 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10347         [BZ #17801]
10348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10349         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10350         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10351         New.
10352         (index_AVX_Fast_Unaligned_Load): Likewise.
10353         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10354         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10355         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10356         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10357         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10358         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10359         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10360         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10361         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10363 2015-01-29  Andreas Schwab  <schwab@suse.de>
10365         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10367 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
10369         [BZ #17892]
10370         * nscd/nscd_stat.c (send_stats): Initialize DATA.
10372 2015-01-28  Martin Sebor  <msebor@redhat.com>
10374         * math/README.libm-test: Clarify. Add "How to read the test output."
10376 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
10378         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10379         Define to 0.
10381 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
10383         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10384         (__HAVE_64B_ATOMICS): Define to 0.
10386 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10388         [BZ #17885]
10389         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10390         value to set as new flag.
10392         [BZ #16576]
10393         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10394         and use _ARCH_PPCSQ instead.
10395         (__ieee754_sqrt): Likewise.
10396         (__ieee754_sqrtf): Likewise.
10397         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10398         _ARCH_PPCSQ is defined.
10399         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10400         fsqrt instruction.
10401         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10402         _ARCH_PPCSQ is defined.
10403         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10404         fsqrts instruction.
10405         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10407 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10409         * iconv/loop.c: Suppress array out of bound warning caused by GCC
10410         bug (GCC BZ #64739).
10412 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
10414         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10415         Mark _retval as used.
10416         (lll_futex_wake_unlock): Likewise.
10417         (lll_futex_timed_wait_requeue_pi): Likewise.
10419         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10420         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10421         register variables.
10423         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10424         libm_hidden_def.
10426         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10427         (__bswap_64): Mark as __always_inline.
10429 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
10431         [BZ #15378]
10432         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10433         when none of the search directories exist.
10435 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10437         [BZ #17869]
10438         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10439         power8 in .machine directive.
10441         [BZ #17868]
10442         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10443         set dependency from opd value.
10445 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
10447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10448         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10449         architecture.
10451 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
10453         [BZ #17870]
10454         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10455         with uint64_t.
10456         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10457         (uint64_t) 1.
10458         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10459         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10460         Replace 1UL with (uint64_t) 1.
10461         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10462         int with uint64_t.
10464 2015-01-23  Roland McGrath  <roland@hack.frob.com>
10466         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10467         (if_freenameindex): Likewise.
10469         * resource/getrlimit64.c: Add missing libc_hidden_def.
10471 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
10473         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10474         __label__.
10475         (_FP_FMA): Likewise.
10476         (_FP_TO_INT_ROUND): Likewise.
10477         (_FP_FROM_INT): Likewise.
10479 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10481         [BZ #16418]
10482         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10483         Make code racy and cancel safe.
10485 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
10487         * sysdeps/arm/unwind-resume.h: Fix copyright year.
10488         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10489         attribution.
10491         * pwd/tst-getpw.c: Rewrite.
10493         [BZ #17702]
10494         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10495         (modules-names): Add moddummy1 and moddummy2.
10496         ($(objpfx)tst-rec-dlopen): Define.
10497         * dlfcn/moddummy1.c: New file.
10498         * dlfcn/moddummy2.c: New file.
10499         * dlfcn/tst-rec-dlopen.c: New file.
10500         * elf/dl-cache.c (_dl_load_cache_lookup):
10501         Return char*. Copy result with alloca/strcpy/strdup.
10502         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10503         returns char*. Free cached. If not saving realname
10504         free cached.
10505         * elf/dl-open.c (dl_open_worker): Do not assert that
10506         _r_debug->r_state is RT_CONSISTENT.
10507         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10508         returns char*.
10510 2015-01-21  Torvald Riegel  <triegel@redhat.com>
10511             Carlos O'Donell  <carlos@redhat.com>
10513         [BZ #12674]
10514         * nptl/sem_waitcommon.c: New file.
10515         * nptl/sem_wait.c: Include sem_waitcommon.c.
10516         (__sem_wait_cleanup, do_futex_wait): Remove.
10517         (__new_sem_wait): Adapt.
10518         (__new_sem_trywait): New function.
10519         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10520         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10521         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10522         (sem_timedwait): Adapt.
10523         * nptl/sem_post.c (__new_sem_post): Adapt.
10524         (futex_wake): New function.
10525         (__old_sem_post): Add release MO fence.
10526         * nptl/sem_open.c (sem_open): Adapt.
10527         * nptl/sem_init.c (__new_sem_init): Adapt.
10528         (futex_private_if_supported): New function.
10529         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10530         (__old_sem_getvalue): Add using previous code.
10531         * sysdeps/nptl/internaltypes.h: Adapt.
10532         * nptl/tst-sem13.c (do_test): Adapt.
10533         * nptl/tst-sem11.c (main): Adapt.
10534         * nptl/sem_trywait.c: Remove.
10535         * nptl/DESIGN-sem.txt: Remove.
10536         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10537         (gen-as-const-headers): Remove structsem.sym.
10538         * nptl/structsem.sym: Remove.
10539         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10540         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10541         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10542         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10543         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10544         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10545         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10546         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10547         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10548         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10549         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10550         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10551         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10552         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10553         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10554         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10555         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10556         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10557         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10558         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10559         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10560         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10562 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
10564         * INSTALL: Regenerated.
10566         * po/libc.pot: Regenerated.
10568 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
10569             Sandra Loosemore  <sandra@codesourcery.com>
10570             Andrew Jenner  <andrew@codesourcery.com>
10571             Joseph Myers  <joseph@codesourcery.com>
10572             Nathan Sidwell  <nathan@codesourcery.com>
10574         * NEWS: Mention new Nios II port.
10575         * sysdeps/nios2/Implies: New file.
10576         * sysdeps/nios2/Makefile: New file.
10577         * sysdeps/nios2/Subdirs: New file.
10578         * sysdeps/nios2/Versions: New file.
10579         * sysdeps/nios2/__longjmp.S: New file.
10580         * sysdeps/nios2/abort-instr.h: New file.
10581         * sysdeps/nios2/backtrace.c: New file.
10582         * sysdeps/nios2/bits/endian.h: New file.
10583         * sysdeps/nios2/bits/fenv.h: New file.
10584         * sysdeps/nios2/bits/link.h: New file.
10585         * sysdeps/nios2/bits/setjmp.h: New file.
10586         * sysdeps/nios2/bsd-_setjmp.S: New file.
10587         * sysdeps/nios2/bsd-setjmp.S: New file.
10588         * sysdeps/nios2/configure: New generated file.
10589         * sysdeps/nios2/configure.ac: New file.
10590         * sysdeps/nios2/crti.S: New file.
10591         * sysdeps/nios2/crtn.S: New file.
10592         * sysdeps/nios2/dl-init.c: New file.
10593         * sysdeps/nios2/dl-machine.h: New file.
10594         * sysdeps/nios2/dl-sysdep.h: New file.
10595         * sysdeps/nios2/dl-tls.h: New file.
10596         * sysdeps/nios2/dl-trampoline.S: New file.
10597         * sysdeps/nios2/gccframe.h: New file.
10598         * sysdeps/nios2/gmp-mparam.h: New file.
10599         * sysdeps/nios2/jmpbuf-offsets.h: New file.
10600         * sysdeps/nios2/jmpbuf-unwind.h: New file.
10601         * sysdeps/nios2/ldsodefs.h: New file.
10602         * sysdeps/nios2/libc-tls.c: New file.
10603         * sysdeps/nios2/libm-test-ulps: New file.
10604         * sysdeps/nios2/machine-gmon.h: New file.
10605         * sysdeps/nios2/math-tests.h: New file.
10606         * sysdeps/nios2/math_private.h: New file.
10607         * sysdeps/nios2/memusage.h: New file.
10608         * sysdeps/nios2/nptl/Makefile: New file.
10609         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10610         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10611         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10612         * sysdeps/nios2/nptl/pthreaddef.h: New file.
10613         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10614         * sysdeps/nios2/nptl/tls.h: New file.
10615         * sysdeps/nios2/preconfigure: New file.
10616         * sysdeps/nios2/s_fma.c: New file.
10617         * sysdeps/nios2/s_fmaf.c: New file.
10618         * sysdeps/nios2/setjmp.S: New file.
10619         * sysdeps/nios2/sfp-machine.h: New file.
10620         * sysdeps/nios2/sotruss-lib.c: New file.
10621         * sysdeps/nios2/stackguard-macros.h: New file.
10622         * sysdeps/nios2/stackinfo.h: New file.
10623         * sysdeps/nios2/start.S: New file.
10624         * sysdeps/nios2/sysdep.h: New file.
10625         * sysdeps/nios2/tls-macros.h: New file.
10626         * sysdeps/nios2/tst-audit.h: New file.
10627         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10628         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10629         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10630         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10631         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10632         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10633         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10634         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10635         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10636         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10637         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10638         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10639         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10640         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10641         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10642         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10643         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10644         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10645         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10646         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10647         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10648         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10649         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10650         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10651         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10652         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10653         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10654         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10655         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10656         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10657         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10658         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10659         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10660         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10661         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10662         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10663         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10664         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10665         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10666         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10667         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10668         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10669         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10670         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10672 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10674         [BZ #17844]
10675         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10676         (getutent): Use weak_alias in non SHARED case
10677         and default_symbol_version in SHARED case.
10678         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10679         (getutent_r, pututline): Likewise.
10680         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10681         (getutid): Likewise.
10682         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10683         (getutid_r): Likewise.
10684         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10685         (getutline): Likewise.
10686         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10687         (getutline_r): Likewise.
10688         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10689         (updwtmp): Likewise.
10691 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10693         [BZ #17848]
10694         * sysdeps/s390/s390-32/memcmp.S
10695         (memcmp_g5): Rename to __memcmp_g5.
10696         * sysdeps/s390/s390-32/memcpy.S
10697         (memcpy_g5): Rename to __memcpy_g5.
10698         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10699         (memcpy_mvcle) Rename to __memcpy_mvcle.
10700         * sysdeps/s390/s390-32/memset.S
10701         (memset_g5): Rename to __memset_g5.
10702         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10703         (IFUNC_RESOLVE): Prefix ifunc-resolve function
10704         and use prefixed functions.
10705         * sysdeps/s390/s390-32/multiarch/memcmp.S
10706         (memcmp_z196): Rename to __memcmp_z196.
10707         (memcmp_z10): Rename to __memcmp_z10.
10708         (memcmp): Set alias to __memcmp_g5.
10709         (bcmp): Set alias to __memcmp_g5.
10710         * sysdeps/s390/s390-32/multiarch/memcpy.S
10711         (memcpy_z196): Rename to __memcpy_z196.
10712         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10713         (memcpy_z10): Rename to __memcpy_z10.
10714         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10715         (memcpy): Set alias to __memcpy_g5.
10716         * sysdeps/s390/s390-32/multiarch/memset.S
10717         (memset_z196): Rename to __memset_z196.
10718         Jump to __memset_mvcle instead of memset_mvcle.
10719         (memset_z10): Rename to __memset_z10.
10720         Jump to __memset_mvcle instead of memset_mvcle.
10721         (memset_mvcle) Rename to __memset_mvcle.
10722         (memset): Set alias to __memset_g5.
10723         * sysdeps/s390/s390-64/memcmp.S
10724         (memcmp_z900): Rename to __memcmp_z900.
10725         * sysdeps/s390/s390-64/memcpy.S
10726         (memcpy_z900): Rename to __memcpy_z900.
10727         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10728         (memcpy_mvcle) Rename to __memcpy_mvcle.
10729         * sysdeps/s390/s390-64/memset.S
10730         (memset_z900): Rename to __memset_z900.
10731         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10732         (IFUNC_RESOLVE): Prefix ifunc-resolve function
10733         and use prefixed functions.
10734         * sysdeps/s390/s390-64/multiarch/memcmp.S
10735         (memcmp_z196): Rename to __memcmp_z196.
10736         (memcmp_z10): Rename to __memcmp_z10.
10737         (memcmp): Set alias to __memcmp_z900.
10738         (bcmp): Set alias to __memcmp_z900.
10739         * sysdeps/s390/s390-64/multiarch/memcpy.S
10740         (memcpy_z196): Rename to __memcpy_z196.
10741         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10742         (memcpy_z10): Rename to __memcpy_z10.
10743         Jump to __memcpy_mvcle instead of memcpy_mvcle.
10744         (memcpy): Set alias to __memcpy_z900.
10745         * sysdeps/s390/s390-64/multiarch/memset.S
10746         (memset_z196): Rename to __memset_z196.
10747         Jump to __memset_mvcle instead of memset_mvcle.
10748         (memset_z10): Rename to __memset_z10.
10749         Jump to __memset_mvcle instead of memset_mvcle.
10750         (memset_mvcle) Rename to __memset_mvcle.
10751         (memset): Set alias to __memset_z900.
10753 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
10755         [BZ #17748]
10756         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10757         __fesetenv instead of fesetenv.
10759 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10761         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10762         macro.
10764 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10766         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10767         regression on LE.
10769         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10770         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10771         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10772         strncmp-power8 object.
10773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10774         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10775         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10776         * NEWS: Update.
10778 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10779             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10781         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10782         trailing byte check.
10784 2015-01-13  David S. Miller  <davem@davemloft.net>
10786         * include/signal.h (__sigreturn): Guard with __USE_MISC.
10788 2015-01-13  Roland McGrath  <roland@hack.frob.com>
10790         * login/logout.c (logout): Use memset rather than bzero.
10791         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10792         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10793         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10794         (_gethtbyaddr): Likewise.
10795         * locale/programs/simple-hash.c (bcopy): Macro removed.
10797 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10799         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10800         Add strcmp-power8 object.
10801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10802         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10803         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10804         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10805         __strcmp_power8 implementation.
10806         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10807         * NEWS: Update.
10809         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10810         Add strncpy-power8 and stpncpy-power8 objects.
10811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10812         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10813         implementations.
10814         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10815         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10816         __stpncpy_power8 implementation.
10817         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10818         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10819         __strncpy_power8 implementation.
10820         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10821         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10822         * NEWS: Update.
10824         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10825         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10826         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10828         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10829         strncat-power8 object.
10830         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10831         __strcat_power8 implementation.
10832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10833         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10834         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10835         optimized strcat for power8.
10837         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10838         strcpy-power8 and stpcpy-power8 objects.
10839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10840         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10841         implementations.
10842         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10843         multiarch stpcpy implementation for POWER8.
10844         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10845         multiarch strcpy implementation for POWER8.
10846         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10847         __strcpy_power8 function.
10848         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10849         stpcpy for POWER8.
10850         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10851         strcpy for POWER8.
10852         * NEWS: Update.
10854 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
10856         [BZ #16009]
10857         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10858         weights and rules. Use do_xfrm_cached if data fits in cache,
10859         do_xfrm otherwise.  Moved former main loop to...
10860         * (do_xfrm_cached): New function.
10861         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10862         find_idx, find_position and stack_push.
10863         * (find_idx): New function.
10864         * (find_position): Likewise.
10865         * localedata/sort-test.sh: Added test run for do_xfrm.
10866         * localedata/xfrm-test.c (main): Added command line option
10867         -nocache to run the test with strings that are too large for
10868         the STRXFRM cache.
10870 2015-01-13  Torvald Riegel  <triegel@redhat.com>
10872         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10873         variable to lll_futex_wake call, not the value itself.
10875 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
10877         [BZ #17803]
10878         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10879         twom64.  Adjust value to 0x1p-64L.
10880         (__scalblnl): Only return standard underflowing result for K <=
10881         -64 not K <= -63; adjust exponent for underflowing result by 64
10882         not 63.
10883         * math/libm-test.inc (scalbn_test_data): Add more tests.
10884         (scalbln_test_data): Likewise.
10886         [BZ #17834]
10887         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10888         0x1p63L.
10889         (__scalblnl): Get new exponent of adjusted subnormal value from ES
10890         not HX.
10891         * math/libm-test.inc (scalbn_test_data): Add more tests.
10892         (scalbln_test_data): Likewise.
10894 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10895             Stefani Seibold  <stefani@seibold.net>
10897         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10898         (sysdep_routines): Add dl-vdso here, ...
10899         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10900         (sysdep_routines): ... not here.
10901         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10902         fallback when vDSO is not presented.
10903         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10904         Define with libc_hidden_proto/libc_hidden_data_def definitions.
10905         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10906         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10907         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10908         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10909         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10910         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10911         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10912         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10913         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
10914         fallback configurable symbol when vDSO is not available.
10915         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10916         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
10917         be able to redefine fallback symbol when vDSO is not available.
10918         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10919         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10921 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10923         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10924         (TLS_INIT_TP): Add tm_capable initialization.
10925         (TLS_DEFINE_INIT_TP): Likewise.
10926         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10927         TCB.
10928         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10929         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10930         calculation.
10931         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10932         transactoion is lock elision is built and TCB tm_capable is set.
10933         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10935         (INTERNAL_SYSCALL_NCS): Likewise.
10936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10937         (INTERNAL_SYSCALL_NCS): Likewise.
10938         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10940         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10941         for powerpc.
10942         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10943         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10944         and remove it for 32 bits case.
10945         [pthread_rwlock_t] (__rwelision): New field for lock elision.
10946         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10947         initialization.
10948         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10949         Disable lock elision with rdlocks if elision is not available.
10951         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10952         (sysdep_routines): Add lock elision objects.
10953         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10954         [pthread_mutex_t] (__spins): Rework to add lock elision field.
10955         [pthread_mutex_t] (__elision): Add field.
10956         [__PTHREAD_SPINS]: Adjust to init lock elision field.
10957         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10958         elision definitions for powerpc.
10959         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10960         implementation of lock elision for powerpc.
10961         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10962         implementation of timed lock elision for powerpc.
10963         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10964         implementation of trylock with lock elision for powerpc.
10965         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10966         implementaion of unlock for lock elision for powerpc.
10967         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10968         automatic enable lock elision for mutexes.
10969         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10970         transaction execution definitions for powerpc.
10971         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10972         definitions.
10973         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10974         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10975         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10976         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10977         * NEWS: Update.
10979 2015-01-09  Roland McGrath  <roland@hack.frob.com>
10981         * sysdeps/posix/shm-directory.c: Use <> rather than ""
10982         for #include of <shm-directory.h>.
10984 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
10986         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10987         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10989 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
10991         [BZ #17791]
10992         * NEWS: Mention bug fix.
10993         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10994         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10995         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10997 2015-01-09  Torvald Riegel <triegel@redhat.com>
10999         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
11001 2015-01-09  Torvald Riegel <triegel@redhat.com>
11003         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
11005 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11007         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
11008         pointer and cast to uintptr_t.
11010 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11012         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
11013         removed.
11014         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
11016 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11018         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
11019         of 0.
11021 2015-01-08  Roland McGrath  <roland@hack.frob.com>
11023         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11024         <nptl/pthreadP.h> instead.
11025         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11027         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11028         already defined.
11029         [__SIGRTMIN] (init): Function removed.
11030         [__SIGRTMIN] (initialized): Variable removed.
11031         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11032         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11033         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11034         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11035         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11036         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11037         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11038         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11039         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11040         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11041         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11042         * sysdeps/nptl/allocrtsig.c: New file.
11043         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11044         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11045         * sysdeps/generic/testrtsig.h: File removed.
11047         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11048         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11050         * nptl/nptl-init.c (pthread_functions): Conditionalize
11051         .ptr__nptl_setxid initialization on [SIGSETXID].
11053         * sysdeps/nptl/sys/procfs.h: New file.
11054         * nptl_db/Makefile (headers): Add it.
11055         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11057         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11058         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11059         * nptl/pthread_attr_setaffinity.c: Include it.
11060         * nptl/pthread_setattr_default_np.c: Likewise.
11061         * nptl/check-cpuset.h: New file.
11063 2015-01-08  Richard Henderson  <rth@redhat.com>
11065         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11066         (CFLAGS-tst-execstack-prog.c): Likewise.
11067         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11069 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
11070             Sandra Loosemore  <sandra@codesourcery.com>
11071             Andrew Jenner  <andrew@codesourcery.com>
11072             Joseph Myers  <joseph@codesourcery.com>
11073             Nathan Sidwell  <nathan@codesourcery.com>
11075         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11076         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11077         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11078         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11079         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11080         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11081         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11082         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11083         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11084         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11085         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11086         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11087         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11088         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11089         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11090         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11091         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11093 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11095         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11096         timespec struct member in syscall macro.
11097         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11098         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11099         first timeval struct member in syscall macro.
11100         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11102 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
11104         [BZ #17748]
11105         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11106         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11107         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11108         __feupdateenv and define as weak alias of __feupdateenv.  Use
11109         libm_hidden_weak.
11110         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11111         libm_hidden_def.
11112         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11113         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
11114         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11115         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11116         libm_hidden_def.
11117         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11118         __feupdateenv and define as weak alias of __feupdateenv.  Use
11119         libm_hidden_weak.
11120         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11121         libm_hidden_def.
11122         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11123         __feupdateenv and define as weak alias of __feupdateenv.  Use
11124         libm_hidden_weak.
11125         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11126         libm_hidden_def.
11127         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11128         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11129         (__feupdateenv): Likewise.
11130         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11131         __feupdateenv and define as weak alias of __feupdateenv.  Use
11132         libm_hidden_weak.
11133         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11134         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11135         libm_hidden_def.
11136         * sysdeps/tile/math_private.h (__feupdateenv): New inline
11137         function.
11138         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11139         libm_hidden_def.
11140         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11141         __feupdateenv instead of feupdateenv.
11142         (default_libc_feupdateenv_test): Likewise.
11143         (libc_feresetround_ctx): Likewise.
11145 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11147         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11148         prototype.
11150 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
11152         * posix/regcomp.c (parse_bracket_exp): Initialize type to
11153         COLL_SYM in a couple of places to avoid uninitialized variable
11154         wanings on tilegx gcc 4.8.2.
11156 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11158         * sysdeps/aarch64/strcpy.S: New file.
11159         * sysdeps/aarch64/stpcpy.S: New file.
11160         * NEWS: Updated.
11162 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11164         * sysdeps/aarch64/strrchr.S: New file.
11165         * NEWS: Updated.
11167 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
11169         [BZ #17658]
11170         * stdlib/setenv.c: Fix memory leak when setting large,
11171         duplicate string.
11173 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
11175         [BZ #17273]
11176         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11177         and tabs from buffer before parsing fstab entry.
11178         * misc/tst-mntent.c (main): Add test for mount entry with
11179         trailing spaces and tabs.
11181 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
11183         [BZ #17748]
11184         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
11185         * math/fesetround.c (fesetround): Rename to __fesetround and
11186         define as weak alias of __fesetround.  Use libm_hidden_weak.
11187         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11188         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11189         * sysdeps/arm/fesetround.c (fesetround): Likewise.
11190         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11191         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11192         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11193         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11194         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11195         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11196         __fesetround_inline.
11197         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11198         __fesetround_inline instead of __fesetround.
11199         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11200         __fesetround and define as weak alias of __fesetround.  Use
11201         libm_hidden_weak.  Call __fesetround_inline instead of
11202         __fesetround.
11203         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11204         __fesetround and define as weak alias of __fesetround.  Use
11205         libm_hidden_weak.
11206         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11207         Likewise.
11208         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11209         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11210         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11211         * sysdeps/tile/math_private.h (__fesetround): New inline function.
11212         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11213         __fesetround and define as weak alias of __fesetround.  Use
11214         libm_hidden_weak.
11215         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11216         __fesetround instead of fesetround.
11217         (default_libc_feholdexcept_setround): Likewise.
11218         (libc_feholdsetround_ctx): Likewise.
11219         (libc_feholdsetround_noex_ctx): Likewise.
11221         [BZ #17748]
11222         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11223         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11224         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11225         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11226         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11227         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11228         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11229         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11230         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11231         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11232         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11233         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11234         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11235         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11236         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11237         libm_hidden_def.
11238         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11239         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11240         Likewise.
11241         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11242         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11243         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11244         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11245         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11246         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11247         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11248         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11249         __fesetenv instead of fesetenv.
11250         (libc_feresetround_noex_ctx): Likewise.
11251         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11252         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11253         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11254         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11255         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11256         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11257         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11258         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11259         (__feupdateenv): Likewise.
11260         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11261         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11262         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11263         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11265 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11267         [BZ #17806]
11268         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11269         addresses have been freed.
11271 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11273         * resolv/res_init.c (__res_vinit): Improve comments about nserv
11274         and nservall.
11276 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
11278         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11279         Clean up check_pf allocation pattern. addresses
11281 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11283         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11284         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11285         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11286         * nptl/pthread_exit.c (__pthread_exit): Likewise.
11287         * nptl/pthread_join.c (pthread_join): Likewise.
11288         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11289         * sysdeps/posix/waitid.c (__waitid): Likewise.
11290         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11291         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11292         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11293         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11295         Likewise.
11296         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11297         (__libc_pread64): Likewise.
11298         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11299         (__libc_pwrite): Likewise.
11300         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11301         (__libc_pwrite64): Likewsie.
11302         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11303         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11304         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11305         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11306         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11307         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11308         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11310         Likewise.
11311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11312         (__libc_pread64): Likewise.
11313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11314         Likewise.
11315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11316         (__libc_pwrite64): Likewise.
11317         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11318         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11319         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11320         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11321         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11322         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11323         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11324         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11325         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11326         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11327         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11328         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11329         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11330         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11331         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11332         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11333         Likewise.
11335 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11337         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11338         (CFLAGS-test-double.c): Likewise.
11339         (CFLAGS-test-ldouble.c): Likewise.
11340         (CPPFLAGS-test-ifloat.c): Likewise.
11341         (CPPFLAGS-test-idouble.c): Likewise.
11342         (CPPFLAGS-test-ildoubl.c): Likewise.
11343         (CFLAGS-test-test-fenv.c): Remove variable.
11344         (CFLAGS-test-misc.c): Likewise.
11346 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
11348         [BZ #17797]
11349         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11350         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11351         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11352         CLOCKS_PER_SEC == 1000000.
11353         * time/clocktest.c (main): Replace %ld with %jd and cast to
11354         intmax_t.
11356 2015-01-05  Roland McGrath  <roland@hack.frob.com>
11358         * sysdeps/generic/unwind-resume.h: New file.
11359         * sysdeps/gnu/unwind-resume.c: Include it.
11360         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11361         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11362         argument list.
11363         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11364         global rather than static.
11365         (_Unwind_Resume): Update user.
11366         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11367         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
11368         rather than static.  Add __attribute__ ((cold)).
11369         (_Unwind_Resume, __gcc_personality_v0): Update callers.
11370         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11371         * sysdeps/arm/arm-unwind-resume.S: New file.
11372         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11373         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11374         * sysdeps/arm/Makefile [$(subdir) = csu]
11375         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11376         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11377         Add rt-arm-unwind-resume.
11378         [$(subdir) = nptl]
11379         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11380         Add pt-arm-unwind-resume.
11381         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11382         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11384 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11386         [BZ #17748]
11387         * include/fenv.h (__feholdexcept): Declare.  Use
11388         libm_hidden_proto.
11389         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11390         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
11391         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11392         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11393         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11394         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11395         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11396         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11397         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11398         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11399         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11400         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11401         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11402         (feholdexcept): Likewise.
11403         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11404         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11405         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11406         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11407         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11408         __feholdexcept instead of feholdexcept.
11409         (default_libc_feholdexcept_setround): Likewise.
11411 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11413         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11414         to avoid using stl/str to align destination.
11416 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11418         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11420 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11422         [BZ #17796]
11423         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11424         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11425         Define as weak alias not strong alias.
11427 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11429         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11430         bltzal with addiupc.
11431         (RTLD_START): Ditto.
11433 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
11435         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11436         for __vdso_* functions in declarations.
11437         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11438         definitions.
11439         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11440         INTERNAL_VSYSCALL): Use struct return types to check for error.
11442         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11443         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11444         function with cast from llround().
11445         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11446         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11447         Define.
11449 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11451         [BZ #17793]
11452         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11453         Define as weak alias not strong alias.
11455         [BZ #17635]
11456         * ctype/ctype-c99.c: New file.  isblank implementation moved from
11457         ...
11458         * ctype/ctype-extn.c: ... here.
11459         (__isblank_l): Move to ...
11460         * ctype/ctype-c99_l.c: ... here.  New file.
11461         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11462         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11463         Remove variable.
11464         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11465         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11466         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11467         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11468         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11470         [BZ #17777]
11471         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11472         (posix_fadvise64): Define as weak alias not strong alias.
11473         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11474         (posix_fallocate64): Likewise.
11475         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11476         Remove variable.
11477         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11478         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11479         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11480         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11481         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11483 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
11485         [BZ #16191]
11486         * NEWS: Mention bug fix.
11487         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11488         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11489         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11490         (HOST_STACK_END_ADDR): Likewise.
11492 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11494         [BZ #17748]
11495         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
11496         * math/fegetround.c (fegetround): Rename to __fegetround and
11497         define as weak alias of __fegetround.  Use libm_hidden_weak.
11498         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11499         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11500         * sysdeps/arm/fegetround.c (fegetround): Likewise.
11501         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11502         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11503         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11504         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11505         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11506         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11507         Undefine after rather than before function definition; use
11508         parentheses around function name in definition.
11509         (__fegetround): Also undefine macro after function definition.
11510         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11511         __fegetround and define as weak alias of __fegetround.  Use
11512         libm_hidden_weak.  Do not undefine as macro.
11513         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11514         Likewise.
11515         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11516         __fegetround and define as weak alias of __fegetround.  Use
11517         libm_hidden_weak.
11518         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11519         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11520         * sysdeps/tile/math_private.h (__fegetround): New inline function.
11521         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11522         __fegetround and define as weak alias of __fegetround.  Use
11523         libm_hidden_weak.
11524         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11525         __fegetround instead of fegetround.
11527         [BZ #17782]
11528         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11529         Condition macro definition on [__USE_MISC].
11531         [BZ #17781]
11532         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11533         (struct sigaction): Change type of sa_flags field to int.
11535         [BZ #17780]
11536         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11537         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11538         __glibc_reserved0.
11540         * nptl/version.c (banner): Use single year in copyright notice.
11542         * NEWS: Update copyright dates.
11543         * catgets/gencat.c (print_version): Likewise.
11544         * csu/version.c (banner): Likewise.
11545         * debug/catchsegv.sh: Likewise.
11546         * debug/pcprofiledump.c (print_version): Likewise.
11547         * debug/xtrace.sh (do_version): Likewise.
11548         * elf/ldconfig.c (print_version): Likewise.
11549         * elf/ldd.bash.in: Likewise.
11550         * elf/pldd.c (print_version): Likewise.
11551         * elf/sotruss.sh: Likewise.
11552         * elf/sprof.c (print_version): Likewise.
11553         * iconv/iconv_prog.c (print_version): Likewise.
11554         * iconv/iconvconfig.c (print_version): Likewise.
11555         * locale/programs/locale.c (print_version): Likewise.
11556         * locale/programs/localedef.c (print_version): Likewise.
11557         * login/programs/pt_chown.c (print_version): Likewise.
11558         * malloc/memusage.sh (do_version): Likewise.
11559         * malloc/memusagestat.c (print_version): Likewise.
11560         * malloc/mtrace.pl: Likewise.
11561         * manual/libc.texinfo: Likewise.
11562         * nptl/version.c (banner): Likewise.
11563         * nscd/nscd.c (print_version): Likewise.
11564         * nss/getent.c (print_version): Likewise.
11565         * nss/makedb.c (print_version): Likewise.
11566         * posix/getconf.c (main): Likewise.
11567         * scripts/test-installation.pl: Likewise.
11568         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11570 2015-01-02  Will Newton  <will.newton@linaro.org>
11572         * sysdeps/arm/armv7/configure: Removed.
11573         * sysdeps/arm/armv7/configure.ac: Likewise.
11575 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11577         * All files with FSF copyright notices: Update copyright dates
11578         using scripts/update-copyrights.
11579         * intl/plural.c: Regenerated.
11580         * locale/programs/charmap-kw.h: Likewise.
11581         * locale/programs/locfile-kw.h: Likewise.
11583 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11585         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11587 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11589         [BZ #17748]
11590         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11591         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11592         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11593         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11594         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11595         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11596         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11597         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11598         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11599         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11600         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11601         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11602         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11603         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11604         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11605         libm_hidden_def.
11606         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11607         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11608         Likewise.
11609         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11610         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11611         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11612         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11613         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11614         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11615         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11616         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11617         __fegetenv instead of fegetenv.
11618         (libc_feholdsetround_noex_ctx): Likewise.
11620 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11622         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11623         (Elf_MIPS_ABIFlags_v0): New structure.
11624         (EF_MIPS_FP64): Define.
11625         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11626         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11627         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11628         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11629         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11630         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11631         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11632         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11633         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11634         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11635         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11636         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11637         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11638         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11639         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11640         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11641         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11642         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11643         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11644         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11645         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11646         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11647         field.
11648         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11649         EF_MIPS_FP64.
11650         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11651         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11652         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11653         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11654         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11655         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11656         * sysdeps/mips/tst-abi-interlink.c: Likewise.
11657         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11658         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11659         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11660         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11661         record the current FP ABI extension.
11662         (mips-mode-switch): Define to show if kernel headers support mode
11663         switching.
11664         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11665         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11666         supported SYSV ABI version to 3.
11667         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11668         feature.
11670 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11671             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11673         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11674         path.
11675         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11677 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11679         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11680         __fegetround and redefine to call __fegetround.  Remove condition
11681         on [!__NO_MATH_INLINES].
11682         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11683         function.
11684         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11685         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11686         Remove macro.
11687         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11688         instead of <fenv_libc.h>.
11689         (__llrintl): Call fegetround instead of __fegetround.
11690         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11691         instead of <fenv_libc.h>.
11692         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11693         (__lrintl): Call fegetround instead of __fegetround.
11694         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11695         instead of <fenv_libc.h>.
11696         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11697         (__rintl): Call fegetround instead of __fegetround.
11699 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11701         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11702         arrays.
11704 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
11706         [BZ #17775]
11707         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11708         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11709         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11711 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11713         * sysdeps/i386/tls-macros.h: Include <features.h>.
11714         (TLS_LE): Use non-PIC version for GCC >= 5.0.
11715         (TLS_IE): Likewise.
11716         (TLS_LD): Likewise.
11717         (TLS_GD): Likewise.
11718         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11719         define for GCC >= 5.0.
11721 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
11723         * math/test-fenv.c (test_single_exception, set_single_exc,
11724         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11725         feexcp_mask_test, feenable_test, fe_single_test): Add
11726         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11727         case where they are not used.
11728         * math/libm-test.inc: Likewise.
11729         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11730         unused in the absence of FP rounding/exception support.
11731         * stdio-common/tst-printf-round.c: Likewise.
11732         * stdlib/tst-strtod-round.c: Likewise.
11733         * stdlib/tst-strtod-underflow.c: Likewise.
11735 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
11737         [BZ #17723]
11738         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11739         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11740         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11741         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11742         libm_hidden_weak.
11743         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11744         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11745         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11746         libm_hidden_def.
11747         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11748         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11749         libm_hidden_weak.
11750         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11751         Likewise.
11752         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11753         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11754         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11755         libm_hidden_weak.
11756         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11757         libm_hidden_def.
11758         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11759         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11760         (__feraiseexcept): Likewise.
11761         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11762         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
11763         libm_hidden_weak.
11764         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11765         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11766         libm_hidden_def.
11767         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11768         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11769         Use libm_hidden_def.
11770         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11771         libm_hidden_def.
11772         (feraiseexcept): Define as weak not strong alias.  Use
11773         libm_hidden_weak.
11774         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11775         New inline function.  Factored out of ...
11776         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
11777         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11778         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11779         feraiseexcept.
11780         * math/w_acos.c (__acos): Likewise.
11781         * math/w_asin.c (__asin): Likewise.
11782         * math/w_ilogb.c (__ilogb): Likewise.
11783         * math/w_j0.c (y0): Likewise.
11784         * math/w_j1.c (y1): Likewise.
11785         * math/w_jn.c (yn): Likewise.
11786         * math/w_log.c (__log): Likewise.
11787         * math/w_log10.c (__log10): Likewise.
11788         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11789         * sysdeps/aarch64/fpu/math_private.h
11790         (libc_feupdateenv_test_aarch64): Likewise.
11791         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11792         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11793         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11794         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11795         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11796         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11797         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11798         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11799         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11800         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11802 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
11804         [BZ #17732]
11805         * io/test-utime.c (main): Replace %ld with %jd and cast to
11806         intmax_t.
11807         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11808         * nptl/tst-mutex5.c: Include <stdint.h>.
11809         (do_test): Replace %ld with %jd and cast to intmax_t.
11810         * posix/tst-regex.c (run_test): Likewise.
11811         (run_test_backwards): Likewise.
11812         * rt/tst-clock.c: Include <stdint.h>.
11813         (clock_test): Replace %ld with %jd and cast to intmax_t.
11814         * rt/tst-cpuclock1.c: Include <stdint.h>.
11815         (do_test): Replace %lu with %ju and cast to uintmax_t.
11816         * rt/tst-cpuclock2.c: Include <stdint.h>.
11817         (do_test): Replace %lu with %ju and cast to uintmax_t.
11818         * rt/tst-mqueue1.c: Include <stdint.h>.
11819         (check_attrs): Replace %ld with %jd and cast to intmax_t.
11820         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11821         intmax_t.
11822         * rt/tst-mqueue4.c (do_test): Likewise.
11823         * rt/tst-timer4.c: Include <stdint.h>.
11824         (check_ts): Replace %ld with %jd and cast to intmax_t.
11825         (do_test): Likewise.
11826         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11827         and cast to intmax_t.
11828         * sysdeps/pthread/tst-timer.c (main): Likewise.
11829         * time/clocktest.c (main): Likewise.
11830         * time/tst-posixtz.c (do_test): Likewise.
11831         * timezone/tst-timezone.c (main): Likewise.
11833 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11834             H.J. Lu  <hongjiu.lu@intel.com>
11836         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11837         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11838         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11839         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11840         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11841         version if bit_Fast_Unaligned_Load is set.
11842         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11843         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11844         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11845         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11846         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11847         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11848         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11849         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11850         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11851         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11852         to 4.
11853         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11854         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11855         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11856         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11858 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
11860         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11861         instead of #if to avoid a Wundef warning.
11862         * stdlib/tst-limits.c (do_test): Likewise.
11864         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11865         parallel other exception macros.
11866         (fegetenv): Convert from macro to extern inline so that it applies
11867         retroactively to inline functions already seen by the compiler.
11868         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11870         * posix/Makefile (before-compile): Use $(objpfx) for
11871         posix-conf-vars-def.h.
11873 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11875         * posix/getconf.c (main): Use size_t for type of I.
11876         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11877         NSPEC.
11879         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11880         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11881         * posix/posix-envs.def: Likewise.
11882         * sysdeps/posix/sysconf.c: Likewise.
11883         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11884         (specs): Remove array.
11885         * scripts/gen-posix-conf-vars.awk: Support generation of specs
11886         array.
11888         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11889         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11890         (__sysconf): Use CONF_IS_* macros.
11892         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11893         ($(objpfx)posix-conf-vars-def.h): New target.
11894         * posix/posix-conf-vars.list: New file.
11895         * posix/posix-conf-vars.h: New file.
11896         * posix/confstr.c: Include posix-conf-vars.h.
11897         (confstr): Use CONF_IS_* macros.
11898         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
11899         CONF_IS_* macros.
11900         * scripts/gen-posix-conf-vars.awk: New file.
11902 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
11904         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11905         fegetround): Add no-op macros to avoid linknamespace issues.
11907         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11908         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11910         * sysdeps/unix/sysv/linux/tile/sysdep.h
11911         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11912         assembly-specific section to avoid a redefinition warning.
11914         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11915         long before casting to pointer to avoid a cast warning.
11917 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
11919         * sysdeps/tile/tilegx/Implies: New file.
11921 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
11923         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11925 2014-12-23  Florian Weimer  <fweimer@redhat.com>
11927         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11929 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
11931         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11932         not define.
11933         * sysdeps/unix/sysv/linux/utimes.c: Do not include
11934         <kernel-features.h>.
11935         (__utimes) [__NR_utimes]: Make code unconditional.
11936         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11937         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11938         (__ASSUME_UTIMES): Do not undefine.
11939         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11940         (__ASSUME_UTIMES): Likewise.
11941         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11942         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11943         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11944         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11946 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
11948         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11950 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
11952         [BZ #17747]
11953         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11954         alias to weak alias for j0l, y0l.
11955         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11956         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11958         [BZ #17746]
11959         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11960         conversion.
11962 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
11964         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11965         to zero if not already defined.
11967 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
11969         [BZ #17724]
11970         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11971         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
11972         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
11973         (char *) casts added.
11974         * sysdeps/ieee754/k_standardf.c: New file.
11975         * sysdeps/ieee754/k_standardl.c: Likewise.
11976         * math/Makefile (libm-support): Remove k_standard.
11977         (libm-calls): Add k_standard.
11979 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11981         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11982         Optimize to avoid an unnecessary FPCR read.
11984 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11986         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11987         Optimize to reduce FPCR/FPSR accesses.
11989 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11991         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11992         Call libc_fetestexcept_aarch64.
11994 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11996         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11997         Call libc_fesetround_aarch64.
11999 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12001         [BZ #17733]
12002         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
12003         (__bind): Do not define as weak alias.
12004         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
12005         define.
12006         (__getsockname): Do not define as weak alias.
12008 2014-12-22  Will Newton  <will.newton@linaro.org>
12010         * manual/install.texi: Document that we require bison 2.7
12011         or above.
12012         * INSTALL: Regenerate.
12013         * configure.ac: Use AC_CHECK_PROG_VER instead of
12014         AC_PATH_PROG when checking for bison and check for
12015         version 2.7 or above.
12016         * configure: Regenerate.
12018 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
12020         [BZ #17745]
12021         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
12022         * sysdeps/tile/ffsll.c (ffsll): To here.
12024         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12026 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12028         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12029         if not defined.
12030         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12031         definition.
12032         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12033         hidden ___tls_get_addr.
12034         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12035         hidden __tls_get_addr.
12036         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12037         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12038         Likewise.
12040 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12042         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12043         _dl_init call.
12045 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12047         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12048         from "call _dl_init@PLT".
12049         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12051 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
12053         * manual/search.texi: (Array Sort Function): Clarify stable sorting
12054         guarantees.
12056 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
12058         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12060 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12062         [BZ #17744]
12063         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12064         strnlen.
12066 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12068         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12069         of multu on MIPSr6.
12070         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12071         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12072         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12073         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12074         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12076 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12078         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12079         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12080         (PTR_SUBU): Use subu for mips32r6/mips64r6.
12081         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12082         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12083         mips32r6/mips64r6.
12084         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12086 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
12088         * string/strncat.c (STRNCAT): Simplify implementation.
12090 2014-12-19  David S. Miller  <davem@davemloft.net>
12092         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12093         access the quad as both a long double and as a series of 4 words.
12095         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12096         link_map->l_info array access.
12098 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12100         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12102         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12103         * math/atest-exp2.c (TIMEOUT): Likewise.
12104         * math/atest-sincos.c (TIMEOUT): Likewise.
12106 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12108         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12109         -Wno-error with -fno-builtin-lround.
12111 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12113         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12114         Contains futex constants and functions moved over from ...
12115         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
12116         <lowlevellock-futex.h>.
12117         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12118         (lll_timedwait_tid): Add comments and parentheses around macro
12119         arguments.
12121 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12123         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12124         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
12125         (__lll_private_flag): Remove.
12126         (lll_futex_wait): Likewise.
12127         (lll_futex_timed_wait): Likewise.
12128         (lll_futex_wake): Likewise.
12129         (lll_futex_requeue): Likewise.
12130         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12131         (__lll_timedwait_tid): Spell out argument names.
12132         (lll_timedwait_tid): Add comments and parentheses around macro
12133         arguments.
12134         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12135         LLL_SHARED and LLL_PRIVATE usable from assembly code.
12137 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12139         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12140         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12141         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12142         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12143         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12144         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12145         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12146         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12147         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12148         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12149         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12150         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12151         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12152         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12153         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12154         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12155         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12156         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12157         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12159 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12161         * sysdeps/x86_64/x32/Makefile: New file.
12163 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12165         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12166         1L with (mp_limb_t) 1.
12168 2014-12-17  Roland McGrath  <roland@hack.frob.com>
12170         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12171         * nptl/libc_pthread_init.c: ... here.
12172         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12173         * nptl/register-atfork.c: ... here.
12175         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12176         Use pthread_sigmask rather than INTERNAL_SYSCALL.
12177         Use assert_perror to check its return value.
12178         (__gai_create_helper_thread): Likewise.
12180         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12182         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12184 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
12186         [BZ #17725]
12187         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12188         __profil_counter.
12189         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12190         Likewise.
12191         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12192         Likewise.
12193         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12194         Likewise.
12195         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12196         (profil_counter): Likewise.
12197         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12198         (profil_counter): Likewise.
12199         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12200         Likewise.
12201         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12202         Likewise.
12203         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12204         (profil_counter): Likewise.
12205         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12206         Likewise.
12207         [!__profil_counter] (profil_counter): Define as weak alias of
12208         __profil_counter.
12209         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12210         (profil_counter): Rename to __profil_counter.
12211         [!__profil_counter] (profil_counter): Define as weak alias of
12212         __profil_counter.
12213         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12214         (profil_counter): Rename to __profil_counter.
12215         [!__profil_counter] (profil_counter): Define as weak alias of
12216         __profil_counter.
12217         * sysdeps/posix/profil.c: Update comment referring to
12218         profil_counter.
12219         (__profil): Use __profil_counter instead of profil_counter.
12220         * sysdeps/posix/sprofil.c (profil_counter): Rename to
12221         __profil_counter.  Use __profil_counter_ushort and
12222         __profil_counter_uint in definitions.
12223         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12224         instead of profil_counter_uint and profil_counter_ushort.
12226         [BZ #17722]
12227         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12228         define as weak alias of __inet_makeaddr.
12229         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12230         as weak alias of __inet_addr.
12231         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12232         as weak alias of __inet_pton.  Use libc_hidden_weak.
12233         * include/arpa/inet.h (__inet_pton): Declare.  Use
12234         libc_hidden_proto.
12235         (inet_makeaddr): Don't use libc_hidden_proto.
12236         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
12237         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12238         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
12239         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12240         Remove variable.
12241         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12242         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12244 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
12246         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12248 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12250         * stdio-common/bug-vfprintf-nargs.c (do_test):
12251         Cast value to intptr_t to avoid format warning
12252         for usage with PRIdPTR printing macro.
12254 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12256         * libio/tst-widetext.c (do_test):
12257         Use format type %td instead of %Zd for ptrdiff_t
12258         in order to avoid format warning.
12260 2014-12-17  Andreas Schwab  <schwab@suse.de>
12262         * nscd/mem.c (gc): Add size_t cast to match printf format.
12264 2014-12-16  Roland McGrath  <roland@hack.frob.com>
12266         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12267         (init): Apply PTR_MANGLE to pointers before storing them.
12268         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12269         before using them.
12271 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
12273         [BZ #17719]
12274         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12275         define as weak alias of __memrchr.
12276         (__memrchr): Do not define as strong alias of memrchr.
12277         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12278         Remove variable.
12279         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12280         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12281         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12283         [BZ #17717]
12284         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12285         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
12286         (if_indextoname): Rename to __if_indextoname and define as weak
12287         alias of __if_indextoname.  Use libc_hidden_weak.
12288         (if_freenameindex): Rename to __if_freenameindex and define as
12289         weak alias of __if_freenameindex.
12290         (if_nameindex): Rename to __if_nameindex and define as weak alias
12291         of __if_nameindex.
12292         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12293         __if_nametoindex and define as weak alias of __if_nametoindex.
12294         Use libc_hidden_weak.
12295         (if_freenameindex): Rename to __if_freenameindex and define as
12296         weak alias of __if_freenameindex.
12297         (if_nameindex): Rename to __if_nameindex and define as weak alias
12298         of __if_nameindex.
12299         (if_indextoname): Rename to __if_indextoname and define as weak
12300         alias of __if_indextoname.  Use libc_hidden_weak.
12301         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12302         __if_nametoindex and define as weak alias of __if_nametoindex.
12303         Use libc_hidden_weak.
12304         (if_freenameindex): Rename to __if_freenameindex and define as
12305         weak alias of __if_freenameindex.  Use libc_hidden_weak.
12306         (if_nameindex_netlink): Use __if_freenameindex instead of
12307         if_freenameindex.
12308         (if_nameindex): Rename to __if_nameindex and define as weak alias
12309         of __if_nameindex.  Use libc_hidden_weak.
12310         (if_indextoname): Rename to __if_indextoname and define as weak
12311         alias of __if_indextoname.  Use libc_hidden_weak.
12312         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12313         libc_hidden_proto.
12314         [!_ISOMAC] (__if_freenameindex): Likewise.
12315         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12316         if_nametoindex.
12317         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12318         variable.
12319         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12320         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12321         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12322         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12323         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12324         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12325         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12327         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12328         Remove variable.
12329         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12330         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12332 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12334         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12335         subscript above bounds'
12337         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12338         bounds.
12340 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
12342         * libio/tst-fopenloc.c: Use test-skeleton.c.
12344         * stdlib/tst-bsearch.c: Use test-skeleton.c.
12345         (entry): Rename to ITEM.
12346         (do_test, comp): Adjust.
12348         * stdio-common/tst-fseek.c: Use test-skeleton.c.
12350 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12352         * string/tester.c: Include <libc-internal.h>.
12353         (test_memset): Ignore -Wmemset-transposed-args.
12355 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12357         * misc/tst-mntent2.c (do_test): Fix warning.
12359 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12361         * elf/tst-unique4lib.cc(a): Mark as used.
12363 2014-12-16  Florian Weimer  <fweimer@redhat.com>
12365         [BZ #17630]
12366         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12367         names.
12369 2014-12-16  Allan McRae  <allan@archlinux.org>
12371         * stdio-common/Makefile (tests): Re-add bug26.
12373 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
12375         [BZ #17657]
12376         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12377         static array.
12379 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
12381         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12382         (__lll_lock_wait): Likewise.
12383         (__lll_timedlock_wait): Likewise.
12384         (__lll_timedwait_tid): Likewise.
12385         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12386         (__lll_robust_timedlock_wait): Likewise.
12387         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12388         (lll_cond_trylock): Likewise.
12389         (__lll_lock): Likewise.
12390         (__lll_robust_lock): Likewise.
12391         (__lll_cond_lock): Likewise.
12392         (lll_robust_cond_lock): Likewise.
12393         (__lll_timedlock): Likewise.
12394         (__lll_robust_timedlock): Likewise.
12395         (__lll_unlock): Likewise.
12396         (__lll_robust_unlock): Likewise.
12397         (lll_wait_tid): Likewise.
12398         (lll_timedwait_tid): Likewise.
12400 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12402         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12404 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12406         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12408 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12410         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12411         * stdio-common/tst-sprintf.c: Likewise.
12413 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12415         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12417 2014-12-15  Jeff Law  <law@redhat.com>
12419         [BZ #16617]
12420         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12421         on the heap.  (CVE-2012-3406)
12422         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12423         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
12424         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12426 2014-12-15  Will Newton  <will.newton@linaro.org>
12428         * manual/install.texi: Bump required version of texinfo
12429         to 4.7 from 4.5.
12430         * INSTALL: Regenerated.
12431         * configure.ac: Check for makeinfo version 4.7 and above.
12432         * configure: Regenerated.
12434 2014-12-12  Roland McGrath  <roland@hack.frob.com>
12436         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12437         PREFIX, string constant to insert between directory and name.
12438         * sysdeps/posix/shm_open.c: Update caller.
12439         * sysdeps/posix/shm_unlink.c: Likewise.
12440         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12441         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12442         (SEM_SHM_PREFIX): New macro.
12443         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12444         [$(have-thread-library) = no].
12445         * nptl/Makefile (libpthread-routines): Add shm-directory.
12446         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12447         * sysdeps/nptl/shm-directory.h: New file.
12448         * sysdeps/posix/shm-directory.c
12449         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12450         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12451         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12452         INTERNAL_SYSCALL.
12453         (__where_is_shmfs): Function removed.
12454         (mountpoint, defaultmount, defaultdir, __namedsem_once):
12455         Variables removed.
12456         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12457         Use SHM_GET_NAME.
12458         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
12460         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12461         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12462         unconditional for use inside libpthread.
12463         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12465 2014-12-12  Roland McGrath  <roland@hack.frob.com>
12467         * nptl/pthread_getaffinity.c: New file.
12468         * nptl/pthread_setaffinity.c: New file.
12469         * nptl/pthread_getname.c: New file.
12470         * nptl/pthread_setname.c: New file.
12472         * nptl/pthread_create.c (START_THREAD_DEFN)
12473         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12475 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12476             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12478         * resolv/res_send.c (send_vc): Disable warning resplen may
12479         be used uninitialized.
12481 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12483         * nptl/tst-mutex6.c
12484         (ATTR_NULL): New define checks ATTR against NULL.
12485         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12486         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12488 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
12490         [BZ #17581]
12491         * malloc/hooks.c
12492         (mem2mem_check): Revert my previous change.
12493         (malloc_check_get_size): Revert my previous change.
12494         (mem2chunk_check): Revert my previous change.
12496 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12498         * sysdeps/posix/shm-directory.c: New file.
12499         * sysdeps/posix/shm-directory.h: New file.
12500         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12501         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12502         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
12503         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12504         Transmute EPERM to EACCES.
12505         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12506         from ...
12507         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
12508         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12510 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12512         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12513         pointer and cast to uintptr_t.
12514         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12515         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12516         Add cast to avoid warning.
12517         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12519 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12521         * nptl/semaphore.h: Move to ...
12522         * sysdeps/pthread/semaphore.h: ... here.
12523         * Makefile (installed-headers): Change nptl/semaphore.h to
12524         sysdeps/pthread/semaphore.h.
12526 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12528         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12529         generated error format strings.
12531         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12532         -Wformat-extra-args warnings for scanf formats.
12533         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12534         test of zero-length format (duh).
12535         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12536         corner-case scanf format test.
12537         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12538         generated fprintf format string.
12539         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12540         corner-case sprintf format tests.
12541         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12542         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12543         -Wformat-extra-args warnings throughout.
12544         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12545         (CFLAGS-scanf4.c): Likewise.
12546         (CFLAGS-scanf7.c): Likewise.
12547         (CFLAGS-tst-sprintf.c): Likewise.
12548         (CFLAGS-tst-printf.c): Likewise.
12549         (CFLAGS-tst-printfsz.c): Likewise.
12551 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12553         * include/cpio.h: New file.
12554         * include/fmtmsg.h: Likewise.
12556         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
12557         corresponding format argument to size_t.
12558         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
12559         arguments.
12560         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
12561         corresponding format argument to size_t.
12562         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
12563         arguments.
12564         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
12565         corresponding format argument to size_t.
12566         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12567         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12568         (CFLAGS-tst-mbswcs2.c): Likewise.
12569         (CFLAGS-tst-mbswcs3.c): Likewise.
12570         (CFLAGS-tst-mbswcs4.c): Likewise.
12571         (CFLAGS-tst-mbswcs5.c): Likewise.
12572         (CFLAGS-tst-trans.c): Likewise
12574 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12576         * posix/regexbug1.c (main): Use "%s" format with regerror results,
12577         rather than assuming they won't contain any '%'s.
12579 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
12581         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12582         inhibit_loop_to_libcall to avoid recursive calls.
12583         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12584         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12586 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12588         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12589         prototype.
12591 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12593         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12594         integer value instead of boolean.
12596 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12598         * malloc/malloc.c: Fix powerof2 check.
12600 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12602         * locale/programs/locfile.h (maybe_swap_uint32):
12603         Remove inline and add unused attribute.
12605 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12607         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12608         Truncating assembler expression to a .long expression.
12610 2014-12-11  Andreas Schwab  <schwab@suse.de>
12612         * elf/rtld.c (struct map_args): Constify str member.
12613         (do_preload): Constify fname argument.
12615 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12617         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12618         constants definition.
12620 2014-12-11  Andreas Schwab  <schwab@suse.de>
12622         [BZ #16657]
12623         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12624         FORCE_ELISION instead of DO_ELISION.
12625         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12626         Remove.
12627         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12628         Likewise.
12630         * iconvdata/gconv-modules: Remove duplicate entry.
12632 2014-12-11  Will Newton  <will.newton@linaro.org>
12634         Merge gettext 0.19.3 into intl/.
12636         This involves a number of cosmetic changes to comments
12637         and ANSI function definitions and prototypes throughout
12638         all the files. The gettext copyright header is used but
12639         with the date ranges taken from the glibc copy.
12641         * NEWS: Add gettext merge to 2.21.
12642         * intl/bindtextdom.c: Switch to gettext copyright.
12643         Use ANSI definitions and prototypes.
12644         Use gl_* locking primitives rather than __libc_* ones.
12645         Use __builtin_expect rather than __glibc_likely/unlikely.
12646         * intl/dcgettext.c: Switch to gettext copyright.
12647         Use ANSI definitions and prototypes.
12648         * intl/dcigettext.c: Switch to gettext copyright.
12649         Use ANSI definitions and prototypes.
12650         (INTDIV0_RAISES_SIGFPE): New define.
12651         Use gl_* locking primitives rather than __libc_* ones.
12652         Include eval-plural.h instead of plural-eval.c.
12653         Use __builtin_expect rather than __glibc_likely/unlikely.
12654         * intl/dcngettext.c: Switch to gettext copyright.
12655         Use ANSI definitions and prototypes.
12656         * intl/dgettext.c: Likewise.
12657         * intl/dngettext.c: Likewise.
12658         * intl/plural-eval.c: Renamed to...
12659         * intl/eval-plural.h: ...this.
12660         * intl/explodename.c: Switch to gettext copyright.
12661         Use ANSI definitions and prototypes.
12662         (_nl_explode_name): Use strchr instead of __rawmemchr.
12663         * intl/finddomain.c: Switch to gettext copyright.
12664         Use ANSI definitions and prototypes.
12665         Use gl_* locking primitives rather than __libc_* ones.
12666         (_nl_find_domain): Use malloc rather than alloca for
12667         allocation of temporary locale name.
12668         * intl/gettext.c: Switch to gettext copyright.
12669         Use ANSI definitions and prototypes.
12670         * intl/gettextP.h: Switch to gettext copyright.
12671         Use ANSI definitions and prototypes.
12672         Use gl_* locking primitives rather than __libc_* ones.
12673         * intl/gmo.h: Switch to gettext copyright.
12674         (struct sysdep_string): Move struct segment_pair outside of
12675         struct definition.
12676         * intl/hash-string.c: Use ANSI definitions and prototypes.
12677         * intl/hash-string.h: Switch to gettext copyright.
12678         Use ANSI definitions and prototypes.
12679         * intl/l10nflist.c: Switch to gettext copyright.
12680         Use ANSI definitions and prototypes.
12681         (_nl_normalize_codeset): Avoid integer overflow.
12682         * intl/loadinfo.h: Switch to gettext copyright.
12683         Use ANSI definitions and prototypes.
12684         (LIBINTL_DLL_EXPORTED): New define.
12685         (PATH_SEPARATOR): New define.
12686         * intl/loadmsgcat.c: Switch to gettext copyright.
12687         * intl/localealias.c: Switch to gettext copyright.
12688         Use ANSI definitions and prototypes.
12689         (_nl_expand_alias): Use PATH_SEPARATOR.
12690         * intl/ngettext.c: Switch to gettext copyright.
12691         Use ANSI definitions and prototypes.
12692         * intl/plural-exp.c: Likewise.
12693         * intl/plural-exp.h: Switch to gettext copyright.
12694         Use ANSI definitions and prototypes.
12695         (struct expression): Move definition of enum operator outside
12696         of struct definition.
12697         * intl/plural.c: Regenerate.
12698         * intl/plural.y: Switch to gettext copyright.
12699         Use ANSI definitions and prototypes.
12700         Port to bison 3.0.
12701         * intl/textdomain.c: Switch to gettext copyright.
12702         Use ANSI definitions and prototypes.
12703         Use gl_* locking primitives rather than __libc_* ones.
12705 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
12707         * debug/warning-nop.c: Add used atrribute.
12709 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12711         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12713         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12714         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12715         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12717 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12718             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12720         [BZ #17634]
12721         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12722         Undefine after defining function.  Define as weak alias of
12723         __wcschr.  Use libc_hidden_weak.
12724         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
12725         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12726         (libc_hidden_def): Also define __GI___wcschr alias.
12727         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12728         __wcschr and define as weak alias of __wcschr.
12729         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12730         __wcschr.
12731         [!WCSCHR] (DEFAULT_WCSCHR): Define.
12732         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12733         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
12734         libc_hidden_weak.  Do not use libc_hidden_def.
12735         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12736         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12737         __GI___wcschr alias.
12738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12739         [IS_IN (libc)] (wcschr): Define as macro expanding to
12740         __redirect_wcschr.
12741         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12742         [IS_IN (libc)] (__wcschr_power6): Likewise.
12743         [IS_IN (libc)] (__wcschr_power7): Likewise.
12744         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
12745         instead of wcschr.
12746         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12747         __libc_wcschr.
12748         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12749         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12750         __wcschr and define as weak alias of __wcschr.  Use
12751         libc_hidden_builtin_def.
12752         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12753         as weak alias of __wcschr.  Use libc_hidden_weak.
12754         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12755         wcschr.
12756         * time/era.c (_nl_init_era_entries): Likewise.
12757         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12758         variable.
12759         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12760         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12762 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12764         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12765         format for long int variable.
12767 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
12769         [BZ #10672]
12770         * manual/search.texi: (Array Sort Function): Remove claim how to make
12771         qsort stable.
12773 2014-12-10  Andreas Schwab  <schwab@suse.de>
12775         [BZ #12847]
12776         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12777         user-controlled locks.
12779 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
12781         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12782         register.
12784 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
12786         * configure.ac (--disable-werror): New configure option.
12787         (enable_werror): New AC_SUBST.
12788         * configure: Regenerated.
12789         * config.make.in (enable-werror): New variable.
12790         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12791         -Wno-error=undef.
12792         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12793         * manual/install.texi (Configuring and compiling): Document
12794         --disable-werror.
12795         * INSTALL: Regenerated.
12796         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12797         (CFLAGS-tst-chk2.c): Likewise.
12798         (CFLAGS-tst-chk3.c): Likewise.
12799         (CFLAGS-tst-chk4.cc): Likewise.
12800         (CFLAGS-tst-chk5.cc): Likewise.
12801         (CFLAGS-tst-chk6.cc): Likewise.
12802         (CFLAGS-tst-lfschk1.c): Likewise.
12803         (CFLAGS-tst-lfschk2.c): Likewise.
12804         (CFLAGS-tst-lfschk3.c): Likewise.
12805         (CFLAGS-tst-lfschk4.cc): Likewise.
12806         (CFLAGS-tst-lfschk5.cc): Likewise.
12807         (CFLAGS-tst-lfschk6.cc): Likewise.
12809         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12810         (main): Disable -Wdeprecated-declarations around calls to
12811         register_printf_function.
12813         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12814         (do_test): Disable -Wdiv-by-zero around some calls to
12815         fwrite_unlocked and fread_unlocked.
12817         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12818         (DIAG_POP_NEEDS_COMMENT): Likewise.
12819         (_DIAG_STR1): Likewise.
12820         (_DIAG_STR): Likewise.
12821         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12822         * stdio-common/bug21.c: Include <libc-internal.h>.
12823         (do_test): Disable -Wformat around call to sscanf.
12824         * stdio-common/scanf14.c: Include <libc-internal.h>.
12825         (main): Disable -Wformat around some calls to scanf functions.
12827 2014-12-09  Torvald Riegel  <triegel@redhat.com>
12829         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12831 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12833         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12834         stack variable alignment.
12836 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
12838         [BZ #17682]
12839         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12840         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12841         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12842         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12843         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12844         __getrlimit instead of getrlimit.
12845         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12846         __gettimeofday instead of gettimeofday.
12847         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12848         Likewise.
12849         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12850         Likewise.
12851         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12852         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12853         Remove variable.
12854         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12855         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12857 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12859         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12860         for wide-character tests.
12862 2014-12-04  Roland McGrath  <roland@hack.frob.com>
12864         * io/openat64.c: #include <libc-internal.h>
12865         (__openat64): Prototypify.  Use ignore_value on MODE.
12866         * io/openat.c: Likewise.
12867         * misc/reboot.c: #include <libc-internal.h>
12868         (reboot): Prototypify.  Use ignore_value on HOWTO.
12869         * misc/ptrace.c: #include <libc-internal.h>
12870         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
12872 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
12874         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12875         XPG4, UNIX98 and XOPEN2K.
12876         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12877         Remove variable.
12878         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12880 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12882         * libio/fileops.c: Use ISO C style for function definitions.
12883         * libio/iofopen.c: Likewise.
12884         * libio/wfileops.c: Likewise.
12886         [BZ #17653]
12887         * libio/fileops.c (_IO_new_file_underflow): Unset cached
12888         offset on EOF.
12889         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12890         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12891         (fgets_func): Function pointer to fgets and fgetws.
12892         (do_ftell_test): Add test to verify ftell value after read
12893         EOF.
12894         (do_test): Set fgets_func.
12896         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12897         O_TRUNC flag for w and w+ modes.
12898         (do_rewind_test): Likewise.
12899         (do_ftell_test): Likewise.
12900         (do_write_test): Likewise.
12902         [BZ #17647]
12903         * libio/fileops.c (do_ftell): Seek only when there are
12904         unflushed writes.
12905         * libio/wfileops.c (do_ftell_wide): Likewise.
12906         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12907         test case.
12908         (do_one_test): Call it.
12910 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
12912         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12913         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12914         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12915         Remove variable.
12916         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12917         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12918         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12920 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
12922         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12923         Remove variable.
12924         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12926         [BZ #17668]
12927         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12928         as weak alias of __getifaddrs.  Use libc_hidden_weak.
12929         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12930         __freeifaddrs.  Use libc_hidden_weak.
12931         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12932         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
12933         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12934         __freeifaddrs.  Use libc_hidden_weak.
12935         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12936         __getifaddrs and define as weak alias of __getifaddrs.  Use
12937         libc_hidden_weak.
12938         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12939         __freeifaddrs.  Use libc_hidden_weak.
12940         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12941         Remove variable.
12942         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12943         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12945 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12947         [BZ #17601]
12948         * sysdeps/mips/start.S (__start): Use indirect jump to call
12949         __libc_start_main.
12951 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
12953         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12955         * nptl/tst-mutex1.c: Include <stdbool.h>.
12956         [!ATTR] (ATTR_NULL): New macro.
12957         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12958         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12959         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12961         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12962         to char *.
12964         [BZ #17665]
12965         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12966         Change conditional to [__USE_MISC].
12968         [BZ #17664]
12969         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12970         fgets_unlocked.
12971         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12972         __fgets_unlocked.
12973         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12974         fgets_unlocked.
12975         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12976         Remove variable.
12977         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12978         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12979         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12980         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12981         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12982         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12983         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12984         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12985         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12987         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12989 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12991         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12992         Remove strpbrk objects.
12993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12994         (__libc_ifunc_impl_list): Remove strpbrk implementation.
12995         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12996         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12997         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12998         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
13000         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13001         Remove strcspn objects.
13002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13003         (__libc_ifunc_impl_list): Remove strcspn implementation.
13004         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
13005         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
13006         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
13007         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
13009         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13010         Remove strspn objetcs.
13011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13012         (__libc_ifunc_impl_list): Remove strspn implementation.
13013         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
13014         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13015         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
13016         * sysdeps/powerpc/powerpc64/strspn.S: New file.
13018 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
13020         [BZ #17581]
13021         * malloc/hooks.c
13022         (mem2mem_check): Add a terminator to the chain of checking blocks.
13023         (malloc_check_get_size): Use it here.
13024         (mem2chunk_check): Ditto.
13026 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13028         * sysdeps/powerpc/powerpc64/strtok.S: New file.
13029         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13031 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
13033         * bits/ioctl-types.h: Indent preprocessor directives correctly.
13035         * nptl/nptl-init.c: Include libc-internal.h.
13036         (__pthread_initialize_minimal_internal): Use ROUND_UP.
13038         * elf/ldconfig.c (search_dir): Expand comment.
13040 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
13042         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13043         variable.
13044         (linknamespace-symlist-stdlibs-tests): Likewise.
13045         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13046         instead of $(objpfx)symlist-stdlibs.
13047         (linknamespace-libs-isoc): New variable.
13048         (linknamespace-libs): Use $(linknamespace-libs-isoc).
13049         (linknamespace-libs-ISO): New variable.
13050         (linknamespace-libs-ISO99): Likewise.
13051         (linknamespace-libs-ISO11): Likewise.
13052         (linknamespace-libs-XPG3): Likewise.
13053         (linknamespace-libs-XPG4): Likewise.
13054         (linknamespace-libs-POSIX): Likewise.
13055         (linknamespace-libs-UNIX98): Likewise.
13056         (linknamespace-libs-XOPEN2K): Likewise.
13057         (linknamespace-libs-POSIX2008): Likewise.
13058         (linknamespace-libs-XOPEN2K8): Likewise.
13059         ($(objpfx)symlist-stdlibs): Replace by
13060         $(linknamespace-symlist-stdlibs-tests).  Use
13061         $(linknamespace-libs-$*) as set of libraries.
13062         ($(linknamespace-header-tests)): Update dependencies.  Use
13063         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13064         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13065         * conform/linknamespace.pl: Remove comment about considering
13066         definitions of symbols from irrelevant libraries.
13068 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13070         [BZ #13862]
13071         * elf/dl-tls.c: Include <atomic.h>.
13072         (oom): Remove #ifdef SHARED/#endif.
13073         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13074         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
13075         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13076         big enough.
13077         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13078         * nptl/Makefile (tests): Add tst-stack4.
13079         (modules-names): Add tst-stack4mod.
13080         ($(objpfx)tst-stack4): New.
13081         (tst-stack4mod.sos): Likewise.
13082         ($(objpfx)tst-stack4.out): Likewise.
13083         ($(tst-stack4mod.sos)): Likewise.
13084         (clean): Likewise.
13085         * nptl/tst-stack4.c: New file.
13086         * nptl/tst-stack4mod.c: Likewise.
13088 2014-11-27  J. Brown  <jb999@gmx.de>
13090         * sysdeps/x86/bits/string.h: Add recent CPUs.
13092 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13094         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13095         sigblock.
13097         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13098         feof.
13100         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13101         variable.
13103 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13105         * nscd/connections.c: Include libc-internal.h because of macro
13106         usage ignore_value.
13108 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13110         * string/bits/string3.h (__warn_memset_zero_len): Don't
13111         declare for gcc newer than 5.0.
13112         (memset): Don't test for zero-length __LEN for gcc newer than
13113         5.0.
13115 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13117         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13118         size_t for %zu format.
13120         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13121         difference, not %ju.
13123 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13125         * include/libc-internal.h (ignore_value): New macro.
13126         * nscd/connections.c (restart): Wrap calls to setuid and setgid
13127         with ignore_value.
13129         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13130         definition.
13132         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13133         pthread_cleanup_push to void *.
13135         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13136         Undefine.
13138         [BZ #16619]
13139         [BZ #16740]
13140         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13141         instead of 1L << 52.
13143         * libio/bug-rewind.c (do_test): Check fwscanf return values.
13144         * libio/bug-rewind2.c (do_test): Likewise.
13146         * debug/test-stpcpy_chk-ifunc.c: Remove file.
13147         * debug/test-strcpy_chk-ifunc.c: Likewise.
13148         * wcsmbs/test-wcschr-ifunc.c: Likewise.
13149         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13150         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13151         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13152         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13153         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13154         * Rules [$(multi-arch) = no] (tests): Do not filter out
13155         $(tests-ifunc).
13156         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13157         * debug/Makefile (tests-ifunc): Remove variable.
13158         (tests): Do not add $(tests-ifunc).
13159         * wcsmbs/Makefile (tests-ifunc): Remove variable.
13160         (tests): Do not add $(tests-ifunc).
13161         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13162         [TEST_IFUNC]: Remove conditionals.
13163         * string/test-string.h (TEST_IFUNC): Remove macro.
13164         [TEST_IFUNC]: Remove conditionals.
13166         * string/test-strchr.c [!WIDE] (L): New macro.
13167         [WIDE] (L): Likewise.
13168         (check1): Use CHAR instead of char.  Use L on string and character
13169         constants.
13171 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
13173         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13174         tests.
13175         * sysdeps/powerpc/bits/atomic.h
13176         (__arch_atomic_exchange_and_add_32_acq): Add definition.
13177         (__arch_atomic_exchange_and_add_32_rel): Likewise.
13178         (atomic_exchange_and_add_acq): Likewise.
13179         (atomic_exchange_and_add_rel): Likewise.
13180         * sysdeps/powerpc/powerpc32/bits/atomic.h
13181         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13182         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13183         * sysdeps/powerpc/powerpc64/bits/atomic.h
13184         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13185         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13187 2014-11-26  Torvald Riegel  <triegel@redhat.com>
13189         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13190         Change synchronization of __sched_fifo_min_prio and
13191         __sched_fifo_max_prio.
13192         * nptl/pthread_mutexattr_getprioceiling.c
13193         (pthread_mutexattr_getprioceiling): Likewise.
13194         * nptl/pthread_mutexattr_setprioceiling.c
13195         (pthread_mutexattr_setprioceiling): Likewise.
13196         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13197         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13198         Likewise.
13200 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13202         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13203         void.
13205 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13207         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13208         third argument const.
13210 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
13212         fnmatch: work around GCC compiler warning bug with uninit var
13213         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13214         This works around a bug with x86-64 GCC 4.9.2 and earlier
13215         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13216         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13217         used uninitialized in this function [-Wmaybe-uninitialized]".
13219 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13221         * posix/bug-regex31.c (main): Return RES not 0.
13223 2014-11-25  Anton Blanchard <anton@samba.org>
13225         * sysdeps/powerpc/bits/atomic.h
13226         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13228 2014-11-24  Sterling Augustine  <saugustine@google.com>
13230         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13232 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
13234         [BZ #17608]
13235         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13237 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
13239         [BZ #17633]
13240         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13241         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13242         variable.
13243         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13244         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13246 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13248         * string/strncpy.c (strncpy): Improve performance by using memset.
13250 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13252         * string/strcpy.c (strcpy):
13253         Improve performance by using strlen and memcpy.
13255 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
13257         * string/strcoll_l.c (get_next_seq): __always_inline.
13258         * string/strcoll_l.c (do_compare): __always_inline.
13260 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13262         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13263         defined.
13264         * include/mqueue.h: Likewise.
13265         * include/stdlib.h: Likewise.
13267         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13268         (get_null_defines): Adjust.
13269         * sunrpc/Makefile: Adjust comment.
13270         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13271         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13272         (CFLAGS-interp.c): Likewise.
13273         (CFLAGS-ldconfig.c): Likewise.
13274         (CPPFLAGS-.os): Likewise.
13275         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13276         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13277         * extra-modules.mk (extra-modules.mk): Likewise.
13278         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13279         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13280         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13281         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13282         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13283         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13284         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13285         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13286         * iconvdata/Makefile (CPPFLAGS): Likewise.
13287         (cpp-srcs-left): Add libof for all iconvdata routines.
13288         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13289         * include/assert.h: Likewise.
13290         * include/ctype.h: Likewise.
13291         * include/errno.h: Likewise.
13292         * include/libc-symbols.h: Likewise.
13293         * include/math.h: Likewise.
13294         * include/netdb.h: Likewise.
13295         * include/resolv.h: Likewise.
13296         * include/stdio.h: Likewise.
13297         * include/stdlib.h: Likewise.
13298         * include/string.h: Likewise.
13299         * include/sys/stat.h: Likewise.
13300         * include/wctype.h: Likewise.
13301         * intl/l10nflist.c: Likewise.
13302         * libidn/idn-stub.c: Likewise.
13303         * libio/libioP.h: Likewise.
13304         * nptl/libc_multiple_threads.c: Likewise.
13305         * nptl/pthreadP.h: Likewise.
13306         * posix/regex_internal.h: Likewise.
13307         * resolv/res_hconf.c: Likewise.
13308         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13309         * sysdeps/arm/memmove.S: Likewise.
13310         * sysdeps/arm/sysdep.h: Likewise.
13311         * sysdeps/generic/_itoa.h: Likewise.
13312         * sysdeps/generic/symbol-hacks.h: Likewise.
13313         * sysdeps/gnu/errlist.awk: Likewise.
13314         * sysdeps/gnu/errlist.c: Likewise.
13315         * sysdeps/i386/i586/memcpy.S: Likewise.
13316         * sysdeps/i386/i586/memset.S: Likewise.
13317         * sysdeps/i386/i686/memcpy.S: Likewise.
13318         * sysdeps/i386/i686/memmove.S: Likewise.
13319         * sysdeps/i386/i686/mempcpy.S: Likewise.
13320         * sysdeps/i386/i686/memset.S: Likewise.
13321         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13322         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13323         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13324         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13325         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13326         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13327         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13328         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13329         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13330         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13331         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13332         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13333         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13334         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13335         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13336         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13337         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13338         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13339         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13340         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13341         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13342         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13343         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13344         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13345         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13346         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13347         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13348         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13349         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13350         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13351         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13352         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13353         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13354         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13355         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13356         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13357         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13358         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13359         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13360         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13361         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13362         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13363         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13364         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13365         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13366         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13367         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13368         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13369         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13370         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13371         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13372         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13373         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13374         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13375         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13376         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13377         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13378         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13379         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13380         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13381         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13382         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13383         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13384         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13385         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13386         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13387         * sysdeps/posix/closedir.c: Likewise.
13388         * sysdeps/posix/opendir.c: Likewise.
13389         * sysdeps/posix/readdir.c: Likewise.
13390         * sysdeps/posix/rewinddir.c: Likewise.
13391         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13392         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13393         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13394         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13395         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13396         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13397         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13398         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13399         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13400         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13401         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13402         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13403         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13404         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13405         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13406         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13407         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13408         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13409         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13410         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13411         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13412         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13413         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13414         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13415         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13416         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13417         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13419         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13426         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13427         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13428         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13429         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13430         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13431         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13432         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13433         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13434         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13435         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13436         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13437         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13438         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13439         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13440         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13441         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13442         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13443         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13444         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13445         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13446         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13447         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13448         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13449         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13450         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13451         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13452         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13453         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13454         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13455         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13456         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13457         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13458         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13459         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13460         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13461         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13462         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13463         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13464         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13465         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13466         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13467         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13468         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13469         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13470         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13471         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13472         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13473         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13474         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13475         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13476         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13477         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13478         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13479         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13480         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13481         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13482         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13483         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13484         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13485         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13486         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13487         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13488         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13489         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13490         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13491         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13492         * sysdeps/unix/alpha/sysdep.S: Likewise.
13493         * sysdeps/unix/alpha/sysdep.h: Likewise.
13494         * sysdeps/unix/make-syscalls.sh: Likewise.
13495         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13497         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13498         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13499         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13500         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13501         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13502         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13503         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13504         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13505         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13506         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13507         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13508         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13509         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13510         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13511         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13512         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13513         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13514         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13515         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13516         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13517         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13518         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13519         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13520         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13521         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13524         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13525         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13526         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13527         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13529         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13530         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13533         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13534         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13535         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13536         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13537         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13538         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13539         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13540         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13542         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13543         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13544         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13545         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13546         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13547         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13548         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13549         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13550         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13551         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13553         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13554         * sysdeps/x86_64/memcpy.S: Likewise.
13555         * sysdeps/x86_64/memmove.c: Likewise.
13556         * sysdeps/x86_64/memset.S: Likewise.
13557         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13558         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13559         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13560         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13561         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13562         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13563         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13564         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13565         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13566         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13567         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13568         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13569         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13570         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13571         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13572         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13573         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13574         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13575         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13576         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13577         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13578         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13579         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13580         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13581         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13582         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13583         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13584         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13585         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13586         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13587         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13588         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13589         * sysdeps/x86_64/strcmp.S: Likewise.
13591         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13593         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13594         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13595         * elf/rtld-Rules: Likewise.
13596         * elf/setup-vdso.h: Likewise.
13597         * include/assert.h: Likewise.
13598         * include/bits/stdlib-float.h: Likewise.
13599         * include/errno.h: Likewise.
13600         * include/sys/stat.h: Likewise.
13601         * include/unistd.h: Likewise.
13602         * sysdeps/aarch64/setjmp.S: Likewise.
13603         * sysdeps/alpha/setjmp.S: Likewise.
13604         * sysdeps/arm/__longjmp.S: Likewise.
13605         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13606         * sysdeps/arm/setjmp.S: Likewise.
13607         * sysdeps/arm/sysdep.h: Likewise.
13608         * sysdeps/generic/_itoa.h: Likewise.
13609         * sysdeps/generic/dl-sysdep.h: Likewise.
13610         * sysdeps/generic/ldsodefs.h: Likewise.
13611         * sysdeps/i386/dl-tls.h: Likewise.
13612         * sysdeps/i386/setjmp.S: Likewise.
13613         * sysdeps/m68k/setjmp.c: Likewise.
13614         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13615         * sysdeps/mach/hurd/opendir.c: Likewise.
13616         * sysdeps/posix/getcwd.c: Likewise.
13617         * sysdeps/posix/opendir.c: Likewise.
13618         * sysdeps/posix/profil.c: Likewise.
13619         * sysdeps/powerpc/dl-procinfo.h: Likewise.
13620         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13621         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13622         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13623         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13624         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13625         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13626         * sysdeps/s390/dl-tls.h: Likewise.
13627         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13628         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13629         * sysdeps/sh/sh3/setjmp.S: Likewise.
13630         * sysdeps/sh/sh4/setjmp.S: Likewise.
13631         * sysdeps/unix/alpha/sysdep.h: Likewise.
13632         * sysdeps/unix/arm/sysdep.S: Likewise.
13633         * sysdeps/unix/i386/sysdep.S: Likewise.
13634         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13635         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13636         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13638         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13639         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13640         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13641         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13642         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13643         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13644         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13645         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13646         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13649         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13650         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13652         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13653         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13654         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13656         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13657         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13658         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13659         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13661         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13662         * sysdeps/x86_64/setjmp.S: Likewise.
13664         * include/math.h: Use IS_IN instead of IS_IN_libm.
13665         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13666         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13667         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13668         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13669         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13670         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13671         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13672         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13673         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13674         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13675         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13676         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13677         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13678         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13679         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13680         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13681         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13682         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13683         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13684         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13685         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13686         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13687         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13688         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13689         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13690         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13691         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13692         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13693         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13694         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13695         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13696         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13697         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13699         Likewise.
13700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13701         Likewise.
13702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13703         Likewise.
13704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13705         Likewise.
13706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13707         Likewise.
13708         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13709         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13710         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13711         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13712         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13713         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13719         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13720         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13721         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13722         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13723         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13724         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13725         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13726         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13727         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13728         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13729         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13730         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13731         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13732         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13734         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13736         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13737         * nptl/pthreadP.h: Likewise.
13738         * nptl_db/structs.def: Likewise.
13739         * sysdeps/arm/sysdep.h: Likewise.
13740         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13741         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13742         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13743         * sysdeps/unix/alpha/sysdep.h: Likewise.
13744         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13745         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13746         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13747         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13748         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13749         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13750         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13751         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13752         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13753         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13754         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13755         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13756         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13757         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13760         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13761         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13762         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13765         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13766         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13767         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13768         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13769         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13771         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13772         * nptl/pthreadP.h: Likewise.
13773         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13774         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13775         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13776         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13777         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13778         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13779         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13780         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13781         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13782         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13783         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13784         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13786         Likewise.
13787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13788         Likewise.
13789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13790         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13791         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13792         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13793         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13794         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13795         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13796         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13798         * dlfcn/dladdr.c: Use IS_IN.
13799         * dlfcn/dladdr1.c: Likewise.
13800         * dlfcn/dlclose.c: Likewise.
13801         * dlfcn/dlerror.c: Likewise.
13802         * dlfcn/dlinfo.c: Likewise.
13803         * dlfcn/dlmopen.c: Likewise.
13804         * dlfcn/dlopen.c: Likewise.
13805         * dlfcn/dlsym.c: Likewise.
13806         * dlfcn/dlvsym.c: Likewise.
13808         * include/ifaddrs.h: Use IS_IN.
13809         * inet/check_pf.c: Likewise.
13810         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13811         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13813         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13814         IS_IN_ldconfig.
13815         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13816         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13818         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13819         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13820         IS_IN (libc).
13822         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13824         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13825         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13826         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13827         * include/libc-symbols.h (IS_IN_LIB): New macro.
13828         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13829         * include/netdb.h: Likewise.
13830         * include/stap-probe.h: Remove all uses of IN_LIB.
13832         * Makeconfig (module-cppflags-real): Define MODULE_NAME
13833         instead of IN_MODULE.
13834         * include/libc-symbols.h (IN_MODULE): Define using
13835         MODULE_NAME.
13836         (PASTE_NAME, PASTE_NAME1): New macros.
13837         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13838         of IN_LIB.
13839         (STAP_PROBE_ASM): Likewise.
13841 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13843         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13844         __mach_init in dlopened libc.
13846 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
13848         * sysdeps/arm/preconfigure.ac: Delete EABI check.
13849         * sysdeps/arm/preconfigure: Regenerate.
13851 2014-11-21  Roland McGrath  <roland@hack.frob.com>
13853         * nptl/pthread_create.c (__pthread_create_2_1): Set
13854         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13855         when copying values from IATTR into PD.
13857 2014-11-21  Will Newton  <will.newton@linaro.org>
13858             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13860         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13861         Refactor inline-asm.  Also add comment.
13863         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13864         ElfW macro instead of hardcoded Elf64 types.
13865         (la_aarch64_gnu_pltenter): Likewise.
13866         * sysdeps/aarch64/dl-machine.h
13867         (elf_machine_runtime_setup): Use ElfW(Addr).
13869         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13870         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13871         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13872         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13873         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13874         (R_AARCH64_TLS_DTPMOD64): Rename to ..
13875         (R_AARCH64_TLS_DTPMOD): This.
13876         (R_AARCH64_TLS_DTPREL64): Rename to ...
13877         (R_AARCH64_TLS_DTPREL): This.
13878         (R_AARCH64_TLS_TPREL64): Rename to ...
13879         (R_AARCH64_TLS_TPREL): This.
13880         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13881         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13882         R_AARCH64_TLS_TPREL64.
13883         (elf_machine_rela): Likewise.
13885 2014-11-21  Torvald Riegel  <triegel@redhat.com>
13887         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13888         by setting it to 0.  64b atomics are not supported currently.
13890 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13892         [BZ #16469]
13893         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13894         search domain names.
13896 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13898         [BZ #16469]
13899         * NEWS: Update.
13900         * resolv/res_query.c (__libc_res_nquerydomain): Retain
13901         trailing dot.
13902         * posix/tst-getaddrinfo5.c: New.
13903         * posix/Makefile (tests): Add it.
13905 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13907         [BZ #14498]
13908         * NEWS: Fixed.
13909         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13910         after parsing line but before break_if_match.
13911         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13912         if there is a protocol mismatch.
13914 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13916         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13917         because the potential race is on the user-supplied stream.
13919 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13921         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13922         string literal if not passed a buffer.
13923         * manual/job.texi (ctermid): Update reasoning, note deviation
13924         from posix, suggest mtasurace when not passed a buffer, for
13925         future non-preliminary safety notes.
13927 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13929         * manual/users.texi (cuserid): Fix MT-Safety note for the case
13930         of not passing it a buffer.
13931         Reported by Peng Haitao.
13933 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
13935         * manual/Makefile ($(objpfx)stamp-summary): Require
13936         check-safety.sh to pass.
13937         * manual/check-safety.sh: Wish for verification that every
13938         @deftypefn and @deftypefun is followed by a @safety remark.
13940 2014-11-20  Roland McGrath  <roland@hack.frob.com>
13942         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13944         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13945         PTHREAD_CANCEL_ASYNCHRONOUS.
13946         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13947         send SIGCANCEL.
13949         * nptl/default-sched.h: New file.
13950         * sysdeps/unix/sysv/linux/default-sched.h: New file.
13951         * nptl/pthread_create.c: Include it.
13952         (__pthread_create_2_1): Use collect_default_sched instead of making
13953         Linux syscalls here directly.
13955 2014-11-20  Torvald Riegel  <triegel@redhat.com>
13957         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13958         __pthread_once): Use C11 atomics.
13960 2014-11-20  Torvald Riegel  <triegel@redhat.com>
13962         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13964 2014-11-20  Torvald Riegel  <triegel@redhat.com>
13966         * include/atomic.h (__atomic_link_error, __atomic_check_size,
13967         atomic_thread_fence_acquire, atomic_thread_fence_release,
13968         atomic_thread_fence_seq_cst, atomic_load_relaxed,
13969         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13970         atomic_compare_exchange_weak_relaxed,
13971         atomic_compare_exchange_weak_acquire,
13972         atomic_compare_exchange_weak_release,
13973         atomic_exchange_acquire, atomic_exchange_release,
13974         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13975         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13976         atomic_fetch_and_acquire,
13977         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13979 2014-11-20  Torvald Riegel  <triegel@redhat.com>
13981         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13982         USE_ATOMIC_COMPILER_BUILTINS): Define.
13983         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13984         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13985         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13986         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13987         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13988         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13989         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13990         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13991         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13992         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13993         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13994         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13995         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13996         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13997         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13998         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13999         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14000         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14001         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14002         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14003         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
14004         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14005         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14006         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14007         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
14008         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14009         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14010         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14011         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
14012         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14013         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
14014         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14015         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
14016         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14017         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14018         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14019         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
14020         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14021         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
14022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14024 2014-11-19  Roland McGrath  <roland@hack.frob.com>
14026         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14027         the sched_priority value here.  It was already checked when the user
14028         called pthread_attr_setschedparam.
14030         * nptl/tst-bad-schedattr.c: New file.
14031         * nptl/Makefile (tests): Add it.
14033 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
14034             Florian Weimer  <fweimer@redhat.com>
14035             Joseph Myers  <joseph@codesourcery.com>
14036             Adam Conrad  <adconrad@0c3.net>
14037             Andreas Schwab  <schwab@suse.de>
14038             Brooks  <bmoses@google.com>
14040         [BZ #17625]
14041         * wordexp-test.c (__dso_handle): Add prototype.
14042         (__register_atfork): Likewise.
14043         (__app_register_atfork): New function.
14044         (registered_forks): New global.
14045         (register_fork): New function.
14046         (test_case): Add 3 new tests for WRDE_CMDSUB.
14047         (main): Call __app_register_atfork.
14048         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14049         fork count is non-zero fail the test.
14050         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14051         is set.
14052         (parse_dollars): Remove check for WRDE_NOCMD.
14053         (parse_dquote): Likewise.
14055 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14057         * Makeconfig (built-modules): List non-library modules to be
14058         built.
14059         (module-cppflags): Include libc-modules.h for
14060         everything except shlib-versions.v.i.
14061         (CPPFLAGS): Use it.
14062         (before-compile): Add libc-modules.h.
14063         ($(common-objpfx)libc-modules.h,
14064         $(common-objpfx)libc-modules.stmp): New targets.
14065         (common-generated): Add libc-modules.h and libc-modules.stmp.
14066         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14067         * include/libc-symbols.h: Don't include libc-modules.h.
14068         * include/libc-modules.h: Remove file.
14069         * scripts/gen-libc-modules.awk: New script to generate
14070         libc-modules.h.
14071         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14072         Depend on libc-modules.stmp.
14074         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14076         * Makeconfig (in-module): Get value of libof set for the
14077         translation unit.
14078         (CPPFLAGS): Use $(in-module).
14079         * Makerules: Don't suffix routine names for nonlib.
14080         * include/libc-modules.h: New file.
14081         * include/libc-symbols.h: Include libc-modules.h
14082         (IS_IN): New macro to replace IS_IN_* macros.
14083         * elf/Makefile: Set libof-* for each routine.
14084         * elf/rtld-Rules: Likewise.
14085         * extra-modules.mk: Likewise.
14086         * iconv/Makefile: Likewise.
14087         * iconvdata/Makefile: Likewise.
14088         * locale/Makefile: Likewise.
14089         * malloc/Makefile: Likewise.
14090         * nss/Makefile: Likewise.
14091         * sysdeps/gnu/Makefile: Likewise.
14092         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14093         * sysdeps/unix/sysv/linux/Makefile: Likewise.
14094         * sysdeps/s390/s390-64/Makefile: Likewise.
14095         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
14096         CPPFLAGS for nscd instead of nonlib.
14098 2014-11-18  Roland McGrath  <roland@hack.frob.com>
14100         * nptl/createthread.c: New file.
14102         * nptl/createthread.c: Moved ...
14103         * sysdeps/unix/sysv/linux/createthread.c: ... here.
14105         * nptl/createthread.c: Add proper top-line comment.
14106         (do_clone): Folded into ...
14107         (create_thread): ... here.  Take new arguments STOPPED_START and
14108         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
14109         increment __nptl_threads, do event-reporting logic, do
14110         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14111         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
14112         resource cleanup if sched_setaffinity or sched_setscheduler fails,
14113         just send SIGCANCEL.
14114         * nptl/pthread_create.c: Forward-declare create_thread before
14115         including createthread.c.
14116         (start_thread): Use new macro START_THREAD_DEFN to replace defining
14117         declaration, and new macro START_THREAD_SELF to replace argument.
14118         Remove return statement.
14119         (report_thread_creation): New function.
14120         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
14121         synchronization logic, and __nptl_nthreads increment here, around
14122         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
14123         PD->parent_cancelhandling here, before create_thread.  When
14124         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14125         __deallocate_stack, and ENOMEM translation here.
14127 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
14129         [BZ #17616]
14130         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14131         (mptwo): Rename to __mptwo.
14132         (__inv): Use __mptwo instead of mptwo.
14133         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14134         (mptwo): Rename to __mptwo.
14135         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14136         of mpone and __mptwo instead of mptwo.
14137         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14138         instead of mpone.
14139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14140         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14141         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14142         of mpone and __mptwo instead of mptwo.
14143         (__mpranred): Use __mpone instead of mpone.
14144         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14145         variable.
14146         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14147         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14148         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14149         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14150         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14151         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14152         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14153         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14154         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14155         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14156         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14157         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14158         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14159         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14160         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14161         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14162         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14163         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14164         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14166 2014-11-18  Tom de Vries  <tom@codesoucery.com>
14168         * manual/signal.texi (Primitives Interrupted by Signals): In section,
14169         replace BSD Handler xref with BSD Signal Handling.
14171 2014-11-17  Richard Henderson  <rth@redhat.com>
14173         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14174         (_FP_PACK_RAW_2): Remove.
14175         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14176         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14177         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14178         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14179         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14180         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14181         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14182         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14183         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14184         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14185         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14186         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14187         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14188         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14189         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14190         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14192 2014-11-14  Roland McGrath  <roland@hack.frob.com>
14194         * signal/signal.h [__USE_MISC]
14195         (struct sigvec): Remove type.
14196         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14197         (sigvec): Remove declaration.
14198         * sysdeps/posix/sigvec.c: Moved ...
14199         * signal/sigvec.c: ... here, replacing old file.
14200         (struct sigvec): New type, copied from old signal.h definition.
14201         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14202         (__sigvec): Convert definition to prototype.
14203         (sigvec): Replace weak_alias with compat_symbol.
14204         * signal/Versions (libc: GLIBC_2.21): New version set.
14205         * include/signal.h: Remove __sigvec declaration.
14206         * sysdeps/unix/bsd/sigvec.c: Remove file.
14207         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14208         * manual/signal.texi (BSD Handler): Remove subsection.
14209         Move siginterrupt up to ...
14210         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
14211         (Blocking in BSD): Fold subsection into its parent.
14212         * NEWS: Mention sigvec removal.
14214 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14216         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14217         (DLA_FMS): Make definition conditional only on [__FMA4__].
14218         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14219         definition.
14221         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14222         Make definition conditional only on [PROF].
14223         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14224         definition.
14225         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14226         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14228         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14229         !__GNUC__].
14230         * include/signal.h (__sigpause): Move declaration above call to
14231         libc_hidden_proto.
14232         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14233         variable.
14234         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14235         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14237 2014-11-14  David S. Miller  <davem@davemloft.net>
14239         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14240         Define before including <string/memcpy.c> and <string/mempcpy.c>.
14242 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14244         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14245         * configure: Regenerated.
14246         * manual/install.texi (Tools for Compilation): Document a
14247         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14248         compiler verified to work.
14249         * INSTALL: Regenerated.
14251         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14252         redeclare with asm name.
14253         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14254         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14255         including <string.h>.
14256         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14257         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14258         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14259         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14260         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14261         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14262         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14264 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
14266         * stdlib/strtol.c (__strtol): Use prototype definition.
14268         [BZ #17594]
14269         * stdlib/strtol.c (SYM__): New macro.
14270         (SYM__1): Likewise.
14271         (__strtol): Likewise.
14272         (strtol): Rename to __strtol and define as weak alias of
14273         __strtol.  Use libc_hidden_weak.
14275 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14277         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14278         Use numbered labels in inline assembly.
14280 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14282         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14283         Add setjmp LIBC_PROBE.
14284         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14285         Likewise.
14286         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14287         Add longjmp, longjmp_target LIBC_PROBE.
14288         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14289         Likewise.
14291 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14293         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14294         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14295         to get rid of unused variable warning.
14297 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14299         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14300         Check for unwind_backtrace ==  NULL only in SHARED case.
14301         (__backchain_backtrace): Compile only in SHARED case.
14302         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14303         Likewise.
14304         (__backchain_backtrace): Declare as static.
14306 2014-11-12  Roland McGrath  <roland@hack.frob.com>
14308         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14309         (__libc_multiple_threads_ptr): Variable moved ...
14310         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14312 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
14314         * conform/GlibcConform.pm: New file.
14315         * conform/conformtest.pl: Use GlibcConform module.
14316         * conform/linknamespace.pl: New file.
14317         * conform/list-header-symbols.pl: Likewise.
14318         * conform/Makefile (linknamespace-symlists-base): New variable.
14319         (linknamespace-symlists-tests): Likewise.
14320         (linknamespace-header-base): Likewise.
14321         (linknamespace-header-tests): Likewise.
14322         (tests-special): Add new tests.
14323         ($(linknamespace-symlists-tests)): New rule.
14324         (linknamespace-libs): New variable.
14325         ($(objpfx)symlist-stdlibs): New rule.
14326         ($(linknamespace-header-tests)): Likewise.
14327         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14328         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14329         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14330         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14331         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14332         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14333         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14334         (test-xfail-ISO/math.h/linknamespace): Likewise.
14335         (test-xfail-ISO/signal.h/linknamespace): Likewise.
14336         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14337         (test-xfail-ISO/time.h/linknamespace): Likewise.
14338         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14339         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14340         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14341         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14342         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14343         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14344         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14345         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14346         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14347         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14348         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14349         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14350         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14351         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14352         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14353         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14354         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14355         (test-xfail-XPG3/search.h/linknamespace): Likewise.
14356         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14357         (test-xfail-XPG3/time.h/linknamespace): Likewise.
14358         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14359         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14360         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14361         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14362         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14363         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14364         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14365         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14366         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14367         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14368         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14369         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14370         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14371         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14372         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14373         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14374         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14375         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14376         (test-xfail-XPG4/time.h/linknamespace): Likewise.
14377         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14378         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14379         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14380         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14381         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14382         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14383         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14384         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14385         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14386         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14387         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14388         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14389         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14390         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14391         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14392         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14393         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14394         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14395         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14396         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14397         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14398         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14399         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14400         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14401         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14402         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14403         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14404         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14405         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14406         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14407         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14408         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14409         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14410         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14411         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14412         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14413         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14414         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14415         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14416         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14417         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14418         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14419         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14420         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14421         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14422         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14423         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14424         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14425         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14426         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14427         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14428         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14429         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14430         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14431         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14432         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14433         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14434         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14435         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14436         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14437         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14438         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14439         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14440         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14441         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14442         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14443         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14444         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14445         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14446         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14447         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14448         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14449         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14450         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14451         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14452         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14453         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14454         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14455         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14456         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14457         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14458         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14459         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14460         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14461         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14462         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14463         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14464         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14465         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14466         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14467         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14468         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14469         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14470         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14471         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14472         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14473         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14474         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14475         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14476         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14477         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14478         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14479         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14480         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14481         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14482         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14483         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14484         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14485         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14486         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14487         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14489         [BZ #17589]
14490         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14491         of fgets_unlocked.
14493         [BZ #17585]
14494         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14495         (memmem): Rename to __memmem and define as weak alias of
14496         __memmem.  Use libc_hidden_weak.
14497         (__memmem): Use libc_hidden_def.
14498         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
14499         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14500         memmem.
14502         [BZ #17582]
14503         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14504         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
14505         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14506         and define as weak alias of __fgets_unlocked.  Use
14507         libc_hidden_weak.
14508         (__fgets_unlocked): Use libc_hidden_def.
14509         * include/stdio.h (__fgets_unlocked): Declare.  Use
14510         libc_hidden_proto.
14511         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14512         __fgets_unlocked instead of fgets_unlocked.
14513         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14514         (GET_NPROCS_CONF_PARSER): Likewise.
14515         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14516         (GET_NPROCS_CONF_PARSER): Likewise.
14518         [BZ #17574]
14519         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14520         weak alias of __wmemset.  Use libc_hidden_weak.
14521         (__wmemset): Use libc_hidden_def.
14522         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
14523         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14524         of wmemset.
14526         [BZ #17573]
14527         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14528         with asm name __mempcpy.
14529         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14531         [BZ #17572]
14532         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14533         and define as weak alias of __rawmemchr.
14534         (__rawmemchr): Do not define as strong alias of rawmemchr.
14536         [BZ #17571]
14537         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14538         alias of __qsort_r.
14539         (qsort): Call __qsort_r instead of qsort_r.
14540         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14541         (__qsort_r): Declare.  Call libc_hidden_proto.
14542         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14543         instead of qsort_r.
14544         * nscd/gai.c (__qsort_r): Define to qsort_r.
14545         * posix/tst-rfc3484.c (__qsort_r): Likewise.
14546         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14547         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14549         [BZ #17570]
14550         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14551         define as weak alias of __malloc_info.
14553         [BZ #17584]
14554         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14555         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14556         (__rewinddir): Use libc_hidden_def.
14557         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14558         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14559         (__rewinddir): Use libc_hidden_def.
14560         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14561         weak alias of __rewinddir.  Don't use libc_hidden_def.
14562         (__rewinddir): Use libc_hidden_def.
14563         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14564         (__rewinddir): Use libc_hidden_proto.
14565         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14566         rewinddir.
14567         (__getcwd): Use __rewinddir instead of rewinddir.
14569         [BZ #17583]
14570         * libio/fileno.c (fileno): Rename to __fileno and define as weak
14571         alias of __fileno.  Use libc_hidden_weak.
14572         (__fileno): Use libc_hidden_def.
14573         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14574         * libio/ftello.c (ftello): Rename to __ftello and define as weak
14575         alias of __ftello.
14576         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14577         __ftello.
14578         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14579         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
14580         libc_hidden_def.
14581         (fread_unlocked): Don't use libc_hidden_ver.
14582         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14583         and define as weak alias of __fread_unlocked.  Don't use
14584         libc_hidden_def.
14585         (__fread_unlocked): Use libc_hidden_def.
14586         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
14587         (ftello): Don't use libc_hidden_proto.
14588         (__ftello): Declare.  Use libc_hidden_proto.
14589         (fread_unlocked): Don't use libc_hidden_proto.
14590         (__fread_unlocked): Declare.  Use libc_hidden_proto.
14591         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14592         and __ftello instead of fileno, fread_unlocked and ftello.
14594 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14596         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14597         GOT12.
14598         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14599         Likewise.
14600         (_dl_start_user): Likewise.
14601         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14603 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
14604             Siddhesh Poyarekar  <siddhesh@redhat.com>
14606         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14607         Move argv and envp down instead of moving argc up.
14608         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14610 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
14612         [BZ #17506]
14613         * test-skeleton.c (main): Return successful if one of
14614         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14615         * string/tst-strcoll-overflow.c: Define expected status.
14617 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
14619         [BZ #17475]
14620         * locale/iso-639.def: Define Bhili and Tulu language codes.
14622 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
14624         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14626 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
14628         [BZ #17555]
14629         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14631 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14633         * configure.ac: Updated check of minimal required version to
14634         2.22.
14635         * manual/install.texi (Tools for Compilation): Updated version
14636         number.
14637         * configure: Regenerated.
14638         * INSTALL: Likewise.
14640 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
14642         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14643         __tls_get_addr.
14645 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
14647         * include/sys/wait.h (__libc_waitpid): Remove declaration.
14648         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14649         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14650         libc_hidden_weak.
14651         (waitpid): Define as alias of __waitpid.
14652         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14653         __waitpid.
14654         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14655         libc_hidden_weak.
14656         (waitpid): Define as alias of __waitpid.
14657         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14658         __libc_waitpid alias.
14659         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14660         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14661         Likewise.
14662         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14663         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14664         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14665         alias.
14666         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14667         __waitpid.
14668         (__waitpid): Don't define as alias.  Use libc_hidden_def not
14669         libc_hidden_weak.
14670         (waitpid): Define as alias of __waitpid.
14672 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
14674         * manual/llio.texi: Add comment that write safety has been
14675         fixed in Linux.
14677         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14678         (localplt-build-dso): Add elf/ld.so.
14679         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14680         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14681         and free for ld.so.
14682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14683         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14685         Likewise.
14686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14687         Likewise.
14688         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14689         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14690         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14691         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14692         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14693         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14694         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14695         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14696         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14697         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14698         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14700 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
14702         [BZ #14132]
14703         * include/libc-symbols.h (INTUSE): Remove macro.
14704         (INTDEF): Likewise.
14705         (INTVARDEF): Likewise.
14706         (_INTVARDEF): Likewise.
14707         (INTDEF2): Likewise.
14708         (INTVARDEF2): Likewise.
14709         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14710         rtld_hidden_def instead of INTVARDEF.
14711         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14712         (_dl_starting_up_internal): Remove declaration.
14713         (_dl_starting_up): Use rtld_hidden_proto.
14714         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14715         declaration.
14716         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14717         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14718         _dl_starting_up.
14719         * elf/dl-writev.h (_dl_writev): Likewise.
14720         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14721         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14722         _dl_starting_up_internal.
14724 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14726         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14727         test-skeleton.c.
14729 2014-11-05  Will Newton  <will.newton@linaro.org>
14731         * benchtests/Makefile: (bench-malloc): Add malloc thread
14732         scalability benchmark.
14733         * benchtests/bench-malloc-threads.c: New file.
14735 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
14737         * sysdeps/aarch64/strchrnul.S: New file.
14739 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14741         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14742         definition.
14743         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14744         Likwise.
14745         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14746         Likewise.
14747         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14748         Likewise.
14749         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14750         Likewise.
14751         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14752         Likewise.
14754 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
14756         * catgets/test-gencat.c: Use test-skeleton.c.
14757         * catgets/tst-catgets.c: Likewise.
14758         * csu/tst-empty.c: Likewise.
14759         * elf/tst-audit2.c: Likewise.
14760         * elf/tst-global1.c: Likewise.
14761         * elf/tst-pathopt.c: Likewise.
14762         * elf/tst-piemod1.c: Likewise.
14763         * elf/tst-tls10.c: Likewise.
14764         * elf/tst-tls11.c: Likewise.
14765         * elf/tst-tls12.c: Likewise.
14766         * gnulib/tst-gcc.c: Likewise.
14767         * iconvdata/tst-e2big.c: Likewise.
14768         * iconvdata/tst-loading.c: Likewise.
14769         * iconv/tst-iconv1.c: Likewise.
14770         * iconv/tst-iconv2.c: Likewise.
14771         * inet/test-inet6_opt.c: Likewise.
14772         * inet/tst-gethnm.c: Likewise.
14773         * inet/tst-network.c: Likewise.
14774         * inet/tst-ntoa.c: Likewise.
14775         * intl/tst-codeset.c: Likewise.
14776         * intl/tst-gettext2.c: Likewise.
14777         * intl/tst-gettext3.c: Likewise.
14778         * intl/tst-ngettext.c: Likewise.
14779         * intl/tst-translit.c: Likewise.
14780         * io/test-stat.c: Likewise.
14781         * libio/test-fmemopen.c: Likewise.
14782         * libio/tst-freopen.c: Likewise.
14783         * libio/tst-sscanf.c: Likewise.
14784         * libio/tst-ungetwc1.c: Likewise.
14785         * libio/tst-ungetwc2.c: Likewise.
14786         * libio/tst-widetext.c: Likewise.
14787         * localedata/tst-ctype.c: Likewise.
14788         * localedata/tst-digits.c: Likewise.
14789         * localedata/tst-leaks.c: Likewise.
14790         * localedata/tst-mbswcs1.c: Likewise.
14791         * localedata/tst-mbswcs2.c: Likewise.
14792         * localedata/tst-mbswcs3.c: Likewise.
14793         * localedata/tst-mbswcs4.c: Likewise.
14794         * localedata/tst-mbswcs5.c: Likewise.
14795         * localedata/tst-setlocale.c: Likewise.
14796         * localedata/tst-trans.c: Likewise.
14797         * localedata/tst-wctype.c: Likewise.
14798         * localedata/tst-xlocale1.c: Likewise.
14799         * login/tst-grantpt.c: Likewise.
14800         * malloc/tst-calloc.c: Likewise.
14801         * malloc/tst-malloc.c: Likewise.
14802         * malloc/tst-mallocstate.c: Likewise.
14803         * malloc/tst-mcheck.c: Likewise.
14804         * malloc/tst-mtrace.c: Likewise.
14805         * malloc/tst-obstack.c: Likewise.
14806         * math/atest-exp2.c: Likewise.
14807         * math/atest-exp.c: Likewise.
14808         * math/atest-sincos.c: Likewise.
14809         * math/test-matherr.c: Likewise.
14810         * math/test-misc.c: Likewise.
14811         * math/test-powl.c: Likewise.
14812         * math/tst-definitions.c: Likewise.
14813         * misc/tst-dirname.c: Likewise.
14814         * misc/tst-efgcvt.c: Likewise.
14815         * misc/tst-fdset.c: Likewise.
14816         * misc/tst-hsearch.c: Likewise.
14817         * misc/tst-mntent2.c: Likewise.
14818         * nptl/tst-sem7.c: Likewise.
14819         * nptl/tst-sem8.c: Likewise.
14820         * nptl/tst-sem9.c: Likewise.
14821         * nss/test-netdb.c: Likewise.
14822         * posix/tst-fnmatch.c: Likewise.
14823         * posix/tst-getlogin.c: Likewise.
14824         * posix/tst-gnuglob.c: Likewise.
14825         * posix/tst-mmap.c: Likewise.
14826         * pwd/tst-getpw.c: Likewise.
14827         * resolv/tst-inet_ntop.c: Likewise.
14828         * rt/tst-timer.c: Likewise.
14829         * stdio-common/test-fseek.c: Likewise.
14830         * stdio-common/test-popen.c: Likewise.
14831         * stdio-common/test-vfprintf.c: Likewise.
14832         * stdio-common/tst-cookie.c: Likewise.
14833         * stdio-common/tst-fileno.c: Likewise.
14834         * stdio-common/tst-gets.c: Likewise.
14835         * stdio-common/tst-obprintf.c: Likewise.
14836         * stdio-common/tst-perror.c: Likewise.
14837         * stdio-common/tst-sprintf2.c: Likewise.
14838         * stdio-common/tst-sprintf3.c: Likewise.
14839         * stdio-common/tst-sprintf.c: Likewise.
14840         * stdio-common/tst-swprintf.c: Likewise.
14841         * stdio-common/tst-tmpnam.c: Likewise.
14842         * stdio-common/tst-unbputc.c: Likewise.
14843         * stdio-common/tst-wc-printf.c: Likewise.
14844         * stdlib/tst-environ.c: Likewise.
14845         * stdlib/tst-fmtmsg.c: Likewise.
14846         * stdlib/tst-limits.c: Likewise.
14847         * stdlib/tst-rand48-2.c: Likewise.
14848         * stdlib/tst-rand48.c: Likewise.
14849         * stdlib/tst-random2.c: Likewise.
14850         * stdlib/tst-random.c: Likewise.
14851         * stdlib/tst-strtol.c: Likewise.
14852         * stdlib/tst-strtoll.c: Likewise.
14853         * stdlib/tst-tls-atexit.c: Likewise.
14854         * stdlib/tst-xpg-basename.c: Likewise.
14855         * string/test-ffs.c: Likewise.
14856         * string/tst-bswap.c: Likewise.
14857         * string/tst-inlcall.c: Likewise.
14858         * string/tst-strtok.c: Likewise.
14859         * string/tst-strxfrm.c: Likewise.
14860         * sysdeps/x86_64/tst-audit10.c: Likewise.
14861         * sysdeps/x86_64/tst-audit3.c: Likewise.
14862         * sysdeps/x86_64/tst-audit4.c: Likewise.
14863         * sysdeps/x86_64/tst-audit5.c: Likewise.
14864         * time/tst-ftime_l.c: Likewise.
14865         * time/tst-getdate.c: Likewise.
14866         * time/tst-mktime3.c: Likewise.
14867         * time/tst-mktime.c: Likewise.
14868         * time/tst-posixtz.c: Likewise.
14869         * time/tst-strptime2.c: Likewise.
14870         * time/tst-strptime3.c: Likewise.
14871         * wcsmbs/tst-btowc.c: Likewise.
14872         * wcsmbs/tst-mbrtowc.c: Likewise.
14873         * wcsmbs/tst-mbsrtowcs.c: Likewise.
14874         * wcsmbs/tst-wchar-h.c: Likewise.
14875         * wcsmbs/tst-wcpncpy.c: Likewise.
14876         * wcsmbs/tst-wcrtomb.c: Likewise.
14877         * wcsmbs/tst-wcsnlen.c: Likewise.
14878         * wcsmbs/tst-wcstof.c: Likewise.
14880 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
14882         [BZ #14132]
14883         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14884         INTDEF.
14885         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14886         declaration.
14887         (_dl_mcount): Use rtld_hidden_proto.
14888         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14889         _dl_mcount.
14890         * elf/rtld.c (_rtld_global_ro): Likewise.
14892         [BZ #14132]
14893         * elf/dl-init.c (_dl_init): Don't use INTDEF.
14894         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14895         of _dl_init_internal.
14896         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14897         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14898         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14899         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14900         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14901         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14902         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14903         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14904         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14905         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14906         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14907         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14908         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14909         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14910         * sysdeps/tile/dl-start.S (_start): Likewise.
14911         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14912         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14914         [BZ #14132]
14915         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14916         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14917         (rtld_progname): Make macro definition unconditional.
14918         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14919         INTDEF.
14920         (dlmopen_doit): Do not use INTUSE with _dl_argv.
14921         (dl_main): Likewise.
14922         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14923         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14924         instead of _dl_argv_internal.
14925         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14926         __GI__dl_argv instead of INTUSE(_dl_argv).
14927         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14928         __GI__dl_argv instead of _dl_argv_internal.
14930         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14931         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14932         macro.
14933         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14934         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14935         New macro.
14936         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14937         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14938         macro.
14939         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14940         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14942 2014-11-04  Andreas Schwab  <schwab@suse.de>
14944         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14946 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14948         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14949         mtvsrd instruction in binary form.
14951 2014-11-03  Andreas Schwab  <schwab@suse.de>
14953         [BZ #17522]
14954         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14955         for less than MB_LEN_MAX use a local buffer of that size.
14956         * libio/tst-fputws.c: New file.
14957         * libio/Makefile (tests): Add tst-fputws.
14959 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
14961         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14962         the size of the fpu_fr.fpu_dregs[] array.
14964 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
14966         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14967         (__nanosleep): Do not define as alias.
14968         (nanosleep): Define as alias of __nanosleep.
14969         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14970         __libc_nanosleep name.
14972 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
14974         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14975         install.texi in comment.
14977 2014-10-31  Torvald Riegel  <triegel@redhat.com>
14979         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14980         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14981         ... add here and use lwsync or sync ...
14982         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14983         ... and add here using lwsync.
14985 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
14987         * elf/dl-machine-reject-phdr.h: New file.
14988         * elf/dl-load.c: #include that.
14989         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14990         if that returned true.
14992 2014-10-31  Roland McGrath  <roland@hack.frob.com>
14994         [BZ #17496]
14995         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14996         gen-as-const-headers chunk.  Add a big scare comment after the last
14997         safe place to touch before-compile.
14999 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15001         * manual/install.texi (Tools for Compilation): Update autoconf
15002         version requirements.
15003         * INSTALL: Regenerated.
15005         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
15006         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
15007         (__libc_pselect): Likewise.
15009         [BZ #14138]
15010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
15011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15015 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15017         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
15018         correct barrier instruction.
15019         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
15020         Likewise.
15021         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
15022         Likewise.
15024 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15026         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15027         after defining inlines.  Instead, just use parens to defeat macro
15028         expansion of __isctype in its declaration.
15030 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15032         * include/sys/uio.h (__libc_readv): Remove declaration.
15033         (__libc_writev): Likewise.
15034         * misc/readv.c (__libc_readv): Rename to __readv.
15035         (__readv): Do not define as alias.
15036         (readv): Define as alias of __readv.
15037         * misc/writev.c (__libc_writev): Rename to __writev.
15038         (__writev): Do not define as alias.
15039         (writev): Define as alias of __writev.
15040         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15041         (__readv): Do not define as alias.
15042         (readv): Define unconditionally as alias of __readv.
15043         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15044         (__writev): Do not define as alias.
15045         (writev): Define unconditionally as alias of __writev.
15046         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15047         name.
15048         (writev): Do not define __libc_writev name.
15050 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15052         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15053         (convert_charseq): New function, broken out of ...
15054         (use_from_charmap): ... here.  Call it.
15055         (use_to_charmap): Use convert_charseq and free instead of duplicating
15056         its code with a variable-length stack struct.
15058 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15060         * include/fcntl.h (__libc_creat): Remove declaration.
15061         * io/creat.c (__libc_creat): Rename to creat.
15062         (creat): Do not define as alias.
15063         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15064         of creat instead of __libc_creat.
15065         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15066         to creat.
15067         (creat): Do not define as alias.
15068         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15069         __libc_creat.
15070         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15071         __libc_creat name.
15072         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15073         Likewise.
15075 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
15077         * manual/llio.texi: Add comments discussing why write() may be
15078         considered MT-unsafe on Linux.
15080 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
15082         * dl-load.c (local_strdup): Remove.
15083         (expand_dynamic_string_token): Use __strdup.
15084         (decompose_rpath): Likewise.
15085         (_dl_map_object): Likewise.
15087 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
15089         [BZ #14132]
15090         * sysdeps/generic/unwind-dw2-fde.c
15091         (__register_frame_info_bases_internal): Do not declare.
15092         (__register_frame_info_table_bases_internal): Likewise.
15093         (__deregister_frame_info_bases_internal): Likewise.
15094         (__register_frame_info_bases): Declare and use hidden_proto before
15095         definition.  Use hidden_def instead of INTDEF.
15096         (__register_frame_info_table_bases): Likewise.
15097         (__deregister_frame_info_bases): Likewise.
15098         (__register_frame_info): Do not use INTUSE.
15099         (__register_frame): Likewise.
15100         (__register_frame_info_table): Likewise.
15101         (__register_frame_table): Likewise.
15102         (__deregister_frame_info): Likewise.
15103         (__deregister_frame): Likewise.
15105 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
15107         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15108         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15109         not undefine.
15110         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15111         Likewise.
15112         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15113         Likewise.
15115 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
15117         [BZ #14138]
15118         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15119         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15120         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15121         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15122         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15123         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15124         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15125         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15126         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15127         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15128         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15129         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15130         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15131         syscall.
15132         (setfsuid): Likewise.
15133         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15134         (setfsuid): Likewise.
15135         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15136         (setfsuid): Likewise.
15137         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15138         Likewise.
15139         (setfsuid): Likewise.
15140         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15141         (setfsuid): Likewise.
15142         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15143         Likewise.
15144         (setfsuid): Likewise.
15146 2014-10-27  Andreas Schwab  <schwab@suse.de>
15148         [BZ #17501]
15149         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15150         check for Slow_SSE4_2 feature bit.
15151         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15152         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15153         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15154         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
15156 2014-10-24  Roland McGrath  <roland@hack.frob.com>
15158         * configure.ac: Validate compiler version with a empirical test of
15159         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15160         $CC -v output.
15161         * configure: Regenerated.
15163         * inet/htons.c (htons): Prototypify.
15164         * inet/htonl.c (htonl): Likewise.
15166 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15168         * string/strncat.c (strncat): Improve performance by using strlen.
15170 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15172         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15174 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15176         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15177         Call libc_fetestexcept_aarch64.
15179 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15181         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15182         Call libc_feholdexcept_aarch64.
15184 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15186         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15187         Call get_rounding_mode.
15189 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15191         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15192         Simplify logic.
15194 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15196         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15197         Simplify logic.
15199 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
15201         [BZ #14138]
15202         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15203         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15204         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15205         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15206         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15207         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15208         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15209         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15210         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15211         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15212         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15213         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15214         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15215         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15216         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15217         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15218         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15219         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15220         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15221         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15222         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15223         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15224         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15225         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15226         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15227         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15228         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15229         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15230         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15231         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15232         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15233         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15234         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15235         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15236         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15237         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15238         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15239         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15240         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15241         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15242         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15243         syscall.
15244         (geteuid): Likewise.
15245         (getgid): Likewise.
15246         (getuid): Likewise.
15247         (getresgid): Likewise.
15248         (getresuid): Likewise.
15249         (getgroups): Likewise.
15250         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15251         (geteuid): Likewise.
15252         (getgid): Likewise.
15253         (getuid): Likewise.
15254         (getresgid): Likewise.
15255         (getresuid): Likewise.
15256         (getgroups): Likewise.
15257         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15258         (geteuid): Likewise.
15259         (getgid): Likewise.
15260         (getuid): Likewise.
15261         (getresgid): Likewise.
15262         (getresuid): Likewise.
15263         (getgroups): Likewise.
15264         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15265         Likewise.
15266         (geteuid): Likewise.
15267         (getgid): Likewise.
15268         (getuid): Likewise.
15269         (getresgid): Likewise.
15270         (getresuid): Likewise.
15271         (getgroups): Likewise.
15272         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15273         (geteuid): Likewise.
15274         (getgid): Likewise.
15275         (getuid): Likewise.
15276         (getresgid): Likewise.
15277         (getresuid): Likewise.
15278         (getgroups): Likewise.
15279         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15280         Likewise.
15281         (geteuid): Likewise.
15282         (getgid): Likewise.
15283         (getuid): Likewise.
15284         (getgroups): Likewise.
15286         [BZ #14138]
15287         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15288         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15289         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15290         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15291         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15292         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15293         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15294         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15295         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15296         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15297         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15298         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15299         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15300         __chown.
15301         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15302         (lchown): Likewise.
15303         (fchown): Likewise.
15304         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15305         Likewise.
15306         (lchown): Likewise.
15307         (fchown): Likewise.
15308         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15309         (lchown): Likewise.
15310         (fchown): Likewise.
15311         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15312         Likewise.
15313         (lchown): Likewise.
15314         (fchown): Likewise.
15316 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15318         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15319         Simplify logic.
15321 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15323         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15324         Cleanup logic.
15326 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15328         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15329         Remove unused include.
15331 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15333         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15334         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15335         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15336         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15338 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
15339             Helge Deller <deller@gmx.de>
15341         [BZ #17508]
15342         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15343         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15344         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15346 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
15348         [BZ #14132]
15349         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15350         Remove macro definition.
15351         (__ashrdi3_v_glibc20): Likewise.
15352         (__lshrdi3_v_glibc20): Likewise.
15353         (__cmpdi2_v_glibc20): Likewise.
15354         (__ucmpdi2_v_glibc20): Likewise.
15355         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15356         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15357         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15358         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15359         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15360         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15362 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15364         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15365         old GNU extension [0] syntax.
15366         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15367         alloca rather than an array member with variable length.
15368         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15369         * nscd/nscd.c (invalidate_db): New function, broken out of ...
15370         (parse_opt): ... here.  Likewise use alloca there.
15371         Validate the -i argument before checking for rootness.
15372         (send_shutdown): New function, broken out of ...
15373         (parse_opt): ... here.
15375 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15377         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15378         macro to get at the _rt_local_ro field.
15379         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15380         ([PIC] case) or _dl_hwcap ([!PIC] case).
15381         * sysdeps/arm/setjmp.S: Likewise.
15383         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15384         * sysdeps/arm/configure.ac: New check to define it.
15385         * sysdeps/arm/configure: Regenerated.
15386         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15387         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15388         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15389         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15390         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15391         Use move/movt pair instead of a load.
15392         (LDST_GLOBAL): Macro removed.
15393         (LDR_GLOBAL): New macro replaces it.
15394         (LDR_HIDDEN): New macro.
15395         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15396         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15398         * setjmp/tst-setjmp-static.c: New file.
15399         * setjmp/Makefile (tests): Add it.
15400         (tests-static): New variable.
15402 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
15404         [BZ #17485]
15405         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15407 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
15409         [BZ #14132]
15410         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15412 2014-10-21  Roland McGrath  <roland@hack.frob.com>
15414         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15416 2014-10-20  Roland McGrath  <roland@hack.frob.com>
15418         * io/fts.c (dirent_not_directory): New function.
15419         (fts_build): Call it.
15421 2014-10-20  Roland McGrath  <roland@hack.frob.com>
15423         * nptl/version.c (__nptl_main): Use normal __write rather than
15424         INTERNAL_SYSCALL.
15425         (banner): Update copyright years.
15427         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15428         gettimeofday.
15429         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15430         * nptl/pthread_cond_timedwait.c: Likewise.
15431         * nptl/pthread_mutex_timedlock.c: Likewise.
15432         * nptl/sem_timedwait.c: Likewise.
15434         * sysdeps/nptl/bits/libc-lock.h
15435         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15436         (__libc_lock_init_recursive): Return void, not 0.
15437         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15438         (__libc_rwlock_init): Likewise.
15439         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15441 2014-10-20  Torvald Riegel  <triegel@redhat.com>
15443         [BZ #15215]
15444         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15445         (__pthread_once_slow): ... here.
15446         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15447         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15449 2014-10-20  Torvald Riegel  <triegel@redhat.com>
15451         [BZ #15215]
15452         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15453         __PTHREAD_ONCE_FORK_GEN_INCR): New.
15454         * sysdeps/nptl/fork.c (__libc_fork): Use them.
15455         * nptl/pthread_once.c (__pthread_once): Likewise.
15456         Update comments.
15458 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
15460         [BZ #14138]
15461         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15462         name.
15463         (writev): Use __libc_writev as strong name.
15464         * sysdeps/unix/sysv/linux/readv.c: Remove file.
15465         * sysdeps/unix/sysv/linux/writev.c: Likewise.
15467 2014-10-17  Roland McGrath  <roland@hack.frob.com>
15469         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15471         * sysdeps/i386/nptl/tls.h
15472         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15473         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15474         New macros.
15475         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15476         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15477         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15478         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15479         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15480         Call CHECK_THREAD_SYSINFO instead of doing an assert.
15482         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15483         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15484         on [__NR_futex].
15485         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15486         broken out of ...
15487         (__pthread_mutex_init): ... here.  Call it.
15488         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15489         Conditionalize PI cases on [__NR_futex].
15490         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15491         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15492         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15494         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15495         conditional on [SIGSETXID].
15496         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15497         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15498         is defined.  Likewise for SIGSETXID.
15499         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15500         Conditionalize definitions on [SIGSETXID].
15501         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15502         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15503         unblocking on [SIGCANCEL].
15505         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15506         [__NR_set_robust_list].
15508 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15510         * string/strcoll_l.c (get_next_seq): Fix up formatting.
15511         (do_compare): Likewise.
15513 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
15515         [BZ #15884]
15516         * string/strcoll_l.c: Don't include stdio.h.
15517         (coll_seq): Remove members idxarr and rulearr.
15518         (get_next_seq_cached): Remove function.
15519         (get_next_seq): Likewise.
15520         (get_next_seq_nocache): Rename to get_next_seq.
15521         (do_compare): Remove function.
15522         (do_compare_nocache): Rename to do_compare.
15523         (STRCOLL): Remove weight and rules cache.
15525 2014-10-16  Roland McGrath  <roland@hack.frob.com>
15527         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15528         * sysdeps/arm/sfp-machine.h: ... to here.
15529         * sysdeps/arm/Implies: Remove arm/soft-fp.
15531 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
15533         * conform/data/sys/utsname.h-data (*_t): Allow.
15534         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15535         [POSIX] (WEXITED): Do not expect constant.
15536         [POSIX] (WSTOPPED): Likewise.
15537         [POSIX] (WNOHANG): Likewise.
15538         [POSIX] (WNOWAIT): Likewise.
15539         [POSIX] (siginfo_t): Do not expect type or elements.
15540         [POSIX] (pid_t): Do not expect type.
15541         [POSIX] (signal.h): Do not allow header.
15542         [POSIX] (sys/resource.h): Likewise.
15543         [POSIX] (si_*): Do not allow pattern.
15544         [POSIX] (W*): Likewise.
15545         [POSIX] (P_*): Likewise.
15546         [POSIX] (BUS_*): Likewise.
15547         [POSIX] (CLD_*): Likewise.
15548         [POSIX] (FPE_*): Likewise.
15549         [POSIX] (ILL_*): Likewise.
15550         [POSIX] (POLL_*): Likewise.
15551         [POSIX] (SEGV_*): Likewise.
15552         [POSIX] (SI_*): Likewise.
15553         [POSIX] (TRAP_*): Likewise.
15554         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15555         variable.
15557 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15559         [BZ #12926]
15560         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15561         infinite loop when __recvmsg returns 0.
15563 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
15565         * CANCEL-FCT-WAIVE: Remove file.
15566         * CANCEL-FILE-WAIVE: Likewise.
15568         [BZ #14132]
15569         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15570         instead of INTVARDEF.
15571         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15572         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15573         rtld_hidden_data_def instead of INTVARDEF.
15574         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15575         * elf/dl-deps.c (expand_dst): Likewise.
15576         * elf/dl-load.c (_dl_dst_count): Likewise.
15577         (_dl_dst_substitute): Likewise.
15578         (decompose_rpath): Likewise.
15579         (_dl_init_paths): Likewise.
15580         (open_path): Likewise.
15581         (_dl_map_object): Likewise.
15582         * elf/rtld.c (dl_main): Likewise.
15583         (process_dl_audit): Likewise.
15584         (process_envvars): Likewise.
15585         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15586         Remove declaration.
15587         (__libc_enable_secure): Use rtld_hidden_proto.
15589 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15591         * elf/dl-load.c
15592         (add_path): New function broken out of _dl_rtld_di_serinfo.
15593         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
15595 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
15597         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15598         parentheses around macro arguments.
15599         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15602         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15603         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15605         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15606         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15607         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15610         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15611         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15612         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15613         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15614         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15615         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15616         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15617         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15620         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15621         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15624         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15625         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15628         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15629         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15630         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15631         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15632         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15633         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15634         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15635         Likewise.
15636         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15639         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15640         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15643         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15644         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15645         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15646         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15647         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15648         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15649         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15653         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15656         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15657         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15658         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15659         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15660         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15661         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15662         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15663         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15664         (_FP_FRAC_SRS_1): Likewise.
15665         (_FP_FRAC_CLZ_1): Likewise.
15666         (_FP_MUL_MEAT_1_imm): Likewise.
15667         (_FP_MUL_MEAT_1_wide): Likewise.
15668         (_FP_MUL_MEAT_1_hard): Likewise.
15669         (_FP_SQRT_MEAT_1): Likewise.
15670         (_FP_FRAC_ASSEMBLE_1): Likewise.
15671         (_FP_FRAC_DISASSEMBLE_1): Likewise.
15672         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15673         (__FP_CLZ_2): Likewise.
15674         (_FP_MUL_MEAT_2_wide): Likewise.
15675         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15676         (_FP_MUL_MEAT_2_gmp): Likewise.
15677         (_FP_MUL_MEAT_2_120_240_double): Likewise.
15678         (_FP_SQRT_MEAT_2): Likewise.
15679         (_FP_FRAC_ASSEMBLE_2): Likewise.
15680         (_FP_FRAC_DISASSEMBLE_2): Likewise.
15681         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15682         (_FP_FRAC_CLZ_4): Likewise.
15683         (_FP_MUL_MEAT_4_wide): Likewise.
15684         (_FP_MUL_MEAT_4_gmp): Likewise.
15685         (_FP_SQRT_MEAT_4): Likewise.
15686         (_FP_FRAC_ASSEMBLE_4): Likewise.
15687         (_FP_FRAC_DISASSEMBLE_4): Likewise.
15688         * soft-fp/op-common.h (_FP_CMP): Likewise.
15689         (_FP_CMP_EQ): Likewise.
15690         (_FP_CMP_UNORD): Likewise.
15691         (_FP_TO_INT): Likewise.
15692         (_FP_FROM_INT): Likewise.
15693         [!__FP_CLZ] (__FP_CLZ): Likewise.
15694         (_FP_DIV_HELP_imm): Likewise.
15695         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15696         Likewise.
15697         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15698         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15699         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15700         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15701         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15703         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15704         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15705         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15707         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15708         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15709         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15710         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15711         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15712         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15713         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15714         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15715         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15716         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15717         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15718         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15719         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15720         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15721         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15722         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15723         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15724         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15725         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15726         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15727         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15728         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15729         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15730         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15731         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15732         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15733         (FP_UNPACK_RAW_SP): Likewise.
15734         (FP_PACK_RAW_S): Likewise.
15735         (FP_PACK_RAW_SP): Likewise.
15736         (FP_UNPACK_S): Likewise.
15737         (FP_UNPACK_SP): Likewise.
15738         (FP_UNPACK_SEMIRAW_S): Likewise.
15739         (FP_UNPACK_SEMIRAW_SP): Likewise.
15740         (FP_PACK_S): Likewise.
15741         (FP_PACK_SP): Likewise.
15742         (FP_PACK_SEMIRAW_S): Likewise.
15743         (FP_PACK_SEMIRAW_SP): Likewise.
15744         (_FP_SQRT_MEAT_S): Likewise.
15745         (FP_CMP_S): Likewise.
15746         (FP_CMP_EQ_S): Likewise.
15747         (FP_CMP_UNORD_S): Likewise.
15748         (FP_TO_INT_S): Likewise.
15749         (FP_FROM_INT_S): Likewise.
15751         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15753         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15754         (FP_EX_INVALID_IMZ): Likewise.
15755         (FP_EX_INVALID_IMZ_FMA): Likewise.
15756         (FP_EX_INVALID_ISI): Likewise.
15757         (FP_EX_INVALID_ZDZ): Likewise.
15758         (FP_EX_INVALID_IDI): Likewise.
15759         (FP_EX_INVALID_SQRT): Likewise.
15760         (FP_EX_INVALID_CVI): Likewise.
15761         (FP_EX_INVALID_VC): Likewise.
15762         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15763         "invalid" exceptions.
15764         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15765         (_FP_ADD_INTERNAL): Likewise.
15766         (_FP_MUL): Likewise.
15767         (_FP_FMA): Likewise.
15768         (_FP_DIV): Likewise.
15769         (_FP_CMP_CHECK_NAN): Likewise.
15770         (_FP_SQRT): Likewise.
15771         (_FP_TO_INT): Likewise.
15772         (FP_EXTEND): Likewise.
15774 2014-10-09  Allan McRae  <allan@archlinux.org>
15776         * po/fr.po: Update French translation from translation project.
15778 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
15780         [BZ #14132]
15781         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15782         of INTDEF.
15783         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15784         (__cxa_atexit): Use libc_hidden_proto.
15785         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15787         [BZ #14132]
15788         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15789         declaration.
15790         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15791         [!_ISOMAC] (__iswspace_l_internal): Likewise.
15792         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15793         [!_ISOMAC] (__iswctype_internal): Likewise.
15794         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15795         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15796         alias.
15797         (fcntl): Remove __fcntl_internal alias.
15798         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15799         __connect_internal alias.
15800         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15801         Likewise.
15803         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15804         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15805         FP_DENORM_ZERO.
15806         (_FP_CHECK_FLUSH_ZERO): New macro.
15807         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15808         (_FP_CMP): Likewise.
15809         (_FP_CMP_EQ): Likewise.
15810         (_FP_TO_INT): Do not set inexact for subnormal arguments if
15811         FP_DENORM_ZERO.
15812         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15813         (FP_TRUNC): Likewise.
15815         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15816         treated as invalid conversion, not as normal exponent.
15818         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15819         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
15820         (_FP_CMP_EQ): Likewise.
15821         (_FP_CMP_UNORD): Likewise.
15822         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15823         (FP_CMP_EQ_D): Likewise.
15824         (FP_CMP_UNORD_D): Likewise.
15825         * soft-fp/extended.h (FP_CMP_E): Likewise.
15826         (FP_CMP_EQ_E): Likewise.
15827         (FP_CMP_UNORD_E): Likewise.
15828         * soft-fp/quad.h (FP_CMP_Q): Likewise.
15829         (FP_CMP_EQ_Q): Likewise.
15830         (FP_CMP_UNORD_Q): Likewise.
15831         * soft-fp/single.h (FP_CMP_S): Likewise.
15832         (FP_CMP_EQ_S): Likewise.
15833         (FP_CMP_UNORD_S): Likewise.
15834         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15835         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15836         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15837         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15838         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15839         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15840         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15841         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15842         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15843         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15844         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15845         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15846         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15847         to FP_CMP_Q.
15848         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15849         FP_CMP_Q.
15850         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15851         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15852         FP_CMP_EQ_Q.
15853         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15854         FP_CMP_Q.
15855         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15856         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15857         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15858         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15859         FP_CMP_EQ_Q.
15860         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15861         FP_CMP_Q.
15862         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15863         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15864         FP_CMP_EQ_Q.
15865         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15866         FP_CMP_Q.
15867         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15868         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15869         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15870         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15871         FP_CMP_EQ_Q.
15873         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15874         a subnormal result, set the underflow exception if trapping on
15875         underflow is enabled.
15876         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15877         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15878         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15879         redefine to 0.
15880         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15881         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15882         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15883         * soft-fp/extendxftf2.c (__extendxftf2): Use
15884         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15886         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15887         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15888         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15889         FP_HANDLE_EXCEPTIONS.
15890         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15891         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15892         FP_HANDLE_EXCEPTIONS.
15893         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15894         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15895         FP_HANDLE_EXCEPTIONS.
15896         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15897         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15898         FP_HANDLE_EXCEPTIONS.
15900 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
15902         [BZ #14132]
15903         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15904         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15905         use INTUSE.
15906         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15907         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15908         Remove alias.
15909         (__adjtimex): Define using libc_hidden_ver.
15910         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15911         Remove declaration.
15912         (ntp_gettime): Call __adjtimex directly.
15913         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15914         Remove declaration.
15915         (ntp_gettimex): Call __adjtimex directly.
15916         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15917         __adjtimex_internal alias.
15919 2014-10-08  Roland McGrath  <roland@hack.frob.com>
15921         [BZ #17460]
15922         * nscd/nscd.c (more_help): Rewrite list of tables collection
15923         using xstrdup and asprintf.
15925         * nscd/nscd_conf.c: Remove local xstrdup declaration.
15927 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15928             Roland McGrath  <roland@hack.frob.com>
15930         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15931         (do_lookup_unique): ... local function 'enter' here; update callers.
15933 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
15935         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15936         compat_symbol calls on [SHARED].
15937         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15938         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15939         Remove.
15940         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15941         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15942         (oldsetrlimit): Remove.
15943         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15945         (lchown): New syscall entry.
15946         (oldsetrlimit): Remove.
15947         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15948         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15949         (oldsetrlimit): Remove.
15950         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15952         [BZ #14138]
15953         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15954         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15955         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15956         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15957         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15958         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15959         (fchown): Likewise.
15960         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15961         (fchown): Likewise.
15962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15963         Likewise.
15965 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15967         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15968         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15969         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15970         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15971         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15972         Likewise.
15973         (__old_sem_post): Likewise.
15975 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
15977         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15978         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15979         HAVE_CLOCK_GETTIME_VSYSCALL macros.
15980         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15981         Use INLINE_VSYSCALL macro.
15982         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15983         __vdso_clock_gettime.
15984         * sysdeps/unix/sysv/linux/tile/init-first.c
15985         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15986         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15987         __vdso_clock_gettime.
15989         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15990         to set up frame more cleanly.
15992         * sysdeps/tile/memcmp.c: New file.
15994         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15996         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15997         * sysdeps/tile/tilegx/strcasestr.c: New file.
15998         * sysdeps/tile/tilegx/strnlen.c: New file.
15999         * sysdeps/tile/tilegx/strstr.c: New file.
16001         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
16003 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
16005         * nptl/tst-setuid3.c: Write errors to stdout.
16007 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16009         * elf/dl-deps.c
16010         (preload): New functions broken out of _dl_map_object_deps.
16011         (_dl_map_object_deps):  Remove a nested function. Update call sites.
16013 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
16015         [BZ #14138]
16016         * sysdeps/unix/sysv/linux/execve.c: Remove file.
16017         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
16019 2014-10-01  Steve Ellcey  <sellcey@mips.com>
16021         * sysdeps/mips/strcmp.S: New.
16023 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
16025         [BZ #14138]
16026         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16027         (linkat): Likewise.
16028         (mkdirat): Likewise.
16029         (readlinkat): Likewise.
16030         (renameat): Likewise.
16031         (symlinkat): Likewise.
16032         (unlinkat): Likewise.
16033         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16034         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16035         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16036         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16037         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16038         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16039         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16041 2014-09-30  Will Newton  <will.newton@linaro.org>
16043         * math/math.h: Define long double math functions if
16044         _LIBC_TEST is defined.
16045         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16047         * localedata/Makefile: Move assignment to tests-special
16048         into an ifdef testing run-built-tests.
16049         * timezone/Makefile: Likewise.
16051 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
16053         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16054         with $(BASH) not $(SHELL).
16056 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
16057             Matthew LeGendre  <legendre1@llnl.gov>
16059         [BZ #17411]
16060         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16061         l_reloc_result.
16063 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16065         * stdio-common/printf_fp.c
16066         (hack_digit): New function, broken out of ...
16067         (__printf_fp): ... local function here.  Update call sites.
16068         hack_digit now takes an additional parameter that is a pointer
16069         to a struct of the referenced locals.  Those locals moved inside
16070         the struct and references updated.
16072 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
16074         * aclocal.m4: Require autoconf 2.69.
16075         * configure: Regenerated.
16076         * sysdeps/aarch64/configure: Likewise.
16077         * sysdeps/alpha/configure: Likewise.
16078         * sysdeps/arm/armv7/configure: Likewise.
16079         * sysdeps/arm/configure: Likewise.
16080         * sysdeps/ia64/configure: Likewise.
16081         * sysdeps/mach/configure: Likewise.
16082         * sysdeps/mips/configure: Likewise.
16083         * sysdeps/s390/configure: Likewise.
16084         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16087         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16088         file.
16089         * sysdeps/ia64/configure.ac: Likewise.
16091 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
16093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16094         specify symbol version for ld.so.  Do not include entry for
16095         libpthread.
16096         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16097         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16098         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16100         [BZ #14171]
16101         * Makeconfig [$(build-shared) = yes]
16102         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16103         makefiles.
16104         [$(build-shared) = yes && $(soversions.mk-done) = t]
16105         ($(common-objpfx)gnu/lib-names.h): Remove rule.
16106         [$(build-shared) = yes && $(soversions.mk-done) = t]
16107         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
16108         to Makerules.
16109         [$(build-shared) = yes && $(soversions.mk-done) = t]
16110         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16111         here.
16112         [$(build-shared) = yes && $(soversions.mk-done) = t]
16113         (common-generated): Don't append gnu/lib-names.h and
16114         gnu/lib-names.stmp here.
16115         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16116         (lib-names-h-abi): New variable.
16117         [$(build-shared) = yes && $(soversions.mk-done) = t]
16118         (lib-names-stmp-abi): Likewise.
16119         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16120         abi-variants] (before-compile): Append
16121         $(common-objpfx)$(lib-names-h-abi).
16122         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16123         abi-variants] (common-generated): Append gnu/lib-names.h.
16124         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16125         abi-variants] (install-others-nosubdir): Depend on
16126         $(inst_includedir)/$(lib-names-h-abi).
16127         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16128         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16129         [$(build-shared) = yes && $(soversions.mk-done) = t]
16130         ($(common-objpfx)$(lib-names-h-abi)): New rule.
16131         [$(build-shared) = yes && $(soversions.mk-done) = t]
16132         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16133         [$(build-shared) = yes && $(soversions.mk-done) = t]
16134         (common-generated): Append $(lib-names-h-abi) and
16135         $(lib-names-stmp-abi).
16136         * scripts/lib-names.awk: Do not handle multi being set.
16137         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16138         Remove variable.
16139         (abi-lp64_be-ld-soname): Likewise.
16140         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16141         Likewise.
16142         (abi-hard-ld-soname): Likewise.
16143         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16144         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16145         Remove variable.
16146         (abi-o32_hard-ld-soname): Likewise.
16147         (abi-o32_soft_2008-ld-soname): Likewise.
16148         (abi-o32_hard_2008-ld-soname): Likewise.
16149         (abi-n32_soft-ld-soname): Likewise.
16150         (abi-n32_hard-ld-soname): Likewise.
16151         (abi-n32_soft_2008-ld-soname): Likewise.
16152         (abi-n32_hard_2008-ld-soname): Likewise.
16153         (abi-n64_soft-ld-soname): Likewise.
16154         (abi-n64_hard-ld-soname): Likewise.
16155         (abi-n64_soft_2008-ld-soname): Likewise.
16156         (abi-n64_hard_2008-ld-soname): Likewise.
16157         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16158         Likewise.
16159         (abi-64-v2-ld-soname): Likewise.
16160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16161         ld.so entries.
16162         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16163         variable.
16164         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16165         entry.
16166         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16167         variable.
16168         (abi-64-ld-soname): Likewise.
16169         (abi-x32-ld-soname): Likewise.
16170         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16171         entry.
16172         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16174 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
16176         [BZ #14138]
16177         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16178         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16179         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16180         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16181         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16182         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16183         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16184         syscall entry for GLIBC_2.2 symbol version.
16185         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16186         Likewise.
16187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16188         (setrlimit): Likewise.
16189         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16190         Likewise.
16192 2014-09-23  Will Newton  <will.newton@linaro.org>
16194         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16195         _LINUX_ARM_SYSDEP_H include guard too.
16196         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16197         define.
16199 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16201         * sysdeps/unix/sysv/linux/eventfd.c:
16202         Make first argument unsigned.
16203         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16204         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16206 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
16208         * socket/recvmmsg.c (recvmmsg): Drop const argument.
16209         * socket/sys/socket.h: Likewise
16210         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16212 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16214         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16216 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
16218         * time/tst-ftime.c: New test.
16219         * time/Makefile (tests): Add tst-ftime.
16221 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
16223         * soft-fp/extended.h: Fix comment formatting.
16224         * soft-fp/op-1.h: Likewise.
16225         * soft-fp/op-2.h: Likewise.
16226         * soft-fp/op-4.h: Likewise.
16227         * soft-fp/op-8.h: Likewise.
16228         * soft-fp/op-common.h: Likewise.
16229         * soft-fp/soft-fp.h: Likewise.
16231         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16233 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
16235         [BZ #6652]
16236         * Makeconfig (soversions-default-setname): Remove variable.
16237         ($(common-objpfx)soversions.i): Don't pass default_setname to
16238         soversions.awk.
16239         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16240         oldest_abi to abi-versions.awk.
16241         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16242         * config.make.in (oldest-abi): Remove variable.
16243         * configure.ac (--enable-oldest-abi): Remove configure option.
16244         * configure: Regenerated.
16245         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16246         text.
16247         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16248         * scripts/soversions.awk: Do not handle default_setname variable.
16249         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16250         variable.
16251         * sysdeps/mach/hurd/configure: Regenerated.
16252         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16253         variable.
16254         * sysdeps/unix/sysv/linux/configure: Regenerated.
16256 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16258         * elf/Makefile (CFLAGS-interp.c): Remove.
16259         ($(elf-objpfx)runtime-linker.h): Generate header with linker
16260         path string.
16261         * elf/interp.c: Include generated runtime-linker.h
16263         * Makerules (lib%.so): Don't include $(+interp) in
16264         prerequisites.
16265         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16266         * dlfcn/eval.c: Remove file.
16268         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16269         macros.
16271         [BZ #17266]
16272         * misc/sys/cdefs.h: Define __extern_always_inline for clang
16273         4.2 and newer.
16275         [BZ #17370]
16276         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16278 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16279             Jakub Jelinek  <jakub@redhat.com>
16281         [BZ #17266]
16282         * libio/stdio.h: Check definition of __fortify_function
16283         instead of __extern_always_inline to include bits/stdio2.h.
16284         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16285         check if __extern_always_inline is defined.
16286         [__USE_MISC || __USE_XOPEN]: Likewise.
16287         [__USE_ISOC99] Likewise.
16288         * misc/sys/cdefs.h (__fortify_function): Define only if
16289         __extern_always_inline is defined.
16290         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16291         __extern_always_inline and __extern_inline only for g++-4.3
16292         and newer or a compatible gcc.
16294 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
16296         [BZ #17371]
16297         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16298         last change to handle zero prefix length.
16300 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16302         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16303         _SC_REGEX_VERSION.
16305         * posix/getconf.c (vars): Add _POSIX_IPV6 and
16306         _POSIX_RAW_SOCKETS.
16308 2014-09-13  Allan McRae  <allan@archlinux.org>
16310         * po/ru.po: Update Russian translation from translation project.
16312 2014-09-12  Roland McGrath  <roland@hack.frob.com>
16314         * locale/programs/locale.c (show_locale_vars): Inline local function
16315         into its sole call site.  Clean up some style nits.
16316         (print_item): New function, broken out of ...
16317         (show_info): ... local function here.  Clean up style nits.
16319         * locale/programs/ld-ctype.c (set_one_default): New function, broken
16320         out of ...
16321         (set_class_defaults): ... local function set_default here.
16322         Define set_default as a macro locally to pass constant parameters.
16323         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16324         rather than a shared local.
16326         * stdlib/rpmatch.c (try): New function, broken out of ...
16327         (rpmatch): ... local function here.  Also, prototypify definition.
16329 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
16331         * scripts/soversions.awk: Do not handle configuration names.
16332         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16333         vendor and os variables to soversions.awk.
16334         * configure.ac: Do not modify gnu-* host_os.
16335         * configure: Regenerated
16336         * shlib-versions: Remove first column with configuration names.
16337         * nptl/shlib-versions: Likewise.
16338         * nptl_db/shlib-versions: Likewise.
16339         * sysdeps/hppa/shlib-versions: Likewise.
16340         * sysdeps/m68k/shlib-versions: Likewise.
16341         * sysdeps/mach/hurd/shlib-versions: Likewise.
16342         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16343         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16344         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16345         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16346         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16347         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16348         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16349         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16351         Likewise.
16352         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16353         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16354         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16355         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16356         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16357         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16358         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16359         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16362         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16364         Regenerated.
16365         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16367         Condition symbol version definitions on [HAVE_ELFV2_ABI].
16369         * shlib-versions: Remove OS-specific entries.  Moved to files in
16370         sysdeps.
16371         * sysdeps/mach/hurd/shlib-versions: New file.
16372         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16374         * nptl/shlib-versions: Remove architecture-specific entries.
16375         Moved to files in sysdeps.
16376         * shlib-versions: Likewise.
16377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16378         file.
16379         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16380         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16381         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16382         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16384         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16385         (UDP_NO_CHECK6_RX): Likewise.
16387 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16389         * sysdeps/posix/sysconf.c (__sysconf): Spell
16390         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16392 2014-08-12  Florian Weimer  <fweimer@redhat.com>
16394         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16395         loading.
16396         * iconv/Versions (__gconv_transliterate): Export for use from
16397         gconv modules.
16398         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16399         (struct __gconv_trans_data, __gconv_trans_fct,
16400         __gconv_trans_context_fct, __gconv_trans_query_fct,
16401         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16402         definitions.
16403         (struct __gconv_step_data): Remove __trans member.
16404         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
16405         longer hidden.  Remove unused trans_data argument.
16406         * iconv/gconv_int.h (struct trans_struct): Remove definition.
16407         (__gconv_translit_find): Remove declaration.
16408         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
16409         prototype.
16410         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16411         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16412         trans_data argument.  Add hidden definition.
16413         (__gconv_translit_find): Remove.
16414         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16415         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16416         * iconv/skeleton.c: Remove transliteration initialization.
16417         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16418         __gconv_step_data initialization.
16419         * libio/iofwide.c (__libio_translit_): Remove.
16420         (_IO_fwide): Adjust struct __gconv_step_data initialization.
16421         * wcsmbs/btowc.c (__btowc): Likewise.
16422         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16423         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16424         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16425         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16426         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16427         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16428         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16429         * wcsmbs/wctob.c (wctob): Likewise.
16431 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16433         [BZ #16194]
16434         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16435         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
16436         register usage.
16437         * sysdeps/x86/Makefile: Adjust.
16439 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16440             Roland McGrath  <roland@hack.frob.com>
16442         * locale/weight.h: Add include guard.
16443         (findidx): Make static rather than auto; take new parameters
16444         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16445         * locale/weightwc.h: Likewise.
16446         * posix/fnmatch_loop.c
16447         (FCT): Change type of EXTRA from int32_t to wint_t.
16448         Don't include either header inside the function.
16449         Call FINDIDX rather than findidx, and pass new arguments.
16450         #undef FINDIDX at the end of the file.
16451         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16452         FINDIDX before including fnmatch_loop.c for the non-wide version.
16453         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16454         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16455         for the wide version.
16456         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16457         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16458         Pass new arguments to findidx.
16459         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16460         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16461         Don't #include it inside the function.  Pass new arguments to findidx.
16462         * posix/regex_internal.h
16463         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16464         (re_string_elem_size_at): Don't #include it inside the function.
16465         Pass new arguments to findidx.
16466         * string/strcoll_l.c: #include WEIGHT_H at top level.
16467         (get_next_seq): Don't #include it inside the function.
16468         Pass new arguments to findidx.
16469         (get_next_seq_nocache): Likewise.
16470         * string/strxfrm_l.c: #include WEIGHT_H at top level.
16471         (STRXFRM): Don't #include it inside the function.
16472         Pass new arguments to findidx.
16474 2014-09-11  Florian Weimer  <fweimer@redhat.com>
16476         [BZ #17344]
16477         * malloc/malloc.c (unlink): Turn asserts into a call to
16478         malloc_printerr.
16480 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
16482         [BZ #17370]
16483         * libio/wfileops (do_ftell_wide): Free OUT.
16485 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
16487         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16489 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16491         [BZ #17363]
16492         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16493         group if the current group is empty.
16495 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16497         * benchtests/bench-memset.c (test_main): Add more test from size
16498         from 32 to 512 bytes.
16499         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16500         Add POWER8 memset object.
16501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16502         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16503         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16504         implementation.
16505         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16506         Likewise.
16507         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16508         multiarch POWER8 memset optimization.
16509         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16510         POWER8 memset optimization.
16512         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16513         Remove bzero multiarch objects.
16514         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16515         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16516         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16517         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16518         Remove define.
16519         [__bzero]: Redefine to specific name.
16520         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16521         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16522         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16523         define.
16524         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16525         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16527 2014-09-10  Florian Weimer  <fweimer@redhat.com>
16529         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16530         warnings into errors.
16532         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16533         __cxa_thread_atexit_impl prototype.
16535 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16537         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16538         Fix capitalization of error message.
16540 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16542         * sysdeps/mips/preconfigure: Modify ABI tests.
16544 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
16546         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16548 2014-09-07  Roland McGrath  <roland@hack.frob.com>
16549             Carlos O'Donell  <carlos@systemhalted.org>
16551         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16552         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16553         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16554         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16555         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16556         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16557         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16558         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16559         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16560         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16561         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16562         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16563         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16564         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16565         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16566         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16567         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16568         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16569         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16570         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16571         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16572         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16573         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16574         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16575         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16576         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16577         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16578         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16579         Deconditionalize the code that was previously under [RESET_PID].
16580         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16581         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16582         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16583         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16584         include sysdep.h.
16586 2014-09-08  Allan McRae  <allan@archlinux.org>
16588         * version.h (RELEASE): Set to "development".
16589         (VERSION): Set to "2.20.90"
16591 2014-09-07  Allan McRae  <allan@archlinux.org
16593         * version.h (RELEASE): Set to "stable".
16594         (VERSION): Set to "2.20"
16595         * include/features.h (__GLIBC_MINOR__): Set to 20.
16597         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16598         Liebler.
16600         * po/ko.po: Update Korean translation from translation project.
16602 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
16604         [BZ #17354]
16605         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16606         macro for handling signed relocations.
16608 2014-09-03  Florian Weimer  <fweimer@redhat.com>
16610         [BZ #17325]
16611         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16612         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16613         assert.
16614         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16615         * iconvdata/ibm935.c (BODY): Likewise.
16616         * iconvdata/ibm937.c (BODY): Likewise.
16617         * iconvdata/ibm939.c (BODY): Likewise.
16618         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16619         assert.
16620         * iconvdata/Makefile (iconv-test.out): Pass module list to test
16621         script.
16622         * iconvdata/run-iconv-test.sh: New test loop for checking for
16623         decoder crashers.
16625 2014-09-02  Khem Raj  <raj.khem@gmail.com>
16627         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16628         libm_hidden_ver.
16630 2014-09-01  Allan McRae  <allan@archlinux.org>
16632         * po/eo.po: Update Esperanto translation from translation project.
16634         * po/ca.po: Update Catalan translation from translation project.
16636 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16638         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16639         __proc_dostop call.
16641 2014-08-27  Mark Wielaard  <mjw@redhat.com>
16643         [BZ #17319]
16644         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16645         to call set_thread_area instead of hand written asm.
16646         (__NR_set_thread_area): Removed define.
16647         (TLS_FLAG_WRITABLE): Likewise.
16648         (__ASSUME_SET_THREAD_AREA): Remove check.
16649         (TLS_EBX_ARG): Remove define.
16650         (TLS_LOAD_EBX): Likewise.
16652 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16654         Simplify atomicity of socket creation in bind.
16656         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16657         looking up the name after linking the file.
16659 2014-08-27  Allan McRae  <allan@archlinux.org>
16661         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16663 2014-08-26  Florian Weimer  <fweimer@redhat.com>
16665         [BZ #17187]
16666         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16667         trans_compare, open_translit, __gconv_translit_find):
16668         Remove module loading code.
16670 2014-08-26  Allan McRae  <allan@archlinux.org>
16672         * po/vi.po: Update Vietnamese translation from translation project.
16674         * po/uk.po: Update Ukrainian translation from translation project.
16676         * po/fr.po: Update French translation from translation project.
16678         * po/ru.po: Update Russian translation from translation project.
16680         * po/pl.po: Update Polish translation from translation project.
16682         * po/cs.po: Update Czech translation from translation project.
16684         * po/de.po: Update German translation from translation project.
16686         * po/bg.po: Update Bulgarian translation from translation project.
16688         * po/sv.po: Update Sweedish translation from translation project.
16690         * po/nl.po: Update Dutch translation from translation project.
16692         * po/es.po: Update Spanish translation from translation project.
16694 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16696         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16698         * catgets/Makefile (CPPFLAGS-gencat): Remove.
16699         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16700         (CPPFLAGS-iconvconfig): Likewise.
16701         * timezone/Makefile (CPPFLAGS-zic): Likewise.
16703         * include/libc-symbols.h: Remove unnecessary check for
16704         NOT_IN_libc.
16705         * nptl/pthreadP.h: Likewise.
16706         * sysdeps/aarch64/setjmp.S: Likewise.
16707         * sysdeps/alpha/setjmp.S: Likewise.
16708         * sysdeps/arm/sysdep.h: Likewise.
16709         * sysdeps/i386/setjmp.S: Likewise.
16710         * sysdeps/m68k/setjmp.c: Likewise.
16711         * sysdeps/posix/getcwd.c: Likewise.
16712         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16713         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16714         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16715         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16716         * sysdeps/sh/sh3/setjmp.S: Likewise.
16717         * sysdeps/sh/sh4/setjmp.S: Likewise.
16718         * sysdeps/unix/alpha/sysdep.h: Likewise.
16719         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16720         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16721         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16722         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16725         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16727         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16729         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16730         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16731         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16732         * sysdeps/x86_64/setjmp.S: Likewise.
16734 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
16736         [BZ #17263]
16737         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16738         <stdint.h>.
16739         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16740         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16742 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16744         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16746         [BZ #17262]
16747         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16748         and __x86_64__ when disabling x87 inline functions.
16750 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
16752         [BZ #17259]
16753         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16754         asm statement with __cpuid_count.
16756 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
16758         * configure.ac: Change __ehdr_start code to dereference the struct.
16759         Run readelf on the output to look for relocations.
16760         * configure: Regenerated.
16762 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
16764         [BZ #17261]
16765         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16766         value to 0.
16767         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16769 2014-08-12  Roland McGrath  <roland@hack.frob.com>
16771         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16773 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
16775         [BZ #16892]
16776         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16777         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16779 2014-08-12  Sean Anderson  <seanga2@gmail.com>
16781         * malloc/malloc.c: Fix typo in comment.
16783 2014-08-09  Allan McRae  <allan@archlinux.org>
16785         * Regenerate libc.po.
16787 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
16789         * intl/tst-gettext2.sh: Check every lang file for creation.
16791 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
16793         * sysdeps/aarch64/fpu/math_private.h
16794         (libc_feholdsetround_noex_aarch64_ctx): New function.
16796 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
16798         * sysdeps/arm/armv6/strcpy.S (strcpy):
16799         Fix performance issue in misaligned cases.
16801 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16803         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16804         Move definition from termios.h.
16805         (struct termio): Likewise.
16806         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16807         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16808         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16809         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16810         Likewise.
16811         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16812         Move definition to ioctl-types.h
16813         (struct termio): Likewise.
16814         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16815         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16816         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16817         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16818         Likewise.
16820 2014-08-05  Richard Henderson  <rth@redhat.com>
16822         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16823         exceptions.
16824         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16825         Add fraiseexcpt.
16826         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16827         Use __feraiseexcept.
16828         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16829         Protect libm symbols with IS_IN_libm.
16831         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16833 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
16835         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16837 2014-08-04  Will Newton  <will.newton@linaro.org>
16839         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16840         file.
16842 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
16844         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16845         variants for each function.
16847 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16849         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16850         appended ...
16851         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16852         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16853         appended ...
16854         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16855         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16856         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16857         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16858         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16859         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16860         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16861         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16862         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16863         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16864         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16865         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16866         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16867         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16868         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16869         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16870         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16871         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16872         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16873         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16874         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16875         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16876         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16877         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16878         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16879         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16880         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16881         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16882         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16883         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16884         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16885         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16886         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16887         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16888         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16890         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16891         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16892         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16893         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16894         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16895         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16896         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16897         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16898         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16899         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16900         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16901         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16902         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16903         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16904         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16905         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16906         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16907         Update #include.
16908         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16909         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16911 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16913         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16914         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16915         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16916         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16917         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16918         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16920 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16922         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16923         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16924         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16925         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16927 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16929         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16930         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16931         (__libc_vfork): Define function under this name.
16932         (__vfork): Define as an alias.
16933         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16934         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16936 2014-08-04  Roland McGrath  <roland@hack.frob.com>
16938         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16939         that was previously under [RESET_PID].
16940         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16942 2014-08-04  Andreas Schwab  <schwab@suse.de>
16944         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16946 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
16948         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16949         (main): Likewise.
16951 2014-08-01  Roland McGrath  <roland@hack.frob.com>
16953         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16955 2014-08-01  Richard Henderon  <rth@redhat.com>
16957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16958         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16959         typo in exact zero test.
16960         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16961         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16962         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16964 2014-08-01  Roland McGrath  <roland@hack.frob.com>
16966         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16967         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16968         * sysdeps/arm/sysdep.h: ... here.
16969         [!__ASSEMBLER__]: Include <stdint.h>.
16971 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16973         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16974         (HAVE_WCTYPE_H): Likewise.
16975         (HAVE_ISWCTYPE): Likewise.
16976         (ENABLE_NLS): Likewise.
16977         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16978         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16980         * posix/regex_internal.c: Check if DEBUG is defined and is
16981         set.
16983         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16984         (HAVE_MBSRTOWCS): Likewise.
16985         * posix/fnmatch.c: Include string.h unconditionally.
16987 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16989         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16990         reversal.
16992 2014-07-31  Roland McGrath  <roland@hack.frob.com>
16994         * sysdeps/generic/safe-fatal.h: New file.
16995         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16996         * nptl/forward.c: Include it.
16997         (__pthread_unwind): Use __safe_fatal as default action, rather
16998         than a bogus use of INTERNAL_SYSCALL that could never work.
17000         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
17001         * configure.ac (libc_cv_builtin_trap): New test.
17002         * configure: Regenerated.
17003         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
17004         (ABORT_INSTRUCTION): Define using __builtin_trap.
17006         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
17007         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
17008         * sysdeps/nptl/nptl-signals.h: New file.
17009         * nptl/pthreadP.h: Include <nptl-signals.h>.
17011 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17013         * sysdeps/s390/s390-64/utf16-utf32-z9.c
17014         (ONE_DIRECTION): Define.
17015         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17016         (ONE_DIRECTION): Define.
17017         * sysdeps/s390/s390-64/utf8-utf32-z9.c
17018         (ONE_DIRECTION): Define.
17020 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17022         * sysdeps/s390/Makefile: Delete file.
17023         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17024         * sysdeps/s390/__longjmp.c: Delete file.
17025         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17026         Remove fields __flags and __reserved.
17027         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17028         and add versioning.
17029         * sysdeps/s390/rtld-__longjmp.c: Delete file.
17030         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17031         * sysdeps/s390/rtld-setjmp.S: Likewise.
17032         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17033         * sysdeps/s390/s390-32/__longjmp.c: ... here.
17034         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17035         * sysdeps/s390/s390-32/setjmp.S: ... here.
17036         Add versioning.
17037         (__sigsetjmp): Remove setting __flags field.
17038         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17039         * sysdeps/s390/s390-64/__longjmp.c: ... here.
17040         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17041         * sysdeps/s390/s390-64/setjmp.S: ... here.
17042         Add versioning.
17043         (__sigsetjmp): Remove setting __flags field.
17044         * sysdeps/s390/setjmp.S: Delete file.
17045         * sysdeps/s390/sigjmp.c: Likewise.
17046         * sysdeps/s390/v1-longjmp.c: Likewise.
17047         * sysdeps/s390/v1-setjmp.h: Likewise.
17048         * sysdeps/s390/v1-sigjmp.c: Likewise.
17049         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17050         Remove v1-longjmp_chk.
17051         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17052         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17053         Include debug/longjmp_chk.c and add versioning.
17054         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17055         Include nptl/pt-longjmp.c and add versioning.
17056         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17057         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17058         Include __longjmp.c.
17059         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17060         Move to ...
17061         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17062         (__getcontext): Remove setting __flags field.
17063         Add versioning.
17064         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17065         Don't restore upper high grps.
17066         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17067         Likewise.
17068         (__swapcontext): Remove setting uc_flags field.
17069         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17070         Delete file.
17071         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17072         Include __longjmp.c.
17073         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17074         Move to ...
17075         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17076         (__getcontext): Remove setting __flags field.
17077         Add versioning.
17078         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17079         (__swapcontext): Remove setting uc_flags field.
17080         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17081         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17082         Remove fields uc_high_gprs and __reserved.
17083         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17084         New file with reverted content.
17085         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17086         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17087         Regenerated.
17088         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17089         Regenerated.
17091 2014-07-31  Andreas Schwab  <schwab@suse.de>
17093         * config.h.in (HAVE_IFUNC): Define to 0.
17094         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17095         definedness.
17097 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
17099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17100         memmove-avx-unaligned, memcpy-avx-unaligned and
17101         mempcpy-avx-unaligned.
17102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17103         Add tests for AVX memcpy functions.
17104         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17105         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17106         memcpy_chk.
17107         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17108         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17109         memmove_chk.
17110         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17111         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17112         mempcpy_chk.
17113         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17114         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17115         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17117 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17119         [BZ #17213]
17120         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17121         powerpc64le.
17123 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
17125         [BZ #16839]
17126         * manual/llio.texi: Add section about open file description locks.
17127         * manual/examples/ofdlocks.c: Example of open file description
17128         lock usage.
17129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17130         F_OFD_SETLK, and F_OFD_SETLKW.
17132 2014-07-23  Allan McRae  <allan@archlinux.org>
17134         * po/es.po: Update Spanish translation from translation project.
17136 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
17138         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17140 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
17142         [BZ #17078]
17143         * sysdeps/arm/dl-machine.h (elf_machine_rela)
17144         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17145         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17147 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
17149         [BZ #17088]
17150         * math/fesetenv.c (__fesetenv)
17151         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17152         * math/feupdateenv.c (__feupdateenv)
17153         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17155         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17156         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17157         (__ASSUME_SOCKETCALL): Do not define.
17159         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17160         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17161         (__ASSUME_SOCKETCALL): Do not define.
17162         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17163         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17164         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17165         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17166         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17167         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17168         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17169         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17171         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17172         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17173         (__ASSUME_SOCKETCALL): Do not define.
17174         (__ASSUME_IPC64): Define unconditionally.
17175         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17176         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17177         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17178         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17179         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17180         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17181         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17182         Likewise.
17184         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17185         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17186         (__ASSUME_SOCKETCALL): Do not define.
17187         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17188         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17189         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17190         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17191         (__ASSUME_REQUEUE_PI): Define unconditionally.
17192         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17193         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17194         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17195         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17196         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17197         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17199         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17200         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17201         (__ASSUME_SOCKETCALL): Do not define.
17202         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17203         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17204         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17205         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17206         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17207         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17209         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17210         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17211         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17212         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17213         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17214         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17215         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17216         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17217         (__ASSUME_GETCPU_SYSCALL): Likewise.
17219         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17220         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
17221         cases for individual architectures.
17222         * sysdeps/gnu/configure: Regenerated.
17223         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17224         LIBC_SLIBDIR_RTLDDIR.
17225         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17226         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17227         LIBC_SLIBDIR_RTLDDIR.
17228         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17230         LIBC_SLIBDIR_RTLDDIR.
17231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17232         Regenerated.
17233         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17234         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17235         file.
17236         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17237         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17238         file.
17239         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17240         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17241         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17242         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17244         * sysdeps/aarch64/shlib-versions: Move to ...
17245         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17246         * sysdeps/alpha/shlib-versions: Move to ...
17247         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17248         * sysdeps/arm/shlib-versions: Move to ...
17249         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17250         * sysdeps/hppa/shlib-versions: Move all contents except for
17251         libgcc_s entry to ...
17252         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
17253         entry from ...
17254         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
17255         * sysdeps/ia64/shlib-versions: Move to ...
17256         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
17257         entry from ...
17258         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
17259         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17260         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17261         * sysdeps/microblaze/shlib-versions: Move to ...
17262         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17263         * sysdeps/mips/shlib-versions: Move to ...
17264         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
17265         entry from ...
17266         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
17267         * sysdeps/tile/shlib-versions: Move to ...
17268         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17269         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17270         from ...
17271         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
17272         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17273         entry from ...
17274         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
17276 2014-07-17  Will Newton  <will.newton@linaro.org>
17278         * sysdeps/arm/bits/atomic.h
17279         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17280         (__arch_compare_and_exchange_bool_16_int): Likewise.
17281         (__arch_compare_and_exchange_bool_64_int): Likewise.
17283         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17284         into an #else block.
17286 2014-07-16  Roland McGrath  <roland@hack.frob.com>
17288         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17289         just Linux configurations.  Test empirically that the compiler sets
17290         __ARM_EABI__, rather than using the tuple to decide.
17291         * sysdeps/arm/preconfigure: Regenerated.
17292         * sysdeps/unix/sysv/linux/arm/configure: File removed.
17293         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17294         contents appended ...
17295         * sysdeps/arm/configure.ac: ... here.
17296         * sysdeps/arm/configure: Regenerated.
17298 2014-07-15  Roland McGrath  <roland@hack.frob.com>
17300         * nptl/pthread_kill.c: New file.
17301         * nptl/pthread_sigmask.c: New file.
17302         * nptl/pthread_sigqueue.c: New file.
17304         * sysdeps/nptl/lowlevellock.h: New file.
17305         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17306         * sysdeps/nptl/lowlevellock-futex.h: New file.
17308         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17309         Remove dead declarations.
17311 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
17313         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17314         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17315         config-cflags-avx2.
17316         * sysdeps/x86_64/configure.ac: Likewise.
17317         * sysdeps/i386/configure: Regenerated.
17318         * sysdeps/x86_64/configure: Likewise.
17319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17320         memset-avx2 only if config-cflags-avx2 is yes.
17321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17322         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17323         defined.
17324         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17325         only if HAVE_AVX2_SUPPORT is defined.
17326         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17328 2014-07-14  Alan Modra  <amodra@gmail.com>
17330         [BZ #17153]
17331         * elf/elf.h (DT_PPC64_NUM): Correct value.
17332         * NEWS: Add to fixed bug list.
17334 2014-07-13  Jim Meyering  <meyering@fb.com>
17336         [BZ 17150]
17337         regex: don't deref NULL upon heap allocation failure
17338         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17339         failure in one more place.
17340         To trigger the segfault, configure grep -with-included-regex,
17341         build it, and run these commands:
17342         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17344 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
17346         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17348 2014-07-11  Richard Henderson  <rth@redhat.com>
17350         * sysdeps/aarch64/libm-test-ulps: Update.
17352 2014-07-10  Florian Weimer  <fweimer@redhat.com>
17354         [BZ #17135]
17355         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17356         * nptl/allocatestack.c (__nptl_setxid_error): New function.
17357         (__nptl_setxid): Initialize error member.  Call
17358         __nptl_setxid_error.
17359         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17360         * nptl/descr.h (struct xid_command): Add error member.
17361         * nptl/tst-setuid3.c: New file.
17362         * nptl/Makefile (tests): Add it.
17364 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17366         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17367         New define.
17368         (__lll_trylock): Use __lll_base_trylock.
17369         (__lll_cond_trylock): Likewise.
17371 2014-07-10  Roland McGrath  <roland@hack.frob.com>
17373         * nptl/pthread_create.c (start_thread): Use atomic_or and
17374         lll_futex_wake directly rather than lll_robust_dead.
17375         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17376         (lll_robust_dead): Macro removed.
17377         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17378         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17379         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17380         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17381         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17382         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17383         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17384         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17385         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17386         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17387         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17388         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17389         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17390         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17391         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17393         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17394         Use atomic_compare_and_exchange_val_acq directly rather than
17395         lll_robust_trylock.
17396         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17397         (__lll_robust_trylock, lll_robust_trylock): Removed.
17398         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17399         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17400         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17401         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17402         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17403         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17404         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17405         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17406         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17407         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17408         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17409         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17410         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17411         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17413 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17415         * manual/locale.texi (Locale Names): New section documenting
17416         locale name syntax.  Adjust menu and node chaining accordingly.
17417         (Choosing Locale): Reference Locale Names, Locale Categories.
17418         Mention setting LC_ALL=C.  Reflect that name syntax is now
17419         documented.
17420         (Locale Categories): New section title.  Reference Locale Names.
17421         LC_ALL is an environment variable, but not a category.
17422         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17423         description, now in Locale Name.  Reference that section.  Locale
17424         name syntax is now documented.
17426 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17428         [BZ #17137]
17429         * locale/findlocale.c (name_present, valid_locale_name): New
17430         functions.
17431         (_nl_find_locale): Use the loc_name variable to store name
17432         candidates.  Call name_present and valid_locale_name to check and
17433         validate locale names.  Return an error if the locale is invalid.
17435 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17437         * locale/setlocale.c (setlocale): Use strdup for allocating
17438         composite name copy.
17440 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17442         Sync up with gnulib.
17443         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17444         [!_LIBC && ENABLE_NLS]: Include gettext.h.
17445         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17446         and _GL_ARG_NONNULL.
17447         [USE_UNLOCKED_IO]: Include unlocked-io.h.
17448         [!_LIBC]: Include code for Windows and Cygwin.
17449         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17450         Include prototype for int strerror_r.
17451         [!_LIBC] (is_open): New function.
17452         (flush_stdout): New function.
17453         (print_errno_message): Use it.
17454         (error): Likewise.
17455         (error_at_line): Likewise.
17456         (error_tail) Add function attribute macros.  Use
17457         __builtin_expect.
17459         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17461         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17463         * io/ftw.c: Include sys/param.h unconditionally.
17465         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17467         [BZ #17125]
17468         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17469         libc_freeres_ptr.
17470         (freecache): New function to free CACHE on exit.
17472         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17473         initialization.
17475 2014-07-09  David S. Miller  <davem@davemloft.net>
17477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17479         * sysdeps/sparc/nptl/internaltypes.h: Delete.
17480         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17481         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17482         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17483         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17484         * sysdeps/sparc/nptl/sem_init.c: Likewise.
17485         * sysdeps/sparc/nptl/sem_post.c: Likewise.
17486         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17487         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17488         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17489         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17490         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17491         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17493 2014-07-09  Andreas Schwab  <schwab@suse.de>
17495         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17496         output.
17497         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17498         (do_test): Likewise.
17500         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17502 2014-07-09  Will Newton  <will.newton@linaro.org>
17504         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17505         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17506         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17507         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17508         * sysdeps/hppa/start.S (_start): Likewise.
17510 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
17512         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17514         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17515         defined.
17517 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17519         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17520         after checking that it is non-NULL.
17522         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17524 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17526         * sysdeps/powerpc/memmove.c: Remove file.
17527         * sysdeps/powerpc/powerpc32/power4/memcopy.h
17528         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17529         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17530         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17531         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17532         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17533         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17534         string memmove instead of removed powerpc one.
17536         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17537         [weak_alias]: Fix compiler warning due trailing data.
17538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17539         [weak_alias]: Likewise.
17540         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17541         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17544         (__libc_ifunc_impl_list): Add memmove functions.
17546 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17548         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17549         Remove code.
17550         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17551         Likewise
17552         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17553         Likewise
17554         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17555         Likewise
17556         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17557         Likewise
17558         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17559         Likewise
17560         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17561         Likewise
17562         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17563         Likewise
17564         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17565         Likewise
17566         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17567         Likewise
17568         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17569         Likewise
17570         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17571         Likewise
17572         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17573         Likewise
17574         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17575         Likewise
17576         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17577         Likewise
17578         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17579         Likewise
17580         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17581         Likewise
17583 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17585         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17586         to avoid alignment traps in non-cacheable memory.
17587         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17590         multiarch objects.
17591         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17592         file: multiarch power7 memmove.
17593         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17594         multiarch default memmove.
17595         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17596         multiarch memove for powerpc32/power4.
17598         * string/bcopy.c: Use full path to include memmove.c.
17599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17600         multiarch objects.
17601         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17602         bcopy for powerpc64.
17603         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17604         bcopy for powerpc64.
17605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17606         and memmove implementations.
17607         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17608         optimized multiarch memmove for POWER7/powerpc64.
17609         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17610         default multiarch memmove for powerpc64.
17611         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17612         multiarch for powerpc64.
17613         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17614         for POWER7/powerpc64.
17615         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17616         memmove for POWER7/powerpc64.
17618         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17619         glibc default one.
17621         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17622         __ELF_NATIVE_CLASS equal to 64.
17624 2014-07-07  Roland McGrath  <roland@hack.frob.com>
17626         * sysdeps/nptl/lowlevellock.h: File removed.
17628         * NEWS: NPTL is no longer an add-on!
17629         * nptl/internaltypes.h: Moved ...
17630         * sysdeps/nptl/internaltypes.h: ... here.
17631         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17632         * sysdeps/nptl/fork.c: Likewise.
17633         * sysdeps/nptl/gai_misc.h: Likewise.
17634         * sysdeps/nptl/librt-cancellation.c: Likewise.
17635         * sysdeps/nptl/jmp-unwind.c: Likewise.
17636         * sysdeps/nptl/setxid.h: Likewise.
17637         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17638         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17639         * sysdeps/unix/sysv/linux/arm/Implies: New file.
17640         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17641         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17642         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17643         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17644         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17645         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17646         * sysdeps/unix/sysv/linux/mips/Implies: New file.
17647         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17648         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17649         * sysdeps/unix/sysv/linux/sh/Implies: New file.
17650         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17651         * sysdeps/unix/sysv/linux/tile/Implies: New file.
17652         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17653         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17654         * nptl/Makeconfig: Moved ...
17655         * sysdeps/nptl/Makeconfig: ... here.
17656         * nptl/configure: File removed.
17657         * nptl/ANNOUNCE: File removed.
17658         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17659         * sysdeps/unix/sysv/linux/configure: Regenerated.
17661         * nptl/Makefile (routines): Add libc_pthread_init,
17662         libc_multiple_threads, register-atfork and unregister-atfork.
17663         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17664         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17665         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17666         pthread-pi-defines.sym, structsem.sym.
17667         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17668         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17669         [$(subdir) = nptl] (tests): Add tst-setgetname.
17670         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17671         * sysdeps/unix/sysv/linux/sigaction.c: Just include
17672         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17673         [!LIBC_SIGACTION]: Remove aliases.
17674         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17675         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17676         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17677         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17678         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17679         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17680         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17681         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17682         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17683         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17684         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17685         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17686         __libc_allocate_rtsig_private.
17687         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17688         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17689         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17690         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17691         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17692         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17693         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17694         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17695         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17696         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17697         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17698         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17699         * nptl/internaltypes.h: ... here.
17700         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17701         * sysdeps/nptl/jmp-unwind.c: ... here.
17702         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17703         * nptl/libc-lowlevellock.c: ... here.
17704         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17705         * nptl/libc_multiple_threads.c: ... here.
17706         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17707         * nptl/libc_pthread_init.c: ... here.
17708         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17709         * nptl/lowlevelbarrier.sym: ... here.
17710         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17711         * nptl/lowlevelcond.sym: ... here.
17712         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17713         * nptl/lowlevellock.c: ... here.
17714         * nptl/lowlevellock.h: Moved ...
17715         * sysdeps/nptl/lowlevellock.h: ... here.
17716         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17717         * nptl/lowlevelrobustlock.c: ... here.
17718         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17719         * nptl/lowlevelrobustlock.sym: ... here.
17720         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17721         * nptl/lowlevelrwlock.sym: ... here.
17722         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17723         * nptl/pt-fork.c: ... here.
17724         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17725         * nptl/pthread-pi-defines.sym: ... here.
17726         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17727         * nptl/pthread_attr_getaffinity.c: ... here.
17728         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17729         * nptl/pthread_attr_setaffinity.c: ... here.
17730         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17731         * nptl/pthread_mutex_cond_lock.c: ... here.
17732         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17733         Update #include.
17734         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17735         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17736         * nptl/pthread_once.c: ... here, replacing old file.
17737         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17738         * nptl/pthread_yield.c: ... here.
17739         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17740         * nptl/register-atfork.c: ... here.
17741         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17742         * nptl/sem_post.c: ... here.
17743         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17744         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17745         * nptl/sem_timedwait.c: ... here.
17746         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17747         * nptl/sem_trywait.c: ... here.
17748         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17749         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17750         * nptl/sem_wait.c: ... here.
17751         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17752         * nptl/structsem.sym: ... here.
17753         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17754         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17755         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17756         * nptl/unregister-atfork.c: ... here.
17757         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17758         * nptl/unwindbuf.sym: ... here.
17759         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17760         * sysdeps/nptl/fork.c: ... here.
17761         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17762         * sysdeps/nptl/fork.h: ... here.
17763         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17764         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17765         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17766         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17767         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17768         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17769         * sysdeps/unix/sysv/linux/getpid.c: ... here.
17770         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17771         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17772         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17773         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17774         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17775         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17776         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17777         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17778         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17779         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17780         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17781         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17782         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17783         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17784         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17785         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17786         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17787         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17788         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17789         * sysdeps/unix/sysv/linux/raise.c: ... here.
17790         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17791         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17792         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17793         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17794         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17795         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17796         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17797         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17798         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17799         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17800         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17801         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17802         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17803         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17804         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17806 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17808         * sysdeps/generic/memcopy.h: Add comment for
17809         MEMCPY_OK_FOR_FWD_MEMMOVE.
17811 2014-07-04  Will Newton  <will.newton@linaro.org>
17813         * string/memchr.c: Merge from gnulib.
17814         [_LIBC]: Remove conditionals.
17815         (__ptr_t): Remove define.
17816         (LONG_MAX_32_BITS): Likewise.
17817         (LONG_MAX): Likewise.
17818         (MEMCHR): Use ANSI prototype and optimize algorithm.
17820         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17822 2014-07-03  Roland McGrath  <roland@hack.frob.com>
17824         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17825         (lll_futex_timed_wait_bitset): Fix syscall argument count.
17827         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17828         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17829         in a bare environment with no <stdlib.h> installed.
17830         * sysdeps/nptl/configure: Regenerated.
17832         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17834         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17835         AC_EGREP_CPP for kernel header checks, so they only succeed if
17836         including <linux/version.h> actually works right.
17837         * sysdeps/unix/sysv/linux/configure: Regenerated.
17839         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17840         value so it's not diagnosed as unused.
17842         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17843         thing) with "ifeq ($(subdir),rt)".
17845 2014-07-03  Richard Henderson  <rth@redhat.com>
17847         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17848         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17849         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17851         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17852         (math_force_eval): New.
17854         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17855         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17857         * sysdeps/alpha/fpu/s_round.c: Remove file.
17858         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17860         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17861         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17862         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17863         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17864         (_dl_start, print_statistics): Likewise.
17865         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17866         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17868         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17869         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17870         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17871         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17872         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17873         (HP_SMALL_TIMING_AVAIL): Define.
17874         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17875         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17876         (HP_SMALL_TIMING_AVAIL): Define.
17877         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17878         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17880         * sysdeps/aarch64/hp-timing.h: New file.
17882         * sysdeps/generic/hp-timing.h: Remove dead comment.
17883         * sysdeps/generic/hp-timing-common.h: New file.
17884         * sysdeps/alpha/hp-timing.h: Include it.
17885         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17886         * sysdeps/i386/i686/hp-timing.h: Likewise.
17887         * sysdeps/ia64/hp-timing.h: Likewise.
17888         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17889         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17890         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17891         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17892         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17893         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17894         (hp_timing_t): New.
17896         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17897         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17898         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17899         * elf/rtld.c (_dl_start_final): Likewise.
17900         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17901         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17902         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17903         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17904         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17905         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17906         (HP_TIMING_DIFF_INIT): Remove.
17907         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17908         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17909         (HP_TIMING_DIFF_INIT): Remove.
17910         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17911         * sysdeps/i386/i686/hp-timing.c: Remove file.
17912         * sysdeps/x86_64/hp-timing.c: Remove file.
17913         * sysdeps/ia64/hp-timing.c: Remove file.
17914         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17915         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17916         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17917         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17919         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17920         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17921         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17922         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17923         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17924         (HP_TIMING_ACCUM): Remove.
17925         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17926         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17927         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17929         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17930         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17931         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17932         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17933         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17934         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17935         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17936         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17938         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17940 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
17942         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17944 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17946         Sync up with gettext.
17947         * intl/loadmsgcat.c: Define O_BINARY if not defined.
17948         [_MSC_VER]: Include malloc.h
17949         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17950         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17951         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
17952         TEMP_FAILURE_RETRY.  Cast return of alloca.
17953         [!_LIBC] Call gl_rwlock_init.
17954         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17956 2014-07-02  Roland McGrath  <roland@hack.frob.com>
17958         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17959         before checking its value.
17961 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17963         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17965         * debug/memcpy_chk.c: Don't include pagecopy.h.
17966         * debug/mempcpy_chk.c: Likewise.
17967         * string/memcpy.c: Likewise.
17968         * string/memmove.c: Likewise.
17969         * sysdeps/powerpc/memmove.c: Likewise.
17970         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
17971         definition of PAGE_COPY_FWD_MAYBE here...
17972         * sysdeps/generic/pagecopy.h: ... from here.
17973         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17975 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17976             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17978         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17980         optimizations.
17981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17982         (__libc_ifunc_impl_list): Likewise.
17983         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17984         multiarch strcat for PPC64.
17985         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17986         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17988 2014-07-02  Roland McGrath  <roland@hack.frob.com>
17990         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17992 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17994         * intl/loadmsgcat.c: Remove declaration of
17995         get_sysdep_segment_value.
17996         (get_sysdep_segment_value): Use ISO C style.
17997         (_nl_load_domain): Use ISO C style.  Get rid of redundant
17998         semicolon.  Fix typo and formatting in comment.
17999         (_nl_unload_domain): Use ISO C style.
18001         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
18003 2014-07-02  Will Newton  <will.newton@linaro.org>
18005         * malloc/obstack.c: Merge from gnulib master.
18006         [HAVE_CONFIG_H]: Remove conditional code.
18007         [!_LIBC]: Include config.h.
18008         [!ELIDE_CODE]: Don't include inttypes.h, include
18009         stdint.h unconditionally.
18010         (print_and_abort): Mark as _Noreturn.
18011         (_obstack_allocated_p): Mark as __attribute_pure__.
18012         (obstack_free): Rename to __obstack_free.
18013         [!__attribute__]: Remove conditional code.
18014         * malloc/obstack.h: Merge from gnulib master.
18015         [__cplusplus]: Move conditional down.
18016         [!__attribute_pure__]: Define __attribute_pure__ here
18017         if it is not already defined.
18018         (_obstack_memory_used): Mark as __attribute_pure__.
18019         [!__obstack_free]: Define as obstack_free.
18020         [__GNUC__]: Remove check for ancient NeXT gcc.
18022 2014-07-02  Will Newton  <will.newton@linaro.org>
18023             Paul Eggert  <eggert@cs.ucla.edu>
18025         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18027 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18029         * resolv/gethnamaddr.c: Add comment warning that the file is
18030         not maintained.
18032 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
18034         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18035         entries.
18037         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18038         entry for aio_cancel and aio_cancel64.
18039         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18040         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18041         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18042         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18043         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18044         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18045         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18046         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18047         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18048         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18049         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18050         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18051         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18053 2014-07-01  Roland McGrath  <roland@hack.frob.com>
18055         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18056         * nptl/pthread_mutex_lock.c: Likewise.
18057         * nptl/pthread_mutex_timedlock.c: Likewise.
18058         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18060 2014-07-01  Richard henderson  <rth@redhat.com>
18062         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18063         (__isnan, __isnanl): Remove.
18064         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18066         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18068 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18070         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18072 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18074         * resolv/nss_dns/dns-host.c (getanswer_r)
18075         [MULTI_PTRS_ARE_ALIASES]: Remove code.
18077 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
18079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18080         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18081         undefine.
18082         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18083         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18085 2014-07-01  Roland McGrath <roland@hack.frob.com>
18087         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18088         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18090         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18091         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18093         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18094         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18095         ... here.
18096         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18097         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18099         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18100         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18101         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18102         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18104         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18105         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18106         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18107         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18108         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18109         Moved ...
18110         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18111         ... here.
18112         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18113         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18114         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18115         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18116         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18117         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18118         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18119         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18120         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18121         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18122         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18123         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18124         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18125         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18126         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18127         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18128         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18129         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18130         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18131         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18132         ... here.
18133         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18134         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18135         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18136         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18137         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18138         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18139         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18140         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18142 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
18144         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18145         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18146         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18147         Add sysdep.
18149 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18153 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18155         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18156         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18158         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18160         * sysdeps/arm/libm-test-ulps: Regenerated.
18162 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18163             Roland McGrath <roland@hack.frob.com>
18165         * test-skeleton.c (signal_handler): Kill the whole process group
18166         before killing the child individually.
18167         (main): Report any failure on `setpgid'.
18169 2014-06-30  Roland McGrath  <roland@hack.frob.com>
18171         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18172         from _TLS_H to _ARM_NPTL_TLS_H.
18173         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18174         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18176 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18178         [BZ #16539]
18179         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18180         (__expm1l): Return argument unchanged when small but not
18181         subnormal.
18183         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18184         include macro name.
18185         (_FP_UNPACK_RAW_1_P): Likewise.
18186         (_FP_PACK_RAW_1): Likewise.
18187         (_FP_PACK_RAW_1_P): Likewise.
18188         (_FP_MUL_MEAT_1_wide): Likewise.
18189         (_FP_MUL_MEAT_DW_1_hard): Likewise.
18190         (_FP_MUL_MEAT_1_hard): Likewise.
18191         (_FP_DIV_MEAT_1_imm): Likewise.
18192         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18193         (_FP_DIV_MEAT_1_udiv): Likewise.
18194         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18195         (_FP_UNPACK_RAW_2): Likewise.
18196         (_FP_UNPACK_RAW_2_P): Likewise.
18197         (_FP_PACK_RAW_2): Likewise.
18198         (_FP_PACK_RAW_2_P): Likewise.
18199         (_FP_MUL_MEAT_DW_2_wide): Likewise.
18200         (_FP_MUL_MEAT_2_wide): Likewise.
18201         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18202         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18203         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18204         (_FP_MUL_MEAT_2_gmp): Likewise.
18205         (_FP_DIV_MEAT_2_udiv): Likewise.
18206         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18207         (_FP_FRAC_SRL_4): Likewise.
18208         (_FP_FRAC_SRST_4): Likewise.
18209         (_FP_FRAC_SRS_4): Likewise.
18210         (_FP_UNPACK_RAW_4): Likewise.
18211         (_FP_UNPACK_RAW_4_P): Likewise.
18212         (_FP_PACK_RAW_4): Likewise.
18213         (_FP_PACK_RAW_4_P): Likewise.
18214         (_FP_MUL_MEAT_DW_4_wide): Likewise.
18215         (_FP_MUL_MEAT_4_wide): Likewise.
18216         (_FP_MUL_MEAT_4_gmp): Likewise.
18217         (umul_ppppmnnn): Likewise.
18218         (_FP_DIV_MEAT_4_udiv): Likewise.
18219         (__FP_FRAC_ADD_4): Likewise.
18220         (__FP_FRAC_SUB_3): Likewise.
18221         (__FP_FRAC_SUB_4): Likewise.
18222         (__FP_FRAC_DEC_3): Likewise.
18223         (__FP_FRAC_DEC_4): Likewise.
18224         (__FP_FRAC_ADDI_4): Likewise.
18225         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18226         (_FP_FRAC_SRL_8): Likewise.
18227         (_FP_FRAC_SRS_8): Likewise.
18229         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18230         include macro name.
18231         (FP_UNPACK_RAW_EP): Likewise.
18232         (FP_PACK_RAW_E): Likewise.
18233         (FP_PACK_RAW_EP): Likewise.
18234         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18235         (_FP_ISSIGNAN): Likewise.
18236         (_FP_ADD_INTERNAL): Likewise.
18237         (_FP_FMA): Likewise.
18238         (_FP_CMP): Likewise.
18239         (_FP_SQRT): Likewise.
18240         (_FP_TO_INT): Likewise.
18241         (_FP_FROM_INT): Likewise.
18242         (FP_EXTEND): Likewise.
18243         (_FP_DIV_MEAT_N_loop): Likewise.
18245 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18247         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18248         throughout.
18250 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
18252         [BZ #17097]
18253         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18254         result with correct sign in case of exponents that produce
18255         overflow except for X very close to 1.
18257 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
18259         mktime: merge #if/#ifdef usage from glibc
18260         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18261         as that works with both Glibc's and Gnulib's style.
18262         See thread starting at Siddhesh Poyarekar's bug report at:
18263         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18265 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18267         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18268         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18269         * sysdeps/tile/tilegx/memmove.c: Remove file.
18271 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18273         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18274         abi-name definition.
18275         * scripts/soversions.awk: Do not handle or generate ABI lines.
18276         * shlib-versions: Remove ABI entries.
18277         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18278         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18280 2014-06-27  Roland McGrath  <roland@hack.frob.com>
18282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18283         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18284         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18285         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18287         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18289         Moved ...
18290         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18291         ... here.
18292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18293         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18295         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18297         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18298         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18299         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18301         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18303         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18305         Moved ...
18306         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18308         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18310         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18311         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18312         Moved ...
18313         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18315         Moved ...
18316         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18318         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18320         Moved ...
18321         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18323         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18325         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18326         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18327         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18329         Moved ...
18330         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18332         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18333         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18334         Moved ...
18335         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18337         Moved ...
18338         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18339         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18340         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18341         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18342         Moved ...
18343         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18344         ... here.
18345         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18346         Identical file removed.
18347         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18348         Moved ...
18349         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18350         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18351         Identical file removed.
18352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18353         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18355         Moved ...
18356         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18357         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18358         Identical file removed.
18359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18360         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18361         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18362         Identical file removed.
18363         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18364         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18365         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18366         Identical file removed.
18367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18368         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18369         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18370         Identical file removed.
18371         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18372         Moved ...
18373         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18374         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18375         Identical file removed.
18376         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18377         Moved ...
18378         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18380         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18381         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18382         Identical file removed.
18383         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18384         Moved ...
18385         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18386         ... here.
18387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18388         Identical file removed.
18389         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18390         Moved ...
18391         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18392         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18393         Identical file removed.
18394         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18395         Moved ...
18396         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18398         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18400         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18402         Moved ...
18403         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18404         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18405         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18407         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18408         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18409         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18410         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18411         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18413 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
18415         [BZ #17092]
18416         * nscd/nscd.c (monitor_child): Return exit status of child
18417         instead of return value from wait syscall.
18419 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18421         * configure.ac (libc_commonpagesize): Remove variable.
18422         (libc_relro_required): Likewise.
18423         (libc_cv_z_relro): Remove configure test.
18424         * configure: Regenerated.
18425         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18426         variable.
18427         (libc_relro_required): Likewise.
18428         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18429         (libc_relro_required): Likewise.
18430         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18431         (libc_relro_required): Likewise.
18432         * sysdeps/arm/preconfigure: Regenerated.
18433         * sysdeps/ia64/preconfigure: Remove file.
18434         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18435         variable.
18436         (libc_relro_required): Likewise.
18438         [BZ #16561]
18439         [BZ #16562]
18440         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18441         (__ieee754_yn): Set FE_TONEAREST mode internally and then
18442         recompute overflowing results in original rounding mode.
18443         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18444         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18445         recompute overflowing results in original rounding mode.
18446         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18447         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18448         recompute overflowing results in original rounding mode.
18449         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18450         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18451         recompute overflowing results in original rounding mode.
18452         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18453         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18454         recompute overflowing results in original rounding mode.
18455         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18456         (libc_feholdsetround_ctx): New macro.
18457         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18458         * sysdeps/i386/fpu/libm-test-ulps: Update.
18459         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18461 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18463         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18464         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18465         corresponding .cpsetup call.
18467 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18469         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18470         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18471         * sysdeps/arm/Makefile [$(subdir) = csu]
18472         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18473         (static-only-routines): Add aeabi_read_tp here.
18474         (shared-only-routines): Add libc-aeabi_read_tp here.
18475         (CFLAGS-libc-start.c): Add -fexceptions here.
18476         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18477         (sysdep_routines, static-only-routines, shared-only-routines):
18478         Don't add to these here.
18479         (CFLAGS-libc-start.c): Likewise.
18481         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18482         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18483         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18484         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18485         * sysdeps/arm/Makefile [$(subdir) = rt]
18486         (librt-sysdep_routines, librt-shared-only-routines):
18487         Append rt-aeabi_unwind_cpp_pr1 here.
18488         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18489         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18490         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18491         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18492         Append nptl-aeabi_unwind_cpp_pr1 here.
18493         (tests): Filter out tst-cleanupx4 here.
18494         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18495         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18496         Don't do those here.
18498 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18500         * scripts/list-sources.sh: Do not handle ports specially.
18502 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18504         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18505         * sysdeps/arm/feupdateenv.c: Likewise.
18507         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18509 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18511         * manual/texinfo.tex: Update to version 2014-05-05.10 with
18512         trailing whitespace removed.
18513         * scripts/config.guess: Update to version 2014-03-23.
18514         * scripts/config.sub: Update to version 2014-05-01
18515         * scripts/install-sh: Update to version 2013-12-25.23.
18516         * scripts/move-if-change: Update from gnulib.
18518 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18520         * debug/memmove_chk.c: Remove pagecopy.h include.
18522 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
18524         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
18525         identical to gnulib mktime.
18527 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18529         * configure.ac: Do not test for machine being rs6000.  Do not test
18530         for powerpc*-*soft.
18531         * configure: Regenerated.
18533         [BZ #11505]
18534         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18535         test.
18536         * configure: Regenerated.
18537         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18538         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18539         Remove configure test.
18540         * sysdeps/arm/configure: Regenerated.
18541         * sysdeps/nptl/configure.ac: Do not check
18542         libc_cv_asm_cfi_directives.
18543         * sysdeps/nptl/configure: Regenerated.
18544         * sysdeps/x86_64/nptl/configure.ac: Remove file.
18545         * sysdeps/x86_64/nptl/configure: Remove generated file.
18546         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18547         unconditional.
18548         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18550 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18552         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18553         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18554         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18555         it is defined.
18557         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18558         instead of whether it is defined.
18559         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18560         * sysdeps/hppa/dl-machine.h: Likewise.
18561         * sysdeps/ia64/dl-machine.h: Likewise.
18562         * sysdeps/m68k/dl-machine.h: Likewise.
18563         * sysdeps/microblaze/dl-machine.h: Likewise.
18564         * sysdeps/mips/dl-machine.: Likewise.
18565         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18566         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18567         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18568         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18569         * sysdeps/sh/dl-machine.h: Likewise.
18570         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18571         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18572         * sysdeps/tile/dl-machine.h: Likewise.
18573         * sysdeps/x86_64/dl-machine.h: Likewise.
18575         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18576         code.
18577         (verify_persistent_db): Likewise.
18579 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18582         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18584         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18586         Moved ...
18587         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18588         ... here.
18589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18590         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18592         Identical file removed.
18593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18594         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18596         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18598         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18600         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18602         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18604         Moved ...
18605         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18607         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18609         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18611         Moved ...
18612         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18614         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18616         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18618         Identical file removed.
18619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18620         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18622         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18624         Moved ...
18625         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18626         ... here.
18627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18628         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18630         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18632         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18634         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18636         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18638         Moved ...
18639         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18641         Moved ...
18642         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18644         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18646         Moved ...
18647         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18649         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18651         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18652         folded into ...
18653         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18654         * sysdeps/unix/sysv/linux/s390/Versions
18655         (libpthread: GLIBC_2.19): New version set.
18656         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18657         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18658         (librt: GLIBC_2.3.3): New version set.
18659         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18660         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18661         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18662         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18663         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18664         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18665         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18666         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18667         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18668         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18669         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18670         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18671         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18672         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18673         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18674         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18675         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18676         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18677         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18678         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18679         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18680         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18681         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18683         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18684         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18685         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18686         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18687         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18689         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18690         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18691         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18693         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18695         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18697         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18699         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18701         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18703         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18705         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18706         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18707         (__libc_vfork): Define the function under this name.
18708         [!NOT_IN_libc] (__vfork): Make this an alias.
18709         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18711         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18712         (__libc_vfork): Define the function under this name.
18713         [!NOT_IN_libc] (__vfork): Make this an alias.
18714         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18715         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18716         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18717         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18718         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18719         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18721         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18722         code that was previously under [RESET_PID].
18723         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18724         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18727         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18728         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18729         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18730         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18731         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18732         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18733         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18734         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18735         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18736         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18737         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18738         Moved ...
18739         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18740         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18741         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18742         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18743         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18744         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18745         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18746         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18747         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18748         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18749         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18750         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18751         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18752         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18753         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18754         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18755         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18756         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18757         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18758         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18759         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18760         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18761         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18762         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18763         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18764         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18765         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18766         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18767         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18769 2014-06-25  Roland McGrath  <roland@hack.frob.com>
18771         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18772         that was previously under [RESET_PID].
18773         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18775 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
18777         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18778         not undefine and redefine.
18779         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18780         [O_CLOEXEC]: Make code unconditional.
18781         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18782         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18783         <kernel-features.h>.
18784         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18785         conditional variable definition.
18786         (shm_open) [O_CLOEXEC]: Make code unconditional.
18787         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18788         code.
18790         * configure.ac (USE_REGPARMS): Don't define here.
18791         * configure: Regenerated.
18792         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18793         * sysdeps/i386/configure: Regenerated.
18795         * nptl/createthread.c: Don't include kernel-features.h.
18796         * nptl/pthread_cancel.c: Likewise.
18797         * nptl/pthread_condattr_setclock.c: Likewise.
18798         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18799         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18800         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18801         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18802         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18803         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18804         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18805         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18806         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18807         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18808         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18809         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18810         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18811         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18812         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18813         * nscd/gai.c: Likewise.
18814         * nss/nss_db/db-open.c: Likewise.
18815         * sysdeps/generic/ldsodefs.h: Likewise.
18816         * sysdeps/sh/nptl/tls.h: Likewise.
18817         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18818         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18819         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18820         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18821         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18822         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18823         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18824         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18825         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18826         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18827         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18828         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18829         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18830         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18831         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18832         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18833         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18834         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18835         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18836         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18839         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18840         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18841         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18842         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18845         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18846         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18847         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18848         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18849         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18850         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18851         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18852         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18853         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18854         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18855         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18856         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18857         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18858         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18859         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18860         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18861         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18862         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18863         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18864         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18865         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18866         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18867         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18868         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18869         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18870         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18871         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18872         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18873         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18874         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18897         * sysdeps/unix/sysv/linux/pread.c: Likewise.
18898         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18899         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18900         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18901         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18902         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18903         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18904         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18905         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18906         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18907         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18908         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18909         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18910         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18911         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18912         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18913         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18914         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18915         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18916         * sysdeps/unix/sysv/linux/system.c: Likewise.
18917         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18918         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18919         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18920         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18921         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18922         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18923         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18925         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18926         * configure: Regenerated.
18927         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18929         * configure.ac (base_machine): Do not set specially for particular
18930         machines here.
18931         * configure: Regenerated.
18932         * sysdeps/powerpc/preconfigure: Move machine and base_machine
18933         settings from configure.ac.
18934         * sysdeps/i386/preconfigure: New file.
18935         * sysdeps/s390/preconfigure: Likewise.
18936         * sysdeps/sh/preconfigure: Likewise.
18937         * sysdeps/sparc/preconfigure: Likewise.
18939 2014-06-25  Roland McGrath  <roland@hack.frob.com>
18941         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18942         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18943         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18944         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18945         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18946         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18947         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18948         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18949         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18950         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18951         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18952         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18953         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18954         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18955         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18956         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18957         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18958         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18959         * sysdeps/sparc/sparc64/Makefile: ... appended here.
18961         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18962         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18963         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18964         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18965         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18966         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18967         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18968         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18969         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18970         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18971         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18972         * sysdeps/sparc/sparc32/sem_post.c: ... here.
18973         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18974         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18975         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18976         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18977         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18978         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18979         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18980         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18981         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18982         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18984         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18985         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18986         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18987         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18988         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18989         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18990         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18991         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18992         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18993         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18994         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18995         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18996         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18997         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18998         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
19000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
19001         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
19002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
19003         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
19004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19005         Moved ...
19006         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
19007         ... here.
19008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
19009         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
19010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
19011         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
19012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
19013         Moved ...
19014         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
19015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
19016         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
19017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
19018         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
19019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
19020         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
19021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19022         Moved ...
19023         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19025         Moved ...
19026         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19028         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19030         Moved ...
19031         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19033         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19035         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19037         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19039         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19041         Moved ...
19042         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19043         ... here.
19044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19045         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19047         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19049         Moved ...
19050         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19052         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19054         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19056         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19058         Moved ...
19059         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19061         Moved ...
19062         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19064         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19066         Moved ...
19067         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19069         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19071         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19073 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19075         * timezone/checktab.awk: Update from tzcode 2014e.
19076         * timezone/private.h: Likewise.
19077         * timezone/tzfile.h: Likewise.
19078         * timezone/zdump.c: Likewise.
19079         * timezone/zic.c: Likewise.
19081         * sysdeps/unix/sysv/linux/kernel-features.h
19082         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19083         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19084         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19085         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19086         Remove conditional code.
19088 2014-06-25  Will Newton  <will.newton@linaro.org>
19090         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19091         (_dl_arm_cap_flags): Add HWCAP2 values.
19092         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19093         (_DL_HWCAP_COUNT): Increase to 37.
19094         (_DL_HWCAP_LAST): New define.
19095         (_DL_HWCAP2_LAST): New define.
19096         (_dl_procinfo): Add support for printing
19097         AT_HWCAP2 entries.
19098         (_dl_string_hwcap): Use _dl_hwcap_string.
19100 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19104 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19106         * README: Do not mention ports directory.
19108         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19109         Remove macro.
19110         * sysdeps/unix/sysv/linux/futimes.c: Do not include
19111         <kernel-features.h>.
19112         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19113         conditional variable definition.
19114         (__futimes): Update comment.
19115         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19116         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19118         [BZ #16560]
19119         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19120         arguments close to 0.
19121         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19122         Likewise.
19123         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19124         Likewise.
19125         * math/auto-libm-test-in: Add more tests of exp10.
19126         * math/auto-libm-test-out: Regenerated.
19127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19129         * sysdeps/unix/sysv/linux/kernel-features.h
19130         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19131         * sysdeps/unix/sysv/linux/readv.c: Do not include
19132         <kernel-features.h>.
19133         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19134         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19135         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19136         unconditional.
19137         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19138         conditional code.
19139         * sysdeps/unix/sysv/linux/writev.c: Do not include
19140         <kernel-features.h>.
19141         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19142         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19143         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19144         unconditional.
19145         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19146         conditional code.
19148 2014-06-25  Will Newton  <will.newton@linaro.org>
19150         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19151         comment changes throughout the file.  Remove checks
19152         for HAVE_*_H definitions that are not required.
19153         (__gen_tempname): Call abort if an unknown kind value is
19154         passed.
19156 2014-06-25  Andreas Schwab  <schwab@suse.de>
19158         [BZ #17086]
19159         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19160         scalbln, scalblnf, scalblnl in libc.
19162 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19164         [BZ #17086]
19165         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19166         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19167         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19169 2014-06-24  Roland McGrath  <roland@hack.frob.com>
19171         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19172         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19173         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19174         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19175         Update #include.
19176         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19177         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19178         Update #include.
19179         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19180         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19181         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19182         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19183         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19184         * sysdeps/x86/bits/pthreadtypes.h: ... here.
19185         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19186         * sysdeps/x86/bits/semaphore.h: ... here.
19187         * sysdeps/x86/nptl/elide.h: Moved ...
19188         * sysdeps/x86/elide.h: ... here.
19189         * sysdeps/x86_64/nptl/Implies: File removed.
19190         * sysdeps/i386/nptl/Implies: File removed.
19192 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
19194         [BZ #16539]
19195         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19196         return the argument for normal arguments with exponent below -64.
19197         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19198         Likewise.
19199         * math/auto-libm-test-in: Add another test of expm1.
19200         * math/auto-libm-test-out: Regenerated.
19202         [BZ #16287]
19203         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19204         calling __erfcl for arguments at least 16.
19205         * math/auto-libm-test-in: Add more tests of erf.
19206         * math/auto-libm-test-out: Regenerated.
19208         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19209         individual architectures.
19210         * sysdeps/unix/sysv/linux/configure: Regenerated.
19211         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19212         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19213         * sysdeps/unix/sysv/linux/powerpc/configure.ac
19214         (ldd_rewrite_script): Define variable.
19215         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19217         file.
19218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19219         generated file.
19220         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19221         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19222         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19223         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19224         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19225         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19226         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19227         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19229 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19231         [BZ #17084]
19232         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19233         Rename member __data.d to __data.__elision_data.
19235 2014-06-24  Wilco  <wdijkstr@arm.com>
19237         * NEWS: Add 16918 to fixed bug list.
19239 2014-06-24  Wilco  <wdijkstr@arm.com>
19241         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19243 2014-06-24  Wilco  <wdijkstr@arm.com>
19245         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19246         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19247         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19248         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19249         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19250         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19251         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19252         Use _FPU_MASK_RM.
19254 2014-06-24  Wilco  <wdijkstr@arm.com>
19256         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19258 2014-06-24  Wilco  <wdijkstr@arm.com>
19260         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19261         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19262         * sysdeps/arm/fesetround.c (fesetround): Remove space.
19263         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19265 2014-06-24  Wilco  <wdijkstr@arm.com>
19267         [BZ #16918]
19268         * sysdeps/arm/feupdateenv.c (feupdateenv):
19269         Rewrite to reduce FPSCR accesses and fix return value.
19271 2014-06-24  Wilco  <wdijkstr@arm.com>
19273         * sysdeps/arm/fclrexcpt.c (feclearexcept):
19274         Optimize to avoid unnecessary FPSCR writes.
19275         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19276         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19277         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19278         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19280 2014-06-24  Wilco  <wdijkstr@arm.com>
19282         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19283         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19284         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19285         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19286         Call libc_fetestexcept_vfp.
19287         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19288         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19289         __SOFTFP__ ifdef so that they can be built for softfp.
19291 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19293         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19294         argument type signed char.
19296         * Makerules (check-abi): Dump diff of symlist if the test
19297         fails.
19299 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19301         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19302         using abort.
19304         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19305         Remove unused variable ST.
19307 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19309         [BZ #16354]
19310         [BZ #17061]
19311         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19312         small arguments before calling __expm1.
19313         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19314         small arguments before calling __expm1f.
19315         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19316         small arguments before calling __expm1l.
19317         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19318         Likewise.
19319         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19320         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
19321         spurious underflow for some cosh tests.
19322         * math/auto-libm-test-out: Regenerated.
19323         * sysdeps/i386/fpu/libm-test-ulps: Update.
19325         [BZ #17050]
19326         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19327         (__ieee754_y1): Set errno if return value overflows.
19328         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19329         (__ieee754_y1f): Set errno if return value overflows.
19330         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19331         (__ieee754_y1l): Set errno if return value overflows.
19332         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19333         (__ieee754_y1l): Set errno if return value overflows.
19334         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19335         * math/auto-libm-test-out: Regenerated.
19337         * math/gen-auto-libm-tests.c: Document use of
19338         ignore-zero-inf-sign.
19339         (input_flag_type): Add value flag_ignore_zero_inf_sign.
19340         (input_flags): Add ignore-zero-inf-sign.
19341         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19342         * math/gen-libm-test.pl (generate_testfile): Handle
19343         ignore-zero-inf-sign.
19344         * math/auto-libm-test-in: Mark some cpow tests with
19345         ignore-zero-inf-sign and some with xfail-rounding.
19346         * math/auto-libm-test-out: Regenerated.
19347         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19348         * sysdeps/i386/fpu/libm-test-ulps: Update.
19349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19351         [BZ #16315]
19352         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19353         overflowing or underflowing operations take place with sign of
19354         result.
19355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19356         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19357         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19358         (__ieee754_pow): Recompute overflowing and underflowing results in
19359         original rounding mode.
19360         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19361         (__powl_helper): Allow negative argument X and scale negated value
19362         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
19363         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19364         overflowing or underflowing operations take place with sign of
19365         result.
19366         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19367         Include <math.h>.
19368         * math/auto-libm-test-in: Add more tests of pow.
19369         * math/auto-libm-test-out: Regenerated.
19370         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19371         (pow_tonearest_test_data): Remove.
19372         (pow_test_tonearest): Likewise.
19373         (pow_towardzero_test_data): Likewise.
19374         (pow_test_towardzero): Likewise.
19375         (pow_downward_test_data): Likewise.
19376         (pow_test_downward): Likewise.
19377         (pow_upward_test_data): Likewise.
19378         (pow_test_upward): Likewise.
19379         (main): Don't call removed functions.
19380         * sysdeps/i386/fpu/libm-test-ulps: Update.
19381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19383 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19386         Moved ...
19387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19389         Moved ...
19390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19392         Moved ...
19393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19395         Moved ...
19396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19398         File removed.
19399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19400         File removed.
19401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19402         File removed.
19403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19404         File removed.
19405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19406         File removed.
19407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19408         File removed.
19409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19410         File removed.
19411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19412         File removed.
19413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19414         File removed.
19415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19416         File removed.
19417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19418         File removed.
19419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19420         File removed.
19421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19422         Moved ...
19423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19425         Moved ...
19426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19427         ... here.
19428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19429         Moved ...
19430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19432         Moved ...
19433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19435         Moved ...
19436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19438         Moved ...
19439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19441         Moved ...
19442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19444         Moved ...
19445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19447         Moved ...
19448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19451         ... here.
19452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19453         Moved ...
19454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19456         Moved ...
19457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19458         ... here.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19460         Moved ...
19461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19462         ... here.
19463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19464         Moved ...
19465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19466         ... here.
19467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19468         Moved ...
19469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19471         Moved ...
19472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19476         Moved ...
19477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19478         ... here.
19479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19480         Moved ...
19481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19482         ... here.
19483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19484         Moved ...
19485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19487         Moved ...
19488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19490         Moved ...
19491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19493         Moved ...
19494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19496         Moved ...
19497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19498         ... here.
19499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19500         Moved ...
19501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19503         Moved ...
19504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19506         Moved ...
19507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19509         Moved ...
19510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19514         Moved ...
19515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19517         Moved ...
19518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19520         Moved ...
19521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19522         ... here.
19523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19524         Moved ...
19525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19526         ... here.
19527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19528         Moved ...
19529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19530         ... here.
19531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19532         Moved ...
19533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19535         Moved ...
19536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19538         Moved ...
19539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19541         Moved ...
19542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19543         ... here.
19544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19545         Moved ...
19546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19547         ... here.
19548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19549         Moved ...
19550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19551         ... here.
19552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19553         Moved ...
19554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19556         Moved ...
19557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19559 2014-06-23  Will Newton  <will.newton@linaro.org>
19560             Wilco  <wdijkstr@arm.com>
19562         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19563         implementation.  Include get-rounding-mode.h.
19564         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19565         [!libc_feholdsetround_noex_ctx]: Define
19566         libc_feholdsetround_noex_ctx.
19567         [!libc_feholdsetround_noexf_ctx]: Define
19568         libc_feholdsetround_noexf_ctx.
19569         [!libc_feholdsetround_noexl_ctx]: Define
19570         libc_feholdsetround_noexl_ctx.
19571         (libc_feholdsetround_ctx): New function.
19572         (libc_feresetround_ctx): New function.
19573         (libc_feholdsetround_noex_ctx): New function.
19574         (libc_feresetround_noex_ctx): New function.
19576 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19578         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19579         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19580         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19581         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19582         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19583         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19585         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19586         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19587         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19588         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19589         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19590         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19592         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19593         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19594         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19595         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19596         Moved ...
19597         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19598         ... here.
19599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19600         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19602         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19603         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19604         Moved ...
19605         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19607         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19608         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19609         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19610         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19611         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19612         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19613         Moved ...
19614         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19615         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19616         Moved ...
19617         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19618         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19619         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19620         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19621         Moved ...
19622         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19624         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19625         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19626         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19627         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19628         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19629         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19630         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19632         Moved ...
19633         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19634         ... here.
19635         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19636         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19638         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19640         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19641         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19642         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19644         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19645         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19646         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19647         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19648         Moved ...
19649         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19650         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19651         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19652         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19653         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19654         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19655         Moved ...
19656         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19658         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19659         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19660         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19662         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19663         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19664         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19665         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19666         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19667         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19668         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19669         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19671         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19672         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19673         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19674         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19675         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19676         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19677         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19678         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19679         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19680         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19681         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19682         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19683         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19684         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19685         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19686         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19687         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19688         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19689         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19691 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19694         (FALLOC_FL_COLLAPSE_RANGE): New macro.
19695         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19696         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19697         (IPV6_PMTUDISC_INTERFACE): Likewise.
19698         (IPV6_PMTUDISC_OMIT): Likewise.
19700 2014-06-23  Andreas Schwab  <schwab@suse.de>
19702         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19703         Remove unused errout label.
19705 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19707         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19708         macro: hardware supports Vector Crypto instructions.
19710 2014-06-23  Will Newton  <will.newton@linaro.org>
19712         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19713         rather than __builtin_expect.
19715         * elf/dl-lookup.c (undefined_msg): Remove variable.
19716         (_dl_lookup_symbol_x): Replace undefined_msg with string
19717         literal.
19719         * elf/dl-lookup.c (do_lookup_unique): New function.
19720         (do_lookup_x): Move STB_GNU_UNIQUE handling code
19721         to a separate function.
19723 2014-06-23  Andreas Schwab  <schwab@suse.de>
19725         [BZ #17079]
19726         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19727         before reading the next line.
19729 2014-06-23  Will Newton  <will.newton@linaro.org>
19731         * test-skeleton.c (signal_handler): Use printf and %m
19732         rather than perror.  Use printf rather than fprintf to
19733         stderr.  Use puts rather than fputs to stderr.
19734         (main): Likewise.
19736 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
19738         * nscd/nscd.c (thread_info_t): Remove typedef.
19739         (thread_info): Remove variable.
19741 2014-06-21  Allan McRae  <allan@archlinux.org>
19743         * NEWS: Mention CVE-2014-4043.
19745 2014-06-20  Roland McGrath  <roland@hack.frob.com>
19747         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19748         * nptl/smp.h: ... here.
19750         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19752         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19753         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19754         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19755         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19757         * nptl/allocatestack.c: Include <stack-aliasing.h>.
19758         * nptl/stack-aliasing.h: New file.
19759         * sysdeps/i386/i686/stack-aliasing.h: New file.
19760         * sysdeps/i386/i686/nptl/Makefile: File removed.
19761         * sysdeps/x86_64/stack-aliasing.h: New file.
19762         * sysdeps/x86_64/nptl/Makefile
19763         (CFLAGS-pthread_create.c): Variable removed.
19765         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19766         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19767         old file.
19768         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19769         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19770         old file.
19772 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
19774         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19775         (__ASSUME_SIGFRAME_V2): Remove macro.
19776         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19777         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19778         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19779         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19780         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19781         Declare as function.  Remove conditional macro definitions.
19782         (__default_rt_sa_restorer): Likewise.
19783         (__default_sa_restorer_v1): Remove declaration.
19784         (__default_sa_restorer_v2): Likewise.
19785         (__default_rt_sa_restorer_v1): Likewise.
19786         (__default_rt_sa_restorer_v2): Likewise.
19787         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19788         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19789         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19791 2014-06-20  Roland McGrath  <roland@hack.frob.com>
19793         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19794         (libpthread-routines): Add sysdep.
19795         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19796         * sysdeps/unix/sysv/linux/sparc/Versions
19797         (libpthread: GLIBC_2.3.3): New version set.
19798         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19799         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19800         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19801         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19802         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
19803         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19804         Moved ...
19805         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19806         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19807         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19808         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19809         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19810         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19811         * sysdeps/sparc/nptl/sem_init.c: ... here.
19812         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19813         * sysdeps/sparc/nptl/sem_post.c: ... here.
19814         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19815         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19816         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19817         * sysdeps/sparc/nptl/sem_wait.c: ... here.
19818         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19819         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19820         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19821         (libpthread-routines): Add cpu_relax.
19822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19823         File removed.
19824         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19825         (librt: GLIBC_2.3.3): New version set.
19826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19827         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19828         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19829         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19832         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19834         Moved ...
19835         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19837         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19839         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19841         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19843         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19845         Moved ...
19846         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19847         Update #include.
19848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19849         Moved ...
19850         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19851         Update #include.
19852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19853         Moved ...
19854         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19855         Update #include.
19856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19857         Moved ...
19858         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19859         Update #include.
19860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19861         Moved ...
19862         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19863         Update #include.
19864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19865         Moved ...
19866         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19867         Update #include.
19868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19869         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19871         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19873         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19875         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19877         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19879         Moved ...
19880         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19882         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19884         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19886 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
19888         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19889         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19890         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19891         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19892         * nscd/nscd.c: Likewise.
19893         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19894         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19895         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19896         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19898         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19899         <kernel-features.h>.
19900         (init_mq_netlink): Remove conditional have_sock_cloexec
19901         definitions.  Remove code conditional on have_sock_cloexec < 0.
19902         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19903         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19904         * sysdeps/unix/sysv/linux/opensock.c: Do not include
19905         <kernel-features.h>.
19906         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19907         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19909 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
19911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19912         Add tests for memset_chk and memset.
19914         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19915         with AVX2_Usable.
19917 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
19919         [BZ #16046]
19920         * elf/tst-dl-iter-static.c: New file.
19921         * elf/Makefile (tests-static): Add tst-dl-iter-static.
19923         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19924         error.
19926 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
19928         * sysdeps/unix/sysv/linux/kernel-features.h
19929         (__ASSUME_F_GETOWN_EX): Remove macro.
19930         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19931         <kernel-features.h>.
19932         (miss_F_GETOWN_EX): Remove variable or macro.
19933         (do_fcntl): Do not check miss_F_GETOWN_EX.
19934         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19936         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19937         Remove macro.
19938         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19939         [!__ASSUME_AT_RANDOM]: Remove conditional code.
19940         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19942         * sysdeps/unix/sysv/linux/kernel-features.h
19943         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19944         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19945         [ADJ_OFFSET_SS_READ]: Make code unconditional.
19946         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19948 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
19950         [BZ #17075]
19951         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19952         Fix calculation of the symbol's value.
19953         * sysdeps/arm/tst-armtlsdescloc.c: New file.
19954         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19955         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19956         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19957         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19958         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19959         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19960         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19961         (modules-names): Add `tst-armtlsdescmod',
19962         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19963         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19964         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19965         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19966         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19967         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19968         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19969         ($(objpfx)tst-armtlsdescloc): New dependency.
19970         ($(objpfx)tst-armtlsdescextnow): Likewise.
19971         ($(objpfx)tst-armtlsdescextlazy): Likewise.
19972         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19973         TLS scheme support.
19974         * sysdeps/arm/configure: Regenerate.
19976 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
19978         * include/fcntl.h (__atfct_seterrno): Remove prototype.
19979         (__atfct_seterrno_2): Likewise.
19980         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19981         <kernel-features.h>.
19982         (__ASSUME_ATFCTS): Do not undefine and redefine.
19983         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19984         (__have_atfcts): Remove conditional definition.
19985         (__fxstatat([__NR_fstatat64]: Make code unconditional.
19986         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19987         unreachable if [__ASSUME_ATFCTS].
19988         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19989         not undefine and redefine.
19990         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19991         <kernel-features.h>.
19992         (faccessat) [__NR_faccessat]: Make code unconditional.
19993         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19994         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19995         <kernel-features.h>.
19996         (fchmodat) [__NR_fchmodat]: Make code unconditional.
19997         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19998         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19999         <kernel-features.h>.
20000         (fchownat) [__NR_fchownat]: Make code unconditional.
20001         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
20002         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
20003         <kernel-features.h>.
20004         (futimesat) [__NR_futimesat]: Make code unconditional.
20005         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
20006         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20007         <kernel-features.h>.
20008         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20009         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20010         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20011         <kernel-features.h>.
20012         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
20013         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20014         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
20015         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20016         <kernel-features.h>.
20017         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
20018         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20019         * sysdeps/unix/sysv/linux/linkat.c: Do not include
20020         <kernel-features.h>.
20021         (linkat) [__NR_linkat]: Make code unconditional.
20022         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20023         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20024         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20025         <kernel-features.h>.
20026         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20027         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20028         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20029         <kernel-features.h>.
20030         (mkdirat) [__NR_mkdirat]: Make code unconditional.
20031         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20032         * sysdeps/unix/sysv/linux/openat.c: Do not include
20033         <kernel-features.h>.
20034         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20035         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20036         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20037         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20038         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20039         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20040         <kernel-features.h>.
20041         (readlinkat) [__NR_readlinkat]: Make code unconditional.
20042         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
20043         result of INLINE_SYSCALL directly, not via int variable.
20044         * sysdeps/unix/sysv/linux/renameat.c: Do not include
20045         <kernel-features.h>.
20046         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20047         (renameat) [__NR_renameat]: Make code unconditional.
20048         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20049         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20050         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20051         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20052         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20053         (__ASSUME_ATFCTS): Do not undefine and redefine.
20054         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20055         <kernel-features.h>.
20056         (symlinkat) [__NR_symlinkat]: Make code unconditional.
20057         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20058         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20059         <kernel-features.h>.
20060         (unlinkat) [__NR_unlinkat]: Make code unconditional.
20061         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20062         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20063         (__ASSUME_ATFCTS): Do not undefine and redefine.
20064         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20065         <kernel-features.h>.
20066         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20067         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20068         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20069         <kernel-features.h>.
20070         (__xmknodat) [__NR_mknodat]: Make code unconditional.
20071         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20073 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20075         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20077 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
20079         [BZ #17069]
20080         * posix/regcomp.c (parse_reg_exp): Deallocate partially
20081         constructed tree before returning error.
20082         * posix/bug-regexp36.c: Expand test case.
20084 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20086         [BZ #6803]
20087         * math/libm-test.inc (scalbln_test_date):
20088         Add errno expectations.
20089         * math/w_scalblnf.c: New File.
20090         Add wrapper which checks for setting errno to ERANGE.
20091         Add weak_alias for corresponding scalbln function.
20092         * math/w_scalbln.c: Likewise.
20093         * math/w_scalblnl.c: Likewise.
20094         * math/Makefile (libm-calls): Add w_scalbln.
20095         * sysdeps/ieee754/flt-32/s_scalblnf.c:
20096         Remove weak_alias for corresponding scalbln function.
20097         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20098         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20099         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20100         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20101         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20102         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20103         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20104         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20105         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20106         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20107         Remove long_double_symbol for scalblnl function in libm, libc.
20108         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20109         Add wrapper which checks for setting errno to ERANGE.
20110         Add long_double_symbol for scalblnl function in libm, libc.
20111         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20112         Remove long_double_symbol for scalblnl in libm.
20113         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20114         Add wrapper which checks for setting errno to ERANGE.
20115         Add long_double_symbol for scalblnl function in libm.
20116         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20117         Do not use wrapper because of own implementation.
20119 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
20121         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20122         3 bytes for __pad1 for x32.
20123         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20125 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
20126             H.J. Lu  <hongjiu.lu@intel.com>
20128         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20129         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20130         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20131         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20132         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20134 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
20136         [BZ #17069]
20137         * posix/regcomp.c (parse_expression): Deallocate partially
20138         constructed tree before returning error.
20139         * posix/Makefile.c (tests): Add bug-regex36.
20140         (generated): Add bug-regex36.mtrace.
20141         (tests-special): Add $(objpfx)bug-regex36-mem.out
20142         (bug-regex36-ENV): New variable.
20143         ($(objpfx)bug-regex36-mem.out): New rule.
20144         * posix/bug-regex36.c: New file.
20146 2014-06-19  Will Newton  <will.newton@linaro.org>
20148         * malloc/malloc.c (systrim): If extra is zero then return
20149         early.
20151 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20153         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20155 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
20157         * sysdeps/aarch64/strchr.S: New file.
20159 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20161         [BZ #17022]
20162         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20163         from arguments -2 or below.
20164         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20165         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20167 2014-06-18  Andreas Schwab  <schwab@suse.de>
20169         [BZ #17062]
20170         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20171         of a bracket expr not to run off the end of the string.
20172         * posix/Makefile (tests): Add tst-fnmatch3.
20173         * posix/tst-fnmatch3.c: New file.
20175 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20177         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20178         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20179         [$(cross-compiling) = no]: Likewise.
20180         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20181         [$(cross-compiling) = no]: Likewise.
20183 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20185         [BZ #17031]
20186         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20187         double, adjusted for any remainder from the high double.
20188         * math/libm-test.inc (nearbyint): Add tests.
20189         (rint): Likewise.
20191 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20193         * nptl/sysdeps/powerpc/Makefile: Moved ...
20194         * sysdeps/powerpc/nptl/Makefile: ... here.
20195         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20196         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20197         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20198         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20199         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20200         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20201         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20202         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20203         * nptl/sysdeps/powerpc/tls.h: Moved ...
20204         * sysdeps/powerpc/nptl/tls.h: ... here.
20206 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
20208         [BZ #16681]
20209         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20210         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20211         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20212         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20213         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20214         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20215         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20216         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20217         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20219 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
20221         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20223 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
20225         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20226         defined operator.
20228         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20229         $TIMEOUTFACTOR.
20231 2014-06-16  Florian Weimer  <fweimer@redhat.com>
20233         [BZ #17058]
20234         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20235         non-executed part of the test.
20237 2014-06-16  Andreas Schwab  <schwab@suse.de>
20239         * string/bits/string2.h (strdup, strndup): Update feature guard.
20241 2014-06-14  David S. Miller  <davem@davemloft.net>
20243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20245 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
20247         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20248         that was previously under [RESET_PID].
20249         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20251         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20252         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20253         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20254         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20255         (__libc_vfork): New strong alias.
20256         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20258 2014-06-14 Andi Kleen  <ak@linux.intel.com>
20260         * sysdeps/generic/elide.h: New file.
20262 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20264         * Makefile (installed-headers): Adjust path of pthread.h header.
20266 2014-06-13  Roland McGrath  <roland@hack.frob.com>
20268         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20269         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20270         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20271         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20273         * nptl/sysdeps/s390/Makefile: Moved ...
20274         * sysdeps/s390/nptl/Makefile: ... here.
20275         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20276         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20277         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20278         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20279         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20280         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20281         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20282         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20283         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20284         * sysdeps/s390/nptl/pthreaddef.h: ... here.
20285         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20286         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20287         * nptl/sysdeps/s390/tls.h: Moved ...
20288         * sysdeps/s390/nptl/tls.h: ... here.
20290         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20291         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20293 2014-06-13  David S. Miller  <davem@davemloft.net>
20295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20298         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20302         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20303         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20304         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20305         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20306         Remove RESET_PID cpp guards.
20307         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20308         Remove RESET_PID cpp guards.
20309         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20311 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
20313         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20314         __sp to uintptr_t.
20316 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20318         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20319         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20320         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20321         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20323         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20324         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20325         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20328         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20330         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20333         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20334         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20335         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20336         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20339         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20340         (pthread_rwlock_rdlock): Add elision.
20341         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20342         (pthread_rwlock_wrlock): Add elision.
20343         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20344         (pthread_rwlock_trywrlock): Add elision.
20345         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20346         (pthread_rwlock_tryrdlock): Add elision.
20347         * nptl/pthread_rwlock_unlock.c: Include elide.h.
20348         (pthread_rwlock_tryrdlock): Add elision unlock.
20349         * nptl/sysdeps/pthread/pthread.h:
20350         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20351         (PTHREAD_RWLOCK_INITIALIZER,
20352         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20353         Handle new elision field.
20354         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20355         * sysdeps/arm/nptl/bits/pthreadtypes.h
20356         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20357         * sysdeps/sh/nptl/bits/pthreadtypes.h
20358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20359         * sysdeps/tile/nptl/bits/pthreadtypes.h
20360         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20361         * sysdeps/a/nptl/bits/pthreadtypes.h
20362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20363         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20365         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20367         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20369         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20371         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20373         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20375         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20377         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20379         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20380         (elision_init): Set try_xbegin to zero when no RTM.
20381         * sysdeps/x86/nptl/bits/pthreadtypes.h
20382         (pthread_rwlock_t): Change __pad1 to __rwelision.
20383         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20385 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20387         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20388         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20389         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20390         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20392 2014-06-13  Meador Inge  <meadori@codesourcery.com>
20394         [BZ #16996]
20395         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20396         that the cached result has been set before returning it.
20398 2014-06-12  Roland McGrath  <roland@hack.frob.com>
20400         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20401         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20402         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20403         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20404         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20405         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20407         * nptl/sysdeps/sparc/Makefile: Moved ...
20408         * sysdeps/sparc/nptl/Makefile: ... here.
20409         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20410         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20411         * nptl/sysdeps/sparc/tls.h: Moved ...
20412         * sysdeps/sparc/nptl/tls.h: ... here.
20413         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20414         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20415         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20416         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20417         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20418         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20419         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20420         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20421         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20422         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20423         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20424         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20425         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20426         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20427         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20428         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20429         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20430         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20431         Update #include.
20432         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20433         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20434         Update #include.
20435         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20436         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20437         Update #include.
20438         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20440         Update #include.
20442         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20444         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20445         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20447         * sysdeps/pthread/posix-timer.h: Include <list.h>.
20448         (struct list_links): Type removed.
20449         (struct thread_node, struct timer_node): Replace struct list_links
20450         with struct list_head.
20451         (list_unlink_ip): Likewise.
20452         * sysdeps/pthread/timer_routines.c
20453         (timer_free_list, thread_free_list, thread_active_list): Likewise.
20454         (list_append, list_insbefore): Likewise.
20455         (list_init): Function removed.
20456         (thread_init, init_module): Use INIT_LIST_HEAD instead.
20457         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20458         * sysdeps/pthread/Makefile: ... here, new file.
20460         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20461         * sysdeps/nptl/Implies: ... here.
20462         * sysdeps/unix/sysv/linux/Implies: Add nptl.
20463         * nptl/sysdeps/pthread/list.h: Moved ...
20464         * include/list.h: ... here.
20465         * nptl/sysdeps/pthread/createthread.c: Moved ...
20466         * nptl/createthread.c: ... here.
20467         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20468         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20469         * nptl/pt-longjmp.c: ... here.
20470         * nptl/sysdeps/pthread/Makefile: Moved ...
20471         * sysdeps/nptl/Makefile: ... here.
20472         * nptl/sysdeps/pthread/Subdirs: Moved ...
20473         * sysdeps/nptl/Subdirs: ... here.
20474         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20475         * sysdeps/nptl/aio_misc.h: ... here.
20476         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20477         * sysdeps/nptl/bits/libc-lock.h: ... here.
20478         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20479         * sysdeps/nptl/bits/libc-lockP.h: ... here.
20480         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20481         * sysdeps/nptl/bits/stdio-lock.h: ... here.
20482         * nptl/sysdeps/pthread/configure: Moved ...
20483         * sysdeps/nptl/configure: ... here.
20484         * nptl/sysdeps/pthread/configure.ac: Moved ...
20485         * sysdeps/nptl/configure.ac: ... here.
20486         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20487         * sysdeps/nptl/gai_misc.h: ... here.
20488         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20489         * sysdeps/nptl/librt-cancellation.c: ... here.
20490         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20491         * sysdeps/nptl/malloc-machine.h: ... here.
20492         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20493         * sysdeps/nptl/pthread-functions.h: ... here.
20494         * nptl/sysdeps/pthread/pthread.h: Moved ...
20495         * sysdeps/nptl/pthread.h: ... here.
20496         * nptl/sysdeps/pthread/setxid.h: Moved ...
20497         * sysdeps/nptl/setxid.h: ... here.
20498         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20499         * sysdeps/nptl/sigfillset.c: ... here.
20500         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20501         * sysdeps/nptl/tcb-offsets.h: ... here.
20502         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20503         * sysdeps/nptl/tst-mqueue8x.c: ... here.
20504         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20505         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20506         * nptl/sysdeps/pthread/allocalim.h: Moved ...
20507         * sysdeps/pthread/allocalim.h: ... here.
20508         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20509         * sysdeps/pthread/bits/sigthread.h: ... here.
20510         * nptl/sysdeps/pthread/flockfile.c: Moved ...
20511         * sysdeps/pthread/flockfile.c: ... here.
20512         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20513         * sysdeps/pthread/ftrylockfile.c: ... here.
20514         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20515         * sysdeps/pthread/funlockfile.c: ... here.
20516         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20517         * sysdeps/pthread/posix-timer.h: ... here.
20518         * nptl/sysdeps/pthread/timer_create.c: Moved ...
20519         * sysdeps/pthread/timer_create.c: ... here.
20520         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20521         * sysdeps/pthread/timer_delete.c: ... here.
20522         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20523         * sysdeps/pthread/timer_getoverr.c: ... here.
20524         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20525         * sysdeps/pthread/timer_gettime.c: ... here.
20526         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20527         * sysdeps/pthread/timer_routines.c: ... here.
20528         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20529         * sysdeps/pthread/timer_settime.c: ... here.
20530         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20531         * sysdeps/pthread/tst-timer.c: ... here.
20532         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20533         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20535         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20536         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20538         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20539         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20540         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20541         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20542         Update #include target.
20543         * nptl/sysdeps/i386/i686/Makefile: Moved ...
20544         * sysdeps/i386/i686/nptl/Makefile: ... here.
20545         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20546         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20547         Update #include target.
20548         * nptl/sysdeps/i386/i686/tls.h: Moved ...
20549         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
20550         * nptl/sysdeps/i386/Makefile: Moved ...
20551         * sysdeps/i386/nptl/Makefile: ... here.
20552         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20553         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20554         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20555         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20556         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20557         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20558         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20559         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20560         * sysdeps/i386/nptl/pthreaddef.h: ... here.
20561         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20562         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20563         * nptl/sysdeps/i386/tls.h: Moved ...
20564         * sysdeps/i386/nptl/tls.h: ... here.
20566         * sysdeps/sh/Makefile [$(subdir) = csu]
20567         (gen-as-const-headers): Add tcb-offsets.sym.
20568         * nptl/sysdeps/sh/Makefile: File removed.
20569         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20570         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20571         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20572         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20573         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20574         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20575         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20576         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20577         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20578         * sysdeps/sh/nptl/pthreaddef.h: ... here.
20579         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20580         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20581         * nptl/sysdeps/sh/tls.h: Moved ...
20582         * sysdeps/sh/nptl/tls.h: ... here.
20583         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20584         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20585         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20586         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20587         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20588         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20589         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20590         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20591         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20592         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20593         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20594         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20595         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20596         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20597         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20598         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20599         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20600         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20602         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20603         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20604         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20605         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20606         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20607         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20608         Moved ...
20609         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20610         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20611         Moved ...
20612         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20614         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20616         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20617         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20618         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20619         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20620         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20621         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20622         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20623         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20624         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20625         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20626         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20627         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20628         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20629         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20630         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20632 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20634         * posix/spawn_faction_addopen.c: Include string.h.
20636 2014-06-11  Roland McGrath  <roland@hack.frob.com>
20638         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20639         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20640         * nptl/sysdeps/x86_64/Makefile: Moved ...
20641         * sysdeps/x86_64/nptl/Makefile: ... here.
20642         * nptl/sysdeps/x86_64/configure: Moved ...
20643         * sysdeps/x86_64/nptl/configure: ... here.
20644         * nptl/sysdeps/x86_64/configure.ac: Moved ...
20645         * sysdeps/x86_64/nptl/configure.ac: ... here.
20646         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20647         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20648         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20649         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20650         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20651         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20652         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20653         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20654         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20655         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20656         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20657         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20658         * nptl/sysdeps/x86_64/tls.h: Moved ...
20659         * sysdeps/x86_64/nptl/tls.h: ... here.
20660         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20661         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20662         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20663         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20665         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20667 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20671 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
20673         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20674         type.
20675         [POSIX] (off_t): Likewise.
20676         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20677         [POSIX] (S_ISBLK): Require macro.
20678         [POSIX] (S_ISCHR): Likewise.
20679         [POSIX] (S_ISDIR): Likewise.
20680         [POSIX] (S_ISFIFO): Likewise.
20681         [POSIX] (S_ISREG): Likewise.
20682         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20683         optional-macro.
20684         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20685         type.
20686         [POSIX] (time_t): Likewise.
20687         [POSIX] (timer_t): Likewise.
20689 2014-06-11  Florian Weimer  <fweimer@redhat.com>
20691         [BZ #17048]
20692         * posix/spawn_int.h (struct __spawn_action): Make the path string
20693         non-const to support deallocation.
20694         * posix/spawn_faction_addopen.c
20695         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20696         * posix/spawn_faction_destroy.c
20697         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
20698         path in all spawn_do_open actions.
20699         * posix/tst-spawn.c (do_test): Exercise the copy operation in
20700         posix_spawn_file_actions_addopen.
20702 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
20704         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20705         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20706         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20707         conditional code always true.
20708         (__libc_vfork): New alias.
20710 2014-06-11  Roland McGrath  <roland@hack.frob.com>
20712         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20713         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20715         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20717         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20718         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20720         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20721         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20723         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20724         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20726 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20728         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20729         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20730         multiarch strcmp for PPC64.
20731         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20732         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20734         multiarch optimizations.
20735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20736         (__libc_ifunc_impl_list): Likewise.
20738 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20740         * benchtests/scripts/validate_benchout.py: New script.
20741         * benchtests/Makefile (bench-func): Call it.
20742         * benchtests/scripts/benchout.schema.json: New file.
20744 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
20746         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20747         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20748         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20749         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20750         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20751         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20752         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20753         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20754         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20755         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20756         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20757         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20758         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20759         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20760         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20761         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20763         Moved ...
20764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20765         ... here.
20766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20767         Moved ...
20768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20770         Moved ...
20771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20772         ... here.
20773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20774         Moved ...
20775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20776         ... here.
20777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20778         Moved ...
20779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20781         Moved ...
20782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20783         ... here.
20784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20785         Moved ...
20786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20787         ... here.
20788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20789         Moved ...
20790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20792         Moved ...
20793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20794         ... here.
20795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20796         Moved ...
20797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20798         ... here.
20799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20800         Moved ...
20801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20802         ... here.
20803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20804         Moved ...
20805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20807         Moved ...
20808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20809         ... here.
20810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20811         Moved ...
20812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20813         ... here.
20814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20815         Moved ...
20816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20817         ... here.
20818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20819         Moved ...
20820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20822         Moved ...
20823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20824         ... here.
20825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20826         Moved ...
20827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20828         ... here.
20829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20830         Moved ...
20831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20833         Moved ...
20834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20835         ... here.
20836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20837         Moved ...
20838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20840         Moved ...
20841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20843         Moved ...
20844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20845         ... here.
20846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20847         Moved ...
20848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20849         ... here.
20850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20851         Moved ...
20852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20853         ... here.
20854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20855         Moved ...
20856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20858         Moved ...
20859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20860         ... here.
20861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20862         Moved ...
20863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20864         ... here.
20865         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20866         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20868         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20869         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20870         Moved ...
20871         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20872         ... here.
20873         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20874         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20876         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20878         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20880         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20881         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20882         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20883         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20884         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20886         Moved ...
20887         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20888         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20889         Moved ...
20890         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20892         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20894         Moved ...
20895         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20897         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20898         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20899         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20900         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20901         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20903 2014-06-10  Wilco  <wdijkstr@arm.com>
20905         * math/test-fenv-return.c: New file.
20906         * math/Makefile: Add new test test-fenv-return.
20908 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
20910         [BZ #17042]
20911         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20912         when x - 1 is zero.
20913         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20914         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20915         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20916         0.0L for an argument of 1.0L.
20917         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20918         Likewise.
20919         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20920         value when x - 1 is zero.
20921         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20922         * sysdeps/i386/fpu/libm-test-ulps: Update.
20923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20925 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
20927         [BZ #15119]
20928         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20930 2014-06-09  Roland McGrath  <roland@hack.frob.com>
20932         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20933         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20935 2014-06-09  Roland McGrath  <roland@hack.frob.com>
20937         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20938         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20940         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20941         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20943         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20944         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20946         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20947         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20949         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20950         if not already defined.
20951         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20952         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20953         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20954         (TLS_INIT_TP): Use it.
20955         (TLS_DEFINE_INIT_TP): New macro.
20956         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20958 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
20960         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20961         constant.
20962         [POSIX] (IXANY): Likewise.
20963         [POSIX] (OLCUC): Likewise.
20964         [POSIX || POSIX2008] (CBAUD): Do not allow.
20965         [POSIX || POSIX2008] (DEFECHO): Likewise.
20966         [POSIX || POSIX2008] (ECHOCTL): Likewise.
20967         [POSIX || POSIX2008] (ECHOKE): Likewise.
20968         [POSIX || POSIX2008] (ECHOPRT): Likewise.
20969         [POSIX || POSIX2008] (EXTA): Likewise.
20970         [POSIX || POSIX2008] (EXTB): Likewise.
20971         [POSIX || POSIX2008] (FLUSHO): Likewise.
20972         [POSIX || POSIX2008] (LOBLK): Likewise.
20973         [POSIX || POSIX2008] (PENDIN): Likewise.
20974         [POSIX || POSIX2008] (SWTCH): Likewise.
20975         [POSIX || POSIX2008] (VDISCARD): Likewise.
20976         [POSIX || POSIX2008] (VDSUSP): Likewise.
20977         [POSIX || POSIX2008] (VLNEXT): Likewise.
20978         [POSIX || POSIX2008] (VREPRINT): Likewise.
20979         [POSIX || POSIX2008] (VSTATUS): Likewise.
20980         [POSIX || POSIX2008] (VWERASE): Likewise.
20981         (B*): Change to B[0123456789]*.
20982         * conform/data/time.h-data [POSIX || UNIX98]
20983         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20984         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20985         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20986         [POSIX] (tm_*): Do not allow.
20988 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
20990         * Makefile (install): Don't set LANGUAGE.
20991         * Makefile.in (install): Likewise.
20992         * assert/Makefile (test-assert-ENV): Remove variable.
20993         (test-assert-perr-ENV): Likewise.
20994         * elf/Makefile (neededtest4-ENV): Likewise.
20995         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20996         [$(cross-compiling) = no]: Don't set LANGUAGE.
20997         * io/ftwtest-sh (LANG): Remove variable.
20998         * libio/Makefile (tst-widetext-ENV): Likewise.
20999         * manual/install.texi (Running make install): Don't refer to
21000         environment settings for make install.
21001         * INSTALL: Regenerated.
21002         * nptl/tst-tls6.sh: Don't set LANG.
21003         * posix/globtest.sh (LANG): Remove variable.
21004         * string/Makefile (tester-ENV): Likewise.
21005         (inl-tester-ENV): Likewise.
21006         (noinl-tester-ENV): Likewise.
21007         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21008         [$(cross-compiling) = no]: Don't set LANGUAGE.
21009         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
21010         without explicit environment settings.
21012 2014-06-06  Roland McGrath  <roland@hack.frob.com>
21014         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
21015         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
21016         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
21017         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
21019 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
21021         * crypt/crypt-private.h [DOS]: Add some includes taken from the
21022         other files in the crypt directory.
21023         * crypt/crypt.c: Remove duplicate includes.
21024         * crypt/crypt-entry.c: Likewise.
21025         * crypt/crypt_util.c: Likewise.
21027 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
21029         * Makeconfig (run-program-env): New variable.
21030         (run-program-prefix-before-env): Likewise.
21031         (run-program-prefix-after-env): Likewise.
21032         (run-program-prefix): Define in terms of new variables.
21033         (built-program-cmd-before-env): New variable.
21034         (built-program-cmd-after-env): Likewise.
21035         (built-program-cmd): Define in terms of new variables.
21036         (test-program-prefix-before-env): New variable.
21037         (test-program-prefix-after-env): Likewise.
21038         (test-program-prefix): Define in terms of new variables.
21039         (test-program-cmd-before-env): New variable.
21040         (test-program-cmd-after-env): Likewise.
21041         (test-program-cmd): Define in terms of new variables.
21042         * Rules (make-test-out): Use $(run-program-env).
21043         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21044         (help): Do not mention environment variables.  Mention
21045         --timeoutfactor option.
21046         (timeoutfactor): New variable.
21047         (blacklist_exports): Remove function.
21048         (exports): Remove variable.
21049         (command): Do not include ${exports}.
21050         * manual/install.texi (Configuring and compiling): Do not mention
21051         test wrappers preserving environment variables.  Mention that last
21052         assignment to a variable must take precedence.
21053         * INSTALL: Regenerated.
21054         * benchtests/Makefile (run-bench): Use $(run-program-env).
21055         * catgets/Makefile ($(objpfx)test1.cat): Use
21056         $(built-program-cmd-before-env), $(run-program-env) and
21057         $(built-program-cmd-after-env).
21058         ($(objpfx)test2.cat): Do not specify environment variables
21059         explicitly.
21060         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21061         $(run-program-env) and $(built-program-cmd-after-env).
21062         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21063         $(run-program-env) and $(test-program-cmd-after-env).
21064         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21065         explicitly.
21066         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21067         run_program_env and test_program_cmd_after_env arguments.
21068         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21069         * elf/tst-pathopt.sh: Use run_program_env argument.
21070         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21071         $(test-wrapper-env) and $(run-program-env).
21072         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21073         run_program_env arguments.
21074         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21075         * intl/Makefile ($(objpfx)tst-gettext.out): Use
21076         $(test-program-prefix-before-env), $(run-program-env) and
21077         $(test-program-prefix-after-env).
21078         ($(objpfx)tst-gettext2.out): Likewise.
21079         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21080         run_program_env and test_program_prefix_after_env arguments.
21081         * intl/tst-gettext2.sh: Likewise.
21082         * intl/tst-gettext4.sh: Do not set environment variables
21083         explicitly.
21084         * intl/tst-gettext6.sh: Likewise.
21085         * intl/tst-translit.sh: Likewise.
21086         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21087         $(test-program-prefix-before-env), $(run-program-env) and
21088         $(test-program-prefix-after-env).
21089         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21090         run_program_env and test_program_prefix_after_env arguments.
21091         * math/Makefile (run-regen-ulps): Use $(run-program-env).
21092         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21093         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
21094         explicitly with each use of ${test_wrapper_env}.
21095         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21096         $(test-program-prefix-before-env), $(run-program-env) and
21097         $(test-program-prefix-after-env).
21098         * posix/tst-getconf.sh: Do not set environment variables
21099         explicitly.
21100         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21101         run_program_env and test_program_prefix_after_env arguments.
21102         * stdio-common/tst-printf.sh: Do not set environment variables
21103         explicitly.
21104         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21105         $(test-program-prefix-before-env), $(run-program-env) and
21106         $(test-program-prefix-after-env).
21107         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21108         run_program_env and test_program_prefix_after_env arguments.
21109         Split $test calls into $test_pre and $test.
21110         * timezone/Makefile (build-testdata): Use
21111         $(built-program-cmd-before-env), $(run-program-env) and
21112         $(built-program-cmd-after-env).
21114 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21116         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21117         strlen for non SHARED builds.
21119 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21121         * nptl/allocatestack.c (check_list): Inlined function...
21122         (__reclaim_stacks): ... here.
21124 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21126         [BZ #15698]
21127         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21128         memory overrun.
21130 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
21132         * Rules (make-test-out): Include
21133         LOCPATH=$(common-objpfx)localedata in default environment.
21134         * debug/Makefile (tst-chk1-ENV): Remove variable.
21135         (tst-chk2-ENV): Likewise.
21136         (tst-chk3-ENV): Likewise.
21137         (tst-chk4-ENV): Likewise.
21138         (tst-chk5-ENV): Likewise.
21139         (tst-chk6-ENV): Likewise.
21140         (tst-lfschk1-ENV): Likewise.
21141         (tst-lfschk2-ENV): Likewise.
21142         (tst-lfschk3-ENV): Likewise.
21143         (tst-lfschk4-ENV): Likewise.
21144         (tst-lfschk5-ENV): Likewise.
21145         (tst-lfschk6-ENV): Likewise.
21146         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21147         (tst-iconv7-ENV): Likewise.
21148         * intl/Makefile (LOCPATH-ENV): Likewise.
21149         (tst-codeset-ENV): Likewise.
21150         (tst-gettext3-ENV): Likewise.
21151         (tst-gettext5-ENV): Likewise.
21152         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21153         (tst-fopenloc-ENV): Likewise.
21154         (tst-fgetws-ENV): Remove variable.
21155         (tst-ungetwc1-ENV): Likewise.
21156         (tst-ungetwc2-ENV): Likewise.
21157         (bug-ungetwc2-ENV): Likewise.
21158         (tst-swscanf-ENV): Likewise.
21159         (bug-ftell-ENV): Likewise.
21160         (tst-fgetwc-ENV): Likewise.
21161         (tst-fseek-ENV): Likewise.
21162         (tst-ftell-partial-wide-ENV): Likewise.
21163         (tst-ftell-active-handler-ENV): Likewise.
21164         (tst-ftell-append-ENV): Likewise.
21165         * posix/Makefile (tst-fnmatch-ENV): Likewise.
21166         (tst-regexloc-ENV): Likewise.
21167         (bug-regex1-ENV): Likewise.
21168         (tst-regex-ENV): Likewise.
21169         (tst-regex2-ENV): Likewise.
21170         (bug-regex5-ENV): Likewise.
21171         (bug-regex6-ENV): Likewise.
21172         (bug-regex17-ENV): Likewise.
21173         (bug-regex18-ENV): Likewise.
21174         (bug-regex19-ENV): Likewise.
21175         (bug-regex20-ENV): Likewise.
21176         (bug-regex22-ENV): Likewise.
21177         (bug-regex23-ENV): Likewise.
21178         (bug-regex25-ENV): Likewise.
21179         (bug-regex26-ENV): Likewise.
21180         (bug-regex30-ENV): Likewise.
21181         (bug-regex32-ENV): Likewise.
21182         (bug-regex33-ENV): Likewise.
21183         (bug-regex34-ENV): Likewise.
21184         (bug-regex35-ENV): Likewise.
21185         (tst-rxspencer-ENV): Likewise.
21186         (tst-rxspencer-no-utf8-ENV): Likewise.
21187         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21188         (tst-sscanf-ENV): Likewise.
21189         (tst-swprintf-ENV): Likewise.
21190         (tst-swscanf-ENV): Likewise.
21191         (test-vfprintf-ENV): Likewise.
21192         (scanf13-ENV): Likewise.
21193         (bug14-ENV): Likewise.
21194         (tst-grouping-ENV): Likewise.
21195         * stdlib/Makefile (tst-strtod-ENV): Likewise.
21196         (tst-strtod3-ENV): Likewise.
21197         (tst-strtod4-ENV): Likewise.
21198         (tst-strtod5-ENV): Likewise.
21199         (testmb2-ENV): Likewise./
21200         * string/Makefile (tst-strxfrm-ENV): Likewise.
21201         (tst-strxfrm2-ENV): Likewise.
21202         (bug-strcoll1-ENV): Likewise.
21203         (test-strcasecmp-ENV): Likewise.
21204         (test-strncasecmp-ENV): Likewise.
21205         * time/Makefile (tst-strptime-ENV): Likewise.
21206         (tst-ftime_l-ENV): Likewise.
21207         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21208         (tst-mbrtowc-ENV): Likewise.
21209         (tst-wcrtomb-ENV): Likewise.
21210         (tst-mbrtowc2-ENV): Likewise.
21211         (tst-c16c32-1-ENV): Likewise.
21212         (tst-mbsnrtowcs-ENV): Likewise.
21214 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21216         * manual/resource.texi (How to get information about the memory
21217         subsystem?): Fix typo.
21218         Reported by Peon de la Parra Ivan <peon@keba.com>
21220 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
21222         [BZ #16882]
21223         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21224         (pthread_spin_lock): Branch out of spin loop to proper location.
21225         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21226         (pthread_spin_lock): Likewise.
21228         * nptl/tst-spin4.c: New test.
21229         * nptl/Makefile (tests): Add tst-spin4.
21231 2014-06-03  Andreas Schwab  <schwab@suse.de>
21233         [BZ #15946]
21234         * resolv/res_send.c (send_dg): Reload file descriptor after
21235         calling reopen.
21237 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
21239         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21241 2014-06-03  Richard Henderson  <rth@redhat.com>
21243         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21244         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21245         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21246         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
21247         in the SAVE_PID block.
21248         (__libc_vfork): New alias.
21249         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21251         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21252         child in registers, not on the stack.  Remove RESET_PID conditionals.
21253         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21255 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21257         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21259 2014-06-03  Wilco  <wdijkstr@arm.com>
21261         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21262         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21263         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21264         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21265         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21266         Likewise.
21268 2014-06-03  Wilco  <wdijkstr@arm.com>
21270         * sysdeps/aarch64/fpu/math_private.h
21271         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21272         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21273         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21274         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21275         Fix declarations.
21277 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21279         * crypt/crypt-private.h: Include ufc-crypt.h.
21280         (__b64_from_24bit): Declare extern.
21281         * crypt/crypt_util.c(__b64_from_24bit): New function.
21282         (b64t): New static const variable.
21283         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21284         (b64t): Remove variable.
21285         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21286         * crypt/sha256-crypt.c: Include crypt-private.h.
21287         (b64t): Remove variable.
21288         (__sha256_crypt_r): Remove b64_from_24bit and replace
21289         with __b64_from_24bit.
21290         * crypt/sha512-crypt.c: Likewise.
21292 2014-06-02  Roland McGrath  <roland@hack.frob.com>
21294         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21295         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21296         Label the code __libc_vfork rather than __vfork.
21297         [!NOT_IN_libc] (vfork): Define as weak alias.
21298         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21299         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21300         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21302 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21304         * malloc/malloc.c (malloc_info): Fix format specifier for
21305         n_mmaps.
21307 2014-06-02  Wilco  <wdijkstr@arm.com>
21309         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21310         FPCR write.
21312 2014-06-02  Wilco  <wdijkstr@arm.com>
21314         [BZ #17009]
21315         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21316         Rewrite to reduce FPCR/FPSR accesses.
21318 2014-06-01  David S. Miller  <davem@davemloft.net>
21320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21322 2014-05-31  David S. Miller  <davem@davemloft.net>
21324         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21325         to occur in round to nearest mode when |x| >= 2.0
21327 2014-05-30  Richard Henderson  <rth@twiddle.net>
21329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21330         (PSEUDO_RET_NOERRNO): Remove.
21331         (ret): Don't redefine.
21332         (ret_NOERRNO): Define in terms of ret.
21333         (ret_ERRVAL): Likewise.
21335         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21336         use of PSEUDO_RET; perform the error check directly.
21338 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
21340         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21341         with __int128_t.
21343 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21345         * malloc/malloc (malloc_info): Fix formatting.
21347 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21348             Roland McGrath  <roland@hack.frob.com>
21350         * malloc/malloc (malloc_info): Also print mmapped statistics.
21352 2014-05-30  Roland McGrath  <roland@hack.frob.com>
21354         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21355         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21357 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
21359         * malloc/malloc.c (malloc_info): Inline mi_arena.
21361 2014-05-29  Richard Henderson  <rth@twiddle.net>
21363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21364         Remove comma before expanding ASM_ARGS_##nr.
21365         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21366         Make _x0 a strict output; make _x8 a strict input; adjust expansion
21367         of ASM_ARGS_##nr.
21368         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21369         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21370         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21371         (ASM_ARGS_1): Add leading comma.
21373         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21374         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21375         to __errno_location.
21376         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21377         Remove the expected plt for __errno_location.
21379         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21380         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21381         call to __read_tp.
21383         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21384         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
21385         it and break it down.
21386         (DOCARGS_0, DOCARGS_1): Do nothing.
21387         (DOCARGS_2): Update to store into the new stack frame.
21388         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21389         (UNDOCARGS_1): Update to restore from the new stack frame.
21390         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21391         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21393         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21394         (SINGLE_THREAD_P): New parameter for result regno.
21395         (PSEUDO): Update to match; use cbz instead of beq.
21397         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21398         Use ENTRY to define the _nocancel entry point.  Share the syscall
21399         and syscall error check paths with the cancel path.
21400         (PSEUDO_END): New.
21402         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21403         whitespace; tabs before and after asm mnemonics.
21405 2014-05-29  Eric Wong  <normalperson@yhbt.net>
21407         [BZ #15132]
21408         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21409         Call fstat64 or stat64 internally, depending on arguments passed.
21410         Replace stat buffer argument with file descriptor argument.
21411         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21412         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21413         Pass fd to __internal_statvfs instead of calling fstat64.
21414         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21415         Pass fd to __internal_statvfs64 instead of calling fstat64.
21416         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21417         Pass -1 to __internal_statvfs instead of calling stat64.
21418         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21419         Pass -1 to __internal_statvfs64 instead of calling stat64.
21421 2014-05-28  Roland McGrath  <roland@hack.frob.com>
21423         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21424         that was previously under [RESET_PID].
21425         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21427         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21428         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21430 2014-05-27  Roland McGrath  <roland@hack.frob.com>
21432         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21434         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21435         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21437 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
21439         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21441 2014-05-27  Andreas Schwab  <schwab@suse.de>
21443         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21444         TLS_INIT_TP macro.
21445         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21446         * elf/rtld.c (init_tls, dl_main): Likewise.
21447         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21448         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21449         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21450         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21451         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21452         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21453         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21454         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21455         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21456         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21457         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21458         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21459         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21460         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21461         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21462         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21463         * sysdeps/generic/tls.h: Update description.
21465 2014-05-27  Will Newton  <will.newton@linaro.org>
21467         [BZ #16990]
21468         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21469         and restore r2 rather than just restoring.
21471 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21473         [BZ #16724]
21474         * libio/tst-ftell-append.c: New test case.
21475         * libio/Makefile (tests): Add test case.
21476         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21477         append mode.
21478         * libio/wfileops.c (do_ftell_wide): Likewise.
21480 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21484         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21485         ...
21486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21488         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21489         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21490         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21491         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21492         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21493         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21495         Moved ...
21496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21498         Moved ...
21499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21500         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21501         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21502         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21503         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21504         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21505         ...
21506         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21507         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21508         Moved ...
21509         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21510         here.
21511         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21512         ...
21513         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21514         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21515         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21517         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21518         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21519         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21520         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21523         merge into ...
21524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21526         ...
21527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21529         ...
21530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21532         Moved ...
21533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21534         here.
21535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21536         Moved ...
21537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21539         Moved ...
21540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21543         conditional [RESET_PID].
21544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21546         removed.
21547         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21548         removed.
21550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21551         <tcb-offsets.h>.
21552         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21553         (__libc_vfork): New strong alias.
21554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21555         removed.
21556         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21557         Removed.
21559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21560         <tcb-offsets.h>.
21561         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21562         (__libc_vfork): New strong alias.
21563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21564         removed.
21565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21566         removed.
21568 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
21570         * malloc/malloc.c (mi_arena): New function.
21571         (malloc_info): Remove nested function mi_arena. Call non-nosted
21572         function mi_arena.
21574 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21576         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21577         by insrwi.
21578         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21579         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21580         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21581         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21582         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21583         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21584         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21586 2014-05-26  Andreas Schwab  <schwab@suse.de>
21588         [BZ #16984]
21589         * locale/programs/repertoire.c (repertoire_read): Add slash
21590         between I18NPATH element and file name.
21591         * locale/programs/locfile.c (locfile_read): Likewise.
21593 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21595         * nptl/pthread_mutexattr_settype.c
21596         (__pthread_mutexattr_settype):
21597         Disable lock elision for PTHREAD_MUTEX_NORMAL.
21599 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21601         * nptl/tst-mutex5 (do_test):
21602         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21604 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21606         * benchtests/README: Document 'init' directive.
21607         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21608         BENCH_INIT.
21609         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21610         (parse_file): Recognize 'init' directive.
21612 2014-05-26  Kyle McMartin  <kyle@redhat.com>
21614         [BZ #16796]
21615         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21616         alignment of struct pthread.
21618 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21620         [BZ #16878]
21621         * nscd/netgroupcache.c (addgetnetgrentX): Look for
21622         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21623         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21624         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21626 2014-05-25  Richard Henderson  <rth@twiddle.net>
21628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21629         (SINGLE_THREAD_P_PIC): Remove.
21630         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21631         (SINGLE_THREAD_P_PIC): Remove.
21633         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21634         branch to syscall error ...
21635         (PSEUDO): ... here.
21636         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21637         from __local_syscall_error to .Lsyscall_error.
21638         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21639         (SYSCALL_ERROR): Update label name.
21641         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21642         Do not use DOARGS/UNDOARGS.
21643         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21644         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21645         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21646         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21647         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21649         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21650         block comment.
21652         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21653         define if !NOT_IN_libc.
21654         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21655         define with non-default symbol versions.
21657 2014-05-23  Richard Henderson  <rth@twiddle.net>
21659         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21660         (vfork, __vfork): Define via compat_symbol.
21662         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21663         [!HAVE_IFUNC] (vfork_compat): Remove.
21664         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21666 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
21668         [BZ #16978]
21669         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21670         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21671         variable.
21673 2014-05-23  Richard Henderson  <rth@twiddle.net>
21675         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21676         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21677         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21678         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21680         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21681         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21682         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21683         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21684         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21685         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21686         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21687         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21688         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21689         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21690         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21691         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21692         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21693         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21694         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21695         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21696         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21697         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21698         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21699         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21700         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21701         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21702         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21703         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21704         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21705         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21706         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21707         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21708         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21709         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21710         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21711         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21712         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21713         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21714         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21715         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21716         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21717         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21718         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21719         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21720         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21721         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21722         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21723         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21724         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21725         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21726         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21727         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21729         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21730         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21731         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21732         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21733         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21735         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21737         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21738         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21739         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
21740         before exiting on error.
21741         (__libc_vfork): New strong alias.
21742         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21743         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21745         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21746         that was previously under [RESET_PID].
21747         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21749         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21751 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
21753         [BZ #16977]
21754         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21755         value when x - 1 is zero.
21756         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21757         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21758         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21759         0.0L for an argument of 1.0L.
21760         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21761         Likewise.
21762         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21763         value when x - 1 is zero.
21764         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21765         * sysdeps/i386/fpu/libm-test-ulps: Update.
21766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21768 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21770         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21771         alphasort and versionsort.
21773 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21775         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21776         macro.
21777         [copysignf]: Likewise.
21779 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21781         * crypt/md5-crypt.c: Fix formatting.
21783 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21785         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21786         (b64_from_24bit): New function.
21788 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21790         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21791         libc_hidden_builtin_def to ifunc.
21792         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21793         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21795 2014-05-21  Roland McGrath  <roland@hack.frob.com>
21797         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21798         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21800 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
21802         * nscd/Depend (linuxthreads): Remove.
21803         (nptl): Add.
21804         * resolv/Depend (linuxthreads): Remove.
21805         * rt/Depend (linuxthreads): Remove.
21807         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21808         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21809         $(common-objpfx)elf/.
21810         (link-libc-before-gnulib): Likewise.
21811         (elfobjdir): Remove variable.
21812         * Makefile (install): Use $(elf-objpfx) instead of
21813         $(common-objpfx)elf/.
21814         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21815         $(elfobjdir)/.
21816         (link-libc-deps): Likewise.
21817         ($(common-objpfx)libc.so): Likewise.
21818         ($(common-objpfx)linkobj/libc.so): Likewise.
21819         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21820         instead of $(common-objpfx)elf/.
21821         (symbolic-link-list): Likewise.
21822         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21823         [$(cross-compiling) = no]: Likewise.
21824         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21825         $(elfobjdir)/.
21826         (static-gnulib-arch): Likewise.
21827         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21828         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21829         $(common-objpfx)elf/.
21831 2014-05-21  Richard Henderson  <rth@redhat.com>
21833         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21834         (SINGLE_THREAD_P): Use the correct width load.  Fold
21835         into the ldr offset.
21837         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21838         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21840 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
21842         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21843         (libgcc_s_resume): Use __attribute_used__.
21844         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21845         Likewise.
21847 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21849         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21850         optimization when used with float constants.
21852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21854 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
21856         [BZ #16915]
21857         * locale/nl_langinfo_l.c: Make direct reference to every
21858         _nl_current_CATEGORY symbol.
21859         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21860         (tests-static): Add tst-langinfo-static.
21861         (tests-special): Add tst-langinfo-static.out.
21862         ($(objpfx)tst-langinfo.out): Redirect output.
21863         ($(objpfx)tst-langinfo-static.out): New.
21864         * localedata/tst-langinfo.sh: Send output to stdout.
21865         * localedata/tst-langinfo-static.c: New file.
21867         [BZ #16965]
21868         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21869         when the shift amount is modulo the limb size.
21871 2014-05-20  Richard Henderson  <rth@redhat.com>
21873         [BZ #16967]
21874         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21875         Change type of sa_flags from unsigned int to int.
21877         [BZ #16966]
21878         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21880         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21882 2014-05-20  Will Newton  <will.newton@linaro.org>
21884         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21885         Test the return value of the system call in the nocancel case.
21887 2014-05-20  Will Newton  <will.newton@linaro.org>
21888             Yvan Roux  <yvan.roux@linaro.org>
21890         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21891         #include of asm/ptrace.h.
21892         (PTRACE_GET_THREAD_AREA): Remove #undef.
21893         (PTRACE_GETHBPREGS): Likewise.
21894         (PTRACE_SETHBPREGS): Likewise.
21895         (struct user_regs_struct): New structure.
21896         (struct user_fpsimd_struct): New structure.
21897         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21898         #include of asm/ptrace.h and second #include of sys/user.h.
21899         (PTRACE_GET_THREAD_AREA): Remove #undef.
21900         (PTRACE_GETHBPREGS): Likewise.
21901         (PTRACE_SETHBPREGS): Likewise.
21902         (ELF_NGREG): Use new struct user_regs_struct.
21903         (elf_fpregset_t): Use new struct user_fpsimd_struct.
21905 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21907         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21908         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21910 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
21912         [BZ #16958]
21913         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21914         membar to avoid block loads/stores to overlap previous stores.
21916 2014-05-17  Richard Henderson  <rth@redhat.com>
21918         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21919         Create the __##syscall_name##_nocancel entry point.
21920         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21921         Remove; let the sysdep-cancel.h code create it.
21923 2014-05-17  David S. Miller  <davem@davemloft.net>
21925         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21926         Protect with __USE_GNU.
21927         (TIOCSET_TEMPT): Likewise.
21928         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21929         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21930         these are already provided in bits/ioctl-types.h
21932 2014-05-16  Roland McGrath  <roland@hack.frob.com>
21934         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21935         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21937         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21938         Use wait4 regardless of [__NR_waitpid].
21940 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21942         PR libgcc/60166
21943         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21944         (_FP_NANSIGN_Q): Set the quiet bit.
21946 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
21948         * benchtests/Makefile
21949         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21950         not $(common-objpfx)math/libm.so.
21951         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21952         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21953         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21954         $(common-objpfx)dlfcn/libdl.so.
21955         ($(objpfx)tst-audit8): Depend on $(libm), not
21956         $(common-objpfx)math/libm.so.
21957         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21958         not $(common-objpfx)dlfcn/libdl.so.
21959         * math/Makefile
21960         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21961         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
21962         [$(build-shared) = yes].
21963         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21964         $(common-objpfx)nptl/libpthread.so.
21965         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21966         $(common-objpfx)math/libm.so$(libm.so-version) or
21967         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21968         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21969         $(common-objpfx)dlfcn/libdl.so.
21970         * setjmp/Makefile (link-libm): Remove variable.
21971         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21972         * stdio-common/Makefile (link-libm): Remove variable.
21973         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21974         * stdlib/Makefile (link-libm): Remove variable.
21975         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21976         ($(objpfx)tst-strtod-round): Likewise.
21977         ($(objpfx)tst-tininess): Likewise.
21978         ($(objpfx)tst-strtod-underflow): Likewise.
21979         ($(objpfx)tst-strtod6): Likewise.
21980         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21981         $(libdl), not $(common-objpfx)nptl/libpthread.so and
21982         $(common-objpfx)dlfcn/libdl.so.
21984 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21986         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21987         BSD terminal modes definitions.
21989 2014-05-16  Roland McGrath  <roland@hack.frob.com>
21991         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21992         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21994         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21995         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21996         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21997         Don't do #include_next.
21998         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21999         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
22000         Don't do #include_next.
22001         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
22002         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
22003         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
22004         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
22006 2014-05-16  Allan McRae  <allan@archlinux.org>
22008         * po/sv.po: Update Swedish translation from translation project.
22010         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
22011         in sed expression.
22013 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
22015         [BZ #16917]
22016         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
22017         errno if the TIOCGPTN ioctl fails with an error different than
22018         EINVAL.
22019         * login/tst-ptsname.c: New file.
22020         * login/Makefile (tests): Add tst-ptsname.
22022         [BZ #16943]
22023         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22024         and prlimit64.
22026 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22028         [BZ #16849]
22029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22030         herrno to return EAI_AGAIN.
22032 2014-05-14  Roland McGrath  <roland@hack.frob.com>
22034         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22035         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22036         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22037         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22038         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22039         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22040         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22041         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22042         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22043         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22044         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22045         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22046         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22047         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22048         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22049         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22050         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22051         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22052         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22053         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22054         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22055         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22056         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22057         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22058         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22059         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22060         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22061         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22062         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22063         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22065         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22067         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22069         Moved ...
22070         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22072         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22074         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22076         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22078         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22080         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22082         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22084         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22086         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22088         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22090         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22092         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22094         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22096         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22098         Moved ...
22099         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22101         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22103         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22105         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22107         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22109         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22111         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22113         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22115         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22117         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22119         Moved ...
22120         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22122         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22124         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22125         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22126         (libpthread-sysdep_routines): Add elision-related stuff here instead.
22127         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22128         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22129         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22130         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22131         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22132         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22133         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22134         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22135         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22136         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22137         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22138         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22139         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22140         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22141         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22142         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22143         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22144         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22145         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22146         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22147         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22148         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22149         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22150         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22151         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22152         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22153         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22154         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22156         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22157         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22159         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22160         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22161         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22162         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22163         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22164         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22165         Moved ...
22166         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22167         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22168         Moved ...
22169         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22170         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22171         Moved ...
22172         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22173         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22174         Moved ...
22175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22176         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22177         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22178         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22179         Moved ...
22180         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22181         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22182         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22183         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22184         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22185         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22186         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22187         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22188         Moved ...
22189         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22190         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22191         Moved ...
22192         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22193         ... here.
22194         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22195         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22196         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22197         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22198         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22199         Moved ...
22200         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22201         ... here.
22202         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22203         Moved ...
22204         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22205         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22206         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22207         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22208         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22209         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22210         Moved ...
22211         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22212         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22213         Moved ...
22214         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22215         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22216         Moved ...
22217         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22218         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22219         Moved ...
22220         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22221         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22222         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22223         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22224         Moved ...
22225         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22226         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22227         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22228         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22229         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22230         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22231         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22232         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22233         Moved ...
22234         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22235         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22236         Moved ...
22237         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22238         ... here.
22239         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22240         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22241         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22242         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22243         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22244         Moved ...
22245         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22246         ... here.
22247         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22248         Moved ...
22249         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22250         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22251         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22252         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22253         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22254         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22255         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22256         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22257         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22258         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22259         Moved ...
22260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22261         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22262         Moved ...
22263         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22264         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22265         Moved ...
22266         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22267         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22268         Moved ...
22269         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22270         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22271         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22272         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22273         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22274         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22275         Moved ...
22276         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22277         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22278         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22279         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22280         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22281         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22282         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22283         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22284         Moved ...
22285         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22286         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22287         Moved ...
22288         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22289         ... here.
22290         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22291         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22292         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22293         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22295         Moved ...
22296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22297         ... here.
22298         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22299         Moved ...
22300         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22301         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22302         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22303         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22304         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22305         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22306         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22307         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22308         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22309         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22310         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22312         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22313         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22315         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22316         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22318         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22319         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22320         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22321         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22322         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22323         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22324         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22325         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22326         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22327         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22328         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22329         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22330         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22331         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22332         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22333         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22334         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22335         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22336         Moved ...
22337         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22339         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22340         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22341         Moved ...
22342         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22344         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22346         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22347         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22348         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22349         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22350         Moved ...
22351         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22352         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22353         Moved ...
22354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22356         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22357         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22358         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22359         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22360         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22361         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22362         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22363         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22364         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22365         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22366         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22367         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22368         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22369         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22370         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22372         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22373         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22374         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22375         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22376         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22378         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22379         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22380         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22381         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22382         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22383         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22384         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22385         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22386         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22387         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22389         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22392         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22393         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22394         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22395         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22396         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22397         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22398         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22399         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22400         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22401         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22402         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22403         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22404         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22405         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22407         Update #include.
22408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22409         Likewise.
22410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22411         Likewise.
22412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22413         Likewise.
22414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22415         Likewise.
22416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22417         Likewise.
22418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22419         Likewise.
22420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22421         Likewise.
22422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22423         Likewise.
22424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22425         Likewise.
22426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22427         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22431         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22432         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22433         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22436         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22437         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22438         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22439         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
22440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
22442         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22443         that was previously under [RESET_PID].
22444         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22445         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22446         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22448         * sysdeps/i386/nptl/Implies: New file.
22449         * sysdeps/x86_64/nptl/Implies: New file.
22450         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22451         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22452         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22453         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22455         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22456         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22457         (__libc_vfork): New strong alias.
22458         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22459         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22461         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22462         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22463         (__libc_vfork): New strong alias.
22464         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22465         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22467         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22468         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22469         (__libc_vfork): New strong alias.
22470         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22471         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22472         * nptl/pt-vfork.c: New file.
22473         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22474         (libpthread: GLIBC_2.20): New version set (empty).
22476 2014-05-14  Will Newton  <will.newton@linaro.org>
22478         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22479         rather than #if.
22481 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22483         [BZ #16564]
22484         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22485         arguments with exponent 65 or above.
22486         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22487         arguments 0x1p113L or above.
22488         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22489         to arguments 0x1p107L or above.
22490         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22491         positive arguments with exponent 65 or above.
22492         * math/auto-libm-test-in: Add more tests of log1p.
22493         * math/auto-libm-test-out: Regenerated.
22495         [BZ #16928]
22496         * math/s_cacos.c (__cacos): Ensure zero real part of result from
22497         non-finite arguments is +0.
22498         * math/s_cacosf.c (__cacosf): Likewise.
22499         * math/s_cacosl.c (__cacosl): Likewise.
22500         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22501         * sysdeps/i386/fpu/libm-test-ulps: Update.
22502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22504         [BZ #16927]
22505         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22506         value.
22507         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22508         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22509         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22510         for explicit high bit of mantissa when testing for argument equal
22511         to 1.
22512         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22513         * sysdeps/i386/fpu/libm-test-ulps: Update.
22514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22516         [BZ #16516]
22517         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22518         (__erf): Scale by 16 instead of 8 in potentially underflowing
22519         case.  Ensure exception if result actually underflows.
22520         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22521         (__erff): Scale by 16 instead of 8 in potentially underflowing
22522         case.  Ensure exception if result actually underflows.
22523         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22524         (efx8): Remove variable.
22525         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22526         case.  Ensure exception if result actually underflows.
22527         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22528         (efx8): Remove variable.
22529         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22530         case.  Ensure exception if result actually underflows.
22531         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22532         (efx8): Remove variable.
22533         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22534         case.  Ensure exception if result actually underflows.
22535         * math/auto-libm-test-in: Add more tests of erf.
22536         * math/auto-libm-test-out: Regenerated.
22538 2014-05-14  Andreas Schwab  <schwab@suse.de>
22540         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22541         Remove code conditionalized on USE___THREAD.
22543         * config.h.in (HAVE_PT_CHOWN): Define as 0.
22544         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22545         not definedness.
22547 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22549         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22550         Define unconditionally.
22551         (__ASSUME_O_CLOEXEC): Likewise.
22552         (__ASSUME_SOCK_CLOEXEC): Likewise.
22553         (__ASSUME_IN_NONBLOCK): Likewise.
22554         (__ASSUME_PIPE2): Likewise.
22555         (__ASSUME_EVENTFD2): Likewise.
22556         (__ASSUME_SIGNALFD4): Likewise.
22557         (__ASSUME_DUP3): Likewise.
22558         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22559         (__ASSUME_DUP3): Do not define.
22560         (__ASSUME_EVENTFD2): Likewise.
22561         (__ASSUME_IN_NONBLOCK): Likewise.
22562         (__ASSUME_O_CLOEXEC): Likewise.
22563         (__ASSUME_PIPE2): Likewise.
22564         (__ASSUME_SIGNALFD4): Likewise.
22565         (__ASSUME_SOCK_CLOEXEC): Likewise.
22566         (__ASSUME_UTIMES): Undefine.
22567         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22568         (__ASSUME_UTIMES): Do not define.
22569         (__ASSUME_O_CLOEXEC): Likewise.
22570         (__ASSUME_SOCK_CLOEXEC): Likewise.
22571         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22572         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22573         0x020621].
22574         (__ASSUME_PIPE2): Likewise.
22575         (__ASSUME_EVENTFD2): Likewise.
22576         (__ASSUME_SIGNALFD4): Likewise.
22577         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22578         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22579         Do not define.
22580         (__ASSUME_EVENTFD2): Likewise.
22581         (__ASSUME_SIGNALFD4): Likewise.
22582         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22583         (__ASSUME_32BITUIDS): Likewise.
22584         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22585         (__ASSUME_IPC64): Likewise.
22586         (__ASSUME_ST_INO_64_BIT): Likewise.
22587         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22588         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22589         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22590         (__ASSUME_UTIMES): Do not define.
22591         (__ASSUME_PSELECT): Likewise.
22592         (__ASSUME_PPOLL): Likewise.
22593         (__ASSUME_O_CLOEXEC): Likewise.
22594         (__ASSUME_SOCK_CLOEXEC): Likewise.
22595         (__ASSUME_IN_NONBLOCK): Likewise.
22596         (__ASSUME_PIPE2): Likewise.
22597         (__ASSUME_EVENTFD2): Likewise.
22598         (__ASSUME_SIGNALFD4): Likewise.
22599         (__ASSUME_DUP3): Likewise.
22600         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22601         (__ASSUME_UTIMES): Likewise.
22602         (__ASSUME_O_CLOEXEC): Likewise.
22603         (__ASSUME_SOCK_CLOEXEC): Likewise.
22604         (__ASSUME_IN_NONBLOCK): Likewise.
22605         (__ASSUME_PIPE2): Likewise.
22606         (__ASSUME_EVENTFD2): Likewise.
22607         (__ASSUME_SIGNALFD4): Likewise.
22608         (__ASSUME_DUP3): Likewise.
22609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22610         (__ASSUME_UTIMES): Likewise.
22611         (__ASSUME_O_CLOEXEC): Likewise.
22612         (__ASSUME_SOCK_CLOEXEC): Likewise.
22613         (__ASSUME_IN_NONBLOCK): Likewise.
22614         (__ASSUME_PIPE2): Likewise.
22615         (__ASSUME_EVENTFD2): Likewise.
22616         (__ASSUME_SIGNALFD4): Likewise.
22617         (__ASSUME_DUP3): Likewise.
22618         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22619         Likewise.
22620         (__ASSUME_UTIMES): Likewise.
22621         (__ASSUME_EVENTFD2): Likewise.
22622         (__ASSUME_SIGNALFD4): Likewise.
22623         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22624         (__ASSUME_O_CLOEXEC): Likewise.
22625         (__ASSUME_SOCK_CLOEXEC): Likewise.
22626         (__ASSUME_IN_NONBLOCK): Likewise.
22627         (__ASSUME_PIPE2): Likewise.
22628         (__ASSUME_EVENTFD2): Likewise.
22629         (__ASSUME_SIGNALFD4): Likewise.
22630         (__ASSUME_DUP3): Likewise.
22631         (__ASSUME_UTIMES): Undefine.
22633         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22634         feclearexcept.  Remove symbol versioning code.
22635         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
22636         symbol versioning code.
22637         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
22638         symbol versioning code.
22639         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22640         feupdateenv.  Remove symbol versioning code.
22641         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22642         fegetexceptflag.  Remove symbol versioning code.
22643         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22644         fesetexceptflag.  Remove symbol versioning code.
22645         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22646         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
22647         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22648         (__posix_fadvise64_l32): Remove prototype.
22649         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22650         code.
22652 2014-05-13  Roland McGrath  <roland@hack.frob.com>
22654         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22655         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22656         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22657         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22659 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
22661         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22662         current working directory
22664 2014-05-13  Roland McGrath  <roland@hack.frob.com>
22666         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22667         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22668         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22669         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22670         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22671         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22672         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22673         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22674         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22675         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22676         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22677         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22678         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22679         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22680         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22681         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22682         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22683         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22684         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22685         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22686         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22687         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22688         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22689         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22690         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22691         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22692         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22693         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22694         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22695         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22696         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22697         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22698         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22699         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22700         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22701         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22702         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22703         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22704         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22705         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22706         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22707         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22709         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22710         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22712         * sysdeps/unix/sysv/linux/arm/Makefile
22713         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22714         Add rt-aeabi_unwind_cpp_pr1.
22715         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22716         Add nptl-aeabi_unwind_cpp_pr1.
22717         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22718         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22719         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22720         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22721         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22722         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22724         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22725         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22726         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22727         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22729         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22730         Deconditionalize the code that was previously under [RESET_PID].
22731         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22733         * sysdeps/generic/exit-thread.h: New file.
22734         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22735         * include/unistd.h (__exit_thread): Remove declaration.
22736         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22737         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22738         * csu/libc-start.c: Include <exit-thread.h>.
22739         (LIBC_START_MAIN): Pass no argument to __exit_thread.
22740         * nptl/pthread_create.c: Include <exit-thread.h>.
22741         (start_thread): Call __exit_thread in place of __exit_thread_inline.
22742         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22743         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22744         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22745         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22746         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22747         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22748         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22749         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22750         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22751         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22752         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22753         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22754         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22755         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22756         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22757         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22759 2014-05-13  Andreas Schwab  <schwab@suse.de>
22761         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22763 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
22765         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22766         (__ASSUME_UTIMES): Do not condition on kernel version.
22767         (__ASSUME_PSELECT): Define unconditionally.
22768         (__ASSUME_PPOLL): Likewise.
22769         (__ASSUME_ATFCTS): Likewise.
22770         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22771         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22772         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22773         (__ASSUME_UTIMENSAT): Define unconditionally.
22774         (__ASSUME_PRIVATE_FUTEX): Likewise.
22775         (__ASSUME_FALLOCATE): Likewise.
22776         (__ASSUME_O_CLOEXEC): Likewise.
22777         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22778         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22779         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22780         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22781         (__ASSUME_IN_NONBLOCK): Likewise.
22782         (__ASSUME_PIPE2): Likewise.
22783         (__ASSUME_EVENTFD2): Likewise.
22784         (__ASSUME_SIGNALFD4): Likewise.
22785         (__ASSUME_DUP3): Likewise.
22786         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22787         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22788         (__ASSUME_AT_RANDOM): Likewise.
22789         (__ASSUME_PREADV): Likewise.
22790         (__ASSUME_PWRITEV): Likewise.
22791         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22792         (__ASSUME_F_GETOWN_EX): Define unconditionally.
22793         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22794         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22795         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22796         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22797         (__ASSUME_O_CLOEXEC): Define unconditionally.
22798         (__ASSUME_PSELECT): Do not undefine conditionally.
22799         (__ASSUME_PPOLL): Likewise.
22800         (__ASSUME_ATFCTS): Likewise.
22801         (__ASSUME_SET_ROBUST_LIST): Likewise.
22802         (__ASSUME_UTIMENSAT): Likewise.
22803         (__ASSUME_FDATASYNC): Define unconditionally.
22804         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22805         (__ASSUME_SIGFRAME_V2): Likewise.
22806         )__ASSUME_EVENTFD2): Likewise.
22807         (__ASSUME_SIGNALFD4): Likewise.
22808         (__ASSUME_PSELECT): Do not undefine conditionally.
22809         (__ASSUME_PPOLL): Likewise.
22810         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22811         (__ASSUME_PSELECT): Define unconditionally.
22812         (__ASSUME_PPOLL): Likewise.
22813         (__ASSUME_O_CLOEXEC): Likewise.
22814         (__ASSUME_SOCK_CLOEXEC): Likewise.
22815         (__ASSUME_IN_NONBLOCK): Likewise.
22816         (__ASSUME_PIPE2): Likewise.
22817         (__ASSUME_EVENTFD2): Likewise.
22818         (__ASSUME_SIGNALFD4): Likewise.
22819         (__ASSUME_DUP3): Likewise.
22820         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22821         (__ASSUME_O_CLOEXEC): Likewise.
22822         (__ASSUME_SOCK_CLOEXEC): Likewise.
22823         (__ASSUME_IN_NONBLOCK): Likewise.
22824         (__ASSUME_PIPE2): Likewise.
22825         (__ASSUME_EVENTFD2): Likewise.
22826         (__ASSUME_SIGNALFD4): Likewise.
22827         (__ASSUME_DUP3): Likewise.
22828         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22829         (__ASSUME_EVENTFD2): Likewise.
22830         (__ASSUME_SIGNALFD4): Likewise.
22831         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22833 2014-05-12  Andreas Schwab  <schwab@suse.de>
22835         [BZ #16932]
22836         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22837         (_nss_nis_gethostbyname4_r): Return error if item length is larger
22838         than maximum RPC packet size.
22839         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22840         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22841         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22842         (_nss_nis_getservbyport_r): Likewise.
22844 2014-05-12  Will Newton  <will.newton@linaro.org>
22846         * malloc/Makefile (tests): Add tst-mallopt.
22847         * malloc/tst-mallopt.c: New file.
22849 2014-05-09  Roland McGrath  <roland@hack.frob.com>
22851         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22852         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22854 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22856         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22857         (tst-tlsmod6.so): Likewise.
22859 2014-05-09  Roland McGrath  <roland@hack.frob.com>
22861         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22863 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
22865         [BZ #16064]
22866         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22867         and <dl-procinfo.h>.
22868         (__fegetenv): Save SSE state in envp->__eip if supported.
22869         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22870         envp->__eip if supported.
22871         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22872         and <dl-procinfo.h>.
22873         (__fesetenv): Always set __eip, __cs_selector, __opcode,
22874         __data_offset and __data_selector in environment to 0.  Set SSE
22875         state if supported.
22876         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22877         test-fenv-sse.
22878         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22879         -mfpmath=sse.
22880         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22882 2014-05-09  Will Newton  <will.newton@linaro.org>
22884         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22885         and libc_relro_required for ARM.
22886         * sysdeps/arm/preconfigure: Regenerate.
22888 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
22889             Stefan Liebler  <stli@linux.vnet.ibm.com>
22891         * config.make.in (enable-lock-elision): New Makefile variable.
22892         * configure.ac: Likewise.
22893         * configure: Regenerate.
22894         * sysdeps/s390/configure.ac:
22895         Add check for gcc transactions support.
22896         * sysdeps/s390/configure: Regenerate.
22897         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22898         Build elision files if enabled.
22899         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22900         Add lock elision support for s390.
22901         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22902         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22903         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22904         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22905         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22906         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22908         Likewise.
22909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22910         Likewise.
22911         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22912         Likewise.
22913         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22914         Likewise.
22915         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22916         (__lll_timedlock_elision, __lll_lock_elision)
22917         (__lll_unlock_elision, __lll_trylock_elision)
22918         (lll_timedlock_elision, lll_lock_elision)
22919         (lll_unlock_elision, lll_trylock_elision): Add.
22920         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22921         (pthread_mutex_t): Add lock elision support for s390.
22923 2014-05-14  Wilco  <wdijkstr@arm.com>
22925         * sysdeps/arm/fclrexcpt.c: Cleanup.
22926         * sysdeps/arm/fedisblxcpt.c: Cleanup.
22927         * sysdeps/arm/feenablxcpt.c: Cleanup.
22928         * sysdeps/arm/fegetenv.c: Cleanup.
22929         * sysdeps/arm/fegetexcept.c: Cleanup.
22930         * sysdeps/arm/fegetround.c: Cleanup.
22931         * sysdeps/arm/feholdexcpt.c: Cleanup.
22932         * sysdeps/arm/fesetenv.c: Cleanup.
22933         * sysdeps/arm/fesetround.c: Cleanup.
22934         * sysdeps/arm/feupdateenv.c: Cleanup.
22935         * sysdeps/arm/fgetexcptflg.c: Cleanup.
22936         * sysdeps/arm/fraiseexcpt.c: Cleanup.
22937         * sysdeps/arm/fsetexcptflg.c: Cleanup.
22938         * sysdeps/arm/ftestexcept.c: Cleanup.
22939         * sysdeps/arm/get-rounding-mode.h: Cleanup.
22940         * sysdeps/arm/setfpucw.c: Cleanup.
22942 2014-05-09  Will Newton  <will.newton@linaro.org>
22944         * sysdeps/arm/armv7/strcmp.S: New file.
22945         * NEWS: Mention addition of ARMv7 optimized strcmp.
22947 2014-05-08  Roland McGrath  <roland@hack.frob.com>
22949         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22950         look for %.ac rather than %.in.
22952         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22953         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22954         * sysdeps/mach/hurd/configure: Regenerated.
22955         * sysdeps/unix/sysv/linux/configure: Regenerated.
22957         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22959 2014-05-07  Steve Ellcey  <sellcey@mips.com>
22961         [BZ# 16922]
22962         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22963         (LONG_SUB): Ditto.
22964         (PTR_SUB): Ditto.
22966 2014-05-07  Andreas Schwab  <schwab@suse.de>
22968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22969         when skipping over non-matching result from nscd.
22971 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
22973         [BZ #16876]
22974         * nptl/sockperf.c (client): Check socket return value.
22976         [BZ #16877]
22977         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22978         nscd security class.
22980 2014-05-06  Roland McGrath  <roland@hack.frob.com>
22982         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22983         * sysdeps/arm/unwind.h: ... here.
22985 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
22987         [BZ# 16916]
22988         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22989         Define.
22991 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22993         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22994         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22995         multiarch strncpy for PPC64.
22996         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22997         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22999         multiarch optimizations.
23000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23001         (__libc_ifunc_impl_list): Likewise.
23002         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
23003         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
23004         multiarch stpncpy for PPC64.
23005         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
23006         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
23008 2014-05-06  Andreas Schwab  <schwab@suse.de>
23010         [BZ #16912]
23011         * gmon/mcount.c (_MCOUNT_DECL): Use
23012         atomic_compare_and_exchange_bool_acq instead of
23013         catomic_compare_and_exchange_bool_acq.
23015 2014-05-05  Roland McGrath  <roland@hack.frob.com>
23017         * elf/Makefile (others, install-bin): Remove pldd.
23018         (pldd-modules): Variable removed.
23019         ($(objpfx)pldd): Target removed.
23020         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
23021         (others, install-bin): Append pldd here.
23022         ($(objpfx)pldd): New target.
23024         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23025         to 0, so the first #if test emitted later doesn't see it undefined.
23026         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23027         * sysdeps/gnu/errlist.c: Regenerated.
23029 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23031         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23032         [libc_hidden_builtin_def]: Define to empty value.
23033         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23034         [libc_hidden_builtin_def]: Likewise.
23035         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23036         [libc_hidden_builtin_def]: Likewise.
23037         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23038         [libc_hidden_builtin_def]: Likewise.
23039         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23040         __redirect_memcpy and define ifunc as default hidden symbol.
23041         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23042         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23044 2014-05-04  Adam Conrad  <adconrad@0c3.net>
23046         * locale/iso-4217.def: Reintroduce XDR currency.
23048 2014-05-04  Allan McRae  <allan@archlinux.org>
23050         * po/eo.po: Update Esperanto translation from translation project.
23052 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
23054         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23055         and FEATURE_INDEX_MAX to 1.
23056         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23058 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23060         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23061         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23062         * iconvdata/big5.c (ONE_DIRECTION): Define.
23063         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23064         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23065         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23066         * iconvdata/cp932.c (ONE_DIRECTION): Define.
23067         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23068         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23069         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23070         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23071         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23072         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23073         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23074         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23075         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23076         * iconvdata/gbk.c (ONE_DIRECTION): Define.
23077         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23078         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23079         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23080         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23081         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23082         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23083         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23084         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23085         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23086         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23087         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23088         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23089         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23090         * iconvdata/iso646.c (ONE_DIRECTION): Define.
23091         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23092         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23093         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23094         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23095         * iconvdata/johab.c (ONE_DIRECTION): Define.
23096         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23097         * iconvdata/sjis.c (ONE_DIRECTION): Define.
23098         * iconvdata/t.61.c (ONE_DIRECTION): Define.
23099         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23100         * iconvdata/tscii.c (ONE_DIRECTION): Define.
23101         * iconvdata/uhc.c (ONE_DIRECTION): Define.
23102         * iconvdata/unicode.c (ONE_DIRECTION): Define.
23103         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23104         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23105         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23107 2014-05-01  Roland McGrath  <roland@hack.frob.com>
23109         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23110         (_IO_JUMPS_OFFSET): Define to 0.
23112         * nptl/sysdeps/pthread/bits/libc-lock.h
23113         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23114         (__libc_lock_define_initialized_recursive): Always define using
23115         initializer.  Modern compilers treat uninitialized (implicit zero) and
23116         explicit zero initializers the same (i.e. put the datum in bss).
23118 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23120         * nscd/nscd-client.h: Include <string.h>.
23122 2014-05-01  David S. Miller  <davem@davemloft.net>
23124         [BZ #16885]
23125         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23126         multiple zero bytes exist at the end of a string.
23127         Reported by Aurelien Jarno <aurelien@aurel32.net>
23129         * string/test-strcmp.c (check): Add explicit test for situations where
23130         there are multiple zero bytes after the first.
23132 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23134         [BZ #16890]
23135         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23136         when compiling wprintf.
23137         * stdio-common/tstdiomisc.c (t3): New function.
23138         (main): Call it.
23140 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23142         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23143         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23144         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23145         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23147 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23149         * stdlib/longlong.h: Updated from GCC.
23151 2014-05-01  Will Newton  <will.newton@linaro.org>
23152             Bernard Ogden  <bernie.ogden@linaro.org>
23154         * NEWS: Update fixed bug list.
23156         [BZ #15119]
23157         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23159 2014-04-30  David S. Miller  <davem@davemloft.net>
23161         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23162         (libc_feholdexcept_setround_sparc_ctx): New function.
23163         (libc_fesetenv_sparc_ctx): Likewise.
23164         (libc_feupdateenv_sparc_ctx): Likewise.
23165         (libc_feholdsetround_sparc_ctx): Likewise.
23166         (libc_feholdexcept_setround_ctx): Define.
23167         (libc_feholdexcept_setroundf_ctx): Likewise.
23168         (libc_feholdexcept_setroundl_ctx): Likewise.
23169         (libc_fesetenv_ctx): Likewise.
23170         (libc_fesetenvf_ctx): Likewise.
23171         (libc_fesetenvl_ctx): Likewise.
23172         (libc_feupdateenv_ctx): Likewise.
23173         (libc_feupdateenvf_ctx): Likewise.
23174         (libc_feupdateenvl_ctx): Likewise.
23175         (libc_feresetround_ctx): Likewise.
23176         (libc_feresetroundf_ctx): Likewise.
23177         (libc_feresetroundl_ctx): Likewise.
23178         (libc_feholdsetround_ctx): Likewise.
23179         (libc_feholdsetroundf_ctx): Likewise.
23180         (libc_feholdsetroundl_ctx): Likewise.
23182         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23183         with __USE_GNU instead of XOPEN cpp guards.
23185         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23186         0.
23188         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23189         with XOPEN cpp guards.
23191 2014-04-30  Julian Brown  <julian@codesourcery.com>
23193         [BZ #16888]
23194         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23195         handling.
23197 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
23199         [BZ #9894]
23200         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23201         Change to 2.6.32.
23202         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23203         * sysdeps/unix/sysv/linux/configure: Regenerated.
23204         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23205         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23206         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23207         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23208         * README: Update reference to required Linux kernel version.
23209         * manual/install.texi (Linux): Update reference to required Linux
23210         kernel headers version.
23211         * INSTALL: Regenerated.
23213         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23214         header inclusion.
23215         [POSIX] (limits.h): Likewise.
23216         [POSIX] (math.h): Likewise.
23217         [POSIX] (sys/wait.h): Likewise.
23218         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23219         function.
23220         [POSIX] (stddef.h): Do not allow header inclusion.
23222 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23224         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23226 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
23228         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23229         Return immediately after lll_futex_wake.
23231 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23233         [BZ #16791]
23234         * nscd/nscd-client.h (datahead_init_common): Initialize entire
23235         structure.
23236         (datahead_init_pos): Call datahead_init_common early.
23237         (datahead_init_neg): Likewise.
23239         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23240         datahead_init_neg): New functions.
23241         * nscd/aicache.c (addhstaiX): Use them.
23242         * nscd/grpcache.c (cache_addgr): Likewise.
23243         * nscd/hstcache.c (cache_addhst): Likewise.
23244         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23245         * nscd/netgroupcache.c (do_notfound): Likewise.
23246         (addgetnetgrentX): Likewise.
23247         (addinnetgrX): Likewise.
23248         * nscd/pwdcache.c (cache_addpw): Likewise.
23249         * nscd/servicescache.c (cache_addserv): Likewise.
23251 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23252             Atsushi Onoe  <atsushi@onoe.org>
23254         [BZ #14308]
23255         [BZ #12994]
23256         [BZ #13651]
23257         * resolv/res_query.c (__libc_res_nsearch): Return if at least
23258         one response is valid.
23259         * resolv/res_send.c (send_dg): Check for validity of other
23260         response if the current response is a referral.
23262 2014-04-29  Steve Ellcey  <sellcey@mips.com>
23264         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23266 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
23268         [BZ #16823]
23269         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23270         Always divide by positive zero when computing -Inf result.
23271         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23272         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23274 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23276         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23277         FPSCR if value do not change.
23278         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23279         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23280         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23281         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23282         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23283         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23284         function.
23286 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
23288         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23289         * sysdeps/unix/sysv/linux/hppa: Move directory from
23290         ports/systeps/unix/sysv/linux/hppa.
23291         * README: Update listing for hppa-*-linux-gnu.
23293 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
23295         [BZ #16754]
23296         * manual/stdio.texi (Hook functions): Fix types of stream hook
23297         functions.
23298         [BZ #16854]
23299         * socket/sys/socket.h: Fix typo in comment.
23301 2014-04-28  Wilco  <wdijkstr@arm.com>
23303         * sysdeps/arm/fenv_private.h: New file.
23304         * sysdeps/arm/math_private.h: New file.
23305         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23307 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
23309         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23310         with __int128_t.
23311         (La_x86_64_retval): Likewise.
23313 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
23315         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23316         fpsr if value didn't change.
23317         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23318         to fpcr if value didn't change.
23319         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23320         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23321         fpsr or fpcr if value didn't change.
23322         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23323         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23324         fpcr if value didn't change.
23325         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23326         to fpsr if value didn't change.
23328 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23330         * nptl/tst-sem3.c: Use test-skeleton.c
23331         (main): Rename to do_test.  Use return instead of
23332         exit.
23333         * nptl/tst-sem4.c: Use test-skeleton.c
23334         (main): Rename to do_test.
23336 2014-04-22  David S. Miller  <davem@davemloft.net>
23338         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23339         (struct sigaction): New struct member __glibc_reserved0, change
23340         type of sa_flags to int.
23342 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
23344         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23345         (COUNT_LEADING_ZEROS_0): Define for AArch64.
23347 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23349         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23350         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23352 2014-04-22  Will Newton  <will.newton@linaro.org>
23353             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
23355         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23356         (__longjmp): Add longjmp and longjmp_target SystemTap
23357         probes.
23358         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23359         (__sigsetjmp): Add setjmp SystemTap probe.
23361 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
23363         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23364         match manual order.
23366 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23368         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23370         * sysdeps/powerpc/fpu/fenv_private.h
23371         (libc_feholdexcept_setroundl_ctx): Define to
23372         libc_feholdexcept_setround_ppc_ctx.
23373         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23374         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23375         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23376         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23378 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23380         * sysdeps/aarch64/math-tests.h: New file.
23382 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
23384         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23385         New.
23386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23387         Check and set bit_AVX2_Usable.
23388         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23389         macro.
23390         (bit_AVX2): Likewise.
23391         (index_AVX2_Usable): Likewise.
23392         (CPUID_AVX2): Likewise.
23393         (HAS_AVX2): Likewise.
23395 2014-04-17  Will Newton  <will.newton@linaro.org>
23397         * manual/setjmp.texi (System V contexts): Add note that
23398         calling setcontext on a context created by a call to a
23399         signal handler is undefined.  Update text to note that
23400         setcontext from a signal handler is possible but not
23401         recommended.
23403         [BZ #16629]
23404         * stdlib/tst-setcontext.c: Include signal.h.
23405         (main): Check that the signal stack before and
23406         after swapcontext is the same.
23408         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23409         Re-implement to restore registers in user code and avoid
23410         rt_sigreturn system call.
23412 2014-04-17  Wilco  <wdijkstr@arm.com>
23414         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23415         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23416         * math/test-fenv.c: Skip exception trap tests on targets which only
23417         support non-stop mode.
23419 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23420             Wilco Dijkstra  <wilco.dijkstra@arm.com>
23422         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23423         (libc_feholdsetround_aarch64_ctx)
23424         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23425         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23426         (libc_feresetround_ctx, libc_feresetroundf_ctx)
23427         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23428         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23429         (libc_feresetround_noexl_ctx): Define.
23431 2014-04-16  Richard Henderson  <rth@redhat.com>
23433         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23435         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23436         unwind tables.
23438         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23439         const from the non-libc, non-ldso copy.
23441         * sysdeps/alpha/libm-test-ulps: Regenerate.
23443 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
23444             Wilco Dijkstra  <wilco.dijkstra@arm.com>
23446         * sysdeps/aarch64/fpu/math_private.h: New file.
23448 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23450         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23452 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
23454         [BZ #16275]
23455         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23456         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23458         Intel MPX bound registers before _dl_profile_fixup.
23459         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23460         registers after _dl_profile_fixup.  Save and restore bound
23461         registers bnd0/bnd1 when calling _dl_call_pltexit.
23462         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23463         (LR_BND_OFFSET): Likewise.
23464         (LRV_BND0_OFFSET): Likewise.
23465         (LRV_BND1_OFFSET): Likewise.
23467 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23469         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23470         to...
23471         * sysdeps/mach/hurd/i386/tls.h: ... here.
23472         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23473         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23474         fields.
23476 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23478         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23480 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23482         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23484 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23486         [BZ #14770]
23487         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23488         * sysdeps/s390/configure: Regenerate.
23490         [BZ #16824]
23491         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23492         Set round-to-nearest internally to reduce error accumulation.
23494 2014-04-16  Alan Modra  <amodra@gmail.com>
23496         [BZ #16740]
23497         [BZ #16619]
23498         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23499         * math/libm-test.inc (frexp_test_data): Add tests.
23500         * NEWS: Update fixed bug list.
23502 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23504         * benchtests/Makefile: Depend on libraries in build directory.
23505         (bench-math): Separate out math tests.
23506         (bench-pthread): Separate out pthread tests.
23507         (bench): Include math and pthread tests.
23509 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
23511         [BZ #16831]
23512         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23513         _dl_debug_initialize.
23515         * configure.ac: Remove SELinux header check.
23516         * configure: Regenerate.
23517         * nscd/selinux.c (perms): Array of const char* to permission names.
23518         (nscd_request_avc_has_perm): Call security_deny_unknown to find
23519         default policy. Call string_to_security_class and string_to_av_perm to
23520         translate strings. Enforce default policy and call avs_has_perm with
23521         results of translated strings.
23523 2014-04-13  David S. Miller  <davem@davemloft.net>
23525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23527 2014-04-12  Allan McRae  <allan@archlinux.org>
23529         [BZ #16838]
23530         * manual/string.texi (Collation Functions): Fix qsort argument
23531         order in example.
23532         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23534 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
23536         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23537         Make the test a no-op if there are no exceptions defined.
23539 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23541         * elf/Makefile (tests): make tst-dlopen-aout conditional on
23542         enable-hardcoded-path-in-tests
23544 2014-04-11  Will Newton  <will.newton@linaro.org>
23546         * benchtests/Makefile (extra-objs): Add json-lib.o.
23547         (bench-func): Tidy up JSON output.
23548         * benchtests/bench-skeleton.c: Include json-lib.h.
23549         (main): Use JSON library functions to do output of
23550         benchmark results.
23551         * benchtests/bench-timing-type.c (main): Output the
23552         timing type simply, leaving formatting to the user.
23553         * benchtests/json-lib.c: New file.
23554         * benchtests/json-lib.h: Likewise.
23556 2014-04-11  Torvald Riegel  <triegel@redhat.com>
23558         [BZ #15215]
23559         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23560         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
23561         memory barriers.  Add comments.
23562         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23563         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23564         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23565         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23566         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23567         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23569 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23571         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23572         * sysdeps/s390/s390-64/configure.ac: ... this ...
23573         * sysdeps/s390/configure.ac: ... to here.
23574         * sysdeps/s390/s390-32/configure: Delete file.
23575         * sysdeps/s390/s390-64/configure: Delete file.
23576         * sysdeps/s390/configure: Regenerate.
23578 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
23580         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23582 2014-04-11  Will Newton  <will.newton@linaro.org>
23584         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23585         to zero if it is not defined elsewhere.  (mtrim): Test
23586         the value of MALLOC_DEBUG with #if rather than #ifdef.
23588 2014-04-10 Torvald Riegel  <triegel@redhat.com>
23590         * benchtests/pthread_once-inputs: New file.
23591         * benchtests/pthread_once-source.c: New file.
23592         * benchtests/README: Update documentation.
23594 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23595             H.J. Lu  <hongjiu.lu@intel.com>
23597         [BZ #16275]
23598         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23599         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23600         * sysdeps/x86_64/configure: Regenerated.
23601         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23602         macro.
23603         (REGISTER_SAVE_RAX): Likewise.
23604         (REGISTER_SAVE_RCX): Likewise.
23605         (REGISTER_SAVE_RDX): Likewise.
23606         (REGISTER_SAVE_RSI): Likewise.
23607         (REGISTER_SAVE_RDI): Likewise.
23608         (REGISTER_SAVE_R8): Likewise.
23609         (REGISTER_SAVE_R9): Likewise.
23610         (REGISTER_SAVE_BND0): Likewise.
23611         (REGISTER_SAVE_BND1): Likewise.
23612         (REGISTER_SAVE_BND2): Likewise.
23613         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
23614         bound registers when calling _dl_fixup.
23616 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23618         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23619         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23620         of its definition.
23621         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23622         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23623         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23624         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23625         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23626         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23627         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23629 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
23631         [BZ #15514]
23632         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23633         pathconf(_PC_NAME_MAX).
23635 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23637         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23638         Remove macro usage.
23639         (__PTHREAD_SPINS): Move definition to ...
23640         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23641         (__PTHREAD_SPINS): ... here.
23642         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23643         (__PTHREAD_SPIN): Likewise.
23644         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23645         (__PTHREAD_SPIN): Likewise.
23646         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23647         (__PTHREAD_SPIN): Likewise.
23648         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23649         (__PTHREAD_SPIN): Likewise.
23650         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23651         (__PTHREAD_SPIN): Likewise.
23652         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23653         (__PTHREAD_SPIN): Likewise.
23654         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23655         (__PTHREAD_SPIN): Likewise.
23656         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23657         (__PTHREAD_SPIN): Likewise.
23658         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23659         (__PTHREAD_SPIN): Likewise.
23660         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23661         (__PTHREAD_SPIN): Likewise.
23662         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23663         (__PTHREAD_SPIN): Likewise.
23664         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23665         (__PTHREAD_SPIN): Likewise.
23667         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23668         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23669         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23670         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23671         imply folder.
23672         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23673         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23674         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23675         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23676         correct imply path.
23677         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23678         strlen symbol for non multi-arch builds.
23679         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23680         missing hidden_def and weak_alias.
23682 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
23684         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23686 2014-04-07  Will Newton  <will.newton@linaro.org>
23688         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23689         and contents.  [!_LIBC] Remove #ifndef and contents.
23690         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
23691         * string/memccpy.c (__memccpy): Use ANSI prototype.
23692         * string/memfrob.c (memfrob): Likewise.
23693         * string/strcoll.c (STRCOLL): Likewise.
23694         * string/strlen.c (strlen): Likewise.
23695         * string/strtok.c (STRTOK): Likewise.
23696         * string/strcat.c: Remove unused #include of memcopy.h.
23697         (strcat): Use ANSI prototype.
23698         * string/strchr.c: Remove unused #include of memcopy.h.
23699         (strchr): Use ANSI prototype.
23700         * string/strcmp.c: Remove unused #include of memcopy.h.
23701         (strcmp): Use ANSI prototype.
23702         * string/strcpy.c: Remove unused #include of memcopy.h.
23703         (strcpy): Use ANSI prototype.
23705 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23707         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23708         * config.make.in (config-extra-cppflags): Set it from
23709         libc_extra_cppflags.
23710         * configure.ac (libc_extra_cflags): Make it accumulate over
23711         configure fragments.
23712         (libc_extra_cppflags): New flag.
23713         * configure. Regenerate.
23714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23715         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23716         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23719         [BZ #16815]
23720         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23721         result for FE_DOWNWARD rounding mode.
23722         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23723         Likewise.
23724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23726 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
23728         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23729         in function argument name.
23731 2014-04-03  David Svoboda  <svoboda@cert.org>
23733         [BZ #5666]
23734         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23735         explicitly.
23737 2014-04-03  Roland McGrath  <roland@hack.frob.com>
23739         * elf/dl-unmap-segments.h: New file.
23740         * sysdeps/generic/ldsodefs.h
23741         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23742         * elf/dl-close.c: Include <dl-unmap-segments.h>.
23743         * elf/dl-fptr.c: Likewise.
23744         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23745         * sysdeps/aarch64/tlsdesc.c: Likewise.
23746         * sysdeps/arm/tlsdesc.c: Likewise.
23747         * sysdeps/i386/tlsdesc.c: Likewise.
23748         * sysdeps/tile/dl-runtime.c: Likewise.
23749         * sysdeps/x86_64/tlsdesc.c: Likewise.
23750         * elf/dl-load.h: New file.
23751         * elf/dl-load.c: Include it.
23752         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23753         Macros moved to dl-load.h.
23754         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23755         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23756         Use _dl_unmap_segments in place of __munmap.
23757         Break out segment-mapping loop into ...
23758         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23760 2014-04-03  Will Newton  <will.newton@linaro.org>
23762         * elf/dl-lookup.c (do_lookup_x): Remove comment
23763         referring to nested function and move variable
23764         declarations down to before first use.
23766 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
23768         [BZ #16799]
23769         [BZ #16800]
23770         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23771         with 0 numerator.
23772         * math/s_catanf.c (__catanf): Likewise.
23773         * math/s_catanh.c (__catanh): Likewise.
23774         * math/s_catanhf.c (__catanhf): Likewise.
23775         * math/s_catanhl.c (__catanhl): Likewise.
23776         * math/s_catanl.c (__catanl): Likewise.
23777         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23778         by positive zero when computing -Inf result.
23779         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23780         (catanh_test): Likewise.
23781         * sysdeps/i386/fpu/libm-test-ulps: Update.
23782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23784         [BZ #16789]
23785         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23786         instead of using underflowing value in computing result.
23787         * math/s_clog10.c (__clog10): Likewise.
23788         * math/s_clog10f.c (__clog10f): Likewise.
23789         * math/s_clog10l.c (__clog10l): Likewise.
23790         * math/s_clogf.c (__clogf): Likewise.
23791         * math/s_clogl.c (__clogl): Likewise.
23792         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23793         (clog10_test): Likewise.
23794         * sysdeps/i386/fpu/libm-test-ulps: Update.
23795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23797 2014-04-02  Alan Modra  <amodra@gmail.com>
23799         [BZ #16739]
23800         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23801         output when value is near a power of two.  Use int64_t for lx and
23802         remove casts.  Use decimal rather than hex exponent constants.
23803         Don't use long double multiplication when double will suffice.
23804         * math/libm-test.inc (nextafter_test_data): Add tests.
23805         * NEWS: Add 16739 and 16786 to bug list.
23807         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23809         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23811 2014-04-01  Will Newton  <will.newton@linaro.org>
23813         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23814         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
23816 2014-04-01  Florian Weimer  <fweimer@redhat.com>
23818         [BZ #13347]
23819         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23820         * nptl/tst-setuid2.c: New file.
23821         * nptl/Makefile (xtests): Add tst-setuid2.
23823 2014-04-01  Alan Modra  <amodra@gmail.com>
23825         [BZ #16786]
23826         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23828 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
23830         [BZ #6803]
23831         [BZ #6804]
23832         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23833         set errno as appropriate.
23834         * math/w_scalbf.c (__scalbf): Likewise.
23835         * math/w_scalbl.c (__scalbl): Likewise.
23836         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23837         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23838         * math/libm-test.inc (scalb_test_data): Add errno expectations.
23839         Add more NaN tests.
23841         [BZ #16349]
23842         * math/w_atan2.c: Include <errno.h>.
23843         (__atan2): Set errno for result underflowing to zero.
23844         * math/w_atan2f.c: Include <errno.h>.
23845         (__atan2f): Set errno for result underflowing to zero.
23846         * math/w_atan2l.c: Include <errno.h>.
23847         (__atan2l): Set errno for result underflowing to zero.
23848         * math/auto-libm-test-in: Don't allow missing errno for some atan2
23849         tests.
23850         * math/auto-libm-test-out: Regenerated.
23852 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23854         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23855         Encode instruction correctly in little endian.
23856         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23857         Likewise.
23858         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23859         Likewise.
23860         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23861         Likewise.
23862         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23863         Likewise.
23865 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
23867         [BZ #9894]
23868         * sysdeps/unix/sysv/linux/kernel-features.h
23869         [__sparc__ && !__arch64__ && !__sparc_v9__]
23870         (__ASSUME_SET_ROBUST_LIST): Do not define.
23871         [__sparc__ && !__arch64__ && !__sparc_v9__]
23872         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23873         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23874         Likewise.
23875         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23876         (__ASSUME_FUTEX_LOCK_PI): Undefine.
23877         (__ASSUME_REQUEUE_PI): Likewise.
23878         (__ASSUME_SET_ROBUST_LIST): Likewise.
23879         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23880         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23881         Undefine.
23882         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23883         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23884         Likewise.
23885         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23886         Likewise.
23887         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23888         Likewise.
23889         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23890         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23891         Undefine.
23892         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23893         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23894         Likewise.
23896         [BZ #16648]
23897         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23898         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23899         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23901 2014-03-31  Will Newton  <will.newton@linaro.org>
23903         * benchtests/Makefile (bench): Add ffs and ffsll to list
23904         of tests.
23905         * benchtests/ffs-inputs: New file.
23906         * benchtests/ffsll-inputs: Likewise.
23908 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
23910         [BZ #16770]
23911         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23912         too large before casting to int.
23913         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23914         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23915         * math/libm-test.inc (scalb_test_data): Add more tests.
23917 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23919         * benchtests/Makefile (DETAILED_OPT): New make option.
23920         (bench-func): Run benchmark program with -d if DETAILED_OPT is
23921         set.
23922         * benchtests/bench-skeleton.c: Include stdbool.h.
23923         (main): Store and print timings per input.
23924         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23925         member to each argument value.
23926         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23927         (_print_arg_data): Initialize per-input timing to 0.
23929         * benchtests/Makefile (timing-type): New binary.
23930         (bench-clean): Also remove bench-timing-type.
23931         (bench): New target for timing-type.
23932         (bench-func): Print output in JSON format.
23933         * benchtests/bench-skeleton.c (main): Print output in JSON
23934         format.
23935         * benchtests/bench-timing-type.c: New file.
23936         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23937         (TIMING_PRINT_STATS): Remove.
23938         * benchtests/scripts/bench.py (_print_arg_data): Store variant
23939         name separately.
23941         * benchtests/bench-modf.c: Remove.
23942         * benchtests/modf-inputs: New inputs file.
23944 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
23946         [BZ #16362]
23947         * math/s_clog10.c (M_PI_LOG10E): New macro.
23948         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23949         imaginary parts are 0.
23950         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23951         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23952         imaginary parts are 0.
23953         * math/s_clog10l.c (M_PI_LOG10El): New macro.
23954         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23955         imaginary parts are 0.
23956         * math/libm-test.inc (clog10_test_data): Update expected results
23957         for when real and imaginary parts are 0.
23959 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
23961         * elf/dl-load.c: Finish conversion of __builtin_expect into
23962         __glibc_{un}likely.
23964 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
23966         [BZ #16348]
23967         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23968         1+x for argument with exponent below -67.
23969         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23970         Likewise.
23971         * math/auto-libm-test-in: Add more tests of exp.
23972         * math/auto-libm-test-out: Regenerated.
23974 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23976         [BZ #16759]
23977         * inet/getnetgrent_r.c (get_nonempty_val): New function.
23978         (nscd_getnetgrent): Use it.
23980         [BZ #16760]
23981         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23982         of stpcpy.
23984 2014-03-27  Andi Kleen  <ak@linux.intel.com>
23986         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23987         (lll_robust_lock, lll_cond_lock, lll_timedlock)
23988         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23989         (lll_robust_unlock): Remove out of line section. Use cfi
23990         intrinsics.
23991         (LLL_STUB_UNWIND_INFO*): Remove.
23992         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23993         (lll_robust_lock, lll_cond_lock, lll_timedlock)
23994         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23995         (lll_robust_unlock): Remove out of line section. Use cfi
23996         intrinsics.
23997         (LLL_STUB_UNWIND_INFO*): Remove.
23999 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24001         [BZ #16758]
24002         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
24003         blank values.
24005 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24007         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
24009 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
24011         [BZ #16198]
24012         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
24013         fnstenv.
24014         * math/test-fenv-preserve.c: New file.
24015         * math/Makefile (tests): Add test-fenv-preserve.
24017 2014-03-26  Will Newton <will.newton@linaro.org>
24019         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
24021 2014-03-25  Roland McGrath  <roland@hack.frob.com>
24023         * scripts/versionlist.awk: Partition the version sets and emit all
24024         GLIBC_* (sorted) before all others (sorted).
24026 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24028         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24029         GLIBC_2.2.5 version.
24031 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24033         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24034         calls.
24036         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24037         previous change.
24039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24041 2014-03-25  Andreas Schwab  <schwab@suse.de>
24043         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24044         label to be used after in6ailist is initialized.
24046 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24048         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24049         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24051 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24053         [BZ #16357]
24054         [BZ #16599]
24055         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24056         min_plus_half.
24057         (fp_formats): Update initializers.
24058         (init_fp_formats): Initialize new field.
24059         (output_for_one_input_case): Allow underflow for results up to
24060         min_plus_half.
24061         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24062         * math/auto-libm-test-in: Don't mark some underflows from asin and
24063         atanh as spurious.
24064         * math/auto-libm-test-out: Regenerated.
24065         * sysdeps/i386/fpu/libm-test-ulps: Update.
24066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24068 2014-03-25  Andreas Schwab  <schwab@suse.de>
24070         * libio/Makefile (tst-ftell-partial-wide-ENV)
24071         (tst-ftell-active-handler-ENV): Define.
24073 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
24075         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24077 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24079         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24081 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24083         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24084         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24085         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24087 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24089         [BZ #16634]
24090         * elf/dl-load.c (open_verify): Add mode parameter.
24091         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24092         (open_path): Change from boolean 'secure' to complete flag 'mode'
24093         (_dl_map_object): Adjust.
24094         * elf/Makefile (tests): Add tst-dlopen-aout.
24095         * elf/tst-dlopen-aout.c: New test.
24097 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
24099         [BZ #16714]
24100         * sysdeps/unix/sysv/linux/s390/bits/stat.h
24101         (struct stat): Rename member pad0 to __glibc_reserved0.
24103         [BZ #16712]
24104         * sysdeps/s390/s390-32/bits/wordsize.h
24105         (__WORDSIZE32_SIZE_ULONG): New define.
24106         * sysdeps/s390/s390-64/bits/wordsize.h
24107         (__WORDSIZE32_SIZE_ULONG): Likewise.
24108         * sysdeps/generic/stdint.h (SIZE_MAX):
24109         Define as UL if __WORDSIZE32_SIZE_ULONG.
24111         [BZ #16713]
24112         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24113         (__glibc_reserved0): New variable.
24114         (sa_flags): Change type to int.
24116         * posix/Makefile (before-compile): Use += before-compile instead
24117         of a :=.
24119         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24120         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24122 2014-03-20  Andreas Schwab  <schwab@suse.de>
24124         [BZ #16743]
24125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24126         non-matching result from nscd.
24128 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24130         * scripts/bench.py: Moved to ...
24131         * benchtests/scripts/bench.py: ... here.
24132         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24134 2014-03-24  Andreas Schwab  <schwab@suse.de>
24136         [BZ #16002]
24137         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24138         alloca_account and account alloca use for struct in6ailist.
24140 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24142         [BZ #16284]
24143         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24144         rounding mode to recompute results that overflow to infinity or
24145         underflow to zero.
24146         * math/auto-libm-test-in: Don't mark tests as expected to fail for
24147         bug 16284.
24148         * math/auto-libm-test-out: Regenerated.
24149         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24150         (ccosh_test): Likewise.
24151         (csin_test_data): Use plus_oflow.
24152         (csin_test): Use ALL_RM_TEST.
24153         (csinh_test_data): Use plus_oflow.
24154         (csinh_test): Use ALL_RM_TEST.
24155         * sysdeps/i386/fpu/libm-test-ulps: Update.
24156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24158 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
24160         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24161         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24162         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24164         [BZ #16731]
24165         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24166         when x - 1 is zero.
24167         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24168         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24169         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24170         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24171         argument is 1.
24172         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24173         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24174         zero.
24175         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24176         * sysdeps/i386/fpu/libm-test-ulps: Update.
24177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24179 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24181         * scripts/bench.pl: Remove file.
24182         * scripts/bench.py: New benchmark script.
24183         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24184         * benchtests/README: Mention python dependency.
24185         * scripts/pylintrc: New file.
24186         * scripts/pylint: New file.
24188         * bits/mathdef.h: Use #ifdef instead of #if.
24189         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24190         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24191         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24192         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24193         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24194         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24196 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24197             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24199         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24201         and strpbrk-ppc64 objects.
24202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24203         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24204         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24205         multiarch strpbrk for POWER7.
24206         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24207         multiarch strpbrk for PPC64.
24208         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24209         ifunc selector.
24210         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24211         strpbrk for POWER7.
24213 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24215         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24216         (atan_test): Likewise.
24217         (atanh_test_data): Use NO_TEST_INLINE for two tests.
24218         (atanh_test): Use ALL_RM_TEST.
24219         (atan2_test_data): Likewise.
24220         (cabs_test): Likewise.
24221         (cacosh_test): Likewise.
24222         (carg_test): Likewise.
24223         (casin_test): Likewise.
24224         (casinh_test): Likewise.
24225         (cbrt_test): Likewise.
24226         (csqrt_test): Likewise.
24227         (erf_test): Likewise.
24228         (erfc_test): Likewise.
24229         (pow10_test): Likewise.
24230         (exp2_test): Likewise.
24231         (hypot_test): Likewise.
24232         (j0_test): Likewise.
24233         (j1_test): Likewise.
24234         (lgamma_test): Likewise.
24235         (gamma_test): Likewise.
24236         (sincos_test): Likewise.
24237         (tanh_test): Likewise.
24238         (y0_test): Likewise.
24239         (y1_test): Likewise.
24240         * sysdeps/i386/fpu/libm-test-ulps: Update.
24241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24243 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24245         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24247         and strcspn-ppc64 objects.
24248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24249         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24250         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24251         multiarch strcspn for POWER7.
24252         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24253         multiarch strcspn for PPC64.
24254         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24255         ifunc selector.
24256         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24257         strcspn for POWER7.
24259 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24261         * math/gen-libm-test.pl (generate_testfile): Expect only function
24262         name as argument to AUTO_TESTS_* and pass results for all rounding
24263         modes to parse_args.
24264         (parse_auto_input): Separate inputs of automatic tests from
24265         outputs before storing in %auto_tests.
24266         * math/libm-test.inc (acos_test_data): Update call to
24267         AUTO_TESTS_f_f.
24268         (acos_test): Use ALL_RM_TEST.
24269         (acos_tonearest_test_data): Remove.
24270         (acos_test_tonearest): Likewise.
24271         (acos_towardzero_test_data): Likewise.
24272         (acos_test_towardzero): Likewise.
24273         (acos_downward_test_data): Likewise.
24274         (acos_test_downward): Likewise.
24275         (acos_upward_test_data): Likewise.
24276         (acos_test_upward): Likewise.
24277         (acosh_test_data): Update call to AUTO_TESTS_f_f.
24278         (asin_test_data): Likewise.
24279         (asin_test): Use ALL_RM_TEST.
24280         (asin_tonearest_test_data): Remove.
24281         (asin_test_tonearest): Likewise.
24282         (asin_towardzero_test_data): Likewise.
24283         (asin_test_towardzero): Likewise.
24284         (asin_downward_test_data): Likewise.
24285         (asin_test_downward): Likewise.
24286         (asin_upward_test_data): Likewise.
24287         (asin_test_upward): Likewise.
24288         (asinh_test_data): Update call to AUTO_TESTS_f_f.
24289         (atan_test_data): Likewise.
24290         (atanh_test_data): Likewise.
24291         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24292         (cabs_test_data): Update call to AUTO_TESTS_c_f.
24293         (carg_test_data): Likewise.
24294         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24295         (ccos_test_data): Update call to AUTO_TESTS_c_c.
24296         (ccosh_test_data): Likewise.
24297         (cexp_test_data): Likewise.
24298         (clog_test_data): Likewise.
24299         (clog10_test_data): Likewise.
24300         (cos_test_data): Update call to AUTO_TESTS_f_f.
24301         (cos_test): Use ALL_RM_TEST.
24302         (cos_tonearest_test_data): Remove.
24303         (cos_test_tonearest): Likewise.
24304         (cos_towardzero_test_data): Likewise.
24305         (cos_test_towardzero): Likewise.
24306         (cos_downward_test_data): Likewise.
24307         (cos_test_downward): Likewise.
24308         (cos_upward_test_data): Likewise.
24309         (cos_test_upward): Likewise.
24310         (cosh_test_data): Update call to AUTO_TESTS_f_f.
24311         (cosh_test): Use ALL_RM_TEST.
24312         (cosh_tonearest_test_data): Remove.
24313         (cosh_test_tonearest): Likewise.
24314         (cosh_towardzero_test_data): Likewise.
24315         (cosh_test_towardzero): Likewise.
24316         (cosh_downward_test_data): Likewise.
24317         (cosh_test_downward): Likewise.
24318         (cosh_upward_test_data): Likewise.
24319         (cosh_test_upward): Likewise.
24320         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24321         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24322         (ctan_test_data): Likewise.
24323         (ctan_test): Use ALL_RM_TEST.
24324         (ctan_tonearest_test_data): Remove.
24325         (ctan_test_tonearest): Likewise.
24326         (ctan_towardzero_test_data): Likewise.
24327         (ctan_test_towardzero): Likewise.
24328         (ctan_downward_test_data): Likewise.
24329         (ctan_test_downward): Likewise.
24330         (ctan_upward_test_data): Likewise.
24331         (ctan_test_upward): Likewise.
24332         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24333         (ctanh_test): Use ALL_RM_TEST.
24334         (ctanh_tonearest_test_data): Remove.
24335         (ctanh_test_tonearest): Likewise.
24336         (ctanh_towardzero_test_data): Likewise.
24337         (ctanh_test_towardzero): Likewise.
24338         (ctanh_downward_test_data): Likewise.
24339         (ctanh_test_downward): Likewise.
24340         (ctanh_upward_test_data): Likewise.
24341         (ctanh_test_upward): Likewise.
24342         (erf_test_data): Update call to AUTO_TESTS_f_f.
24343         (erfc_test_data): Likewise.
24344         (exp_test_data): Likewise.
24345         (exp_test): Use ALL_RM_TEST.
24346         (exp_tonearest_test_data): Remove.
24347         (exp_test_tonearest): Likewise.
24348         (exp_towardzero_test_data): Likewise.
24349         (exp_test_towardzero): Likewise.
24350         (exp_downward_test_data): Likewise.
24351         (exp_test_downward): Likewise.
24352         (exp_upward_test_data): Likewise.
24353         (exp_test_upward): Likewise.
24354         (exp10_test_data): Update call to AUTO_TESTS_f_f.
24355         (exp10_test): Use ALL_RM_TEST.
24356         (exp10_tonearest_test_data): Remove.
24357         (exp10_test_tonearest): Likewise.
24358         (exp10_towardzero_test_data): Likewise.
24359         (exp10_test_towardzero): Likewise.
24360         (exp10_downward_test_data): Likewise.
24361         (exp10_test_downward): Likewise.
24362         (exp10_upward_test_data): Likewise.
24363         (exp10_test_upward): Likewise.
24364         (exp2_test_data): Update call to AUTO_TESTS_f_f.
24365         (expm1_test_data): Likewise.
24366         (expm1_test): Use ALL_RM_TEST.
24367         (expm1_tonearest_test_data): Remove.
24368         (expm1_test_tonearest): Likewise.
24369         (expm1_towardzero_test_data): Likewise.
24370         (expm1_test_towardzero): Likewise.
24371         (expm1_downward_test_data): Likewise.
24372         (expm1_test_downward): Likewise.
24373         (expm1_upward_test_data): Likewise.
24374         (expm1_test_upward): Likewise.
24375         (fma_test_data): Update call to AUTO_TESTS_fff_f.
24376         (fma_test): Use ALL_RM_TEST.
24377         (fma_towardzero_test_data): Remove.
24378         (fma_test_towardzero): Likewise.
24379         (fma_downward_test_data): Likewise.
24380         (fma_test_downward): Likewise.
24381         (fma_upward_test_data): Likewise.
24382         (fma_test_upward): Likewise.
24383         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24384         (j0_test_data): Update call to AUTO_TESTS_f_f.
24385         (j1_test_data): Likewise.
24386         (jn_test_data): Update call to AUTO_TESTS_if_f.
24387         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24388         (log_test_data): Update call to AUTO_TESTS_f_f.
24389         (log10_test_data): Likewise.
24390         (log1p_test_data): Likewise.
24391         (log2_test_data): Likewise.
24392         (pow_test_data): Update call to AUTO_TESTS_ff_f.
24393         (pow_tonearest_test_data): Likewise.
24394         (sin_test_data): Update call to AUTO_TESTS_f_f.
24395         (sin_test): Use ALL_RM_TEST.
24396         (sin_tonearest_test_data): Remove.
24397         (sin_test_tonearest): Likewise.
24398         (sin_towardzero_test_data): Likewise.
24399         (sin_test_towardzero): Likewise.
24400         (sin_downward_test_data): Likewise.
24401         (sin_test_downward): Likewise.
24402         (sin_upward_test_data): Likewise.
24403         (sin_test_upward): Likewise.
24404         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24405         (sinh_test_data): Update call to AUTO_TESTS_f_f.
24406         (sinh_test): Use ALL_RM_TEST.
24407         (sinh_tonearest_test_data): Remove.
24408         (sinh_test_tonearest): Likewise.
24409         (sinh_towardzero_test_data): Likewise.
24410         (sinh_test_towardzero): Likewise.
24411         (sinh_downward_test_data): Likewise.
24412         (sinh_test_downward): Likewise.
24413         (sinh_upward_test_data): Likewise.
24414         (sinh_test_upward): Likewise.
24415         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24416         (sqrt_test): Use ALL_RM_TEST.
24417         (sqrt_tonearest_test_data): Remove.
24418         (sqrt_test_tonearest): Likewise.
24419         (sqrt_towardzero_test_data): Likewise.
24420         (sqrt_test_towardzero): Likewise.
24421         (sqrt_downward_test_data): Likewise.
24422         (sqrt_test_downward): Likewise.
24423         (sqrt_upward_test_data): Likewise.
24424         (sqrt_test_upward): Likewise.
24425         (tan_test_data): Update call to AUTO_TESTS_f_f.
24426         (tan_test): Use ALL_RM_TEST.
24427         (tan_tonearest_test_data): Remove.
24428         (tan_test_tonearest): Likewise.
24429         (tan_towardzero_test_data): Likewise.
24430         (tan_test_towardzero): Likewise.
24431         (tan_downward_test_data): Likewise.
24432         (tan_test_downward): Likewise.
24433         (tan_upward_test_data): Likewise.
24434         (tan_test_upward): Likewise.
24435         (tanh_test_data): Update call to AUTO_TESTS_f_f.
24436         (tgamma_test_data): Likewise.
24437         (y0_test_data): Likewise.
24438         (y1_test_data): Likewise.
24439         (yn_test_data): Update call to AUTO_TESTS_if_f.
24440         (main): Do not call removed functions.
24442 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
24444         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24445         (ldexp_test_data): Remove.
24446         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
24447         scalbn_test_data.
24448         (scalb_test): Use ALL_RM_TEST.
24450 2014-03-19  Andreas Schwab  <schwab@suse.de>
24452         * nscd/nscd.service: Also invalidate netgroup cache on reload.
24454 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
24456         [BZ #16649]
24457         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24458         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24459         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24461         (__ASSUME_PREADV): Undefine.
24462         (__ASSUME_PWRITEV): Likewise.
24464 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24466         * bits/mman-linux.h: Add comment about non-Linux use.
24467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24468         bits/mman-linux.h resting place.
24470         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24471         * bits/mman-linux.h: ... here.
24473 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24475         * conform/conformtest.pl: Add standard definition when calling C
24476         preprocessor on data files.
24477         (checknamespace): Remove unused variable.
24479 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24481         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24482         minus_oflow, plus_uflow and minus_uflow in expected results.
24483         * math/libm-test.inc (scalbn_test_data): Add more tests of
24484         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
24485         minus_uflow.
24486         (scalbn_test): Use ALL_RM_TEST.
24487         (scalbln_test_data): Add more tests of negative arguments.  Use
24488         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24489         (scalbln_test): Use ALL_RM_TEST.
24491 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24493         * scripts/abilist.awk: Ignore symbols marked with .hidden.
24495 2014-03-18  Will Newton  <will.newton@linaro.org>
24497         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24498         inaccurate comment.
24500 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24502         * Makerules [!subdir] (check-abi): Exit with error status if a
24503         test failed.
24505 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24507         * math/libm-test.inc (nearbyint_test_data): Include all tests used
24508         for rint.  Include results for all rounding modes.
24509         (nearbyint_test): Use ALL_RM_TEST.
24510         (rint_test_data): Include all tests used for nearbyint.
24512 2014-03-17  Will Newton  <will.newton@linaro.org>
24514         * nptl/sysdeps/pthread/pthread.h: Revert previous
24515         change.
24517         * sysdeps/generic/ldsodefs.h: Revert previous
24518         change.
24520         * libio/genops.c: Revert previous change.
24521         * libio/libioP.h: Likewise.
24522         * stdio-common/vfprintf.c: Likewise.
24524         * sysdeps/generic/math_private.h: Revert previous
24525         change.
24527         * sysdeps/generic/math_private.h: Check whether
24528         HAVE_RM_CTX is defined with #ifdef rather
24529         than #if.
24531         * argp/argp-fmtstream.h: Check whether
24532         __STRICT_ANSI__ is defined with #ifdef rather
24533         than #if.
24534         * argp/argp.h: Likewise.
24536         * libio/genops.c: Check whether
24537         _IO_JUMPS_OFFSET is defined with #ifdef rather
24538         than #if.
24539         * libio/libioP.h: Likewise.
24540         * stdio-common/vfprintf.c: Likewise.
24542         * sysdeps/generic/ldsodefs.h: Check whether
24543         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24544         than #if.
24546         * nptl/sysdeps/pthread/pthread.h: Check
24547         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24548         its value.
24550 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24552         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24553         setting O_APPEND.
24554         * libio/tst-ftell-active-handler.c (do_append_test): Add a
24555         test case.
24557         [BZ #16680]
24558         * libio/fileops.c (_IO_file_open): Seek to end of file but
24559         don't cache the offset.
24560         (get_file_offset): Remove function.
24561         (do_ftell): Use cached offset when available.
24562         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24563         don't cache the offset.
24564         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24565         case.
24566         (do_one_test): Call it.
24567         (do_ftell_test): Fix up expected old offset for a+ mode.
24568         * libio/wfileops.c (do_ftell_wide): Used cached offset when
24569         available.
24571         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24572         up test status with function return status.
24573         (do_write_test): Likewise.
24574         (do_append_test): Likewise.
24576         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24577         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24578         Remove.
24580 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24582         * math/gen-libm-test.pl (parse_args): Handle results specified for
24583         each rounding mode separately.
24584         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24585         tests and results from lrint_tonearest_test_data,
24586         lrint_towardzero_test_data, lrint_downward_test_data and
24587         lrint_upward_test_data.
24588         (lrint_test): Use ALL_RM_TEST.
24589         (lrint_tonearest_test_data): Remove.
24590         (lrint_test_tonearest): Likewise.
24591         (lrint_towardzero_test_data): Likewise.
24592         (lrint_test_towardzero): Likewise.
24593         (lrint_downward_test_data): Likewise.
24594         (lrint_test_downward): Likewise.
24595         (lrint_upward_test_data): Likewise.
24596         (lrint_test_upward): Likewise.
24597         (llrint_test_data): Merge in per-rounding-mode tests and results
24598         from llrint_tonearest_test_data, llrint_towardzero_test_data,
24599         llrint_downward_test_data and llrint_upward_test_data.
24600         (llrint_test): Use ALL_RM_TEST.
24601         (llrint_tonearest_test_data): Remove.
24602         (llrint_test_tonearest): Likewise.
24603         (llrint_towardzero_test_data): Likewise.
24604         (llrint_test_towardzero): Likewise.
24605         (llrint_downward_test_data): Likewise.
24606         (llrint_test_downward): Likewise.
24607         (llrint_upward_test_data): Likewise.
24608         (llrint_test_upward): Likewise.
24609         (rint_test_data): Merge in per-rounding-mode tests and results
24610         from rint_tonearest_test_data, rint_towardzero_test_data,
24611         rint_downward_test_data and rint_upward_test_data.  Add
24612         per-rounding-mode results for tests not in those arrays.
24613         (rint_test): Use ALL_RM_TEST.
24614         (rint_tonearest_test_data): Remove.
24615         (rint_test_tonearest): Likewise.
24616         (rint_towardzero_test_data): Likewise.
24617         (rint_test_towardzero): Likewise.
24618         (rint_downward_test_data): Likewise.
24619         (rint_test_downward): Likewise.
24620         (rint_upward_test_data): Likewise.
24621         (rint_test_upward): Likewise.
24622         (main): Don't call removed functions.
24624 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24626         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24627         "Compiled on ..." crapola.  It is anti-useful.
24629 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
24631         * scripts/evaluate-test.sh: Handle fourth argument to determine
24632         whether test run should stop on failure.
24633         * Makeconfig (stop-on-test-failure): New variable.
24634         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24635         $(stop-on-test-failure).
24636         * Makefile (tests): Give a summary of results from testing and
24637         exit with failure status if they include an ERROR or FAIL.
24638         (xtests): Likewise.
24639         * manual/install.texi (Configuring and compiling): Mention
24640         stop-on-test-failure=y.
24641         * INSTALL: Regenerated.
24643 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24645         * scripts/versionlist.awk: New file.
24646         * Makerules [$(build-shared) = yes]
24647         (postclean-generated): Add Versions.def, not Versions.def.v and
24648         Versions.def.v.i.
24649         ($(common-objpfx)Versions.def.v.i): Target removed.
24650         ($(common-objpfx)Versions.def): New target.
24651         ($(common-objpfx)Versions.all): Depend on that rather that
24652         $(common-objpfx)Versions.def.v.
24653         * Versions.def: File removed.
24655         * Makeconfig (+gccwarn): Add -Wundef.
24656         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24657         a dl-sysdep.h breaking its contract.
24658         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24659         * include/stackinfo.h: New file.
24660         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24661         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24662         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24663         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24664         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24665         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24666         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24667         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24668         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24669         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24670         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24671         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24672         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24673         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24674         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24676 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24678         [BZ #16707]
24679         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24680         implementation.
24681         * math/libm-test.inc (round_test_data): Add more tests.
24683         [BZ #16706]
24684         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24685         implementation.
24686         * math/libm-test.inc (nearbyint_test_data): Add more tests.
24688         [BZ #16701]
24689         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24690         implementation.
24691         * math/libm-test.inc (ceil_test_data): Add more tests.
24693         * math/libm-test.inc (trunc_test_data): Add more tests related to
24694         BZ#16414.
24696 2014-03-14  Roland McGrath  <roland@hack.frob.com>
24698         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24699         with #if rather than #ifdef.
24700         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24702 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
24704         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24705         first.  Disable AVX-512 GCC support if assembler doesn't support
24706         it.
24707         * sysdeps/x86_64/configure: Regenerated.
24709 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
24711         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24712         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24713         (__old_pthread_attr_setstack): Likewise.
24714         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24715         [!_STACK_GROWS_DOWN]: Likewise.
24717 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
24719         * config.make.in (have-bash2): Delete.
24720         * configure.ac (libc_cv_have_bash2): Delete.
24721         * configure: Regenerate.
24722         * elf/Makefile (common-ldd-rewrite): Rename to ...
24723         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
24724         (sh-ldd-rewrite): Delete.
24725         (bash-ldd-rewrite): Delete.
24726         (have-bash2): Delete checks.
24727         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24728         ldd-rewrite.
24730         * config.make.in (have-ksh): Delete.
24731         (KSH): Delete.
24732         * configure.ac (libc_cv_have_ksh): Delete.
24733         * configure: Regenerate.
24735         * elf/Makefile: Delete $(have-ksh) check.
24736         ($(objpfx)sotruss): Change KSH to BASH.
24737         * elf/sotruss.ksh: Rename to ...
24738         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
24739         function style to match POSIX.  Drop ksh vim mode setting.
24741         * manual/time.texi (Specifying the Time Zone with TZ): Change
24742         Tuesday to Thursday.
24744         * debug/tst-longjmp_chk2.c: Update header comment.
24745         (stackoverflow_handler): Add comment.  Call assert on pass value.
24747 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
24749         [BZ #16194]
24750         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24751         (HAVE_AVX512_ASM_SUPPORT): Likewise.
24752         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24753         (La_x86_64_vector): Add zmm.
24754         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24755         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24756         ($(objpfx)tst-audit10): New target.
24757         ($(objpfx)tst-audit10.out): Likewise.
24758         (tst-audit10-ENV): New.
24759         (AVX512-CFLAGS): Likewise.
24760         (CFLAGS-tst-audit10.c): Likewise.
24761         (CFLAGS-tst-auditmod10a.c): Likewise.
24762         (CFLAGS-tst-auditmod10b.c): Likewise.
24763         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24764         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24765         * sysdeps/x86_64/configure: Regenerated.
24766         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24767         AVX-512 zmm register support.
24768         (_dl_x86_64_save_sse): Likewise.
24769         (_dl_x86_64_restore_sse): Likewise.
24770         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24771         size vector registers.
24772         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24773         (ZMM_SIZE): Likewise.
24774         * sysdeps/x86_64/tst-audit10.c: New file.
24775         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24776         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24778 2014-03-13  Roland McGrath  <roland@hack.frob.com>
24780         * configure.ac (HAVE_EHDR_START): New check.
24781         * configure: Regenerated.
24782         * config.h.in (HAVE_EHDR_START): New #undef.
24783         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24784         assuming the lowest-addressed segment maps the start of the file.
24786 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
24788         * INSTALL: Regenerated.
24790 2014-03-13  Will Newton  <will.newton@linaro.org>
24792         * manual/setjmp.texi (System V contexts): Improve
24793         clarity and grammar of documentation.
24795 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24797         [BZ #16381]
24798         * elf/Makefile (tests): Add tst-pie2.
24799         (tests-pie): Add tst-pie2.
24800         * elf/tst-pie2.c: New file.
24801         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24802         for ET_EXEC.
24803         * elf/rtld.c (map_doit): Load executable as lt_executable.
24804         (dl_main): Likewise.
24806 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
24808         [BZ #16642]
24809         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24810         (__ASSUME_PSELECT): Undefine.
24812 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24814         [BZ #16689]
24815         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24816         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24817         static build.
24818         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24819         selector for static builds.
24821 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24823         [BZ #16695]
24824         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24825         key in the buffer.
24827 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24829         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24830         IFUNC selector for static builds.
24832 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
24834         * sysdeps/mips/math_private.h [__mips_hard_float]
24835         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24836         libc_feresetround_mips_ctx.
24837         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24838         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24839         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24841         [BZ #16677]
24842         * math/s_nextafter.c (__nextafter): Do not return value from
24843         overflowing computation.
24844         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24845         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24846         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24847         Likewise.
24848         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24849         Likewise.
24850         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24851         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24853 2014-03-11  Roland McGrath  <roland@hack.frob.com>
24855         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24856         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24857         Move sfi_sp use from the load-multiple (that no longer sets sp) to
24858         the new mov targetting sp.
24860 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24862         [BZ #16683]
24863         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24864         Define it for static builds as well.
24865         (NO_BZERO_IMPL): Likewise.
24867 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24869         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24870         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24871         multiarch strspn for PPC64.
24872         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24873         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24875         (__libc_ifunc_impl_list): Likewise.
24876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24877         multiarch optimizations
24878         * string/strspn.c (strspn): Using macro to redefine symbol name.
24880 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24881             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24883         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24884         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24885         multiarch strncat for PPC64.
24886         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24887         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24889         (__libc_ifunc_impl_list): Likewise.
24890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24891         multiarch optimizations
24893 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24895         [BZ #16639]
24896         * nscd/nscd.service: Make service type forking.
24898 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24900         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24901         sign in non default rounding modes.
24902         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24904 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
24906         * math/libm-test.inc (ALL_RM_TEST): New macro.
24907         (ceil_test): Use ALL_RM_TEST.
24908         (cimag_test): Likewise.
24909         (conj_test): Likewise.
24910         (copysign_test): Likewise.
24911         (cproj_test): Likewise.
24912         (creal_test): Likewise.
24913         (fabs_test): Likewise.
24914         (floor_test): Likewise.
24915         (fmax_test): Likewise.
24916         (fmin_test): Likewise.
24917         (fmod_test): Likewise.
24918         (fpclassify_test): Likewise.
24919         (frexp_test): Likewise.
24920         (ilogb_test): Likewise.
24921         (isfinite_test): Likewise.
24922         (finite_test): Likewise.
24923         (isgreater_test): Likewise.
24924         (isgreaterequal_test): Likewise.
24925         (isinf_test): Likewise.
24926         (isless_test): Likewise.
24927         (islessequal_test): Likewise.
24928         (islessgreater_test): Likewise.
24929         (isnan_test): Likewise.
24930         (isnormal_test): Likewise.
24931         (issignaling_test): Likewise.
24932         (isunordered_test): Likewise.
24933         (logb_test): Likewise.
24934         (logb_downward_test_data): Remove.
24935         (logb_test_downward): Likewise.
24936         (lround_test): Use ALL_RM_TEST.
24937         (llround_test): Likewise.
24938         (modf_test): Likewise.
24939         (nexttoward_test): Likewise.
24940         (remainder_test): Likewise.
24941         (drem_test): Likewise.
24942         (remainder_tonearest_test_data): Likewise.
24943         (remainder_test_tonearest): Likewise.
24944         (drem_test_tonearest): Likewise.
24945         (remainder_towardzero_test_data): Likewise.
24946         (remainder_test_towardzero): Likewise.
24947         (drem_test_towardzero): Likewise.
24948         (remainder_downward_test_data): Likewise.
24949         (remainder_test_downward): Likewise.
24950         (drem_test_downward): Likewise.
24951         (remainder_upward_test_data): Likewise.
24952         (remainder_test_upward): Likewise.
24953         (drem_test_upward): Likewise.
24954         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
24955         (round_test): Use ALL_RM_TEST.
24956         (signbit_test): Likewise.
24957         (trunc_test): Likewise.
24958         (significand_test): Likewise.
24959         (main): Don't call removed functions.
24961 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
24963         [BZ #16674]
24964         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24965         || __USE_XOPEN2K8].
24966         (ILL_ILLOPN): Likewise.
24967         (ILL_ILLADR): Likewise.
24968         (ILL_ILLTRP): Likewise.
24969         (ILL_PRVOPC): Likewise.
24970         (ILL_PRVREG): Likewise.
24971         (ILL_COPROC): Likewise.
24972         (ILL_BADSTK): Likewise.
24973         (FPE_INTDIV): Likewise.
24974         (FPE_INTOVF): Likewise.
24975         (FPE_FLTDIV): Likewise.
24976         (FPE_FLTOVF): Likewise.
24977         (FPE_FLTUND): Likewise.
24978         (FPE_FLTRES): Likewise.
24979         (FPE_FLTINV): Likewise.
24980         (FPE_FLTSUB): Likewise.
24981         (SEGV_MAPERR): Likewise.
24982         (SEGV_ACCERR): Likewise.
24983         (BUS_ADRALN): Likewise.
24984         (BUS_ADRERR): Likewise.
24985         (BUS_OBJERR): Likewise.
24986         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24987         (TRAP_TRACE): Likewise.
24988         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24989         __USE_XOPEN2K8].
24990         (CLD_KILLED): Likewise.
24991         (CLD_DUMPED): Likewise.
24992         (CLD_TRAPPED): Likewise.
24993         (CLD_STOPPED): Likewise.
24994         (CLD_CONTINUED): Likewise.
24995         (POLL_IN): Likewise.
24996         (POLL_OUT): Likewise.
24997         (POLL_MSG): Likewise.
24998         (POLL_ERR): Likewise.
24999         (POLL_PRI): Likewise.
25000         (POLL_HUP): Likewise.
25001         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
25002         Likewise.
25003         (ILL_ILLOPN): Likewise.
25004         (ILL_ILLADR): Likewise.
25005         (ILL_ILLTRP): Likewise.
25006         (ILL_PRVOPC): Likewise.
25007         (ILL_PRVREG): Likewise.
25008         (ILL_COPROC): Likewise.
25009         (ILL_BADSTK): Likewise.
25010         (FPE_INTDIV): Likewise.
25011         (FPE_INTOVF): Likewise.
25012         (FPE_FLTDIV): Likewise.
25013         (FPE_FLTOVF): Likewise.
25014         (FPE_FLTUND): Likewise.
25015         (FPE_FLTRES): Likewise.
25016         (FPE_FLTINV): Likewise.
25017         (FPE_FLTSUB): Likewise.
25018         (SEGV_MAPERR): Likewise.
25019         (SEGV_ACCERR): Likewise.
25020         (BUS_ADRALN): Likewise.
25021         (BUS_ADRERR): Likewise.
25022         (BUS_OBJERR): Likewise.
25023         (BUS_MCEERR_AR): Likewise.
25024         (BUS_MCEERR_AO): Likewise.
25025         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25026         (TRAP_TRACE): Likewise.
25027         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25028         __USE_XOPEN2K8].
25029         (CLD_KILLED): Likewise.
25030         (CLD_DUMPED): Likewise.
25031         (CLD_TRAPPED): Likewise.
25032         (CLD_STOPPED): Likewise.
25033         (CLD_CONTINUED): Likewise.
25034         (POLL_IN): Likewise.
25035         (POLL_OUT): Likewise.
25036         (POLL_MSG): Likewise.
25037         (POLL_ERR): Likewise.
25038         (POLL_PRI): Likewise.
25039         (POLL_HUP): Likewise.
25040         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25041         (ILL_ILLOPN): Likewise.
25042         (ILL_ILLADR): Likewise.
25043         (ILL_ILLTRP): Likewise.
25044         (ILL_PRVOPC): Likewise.
25045         (ILL_PRVREG): Likewise.
25046         (ILL_COPROC): Likewise.
25047         (ILL_BADSTK): Likewise.
25048         (FPE_INTDIV): Likewise.
25049         (FPE_INTOVF): Likewise.
25050         (FPE_FLTDIV): Likewise.
25051         (FPE_FLTOVF): Likewise.
25052         (FPE_FLTUND): Likewise.
25053         (FPE_FLTRES): Likewise.
25054         (FPE_FLTINV): Likewise.
25055         (FPE_FLTSUB): Likewise.
25056         (SEGV_MAPERR): Likewise.
25057         (SEGV_ACCERR): Likewise.
25058         (BUS_ADRALN): Likewise.
25059         (BUS_ADRERR): Likewise.
25060         (BUS_OBJERR): Likewise.
25061         (BUS_MCEERR_AR): Likewise.
25062         (BUS_MCEERR_AO): Likewise.
25063         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25064         (TRAP_TRACE): Likewise.
25065         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25066         __USE_XOPEN2K8].
25067         (CLD_KILLED): Likewise.
25068         (CLD_DUMPED): Likewise.
25069         (CLD_TRAPPED): Likewise.
25070         (CLD_STOPPED): Likewise.
25071         (CLD_CONTINUED): Likewise.
25072         (POLL_IN): Likewise.
25073         (POLL_OUT): Likewise.
25074         (POLL_MSG): Likewise.
25075         (POLL_ERR): Likewise.
25076         (POLL_PRI): Likewise.
25077         (POLL_HUP): Likewise.
25078         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25079         Likewise.
25080         (ILL_ILLOPN): Likewise.
25081         (ILL_ILLADR): Likewise.
25082         (ILL_ILLTRP): Likewise.
25083         (ILL_PRVOPC): Likewise.
25084         (ILL_PRVREG): Likewise.
25085         (ILL_COPROC): Likewise.
25086         (ILL_BADSTK): Likewise.
25087         (ILL_BADIADDR): Likewise.
25088         (ILL_BREAK): Likewise.
25089         (FPE_INTDIV): Likewise.
25090         (FPE_INTOVF): Likewise.
25091         (FPE_FLTDIV): Likewise.
25092         (FPE_FLTOVF): Likewise.
25093         (FPE_FLTUND): Likewise.
25094         (FPE_FLTRES): Likewise.
25095         (FPE_FLTINV): Likewise.
25096         (FPE_FLTSUB): Likewise.
25097         (FPE_DECOVF): Likewise.
25098         (FPE_DECDIV): Likewise.
25099         (FPE_DECERR): Likewise.
25100         (FPE_INVASC): Likewise.
25101         (FPE_INVDEC): Likewise.
25102         (SEGV_MAPERR): Likewise.
25103         (SEGV_ACCERR): Likewise.
25104         (SEGV_PSTKOVF): Likewise.
25105         (BUS_ADRALN): Likewise.
25106         (BUS_ADRERR): Likewise.
25107         (BUS_OBJERR): Likewise.
25108         (BUS_MCEERR_AR): Likewise.
25109         (BUS_MCEERR_AO): Likewise.
25110         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25111         (TRAP_TRACE): Likewise.
25112         (TRAP_BRANCH): Likewise.
25113         (TRAP_HWBKPT): Likewise.
25114         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25115         __USE_XOPEN2K8].
25116         (CLD_KILLED): Likewise.
25117         (CLD_DUMPED): Likewise.
25118         (CLD_TRAPPED): Likewise.
25119         (CLD_STOPPED): Likewise.
25120         (CLD_CONTINUED): Likewise.
25121         (POLL_IN): Likewise.
25122         (POLL_OUT): Likewise.
25123         (POLL_MSG): Likewise.
25124         (POLL_ERR): Likewise.
25125         (POLL_PRI): Likewise.
25126         (POLL_HUP): Likewise.
25127         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25128         (ILL_ILLOPN): Likewise.
25129         (ILL_ILLADR): Likewise.
25130         (ILL_ILLTRP): Likewise.
25131         (ILL_PRVOPC): Likewise.
25132         (ILL_PRVREG): Likewise.
25133         (ILL_COPROC): Likewise.
25134         (ILL_BADSTK): Likewise.
25135         (FPE_INTDIV): Likewise.
25136         (FPE_INTOVF): Likewise.
25137         (FPE_FLTDIV): Likewise.
25138         (FPE_FLTOVF): Likewise.
25139         (FPE_FLTUND): Likewise.
25140         (FPE_FLTRES): Likewise.
25141         (FPE_FLTINV): Likewise.
25142         (FPE_FLTSUB): Likewise.
25143         (SEGV_MAPERR): Likewise.
25144         (SEGV_ACCERR): Likewise.
25145         (BUS_ADRALN): Likewise.
25146         (BUS_ADRERR): Likewise.
25147         (BUS_OBJERR): Likewise.
25148         (BUS_MCEERR_AR): Likewise.
25149         (BUS_MCEERR_AO): Likewise.
25150         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25151         (TRAP_TRACE): Likewise.
25152         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25153         __USE_XOPEN2K8].
25154         (CLD_KILLED): Likewise.
25155         (CLD_DUMPED): Likewise.
25156         (CLD_TRAPPED): Likewise.
25157         (CLD_STOPPED): Likewise.
25158         (CLD_CONTINUED): Likewise.
25159         (POLL_IN): Likewise.
25160         (POLL_OUT): Likewise.
25161         (POLL_MSG): Likewise.
25162         (POLL_ERR): Likewise.
25163         (POLL_PRI): Likewise.
25164         (POLL_HUP): Likewise.
25165         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25166         (ILL_ILLOPN): Likewise.
25167         (ILL_ILLADR): Likewise.
25168         (ILL_ILLTRP): Likewise.
25169         (ILL_PRVOPC): Likewise.
25170         (ILL_PRVREG): Likewise.
25171         (ILL_COPROC): Likewise.
25172         (ILL_BADSTK): Likewise.
25173         (FPE_INTDIV): Likewise.
25174         (FPE_INTOVF): Likewise.
25175         (FPE_FLTDIV): Likewise.
25176         (FPE_FLTOVF): Likewise.
25177         (FPE_FLTUND): Likewise.
25178         (FPE_FLTRES): Likewise.
25179         (FPE_FLTINV): Likewise.
25180         (FPE_FLTSUB): Likewise.
25181         (SEGV_MAPERR): Likewise.
25182         (SEGV_ACCERR): Likewise.
25183         (BUS_ADRALN): Likewise.
25184         (BUS_ADRERR): Likewise.
25185         (BUS_OBJERR): Likewise.
25186         (BUS_MCEERR_AR): Likewise.
25187         (BUS_MCEERR_AO): Likewise.
25188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25189         (TRAP_TRACE): Likewise.
25190         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25191         __USE_XOPEN2K8].
25192         (CLD_KILLED): Likewise.
25193         (CLD_DUMPED): Likewise.
25194         (CLD_TRAPPED): Likewise.
25195         (CLD_STOPPED): Likewise.
25196         (CLD_CONTINUED): Likewise.
25197         (POLL_IN): Likewise.
25198         (POLL_OUT): Likewise.
25199         (POLL_MSG): Likewise.
25200         (POLL_ERR): Likewise.
25201         (POLL_PRI): Likewise.
25202         (POLL_HUP): Likewise.
25203         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25204         (ILL_ILLOPN): Likewise.
25205         (ILL_ILLADR): Likewise.
25206         (ILL_ILLTRP): Likewise.
25207         (ILL_PRVOPC): Likewise.
25208         (ILL_PRVREG): Likewise.
25209         (ILL_COPROC): Likewise.
25210         (ILL_BADSTK): Likewise.
25211         (FPE_INTDIV): Likewise.
25212         (FPE_INTOVF): Likewise.
25213         (FPE_FLTDIV): Likewise.
25214         (FPE_FLTOVF): Likewise.
25215         (FPE_FLTUND): Likewise.
25216         (FPE_FLTRES): Likewise.
25217         (FPE_FLTINV): Likewise.
25218         (FPE_FLTSUB): Likewise.
25219         (SEGV_MAPERR): Likewise.
25220         (SEGV_ACCERR): Likewise.
25221         (BUS_ADRALN): Likewise.
25222         (BUS_ADRERR): Likewise.
25223         (BUS_OBJERR): Likewise.
25224         (BUS_MCEERR_AR): Likewise.
25225         (BUS_MCEERR_AO): Likewise.
25226         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25227         (TRAP_TRACE): Likewise.
25228         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25229         __USE_XOPEN2K8].
25230         (CLD_KILLED): Likewise.
25231         (CLD_DUMPED): Likewise.
25232         (CLD_TRAPPED): Likewise.
25233         (CLD_STOPPED): Likewise.
25234         (CLD_CONTINUED): Likewise.
25235         (POLL_IN): Likewise.
25236         (POLL_OUT): Likewise.
25237         (POLL_MSG): Likewise.
25238         (POLL_ERR): Likewise.
25239         (POLL_PRI): Likewise.
25240         (POLL_HUP): Likewise.
25241         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25242         (ILL_ILLOPN): Likewise.
25243         (ILL_ILLADR): Likewise.
25244         (ILL_ILLTRP): Likewise.
25245         (ILL_PRVOPC): Likewise.
25246         (ILL_PRVREG): Likewise.
25247         (ILL_COPROC): Likewise.
25248         (ILL_BADSTK): Likewise.
25249         (ILL_DBLFLT): Likewise.
25250         (ILL_HARDWALL): Likewise.
25251         (FPE_INTDIV): Likewise.
25252         (FPE_INTOVF): Likewise.
25253         (FPE_FLTDIV): Likewise.
25254         (FPE_FLTOVF): Likewise.
25255         (FPE_FLTUND): Likewise.
25256         (FPE_FLTRES): Likewise.
25257         (FPE_FLTINV): Likewise.
25258         (FPE_FLTSUB): Likewise.
25259         (SEGV_MAPERR): Likewise.
25260         (SEGV_ACCERR): Likewise.
25261         (BUS_ADRALN): Likewise.
25262         (BUS_ADRERR): Likewise.
25263         (BUS_OBJERR): Likewise.
25264         (BUS_MCEERR_AR): Likewise.
25265         (BUS_MCEERR_AO): Likewise.
25266         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25267         (TRAP_TRACE): Likewise.
25268         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25269         __USE_XOPEN2K8].
25270         (CLD_KILLED): Likewise.
25271         (CLD_DUMPED): Likewise.
25272         (CLD_TRAPPED): Likewise.
25273         (CLD_STOPPED): Likewise.
25274         (CLD_CONTINUED): Likewise.
25275         (POLL_IN): Likewise.
25276         (POLL_OUT): Likewise.
25277         (POLL_MSG): Likewise.
25278         (POLL_ERR): Likewise.
25279         (POLL_PRI): Likewise.
25280         (POLL_HUP): Likewise.
25281         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25282         (ILL_ILLOPN): Likewise.
25283         (ILL_ILLADR): Likewise.
25284         (ILL_ILLTRP): Likewise.
25285         (ILL_PRVOPC): Likewise.
25286         (ILL_PRVREG): Likewise.
25287         (ILL_COPROC): Likewise.
25288         (ILL_BADSTK): Likewise.
25289         (FPE_INTDIV): Likewise.
25290         (FPE_INTOVF): Likewise.
25291         (FPE_FLTDIV): Likewise.
25292         (FPE_FLTOVF): Likewise.
25293         (FPE_FLTUND): Likewise.
25294         (FPE_FLTRES): Likewise.
25295         (FPE_FLTINV): Likewise.
25296         (FPE_FLTSUB): Likewise.
25297         (SEGV_MAPERR): Likewise.
25298         (SEGV_ACCERR): Likewise.
25299         (BUS_ADRALN): Likewise.
25300         (BUS_ADRERR): Likewise.
25301         (BUS_OBJERR): Likewise.
25302         (BUS_MCEERR_AR): Likewise.
25303         (BUS_MCEERR_AO): Likewise.
25304         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25305         (TRAP_TRACE): Likewise.
25306         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25307         __USE_XOPEN2K8].
25308         (CLD_KILLED): Likewise.
25309         (CLD_DUMPED): Likewise.
25310         (CLD_TRAPPED): Likewise.
25311         (CLD_STOPPED): Likewise.
25312         (CLD_CONTINUED): Likewise.
25313         (POLL_IN): Likewise.
25314         (POLL_OUT): Likewise.
25315         (POLL_MSG): Likewise.
25316         (POLL_ERR): Likewise.
25317         (POLL_PRI): Likewise.
25318         (POLL_HUP): Likewise.
25319         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25320         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25322         [BZ #16670]
25323         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25324         before #include of <time.h>.
25325         [!__USE_XOPEN2K] (__need_timespec): Likewise.
25326         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25327         (test-xfail-UNIX98/sched.h/conform): Likewise.
25329 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25331         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25332         error absence of trapping exception support.
25333         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25335 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25337         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25338         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25339         * timezone/Makefile (testdata): Move definition above include of
25340         Rules.
25341         (test-zones): New variable.
25342         (tests-special): Add zone files.
25343         (build-testdata): Use $(evaluate-test).
25345         * elf/Makefile (tests-special): Rename tests to end with .out.
25346         ($(objpfx)noload-mem): Likewise.
25347         ($(objpfx)tst-leaks1-mem): Likewise.
25348         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25349         * iconv/Makefile (xtests-special): Change test-iconvconfig to
25350         $(objpfx)test-iconvconfig.out.
25351         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
25352         set -e inside subshell and redirect output to file.
25353         * iconvdata/Makefile (generated): Rename tests to end with .out.
25354         Correct type.
25355         (tests-special): Rename tests to end with .out.
25356         ($(objpfx)mtrace-tst-loading): Likewise.
25357         * intl/Makefile (generated): Likewise.
25358         (tests-special): Likewise.
25359         ($(objpfx)mtrace-tst-gettext): Likewise.
25360         * misc/Makefile (generated): Likewise.
25361         (tests-special): Likewise.
25362         ($(objpfx)tst-error1-mem): Likewise.
25363         * nptl/Makefile (tests-special): Likewise.
25364         ($(objpfx)tst-stack3-mem): Likewise.
25365         (generated): Likewise.
25366         * posix/Makefile (generated): Likewise.
25367         (tests-special): Likewise.
25368         (xtests-special): Likewise.
25369         ($(objpfx)tst-fnmatch-mem): Likewise.
25370         ($(objpfx)bug-regex2-mem): Likewise.
25371         ($(objpfx)bug-regex14-mem): Likewise.
25372         ($(objpfx)bug-regex21-mem): Likewise.
25373         ($(objpfx)bug-regex31-mem): Likewise.
25374         ($(objpfx)tst-vfork3-mem): Likewise.
25375         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25376         ($(objpfx)tst-pcre-mem): Likewise.
25377         ($(objpfx)tst-boost-mem): Likewise.
25378         ($(objpfx)bug-ga2-mem): Likewise.
25379         ($(objpfx)bug-glob2-mem): Likewise.
25380         * resolv/Makefile (generate): Likewise.
25381         (tests-special): Likewise.
25382         (xtests-special): Likewise.
25383         (generated): Likewise.
25384         ($(objpfx)mtrace-tst-leaks): Likewise.
25385         ($(objpfx)mtrace-tst-leaks2): Likewise.
25387         * scripts/merge-test-results.sh: New file.
25388         * Makefile (tests-special-notdir): New variable.
25389         (tests): Run merge-test-results.sh.
25390         (xtests): Likewise.
25391         * Rules (tests-special-notdir): New variable.
25392         (xtests-special-notdir): Likewise.
25393         (tests): Run merge-test-results.sh
25394         (xtests): Likewise.
25396         * Makeconfig (test-xfail-name): New variable.
25397         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25398         compute variable name for expected failures.
25399         * conform/Makefile (conformtest-headers-data): New variable.
25400         (conformtest-standards): Likewise.
25401         (conformtest-headers-ISO): Likewise.
25402         (conformtest-headers-ISO99): Likewise.
25403         (conformtest-headers-ISO11): Likewise.
25404         (conformtest-headers-POSIX): Likewise.
25405         (conformtest-headers-XPG3): Likewise.
25406         (conformtest-headers-XPG4): Likewise.
25407         (conformtest-headers-UNIX98): Likewise.
25408         (conformtest-headers-XOPEN2K): Likewise.
25409         (conformtest-headers-POSIX2008): Likewise.
25410         (conformtest-headers-XOPEN2K8): Likewise.
25411         (conformtest-header-list-base): Likewise.
25412         (conformtest-header-list-tests): Likewise.
25413         (conformtest-header-base): Likewise.
25414         (conformtest-header-tests): Likewise.
25415         (tests-special): Add $(conformtest-header-list-tests).  If
25416         [$(fast-check) && !$(cross-compiling)], add
25417         $(conformtest-header-tests) instead of
25418         $(objpfx)run-conformtest.out.
25419         (generated): Add $(conformtest-header-list-base).  If
25420         [$(fast-check) && !$(cross-compiling)], add
25421         $(conformtest-header-base).  Remove previous setting.
25422         ($(conformtest-header-list-tests)): New target.
25423         (test-xfail-run-conformtest): Remove variable.
25424         ($(objpfx)run-conformtest.out): Remove target.
25425         (test-xfail-ISO11/complex.h/conform): New variable.
25426         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25427         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25428         (test-xfail-XPG3/varargs.h/conform): Likewise.
25429         (test-xfail-XPG4/varargs.h/conform): Likewise.
25430         (test-xfail-UNIX98/varargs.h/conform): Likewise.
25431         (test-xfail-XPG4/ndbm.h/conform): Likewise.
25432         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25433         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25434         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25435         (test-xfail-XPG3/fcntl.h/conform): Likewise.
25436         (test-xfail-XPG3/ftw.h/conform): Likewise.
25437         (test-xfail-XPG3/grp.h/conform): Likewise.
25438         (test-xfail-XPG3/langinfo.h/conform): Likewise.
25439         (test-xfail-XPG3/limits.h/conform): Likewise.
25440         (test-xfail-XPG3/pwd.h/conform): Likewise.
25441         (test-xfail-XPG3/search.h/conform): Likewise.
25442         (test-xfail-XPG3/signal.h/conform): Likewise.
25443         (test-xfail-XPG3/stdio.h/conform): Likewise.
25444         (test-xfail-XPG3/stdlib.h/conform): Likewise.
25445         (test-xfail-XPG3/string.h/conform): Likewise.
25446         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25447         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25448         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25449         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25450         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25451         (test-xfail-XPG3/sys/types.h/conform): Likewise.
25452         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25453         (test-xfail-XPG3/termios.h/conform): Likewise.
25454         (test-xfail-XPG3/time.h/conform): Likewise.
25455         (test-xfail-XPG3/unistd.h/conform): Likewise.
25456         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25457         (test-xfail-XPG4/fcntl.h/conform): Likewise.
25458         (test-xfail-XPG4/langinfo.h/conform): Likewise.
25459         (test-xfail-XPG4/netdb.h/conform): Likewise.
25460         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25461         (test-xfail-XPG4/signal.h/conform): Likewise.
25462         (test-xfail-XPG4/stdio.h/conform): Likewise.
25463         (test-xfail-XPG4/stdlib.h/conform): Likewise.
25464         (test-xfail-XPG4/stropts.h/conform): Likewise.
25465         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25466         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25467         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25468         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25469         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25470         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25471         (test-xfail-XPG4/sys/time.h/conform): Likewise.
25472         (test-xfail-XPG4/sys/types.h/conform): Likewise.
25473         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25474         (test-xfail-XPG4/termios.h/conform): Likewise.
25475         (test-xfail-XPG4/ucontext.h/conform): Likewise.
25476         (test-xfail-XPG4/unistd.h/conform): Likewise.
25477         (test-xfail-XPG4/utmpx.h/conform): Likewise.
25478         (test-xfail-POSIX/sched.h/conform): Likewise.
25479         (test-xfail-POSIX/signal.h/conform): Likewise.
25480         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25481         (test-xfail-POSIX/tar.h/conform): Likewise.
25482         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25483         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25484         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25485         (test-xfail-UNIX98/netdb.h/conform): Likewise.
25486         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25487         (test-xfail-UNIX98/sched.h/conform): Likewise.
25488         (test-xfail-UNIX98/signal.h/conform): Likewise.
25489         (test-xfail-UNIX98/stdio.h/conform): Likewise.
25490         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25491         (test-xfail-UNIX98/stropts.h/conform): Likewise.
25492         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25493         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25494         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25495         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25496         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25497         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25498         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25499         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25500         (test-xfail-UNIX98/unistd.h/conform): Likewise.
25501         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25502         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25503         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25504         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25505         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25506         (test-xfail-XOPEN2K/math.h/conform): Likewise.
25507         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25508         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25509         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25510         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25511         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25512         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25513         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25514         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25515         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25516         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25517         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25518         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25519         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25520         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25521         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25522         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25523         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25524         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25525         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25526         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25527         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25528         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25529         (test-xfail-POSIX2008/signal.h/conform): Likewise.
25530         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25531         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25532         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25533         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25534         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25535         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25536         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25537         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25538         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25539         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25540         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25541         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25542         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25543         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25544         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25545         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25546         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25547         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25548         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25549         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25550         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25551         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25552         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25553         (conformtest-cc-flags): Likewise.
25554         ($(conformtest-header-tests): New target.
25555         * conform/check-header-lists.sh: New file.
25556         * conform/run-conformtest.sh: Remove.
25558         * conform/conformtest.pl: Allow ' and \ in values given for
25559         constants.
25560         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25561         inclusion.
25562         [POSIX] (sys/types.h): Likewise.
25563         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25564         inclusion.
25565         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25566         inclusion.
25567         * conform/data/signal.h-data (SIGIO): Remove expectation.
25568         [XPG3] (SIGBUS): Do not expect.
25569         [POSIX || XPG3] (SIGPOLL): Likewise.
25570         [POSIX || XPG3] (SIGPROF): Likewise.
25571         [POSIX || XPG3] (SIGSYS): Likewise.
25572         [XPG3] (SIGTRAP): Likewise.
25573         [POSIX || XPG3] (SIGURG): Likewise.
25574         [POSIX || XPG3] (SIGVTALRM): Likewise.
25575         [POSIX || XPG3] (SIGXCPU): Likewise.
25576         [POSIX || XPG3] (SIGXFSZ): Likewise.
25577         [POSIX] (SA_SIGINFO): Expect.
25578         [XPG3] (siginfo_t): Do not expect type or contents.
25579         [POSIX] (si_pid): Do not expect element.
25580         [POSIX] (si_uid): Likewise.
25581         [POSIX] (si_addr): Likewise.
25582         [POSIX] (si_status): Likewise.
25583         [POSIX] (si_band): Likewise.
25584         [XPG4] (si_value): Likewise.
25585         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25586         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25587         [POSIX || XPG3] (ILL_ILLADR): Likewise.
25588         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25589         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25590         [POSIX || XPG3] (ILL_PRVREG): Likewise.
25591         [POSIX || XPG3] (ILL_COPROC): Likewise.
25592         [POSIX || XPG3] (ILL_BADSTK): Likewise.
25593         [POSIX || XPG3] (FPE_INTDIV): Likewise.
25594         [POSIX || XPG3] (FPE_INTOVF): Likewise.
25595         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25596         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25597         [POSIX || XPG3] (FPE_FLTUND): Likewise.
25598         [POSIX || XPG3] (FPE_FLTRES): Likewise.
25599         [POSIX || XPG3] (FPE_FLTINV): Likewise.
25600         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25601         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25602         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25603         [POSIX || XPG3] (BUS_ADRALN): Likewise.
25604         [POSIX || XPG3] (BUS_ADRERR): Likewise.
25605         [POSIX || XPG3] (BUS_OBJERR): Likewise.
25606         [POSIX || XPG3] (CLD_EXITED): Likewise.
25607         [POSIX || XPG3] (CLD_KILLED): Likewise.
25608         [POSIX || XPG3] (CLD_DUMPED): Likewise.
25609         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25610         [POSIX || XPG3] (CLD_STOPPED): Likewise.
25611         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25612         [POSIX || XPG3] (POLL_IN): Likewise.
25613         [POSIX || XPG3] (POLL_OUT): Likewise.
25614         [POSIX || XPG3] (POLL_MSG): Likewise.
25615         [POSIX || XPG3] (POLL_ERR): Likewise.
25616         [POSIX || XPG3] (POLL_PRI): Likewise.
25617         [POSIX || XPG3] (POLL_HUP): Likewise.
25618         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25619         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25620         (SIG*): Do not allow.
25621         [XPG3] (si_*): Likewise.
25622         [XPG3] (SI_*): Likewise.
25623         [XPG3 || XPG4] (sigev_*): Likewise.
25624         [XPG3 || XPG4] (SIGEV_*): Likewise.
25625         [XPG3 || XPG4] (sival_*): Likewise.
25626         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25627         [POSIX || XPG3] (BUS_*): Likewise.
25628         [POSIX || XPG3] (CLD_*): Likewise.
25629         [POSIX || XPG3] (FPE_*): Likewise.
25630         [POSIX || XPG3] (ILL_*): Likewise.
25631         [POSIX || XPG3] (POLL_*): Likewise.
25632         [POSIX || XPG3] (SEGV_*): Likewise.
25633         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25634         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25635         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25636         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25637         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25638         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25639         Specify type and value.
25640         (TVERSLEN): Likewise.
25641         (REGTYPE): Likewise.
25642         (AREGTYPE): Likewise.
25643         (LNKTYPE): Likewise.
25644         (SYMTYPE): Likewise.
25645         (CHRTYPE): Likewise.
25646         (BLKTYPE): Likewise.
25647         (DIRTYPE): Likewise.
25648         (FIFOTYPE): Likewise.
25649         (CONTTYPE): Likewise.
25650         (TSUID): Likewise.
25651         (TSGID): Likewise.
25652         (TSVTX): Likewise.
25653         (TUREAD): Likewise.
25654         (TUWRITE): Likewise.
25655         (TUEXEC): Likewise.
25656         (TGREAD): Likewise.
25657         (TGWRITE): Likewise.
25658         (TGEXEC): Likewise.
25659         (TOREAD): Likewise.
25660         (TOWRITE): Likewise.
25661         (TOEXEC): Likewise.
25662         [POSIX] (TSVTX): Expect constant.
25664 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
25666         * Makefile (tests): Change dependencies to ....
25667         (tests-special): ... additions to this variable.
25668         (tests): Depend on $(tests-special).
25669         * Makerules (check-abi-list): New variable.
25670         (check-abi): Depend on $(check-abi-list).
25671         [$(subdir) = elf] (tests-special): Add
25672         $(objpfx)check-abi-libc.out.
25673         [$(build-shared) = yes && subdir] (tests-special): Add
25674         $(check-abi-list).
25675         [$(build-shared) = yes && subdir] (tests): Do not depend on
25676         check-abi.
25677         * Rules (tests): Depend on $(tests-special).
25678         (xtests): Depend on $(xtests-special).
25679         * catgets/Makefile (tests): Change dependencies to ....
25680         (tests-special): ... additions to this variable.
25681         * conform/Makefile (tests): Change dependencies to ....
25682         (tests-special): ... additions to this variable.
25683         * elf/Makefile (tests): Change dependencies to ....
25684         (tests-special): ... additions to this variable.
25685         * grp/Makefile (tests): Change dependencies to ....
25686         (tests-special): ... additions to this variable.
25687         * iconv/Makefile (xtests): Change dependencies to ....
25688         (xtests-special): ... additions to this variable.
25689         * iconvdata/Makefile (tests): Change dependencies to ....
25690         (tests-special): ... additions to this variable.
25691         * intl/Makefile (tests): Change dependencies to ....
25692         (tests-special): ... additions to this variable.  Also add
25693         $(objpfx)tst-gettext.out.
25694         * io/Makefile (tests): Change dependencies to ....
25695         (tests-special): ... additions to this variable.
25696         * libio/Makefile (tests): Change dependencies to ....
25697         (tests-special): ... additions to this variable.
25698         * malloc/Makefile (tests): Change dependencies to ....
25699         (tests-special): ... additions to this variable.
25700         * misc/Makefile (tests): Change dependencies to ....
25701         (tests-special): ... additions to this variable.
25702         * nptl/Makefile (tests): Change dependencies to ....
25703         (tests-special): ... additions to this variable.
25704         * nptl_db/Makefile (tests): Change dependencies to ....
25705         (tests-special): ... additions to this variable.
25706         * posix/Makefile (tests): Change dependencies to ....
25707         (tests-special): ... additions to this variable.
25708         (xtests): Change dependencies to ....
25709         (xtests-special): ... additions to this variable.
25710         * resolv/Makefile (tests): Change dependencies to ....
25711         (tests-special): ... additions to this variable.
25712         (xtests): Change dependencies to ....
25713         (xtests-special): ... additions to this variable.
25714         * stdio-common/Makefile (tests): Change dependencies to ....
25715         (tests-special): ... additions to this variable.
25716         (do-tst-unbputc): Remove target.
25717         (do-tst-printf): Likewise.
25718         * stdlib/Makefile (tests): Change dependencies to ....
25719         (tests-special): ... additions to this variable.
25720         * string/Makefile (tests): Change dependencies to ....
25721         (tests-special): ... additions to this variable.
25722         * sysdeps/x86/Makefile (tests): Change dependencies to ....
25723         (tests-special): ... additions to this variable.
25725         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25726         whole file.
25727         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25728         whole file.
25729         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25730         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25732         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25733         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25734         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25735         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25736         * conform/data/libgen.h-data [XPG3]: Likewise.
25737         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25738         * conform/data/ndbm.h-data [XPG3]: Likewise.
25739         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25740         * conform/data/netdb.h-data [XPG3]: Likewise.
25741         * conform/data/netinet/in.h-data [XPG3]: Likewise.
25742         * conform/data/poll.h-data [XPG3]: Likewise.
25743         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25744         * conform/data/strings.h-data [XPG3]: Likewise.
25745         * conform/data/stropts.h-data [XPG3]: Likewise.
25746         * conform/data/sys/mman.h-data [XPG3]: Likewise.
25747         * conform/data/sys/resource.h-data [XPG3]: Likewise.
25748         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25749         Likewise.
25750         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25751         * conform/data/sys/time.h-data [XPG3]: Likewise.
25752         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25753         * conform/data/sys/uio.h-data [XPG3]: Likewise.
25754         * conform/data/sys/un.h-data [XPG3]: Likewise.
25755         * conform/data/syslog.h-data [XPG3]: Likewise.
25756         * conform/data/ucontext.h-data [XPG3]: Likewise.
25757         * conform/data/utmpx.h-data [XPG3]: Likewise.
25758         * conform/data/varargs.h-data [UNIX98]: Enable file.
25760         * manual/Makefile (INSTALL_INFO): Remove variable setting.
25762         * math/libm-test.inc (struct test_f_f_data): Move expected results
25763         into structure for each rounding mode.
25764         (struct test_ff_f_data): Likewise.
25765         (struct test_ff_f_data_nexttoward): Likewise.
25766         (struct test_fi_f_data): Likewise.
25767         (struct test_fl_f_data): Likewise.
25768         (struct test_if_f_data): Likewise.
25769         (struct test_fff_f_data): Likewise.
25770         (struct test_c_f_data): Likewise.
25771         (struct test_f_f1_data): Likewise.
25772         (struct test_fF_f1_data): Likewise.
25773         (struct test_ffI_f1_data): Likewise.
25774         (struct test_c_c_data): Likewise.
25775         (struct test_cc_c_data): Likewise.
25776         (struct test_f_i_data): Likewise.
25777         (struct test_ff_i_data): Likewise.
25778         (struct test_f_l_data): Likewise.
25779         (struct test_f_L_data): Likewise.
25780         (struct test_fFF_11_data): Likewise.
25781         (RM_): New macro.
25782         (RM_FE_DOWNWARD): Likewise.
25783         (RM_FE_TONEAREST): Likewise.
25784         (RM_FE_TOWARDZERO): Likewise.
25785         (RM_FE_UPWARD): Likewise.
25786         (RUN_TEST_LOOP_f_f): Update references to expected results.
25787         (RUN_TEST_LOOP_2_f): Likewise.
25788         (RUN_TEST_LOOP_fff_f): Likewise.
25789         (RUN_TEST_LOOP_c_f): Likewise.
25790         (RUN_TEST_LOOP_f_f1): Likewise.
25791         (RUN_TEST_LOOP_fF_f1): Likewise.
25792         (RUN_TEST_LOOP_fI_f1): Likewise.
25793         (RUN_TEST_LOOP_ffI_f1): Likewise.
25794         (RUN_TEST_LOOP_c_c): Likewise.
25795         (RUN_TEST_LOOP_cc_c): Likewise.
25796         (RUN_TEST_LOOP_f_i): Likewise.
25797         (RUN_TEST_LOOP_f_i_tg): Likewise.
25798         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25799         (RUN_TEST_LOOP_f_b): Likewise.
25800         (RUN_TEST_LOOP_f_b_tg): Likewise.
25801         (RUN_TEST_LOOP_f_l): Likewise.
25802         (RUN_TEST_LOOP_f_L): Likewise.
25803         (RUN_TEST_LOOP_fFF_11): Likewise.
25804         * math/gen-libm-test.pl (parse_args): Output four copies of
25805         expected results for each test.
25807         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25808         (__ASSUME_UTIMES): Remove.
25809         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25810         (__ASSUME_UTIMES): Likewise.
25812         * math/gen-auto-libm-tests.c: Update comment on output format.
25813         (output_for_one_input_case): Generate before-rounding and
25814         after-rounding information as conditions on output flags not
25815         floating-point format.
25816         * math/auto-libm-test-out: Regenerated.
25817         * math/gen-libm-test.pl (cond_value): New function.
25818         (or_cond_value): Use cond_value.
25819         (generate_testfile): Handle conditional exceptions.
25821 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
25823         * math/libm-test.inc (max_valid_error): New variable.
25824         (init_max_error): Take new argument specifying whether function
25825         results are exactly determined.  Set max_valid_error and bound
25826         other variables for errors based on this argument.
25827         (set_max_error): Do not record results above max_valid_error.
25828         (check_float_internal): Only accept errors of up to 0.5ulps if
25829         also at most max_valid_error.
25830         (START): Take new argument EXACT and pass it to init_max_error.
25831         (acos_test): Update call to START.
25832         (acos_test_tonearest): Likewise.
25833         (acos_test_towardzero): Likewise.
25834         (acos_test_downward): Likewise.
25835         (acos_test_upward): Likewise.
25836         (acosh_test): Likewise.
25837         (asin_test): Likewise.
25838         (asin_test_tonearest): Likewise.
25839         (asin_test_towardzero): Likewise.
25840         (asin_test_downward): Likewise.
25841         (asin_test_upward): Likewise.
25842         (asinh_test): Likewise.
25843         (atan_test): Likewise.
25844         (atanh_test): Likewise.
25845         (atan2_test): Likewise.
25846         (cabs_test): Likewise.
25847         (cacos_test): Likewise.
25848         (cacosh_test): Likewise.
25849         (carg_test): Likewise.
25850         (casin_test): Likewise.
25851         (casinh_test): Likewise.
25852         (catan_test): Likewise.
25853         (catanh_test): Likewise.
25854         (cbrt_test): Likewise.
25855         (ccos_test): Likewise.
25856         (ccosh_test): Likewise.
25857         (ceil_test): Likewise.
25858         (cexp_test): Likewise.
25859         (cimag_test): Likewise.
25860         (clog_test): Likewise.
25861         (clog10_test): Likewise.
25862         (conj_test): Likewise.
25863         (copysign_test): Likewise.
25864         (cos_test): Likewise.
25865         (cos_test_tonearest): Likewise.
25866         (cos_test_towardzero): Likewise.
25867         (cos_test_downward): Likewise.
25868         (cos_test_upward): Likewise.
25869         (cosh_test): Likewise.
25870         (cosh_test_tonearest): Likewise.
25871         (cosh_test_towardzero): Likewise.
25872         (cosh_test_downward): Likewise.
25873         (cosh_test_upward): Likewise.
25874         (cpow_test): Likewise.
25875         (cproj_test): Likewise.
25876         (creal_test): Likewise.
25877         (csin_test): Likewise.
25878         (csinh_test): Likewise.
25879         (csqrt_test): Likewise.
25880         (ctan_test): Likewise.
25881         (ctan_test_tonearest): Likewise.
25882         (ctan_test_towardzero): Likewise.
25883         (ctan_test_downward): Likewise.
25884         (ctan_test_upward): Likewise.
25885         (ctanh_test): Likewise.
25886         (ctanh_test_tonearest): Likewise.
25887         (ctanh_test_towardzero): Likewise.
25888         (ctanh_test_downward): Likewise.
25889         (ctanh_test_upward): Likewise.
25890         (erf_test): Likewise.
25891         (erfc_test): Likewise.
25892         (exp_test): Likewise.
25893         (exp_test_tonearest): Likewise.
25894         (exp_test_towardzero): Likewise.
25895         (exp_test_downward): Likewise.
25896         (exp_test_upward): Likewise.
25897         (exp10_test): Likewise.
25898         (exp10_test_tonearest): Likewise.
25899         (exp10_test_towardzero): Likewise.
25900         (exp10_test_downward): Likewise.
25901         (exp10_test_upward): Likewise.
25902         (pow10_test): Likewise.
25903         (exp2_test): Likewise.
25904         (expm1_test): Likewise.
25905         (expm1_test_tonearest): Likewise.
25906         (expm1_test_towardzero): Likewise.
25907         (expm1_test_downward): Likewise.
25908         (expm1_test_upward): Likewise.
25909         (fabs_test): Likewise.
25910         (fdim_test): Likewise.
25911         (floor_test): Likewise.
25912         (fma_test): Likewise.
25913         (fma_test_towardzero): Likewise.
25914         (fma_test_downward): Likewise.
25915         (fma_test_upward): Likewise.
25916         (fmax_test): Likewise.
25917         (fmin_test): Likewise.
25918         (fmod_test): Likewise.
25919         (fpclassify_test): Likewise.
25920         (frexp_test): Likewise.
25921         (hypot_test): Likewise.
25922         (ilogb_test): Likewise.
25923         (isfinite_test): Likewise.
25924         (finite_test): Likewise.
25925         (isgreater_test): Likewise.
25926         (isgreaterequal_test): Likewise.
25927         (isinf_test): Likewise.
25928         (isless_test): Likewise.
25929         (islessequal_test): Likewise.
25930         (islessgreater_test): Likewise.
25931         (isnan_test): Likewise.
25932         (isnormal_test): Likewise.
25933         (issignaling_test): Likewise.
25934         (isunordered_test): Likewise.
25935         (j0_test): Likewise.
25936         (j1_test): Likewise.
25937         (jn_test): Likewise.
25938         (ldexp_test): Likewise.
25939         (lgamma_test): Likewise.
25940         (gamma_test): Likewise.
25941         (lrint_test): Likewise.
25942         (lrint_test_tonearest): Likewise.
25943         (lrint_test_towardzero): Likewise.
25944         (lrint_test_downward): Likewise.
25945         (lrint_test_upward): Likewise.
25946         (llrint_test): Likewise.
25947         (llrint_test_tonearest): Likewise.
25948         (llrint_test_towardzero): Likewise.
25949         (llrint_test_downward): Likewise.
25950         (llrint_test_upward): Likewise.
25951         (log_test): Likewise.
25952         (log10_test): Likewise.
25953         (log1p_test): Likewise.
25954         (log2_test): Likewise.
25955         (logb_test): Likewise.
25956         (logb_test_downward): Likewise.
25957         (lround_test): Likewise.
25958         (llround_test): Likewise.
25959         (modf_test): Likewise.
25960         (nearbyint_test): Likewise.
25961         (nextafter_test): Likewise.
25962         (nexttoward_test): Likewise.
25963         (pow_test): Likewise.
25964         (pow_test_tonearest): Likewise.
25965         (pow_test_towardzero): Likewise.
25966         (pow_test_downward): Likewise.
25967         (pow_test_upward): Likewise.
25968         (remainder_test): Likewise.
25969         (drem_test): Likewise.
25970         (remainder_test_tonearest): Likewise.
25971         (drem_test_tonearest): Likewise.
25972         (remainder_test_towardzero): Likewise.
25973         (drem_test_towardzero): Likewise.
25974         (remainder_test_downward): Likewise.
25975         (drem_test_downward): Likewise.
25976         (remainder_test_upward): Likewise.
25977         (drem_test_upward): Likewise.
25978         (remquo_test): Likewise.
25979         (rint_test): Likewise.
25980         (rint_test_tonearest): Likewise.
25981         (rint_test_towardzero): Likewise.
25982         (rint_test_downward): Likewise.
25983         (rint_test_upward): Likewise.
25984         (round_test): Likewise.
25985         (scalb_test): Likewise.
25986         (scalbn_test): Likewise.
25987         (scalbln_test): Likewise.
25988         (signbit_test): Likewise.
25989         (sin_test): Likewise.
25990         (sin_test_tonearest): Likewise.
25991         (sin_test_towardzero): Likewise.
25992         (sin_test_downward): Likewise.
25993         (sin_test_upward): Likewise.
25994         (sincos_test): Likewise.
25995         (sinh_test): Likewise.
25996         (sinh_test_tonearest): Likewise.
25997         (sinh_test_towardzero): Likewise.
25998         (sinh_test_downward): Likewise.
25999         (sinh_test_upward): Likewise.
26000         (sqrt_test): Likewise.
26001         (sqrt_test_tonearest): Likewise.
26002         (sqrt_test_towardzero): Likewise.
26003         (sqrt_test_downward): Likewise.
26004         (sqrt_test_upward): Likewise.
26005         (tan_test): Likewise.
26006         (tan_test_tonearest): Likewise.
26007         (tan_test_towardzero): Likewise.
26008         (tan_test_downward): Likewise.
26009         (tan_test_upward): Likewise.
26010         (tanh_test): Likewise.
26011         (tgamma_test): Likewise.
26012         (trunc_test): Likewise.
26013         (y0_test): Likewise.
26014         (y1_test): Likewise.
26015         (yn_test): Likewise.
26016         (significand_test): Likewise.
26018         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
26019         individual tests in comment.
26020         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
26021         (prev_max_error): New variable.
26022         (prev_real_max_error): Likewise.
26023         (prev_imag_max_error): Likewise.
26024         (compare_ulp_data): Don't refer to test names in comment.
26025         (find_test_ulps): Remove function.
26026         (find_function_ulps): Likewise.
26027         (find_complex_function_ulps): Likewise.
26028         (init_max_error): Take function name as argument.  Look up ulps
26029         for that function.
26030         (print_ulps): Remove function.
26031         (print_max_error): Use prev_max_error instead of calling
26032         find_function_ulps.
26033         (print_complex_max_error): Use prev_real_max_error and
26034         prev_imag_max_error instead of calling find_complex_function_ulps.
26035         (check_float_internal): Take max_ulp parameter instead of calling
26036         find_test_ulps.  Don't call print_ulps.
26037         (check_float): Update call to check_float_internal.
26038         (check_complex): Update calls to check_float_internal.
26039         (START): Pass argument to init_max_error.
26040         * math/gen-libm-test.pl (%results): Don't include "kind"
26041         information.
26042         (parse_ulps): Don't handle ulps of individual tests.
26043         (print_ulps_file): Likewise.
26044         (output_ulps): Likewise.
26045         * math/README.libm-test: Update.
26046         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26047         individual tests.
26048         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26049         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26050         * sysdeps/arm/libm-test-ulps: Likewise.
26051         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26052         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26053         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26054         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26055         * sysdeps/microblaze/libm-test-ulps: Likewise.
26056         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26057         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26058         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26059         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26060         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26061         * sysdeps/sh/libm-test-ulps: Likewise.
26062         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26063         * sysdeps/tile/libm-test-ulps: Likewise.
26064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26066 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
26068         * math/libm-test.inc (print_complex_max_error): Check separately
26069         whether real and imaginary errors are within allowed range and
26070         pass 0 to print_complex_function_ulps instead of value within
26071         allowed range.
26073 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26075         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26076         formatting.
26077         (get_handles_fopen): Likewise.
26078         (do_write_test): Likewise.
26080         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26082         * libio/fileops.c (do_ftell): Use cached offset when
26083         available.
26084         * libio/iofwide.c (do_ftell_wide): Likewise.
26085         * libio/iofdopen.c (_IO_new_fdopen): Don't use
26086         _IO_file_attach.
26087         * libio/wfileops.c (_IO_fwide): Don't cache offset.
26089         [BZ #16532]
26090         * libio/libioP.h (get_file_offset): New function.
26091         * libio/fileops.c (get_file_offset): Likewise.
26092         (do_ftell): Likewise.
26093         (_IO_new_file_seekoff): Split out ftell logic.
26094         * libio/wfileops.c (do_ftell_wide): Likewise.
26095         (_IO_wfile_seekoff): Split out ftell logic.
26096         * libio/tst-ftell-active-handler.c: New test case.
26097         * libio/Makefile (tests): Add it.
26099 2014-03-03  Roland McGrath  <roland@hack.frob.com>
26101         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26102         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26104 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26106         [BZ #16639]
26107         * nscd/connections.c (nscd_init): Call do_exit.
26108         (start_threads): Call do_exit and notify_parent.
26109         (begin_drop_privileges): Call do_exit.
26110         (finish_drop_privileges): Likewise.
26111         * nscd/selinux.c (preserve_capabilities): Likewise.
26112         (install_real_capabilities): Likewise.
26113         (nscd_selinux_enabled): Likewise.
26114         (avc_create_thread): Likewise.
26115         (avc_alloc_lock): Likewise.
26116         (nscd_avc_init): Likewise.
26117         * nscd/nscd.c (parent_fd): New static variable.
26118         (main): Create a pipe between parent and child processes.
26119         Skip closing parent_fd.
26120         (monitor_child): New function.
26121         (do_exit): Likewise.
26122         (notify_parent): Likewise.
26123         * nscd/nscd.h (notify_parent): Likewise.
26124         (do_exit): Likewise.
26126 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
26128         * malloc/malloc.c (__libc_calloc): Revert last change.
26130 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26134 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26136         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26138         implementation.
26139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26140         (__libc_ifunc_impl_list): Likewise.
26141         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26142         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26143         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26144         * string/strrchr.c: Define STRRCHR.
26146 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
26148         * benchtest/bench-strtok.c (simple_strtok): Delete.
26149         (strtok_string): Use as benchmark.
26150         * string/strtok (STRTOK): New macro.
26152 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
26154         * manual/threads.texi: Add header and standard comments to all
26155         functions.
26157         * elf/dl-lookup.c (check_match): New function.
26158         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26159         (do_lookup_x): Remove nested function check_match. Use non-nested
26160         function check_match.
26162 2014-02-28  Roland McGrath  <roland@hack.frob.com>
26164         * csu/Makefile (generated, before-compile): Use += rather than =.
26165         * catgets/Makefile (generated, generated-dirs): Likewise.
26166         * debug/Makefile (generated): Likewise.
26167         * dlfcn/Makefile (generated): Likewise.
26168         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26169         * iconvdata/Makefile (before-compile, generated): Likewise.
26170         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26171         * libio/Makefile (generated): Likewise.
26172         * malloc/Makefile (generated): Likewise.
26173         * manual/Makefile (generated, generated-dirs): Likewise.
26174         * misc/Makefile (generated): Likewise.
26175         * posix/Makefile (generated): Likewise.
26176         * resolv/Makefile (generated): Likewise.
26177         * sunrpc/Makefile (generated, generated-dirs): Likewise.
26178         * timezone/Makefile (generated, generated-dirs): Likewise.
26180         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26182 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26185         power8 implementation.
26186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26187         file: POWER8 llround ifunc implementation.
26188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26189         (__lllround): Add POWER8 implementation.
26190         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26191         POWER8 llround implementation.
26193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26194         power8 implementation.
26195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26196         file: POWER8 llrint ifunc implementation.
26197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26198         Add POWER8 implementation.
26199         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26200         POWER8 llrint implementation.
26202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26203         power8 implementation.
26204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26205         file: POWER8 finite ifunc implementation.
26206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26207         Add POWER8 implementation.
26208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26209         Likewise.
26210         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26211         POWER8 finite implementation.
26212         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26215         power8 implementation.
26216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26217         file: POWER8 isinf ifunc implementation.
26218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26219         POWER8 implementation.
26220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26221         Likewise.
26222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26223         isinf implementation.
26224         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26226         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26227         (INIT_ARCH): Add hwcap2 initialization.
26228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26229         power8 implementation.
26230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26231         file: POWER8 isnan ifunc implementation.
26232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26233         POWER8 implementation.
26234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26235         Likewise.
26236         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26237         isnan implementation.
26238         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26240 2014-02-27  Joey Ye  <joey.ye@arm.com>
26242         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26243         (_FP_NANFRAC_Q): Set to zero.
26245 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26247         [BZ #16623]
26248         * math/auto-libm-test-in: New test inputs.
26249         * math/auto-libm-test-out: Regenerate.
26250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26251         and DA.
26252         (__cos): Likewise.
26253         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26255 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
26257         * scripts/evaluate-test.sh: Take new argument indicating whether
26258         failure is expected.
26259         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26260         indicating whether failure is expected.
26261         * conform/Makefile (test-xfail-run-conformtest): New variable.
26262         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26263         level.
26264         * posix/Makefile (test-xfail-annexc): New variable.
26265         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26267 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
26269         * argp/Makefile: Include Makeconfig immediately after defining
26270         subdir.
26271         * assert/Makefile: Likewise.
26272         * benchtests/Makefile: Likewise.
26273         * catgets/Makefile: Likewise.
26274         * conform/Makefile: Likewise.
26275         * crypt/Makefile: Likewise.
26276         * csu/Makefile: Likewise.
26277         (all): Remove target.
26278         * ctype/Makefile: Include Makeconfig immediately after defining
26279         subdir.
26280         * debug/Makefile: Likewise.
26281         * dirent/Makefile: Likewise.
26282         * dlfcn/Makefile: Likewise.
26283         * gmon/Makefile: Likewise.
26284         * gnulib/Makefile: Likewise.
26285         * grp/Makefile: Likewise.
26286         * gshadow/Makefile: Likewise.
26287         * hesiod/Makefile: Likewise.
26288         * hurd/Makefile: Likewise.
26289         (all): Remove target.
26290         * iconvdata/Makefile: Include Makeconfig immediately after
26291         defining subdir.
26292         * inet/Makefile: Likewise.
26293         * intl/Makefile: Likewise.
26294         * io/Makefile: Likewise.
26295         * libio/Makefile: Likewise.
26296         (all): Remove target.
26297         * locale/Makefile: Include Makeconfig immediately after defining
26298         subdir.
26299         * login/Makefile: Likewise.
26300         * mach/Makefile: Likewise.
26301         (all): Remove target.
26302         * malloc/Makefile: Include Makeconfig immediately after defining
26303         subdir.
26304         (all): Remove target.
26305         * manual/Makefile: Include Makeconfig immediately after defining
26306         subdir.
26307         * math/Makefile: Likewise.
26308         * misc/Makefile: Likewise.
26309         * nis/Makefile: Likewise.
26310         * nss/Makefile: Likewise.
26311         * po/Makefile: Likewise.
26312         (all): Remove target.
26313         * posix/Makefile: Include Makeconfig immediately after defining
26314         subdir.
26315         * pwd/Makefile: Likewise.
26316         * resolv/Makefile: Likewise.
26317         * resource/Makefile: Likewise.
26318         * rt/Makefile: Likewise.
26319         * setjmp/Makefile: Likewise.
26320         * shadow/Makefile: Likewise.
26321         * signal/Makefile: Likewise.
26322         * socket/Makefile: Likewise.
26323         * soft-fp/Makefile: Likewise.
26324         * stdio-common/Makefile: Likewise.
26325         * stdlib/Makefile: Likewise.
26326         * streams/Makefile: Likewise.
26327         * string/Makefile: Likewise.
26328         * sunrpc/Makefile: Likewise.
26329         (all): Remove target.
26330         * sysvipc/Makefile: Include Makeconfig immediately after defining
26331         subdir.
26332         * termios/Makefile: Likewise.
26333         * time/Makefile: Likewise.
26334         * timezone/Makefile: Likewise.
26335         (all): Remove target.
26336         * wcsmbs/Makefile: Include Makeconfig immediately after defining
26337         subdir.
26338         * wctype/Makefile: Likewise.
26340 2014-02-26  Steve Ellcey  <sellcey@mips.com>
26342         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26343         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26344         (libc_feholdexcept_setround_mips): Ditto.
26345         (libc_feholdsetround): New.
26346         (libc_feholdsetroundf): New.
26347         (libc_feholdsetroundl): New.
26348         (libc_feupdateenv_test_mips): New.
26349         (libc_feupdateenv_test): New.
26350         (libc_feupdateenv_testf): New.
26351         (libc_feupdateenv_testl): New.
26352         (libc_feresetround): New.
26353         (libc_feresetroundf): New.
26354         (libc_feresetroundl): New.
26355         (libc_fetestexcept_mips): New.
26356         (libc_fetestexcept): New.
26357         (libc_fetestexceptf): New.
26358         (libc_fetestexceptl): New.
26359         (HAVE_RM_CTX): New.
26360         (libc_feholdexcept_setround_mips_ctx): New.
26361         (libc_feholdexcept_setround_ctx): New.
26362         (libc_feholdexcept_setroundf_ctx): New.
26363         (libc_feholdexcept_setroundl_ctx): New.
26364         (libc_fesetenv_mips_ctx): New.
26365         (libc_fesetenv_ctx): New.
26366         (libc_fesetenv_ctxf): New.
26367         (libc_fesetenv_ctxl): New.
26368         (libc_feupdateenv_mips_ctx): New.
26369         (libc_feupdateenv_ctx): New.
26370         (libc_feupdateenvf_ctx): New.
26371         (libc_feupdateenvl_ctx): New.
26372         (libc_feholdsetround_mips_ctx): New.
26373         (libc_feholdsetround_ctx): New.
26374         (libc_feholdsetroundf_ctx): New.
26375         (libc_feholdsetroundl_ctx): New.
26376         (libc_feresetround_mips_ctx): New.
26377         (libc_feresetround_ctx): New.
26378         (libc_feresetroundf_ctx): New.
26379         (libc_feresetroundl_ctx): New.
26381 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
26383         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26385         * manual/ipc.texi: New file.
26386         * manual/Makefile (chapters): Add ipc.
26387         * manual/job.texi: Add "Inter-Process Communication" to next.
26388         * manual/process.texi: Add "Inter-Process Communication" to prev.
26390 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26394 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
26396         * malloc/malloc.c (__libc_calloc): Simplify implementation.
26398         * manual/arith.texi: Fix spaces after sentences.
26399         * manual/charset.texi: Likewise.
26400         * manual/errno.texi: Likewise.
26401         * manual/install.texi: Likewise.
26402         * manual/llio.texi: Likewise.
26403         * manual/locale.texi: Likewise.
26404         * manual/maint.texi: Likewise.
26405         * manual/math.texi: Likewise.
26406         * manual/memory.texi: Likewise.
26407         * manual/message.texi: Likewise.
26408         * manual/probes.texi: Likewise.
26409         * manual/resource.texi: Likewise.
26410         * manual/signal.texi: Likewise.
26411         * manual/socket.texi: Likewise.
26412         * manual/stdio.texi: Likewise.
26413         * manual/string.texi: Likewise.
26414         * manual/time.texi: Likewise.
26415         * manual/users.texi: Likewise.
26417 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
26419         [BZ #16632]
26420         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26421         _DEFAULT_SOURCE is defined.
26423 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
26424             Carlos O'Donell  <carlos@redhat.com>
26426         [BZ #16613]
26427         * elf/dl-tls.c (_dl_count_modids): New function.
26428         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26429         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26430         audit library and increment generation counter.
26431         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26432         * elf/tst-audit9.c: New file.
26433         * elf/tst-auditmod9a.c: New file.
26434         * elf/tst-auditmod9b.c: New file.
26435         * elf/Makefile: Add rules to build and run tst-audit9.
26437 2014-02-25  Florian Weimer  <fweimer@redhat.com>
26439         [BZ #15347]
26440         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26442 2014-02-25  Will Newton  <will.newton@linaro.org>
26444         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26445         (__longjmp): Restore sp and lr before restoring callee
26446         saved registers.  Add longjmp and longjmp_target
26447         SystemTap probe point.
26448         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26449         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26450         Define to zero to match jmpbuf layout.
26451         * sysdeps/arm/setjmp.S: Include stap-probe.h.
26452         (__sigsetjmp): Save sp and lr before saving callee
26453         saved registers.  Add setjmp SystemTap probe point.
26455 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26457         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26459 2014-02-24  Andreas Schwab  <schwab@suse.de>
26461         [BZ #15804]
26462         * elf/pldd.c (wait_for_ptrace_stop): New function.
26463         (main): Call it after attaching.
26465 2014-02-22  Roland McGrath  <roland@hack.frob.com>
26467         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26468         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26469         Versions files is now verboten.
26470         * hurd/Versions (libc: GLIBC_2.0):
26471         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26472         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26473         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26474         * mach/Versions: Likewise.
26476         * csu/Versions: Remove unused %include.
26477         * resolv/Versions: Likewise.
26479 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
26481         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26482         ($(objpfx)check-local-headers.out): Likewise.
26483         ($(objpfx)begin-end-check.out): Likewise.
26484         * Makerules (check-abi-%.out): Likewise.
26485         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26486         ($(objpfx)test2.cat): Likewise.
26487         ($(objpfx)de/libc.cat): Likewise.
26488         ($(objpfx)test-gencat.out): Likewise.
26489         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26490         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26491         ($(objpfx)noload-mem): Likewise.
26492         ($(objpfx)tst-pathopt.out): Likewise.
26493         ($(objpfx)tst-rtld-load-self.out): Likewise.
26494         ($(objpfx)tst-array1-cmp.out): Likewise.
26495         ($(objpfx)tst-array1-static-cmp.out): Likewise.
26496         ($(objpfx)tst-array2-cmp.out): Likewise.
26497         ($(objpfx)tst-array3-cmp.out): Likewise.
26498         ($(objpfx)tst-array4-cmp.out): Likewise.
26499         ($(objpfx)tst-array5-cmp.out): Likewise.
26500         ($(objpfx)tst-array5-static-cmp.out): Likewise.
26501         ($(objpfx)check-textrel.out): Likewise.
26502         ($(objpfx)check-execstack.out): Likewise.
26503         ($(objpfx)check-localplt.out): Likewise.
26504         ($(objpfx)order2-cmp.out): Likewise.
26505         ($(objpfx)tst-leaks1-mem): Likewise.
26506         ($(objpfx)tst-leaks1-static-mem): Likewise.
26507         ($(objpfx)tst-initorder-cmp.out): Likewise.
26508         ($(objpfx)tst-initorder2-cmp.out): Likewise.
26509         ($(objpfx)tst-unused-dep.out): Likewise.
26510         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26511         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26512         * iconv/Makefile (test-iconvconfig): Likewise.
26513         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26514         ($(objpfx)iconv-test.out): Likewise.
26515         ($(objpfx)tst-tables.out): Likewise.
26516         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26517         ($(objpfx)tst-gettext.out): Likewise.
26518         ($(objpfx)tst-translit.out): Likewise.
26519         ($(objpfx)tst-gettext2.out): Likewise.
26520         ($(objpfx)tst-gettext4.out): Likewise.
26521         ($(objpfx)tst-gettext6.out): Likewise.
26522         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26523         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26524         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26525         ($(objpfx)tst-fopenloc-mem.out): Likewise.
26526         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26527         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26528         * posix/Makefile ($(objpfx)globtest.out): Likewise.
26529         ($(objpfx)wordexp-tst.out): Likewise.
26530         ($(objpfx)annexc.out): Likewise.
26531         ($(objpfx)tst-fnmatch-mem): Likewise.
26532         ($(objpfx)bug-regex2-mem): Likewise.
26533         ($(objpfx)bug-regex14-mem): Likewise.
26534         ($(objpfx)bug-regex21-mem): Likewise.
26535         ($(objpfx)bug-regex31-mem): Likewise.
26536         ($(objpfx)tst-vfork3-mem): Likewise.
26537         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26538         ($(objpfx)tst-pcre-mem): Likewise.
26539         ($(objpfx)tst-boost-mem): Likewise.
26540         ($(objpfx)tst-getconf.out): Likewise.
26541         ($(objpfx)bug-ga2-mem): Likewise.
26542         ($(objpfx)bug-glob2-mem): Likewise.
26543         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26544         ($(objpfx)mtrace-tst-leaks2): Likewise.
26545         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26546         ($(objpfx)tst-printf.out): Likewise.
26547         ($(objpfx)tst-setvbuf1.out): Likewise.
26548         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26549         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26550         ($(objpfx)tst-fmtmsg.out): Likewise.
26551         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26552         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26554         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26555         * bits/sigaction.h [__USE_MISC]: Likewise.
26556         * bits/waitstatus.h: Update #endif comments.
26557         * ctype/ctype.h: Likewise.
26558         * dirent/dirent.h: Likewise.
26559         [__USE_MISC]: Remove redundant conditionals.
26560         * grp/grp.h: Update #endif comments.
26561         [__USE_GNU]: Remove redundant conditionals.
26562         [__USE_MISC]: Likewise.
26563         * inet/netinet/in.h [__USE_GNU]: Likewise.
26564         * io/sys/stat.h [__USE_MISC]: Likewise.
26565         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26566         * libio/bits/stdio.h: Update #endif comments.
26567         [__USE_MISC]: Remove redundant conditionals.
26568         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26569         * libio/stdio.h: Update #endif comments.
26570         [__USE_MISC]: Remove redundant conditionals.
26571         * math/bits/math-finite.h [__USE_MISC]: Likewise.
26572         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26573         * math/math.h: Update #else and #endif comments.
26574         [__USE_MISC]: Remove redundant conditionals.
26575         * misc/sys/uio.h: Update #endif comments.
26576         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26577         * posix/glob.h [__USE_MISC]: Likewise.
26578         * posix/sys/types.h: Update #endif comments.
26579         [__USE_MISC]: Remove redundant conditionals.
26580         * posix/sys/wait.h: Update #endif comments.
26581         [__USE_MISC]: Remove redundant conditionals.
26582         * posix/unistd.h: Update #endif comments.
26583         [__USE_MISC]: Remove redundant conditionals.
26584         * pwd/pwd.h [__USE_GNU]: Likewise.
26585         [__USE_MISC]: Likewise.
26586         * resolv/netdb.h [__USE_GNU]: Likewise.
26587         * signal/signal.h: Update #endif comments.
26588         [__USE_MISC]: Remove redundant conditionals.
26589         * stdlib/stdlib.h: Update #else and #endif comments.
26590         [__USE_MISC]: Remove redundant conditionals.
26591         [__USE_GNU]: Likewise.
26592         * string/bits/string2.h [__USE_MISC]: Likewise.
26593         * string/string.h: Update #endif comments.
26594         [__USE_MISC]: Remove redundant conditionals.
26595         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26596         Likewise.
26597         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26598         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26599         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26600         Likewise.
26601         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26602         Likewise.
26603         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26604         comments.
26605         [__USE_MISC]: Remove redundant conditionals.
26606         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26607         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26608         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26609         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26610         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26611         Likewise.
26612         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26613         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26614         Likewise.
26615         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26616         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26617         Likewise.
26618         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26619         Likewise.
26620         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26621         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26622         Likewise.
26623         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26624         Likewise.
26625         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26626         * sysdeps/x86/bits/string.h: Update #endif comments.
26627         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26628         conditionals.
26629         * time/sys/time.h: Update #endif comments.
26630         * time/time.h: Likewise.
26631         [__USE_MISC]: Remove redundant conditionals.
26633 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
26635         [BZ #16600]
26636         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26638 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
26640         * Versions.def (librt): Add GLIBC_2.17.
26642 2014-02-21  Adam Conrad  <adconrad@0c3.net>
26644         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26645         synonym for _SYS_AUXV_H to allow direct inclusion.
26646         * sysdeps/sparc/bits/hwcap.h: Likewise.
26647         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26648         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26649         * sysdeps/sparc/sysdep.h: Likewise.
26651 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26653         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26655 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26657         * benchtests/bench-strrchr.c: Print length instead of position.
26659 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
26661         [BZ #16611]
26662         * sysdeps/unix/sysv/linux/kernel-features.h
26663         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26664         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26665         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26666         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26667         Likewise.
26668         [__i386__ || __powerpc__ || __sh__ || __sparc__]
26669         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26670         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26671         (__ASSUME_SENDMMSG): Define instead of using previous
26672         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26673         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26674         (__ASSUME_SENDMMSG_SYSCALL): Define.
26675         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26676         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26677         Likewise.
26678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26679         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26680         Likewise.
26681         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26682         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26683         Likewise.
26684         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26685         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26686         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26687         [__ASSUME_SENDMMSG]: Change conditionals to
26688         [__ASSUME_SENDMMSG_SOCKETCALL].
26689         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26690         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26691         Define.
26692         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26693         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26694         Likewise.
26695         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26696         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26697         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26698         [!__ASSUME_SENDMMSG]: Change conditional to
26699         [!__ASSUME_SENDMMSG_SOCKETCALL].
26700         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26701         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26702         Define.
26704         [BZ #16610]
26705         * sysdeps/unix/sysv/linux/kernel-features.h
26706         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26707         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26708         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26709         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26710         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26711         [__i386__ || __sparc__]
26712         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26713         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26714         (__ASSUME_RECVMMSG): Define instead of using previous
26715         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26716         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26717         (__ASSUME_RECVMMSG_SYSCALL): Define.
26718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26719         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26720         Likewise.
26721         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26722         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26723         Likewise.
26724         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26725         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26726         Likewise.
26727         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26728         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26729         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26730         [__ASSUME_RECVMMSG]: Change condition to
26731         [__ASSUME_RECVMMSG_SOCKETCALL].
26732         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26733         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26734         Define.
26735         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26737         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26738         Likewise.
26739         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26740         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26741         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26742         [!__ASSUME_RECVMMSG]: Change condition to
26743         [!__ASSUME_RECVMMSG_SOCKETCALL].
26744         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26745         (__ASSUME_RECVMMSG_SYSCALL): Define.
26747         [BZ #16609]
26748         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26749         __powerpc__ || __s390__ || __sh__ || __sparc__]
26750         (__ASSUME_SOCKETCALL): Define.
26751         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26752         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26753         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26754         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26755         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26756         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26757         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26758         (__ASSUME_ACCEPT4): Define instead of using previous
26759         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26760         __powerpc__ || __sparc__ || __s390__)] condition.
26761         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26762         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26763         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26764         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26765         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26766         [!__ASSUME_ACCEPT4]: Change condition to
26767         [!__ASSUME_ACCEPT4_SOCKETCALL].
26768         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26769         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
26770         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26772         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26773         __ASSUME_ACCEPT4_SYSCALL.
26774         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26775         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26776         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26777         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26778         __ASSUME_ACCEPT4_SYSCALL.
26779         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26780         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26781         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26782         [__ASSUME_ACCEPT4]: Change condition to
26783         [__ASSUME_ACCEPT4_SOCKETCALL].
26784         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26785         (__ASSUME_SOCKETCALL): Define.
26786         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26788         (__ASSUME_SOCKETCALL): Define.
26789         (__ASSUME_ACCEPT4): Remove.
26790         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26791         Define.
26792         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26793         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26794         Likewise.
26795         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26796         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26798         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26799         macro.
26800         (HWCAP_ARM_LPAE): Likewise.
26801         (HWCAP_ARM_EVTSTRM): Likewise.
26802         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26803         Add vpfd32, lpae and evtstrm.
26804         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26805         Increase to 22.
26807 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
26809         * math/auto-libm-test-in: Add tests of clog10.
26810         * math/auto-libm-test-out: Regenerated.
26811         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26812         * sysdeps/i386/fpu/libm-test-ulps: Update.
26813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26815 2014-02-18  Andreas Schwab  <schwab@suse.de>
26817         [BZ #16574]
26818         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26819         Store non-zero if the second buffer was newly allocated.
26820         (send_dg): Likewise.
26821         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26822         to send_vc and send_dg.
26823         (res_nsend): Pass NULL for ansp2_malloced.
26824         * resolv/res_query.c (__libc_res_nquery): Add parameter
26825         answerp2_malloced and pass it down to __libc_res_nsend.
26826         (res_nquery): Pass additional NULL to __libc_res_nquery.
26827         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26828         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
26829         second answer buffer if answerp2_malloced was set.
26830         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26831         (__libc_res_nquerydomain): Add parameter
26832         answerp2_malloced and pass it down to __libc_res_nquery.
26833         (res_nquerydomain): Pass additional NULL to
26834         __libc_res_nquerydomain.
26835         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26836         additional NULL to __libc_res_nsend and __libc_res_nquery.
26837         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26838         additional NULL to __libc_res_nsearch.
26839         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
26840         parameter of __libc_res_nsearch to check for separately allocated
26841         second buffer.
26842         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26843         __libc_res_nquery.
26844         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26845         additional NULL to __libc_res_nquery.
26846         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26847         __libc_res_nsearch.
26848         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26849         * include/resolv.h: Update prototypes of __libc_res_nquery,
26850         __libc_res_nsearch, __libc_res_nsend.
26852 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
26854         * math/auto-libm-test-in: Add tests of fma.
26855         * math/auto-libm-test-out: Regenerated.
26856         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26857         (fma_towardzero_test_data): Likewise.
26858         (fma_downward_test_data): Likewise.
26859         (fma_upward_test_data): Likewise.
26860         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26861         mpc_mode.
26862         (rounding_modes): Add values for new field.
26863         (func_calc_method): Add value mpfr_fff_f.
26864         (func_calc_desc): Add mpfr_fff_f union field.
26865         (test_function): Add field exact_args.
26866         (FUNC): Add macro argument EXACT_ARGS.
26867         (FUNC_mpfr_f_f): Update call to FUNC.
26868         (FUNC_mpfr_f_f): Likewise.
26869         (FUNC_mpfr_ff_f): Likewise.
26870         (FUNC_mpfr_if_f): Likewise.
26871         (FUNC_mpc_c_f): Likewise.
26872         (FUNC_mpc_c_c): Likewise.
26873         (test_functions): Add fma.  Update calls to FUNC.
26874         (handle_input_arg): Add argument exact_args.
26875         (add_test): Update call to handle_input_arg.
26876         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
26877         (output_for_one_input_case): Update call to calc_generic_results.
26878         Recalculate exact zero results in each rounding mode.
26880         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26881         non-negative before setting low bit.
26882         * math/auto-libm-test-in: Mark one asin test possibly having
26883         spurious underflow.
26884         * math/auto-libm-test-out: Regenerated.
26885         * sysdeps/i386/fpu/libm-test-ulps: Update.
26886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26888 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
26890         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26891         * sysdeps/unix/sysv/linux/microblaze: Move directory from
26892         ports/sysdeps/unix/sysv/linux/microblaze.
26893         * README: Add missing listing for microblaze*-*-linux-gnu.
26895 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
26897         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26898         duplicate code
26900 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
26902         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26903         * sysdeps/unix/sysv/linux/ia64: Move directory from
26904         ports/sysdeps/unix/sysv/linux/ia64.
26905         * README: Update listing for ia64-*-linux-gnu.
26907 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
26908             Joseph Myers  <joseph@codesourcery.com>
26910         * Makeconfig (test-name): New variable.
26911         (evaluate-test): Likewise.
26912         * Makerules (do-test-clean): Remove .test-result files.
26913         (common-mostlyclean): Likewise.
26914         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26915         * scripts/evaluate-test.sh: New file.
26917 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
26919         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26920         separate $(objpfx)tst-fopenloc-cmp.out and
26921         $(objpfx)tst-fopenloc-mem.out targets.
26922         (tests): Update dependencies.
26923         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26924         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26925         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26926         (tst-rxspencer-no-utf8-ARGS): New variable.
26927         (tst-rxspencer-no-utf8-ENV): Likewise.
26928         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26929         instead of $(objpfx)tst-rxspencer-mem.
26930         ($(objpfx)tst-rxspencer-mem): Change target to
26931         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
26932         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26933         * posix/tst-rxspencer-no-utf8.c: New file.
26935         * elf/Makefile ($(objpfx)order.out): Remove rule.
26936         [$(run-built-tests) = yes] (tests): Depend on
26937         $(objpfx)order-cmp.out.
26938         ($(objpfx)order-cmp.out): New rule.
26939         [$(run-built-tests) = yes] (tests): Depend on
26940         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26941         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26942         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26943         $(objpfx)tst-array5-static-cmp.out.
26944         ($(objpfx)tst-array1.out): Remove rule.
26945         ($(objpfx)tst-array1-cmp.out): New rule.
26946         ($(objpfx)tst-array1-static.out): Remove rule.
26947         ($(objpfx)tst-array1-static-cmp.out): New rule.
26948         ($(objpfx)tst-array2.out): Remove rule.
26949         ($(objpfx)tst-array2-cmp.out): New rule.
26950         ($(objpfx)tst-array3.out): Remove rule.
26951         ($(objpfx)tst-array3-cmp.out): New rule.
26952         ($(objpfx)tst-array4.out): Remove rule.
26953         ($(objpfx)tst-array4-cmp.out): New rule.
26954         ($(objpfx)tst-array5.out): Remove rule.
26955         ($(objpfx)tst-array5-cmp.out): New rule.
26956         ($(objpfx)tst-array5-static.out): Remove rule.
26957         ($(objpfx)tst-array5-static-cmp.out): New rule.
26958         [$(run-built-tests) = yes] (tests): Depend on
26959         $(objpfx)order2-cmp.out.
26960         ($(objpfx)order2.out): Remove rule.
26961         ($(objpfx)order2-cmp.out): New rule.
26962         ($(objpfx)tst-initorder.out): Remove rule.
26963         [$(run-built-tests) = yes] (tests): Depend on
26964         $(objpfx)tst-initorder-cmp.out.
26965         ($(objpfx)tst-initorder-cmp.out): New rule.
26966         ($(objpfx)tst-initorder2.out): Remove rule.
26967         [$(run-built-tests) = yes] (tests): Depend on
26968         $(objpfx)tst-initorder2-cmp.out.
26969         ($(objpfx)tst-initorder2-cmp.out): New rule.
26970         [$(run-built-tests) = yes] (tests): Depend on
26971         $(objpfx)tst-unused-dep-cmp.out.
26972         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26973         ($(objpfx)tst-unused-dep-cmp.out): New rule.
26974         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26975         on $(objpfx)tst-setvbuf1-cmp.out.
26976         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26977         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26978         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26979         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26980         ($(objpfx)tst-svc.out): Remove rule.
26981         ($(objpfx)tst-svc-cmp.out): New rule.
26983 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
26985         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26986         * ctype/ctype.h [__USE_MISC]: Likewise.
26987         * dirent/dirent.h [__USE_MISC]: Likewise.
26988         * grp/grp.h [__USE_MISC]: Likewise.
26989         * io/fcntl.h [__USE_MISC]: Likewise.
26990         * io/sys/stat.h [__USE_MISC]: Likewise.
26991         * libio/stdio.h [__USE_MISC]: Likewise.
26992         * posix/unistd.h [__USE_MISC]: Likewise.
26993         * pwd/pwd.h [__USE_MISC]: Likewise.
26994         * stdlib.h [__USE_MISC]: Likewise.
26995         * string/bits/string2.h [__USE_MISC]: Likewise.
26996         * string/string.h [__USE_MISC]: Likewise.
26997         * time/time.h [__USE_MISC]: Likewise.
26999 2014-02-13  Andreas Schwab  <schwab@suse.de>
27001         [BZ #16574]
27002         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
27003         second answer buffer if it was separately allocated.
27005 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
27007         * sysdeps/mips/math-tests.h: Include <features.h>.
27008         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27009         (ROUNDING_TESTS_long_double): Do not define.
27010         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27011         (EXCEPTION_TESTS_long_double): Likewise.
27012         * sysdeps/mips/mips64/libm-test-ulps: Update.
27014         * include/features.h (__USE_BSD): Remove macro definitions.
27015         (__USE_SVID): Likewise.
27016         (_BSD_SOURCE): Likewise.
27017         (_SVID_SOURCE): Likewise.
27018         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
27019         from definition of _DEFAULT_SOURCE.
27020         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
27021         [_DEFAULT_SOURCE].
27022         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
27023         * bits/mman.h [__USE_BSD]: Likewise.
27024         * bits/termios.h [__USE_BSD]: Likewise.
27025         * bits/waitstatus.h [__USE_BSD]: Likewise.
27026         * ctype/ctype.h [__USE_SVID]: Likewise.
27027         * dirent/dirent.h [__USE_BSD]: Likewise.
27028         * grp/grp.h [__USE_SVID]: Likewise.
27029         [__USE_BSD]: Likewise.
27030         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27031         * io/fcntl.h [__USE_BSD]: Likewise.
27032         * io/ftw.h [__USE_BSD]: Likewise.
27033         * io/sys/stat.h [__USE_BSD]: Likewise.
27034         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27035         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27036         * libio/stdio.h [__USE_SVID]: Likewise.
27037         [__USE_BSD]: Likewise.
27038         * math/math.h [__USE_SVID]: Likewise.
27039         [__USE_BSD]: Likewise.
27040         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27041         * misc/bits/syslog.h [__USE_BSD]: Likewise.
27042         * misc/search.h [__USE_SVID]: Likewise.
27043         * misc/sys/mman.h [__USE_BSD]: Likewise.
27044         * misc/sys/syslog.h [__USE_BSD]: Likewise.
27045         * misc/sys/uio.h [__USE_BSD]: Likewise.
27046         * posix/bits/unistd.h [__USE_BSD]: Likewise.
27047         * posix/glob.h [__USE_BSD]: Likewise.
27048         * posix/regex.h [__USE_BSD]: Likewise.
27049         * posix/sys/types.h [__USE_BSD]: Likewise.
27050         [__USE_SVID]: Likewise.
27051         * posix/sys/utsname.h [__USE_SVID]: Likewise.
27052         * posix/sys/wait.h [__USE_BSD]: Likewise.
27053         [__USE_SVID]: Likewise.
27054         * posix/unistd.h [__USE_BSD]: Likewise.
27055         [__USE_SVID]: Likewise.
27056         * pwd/pwd.h [__USE_SVID]: Likewise.
27057         * resolv/netdb.h [__USE_BSD]: Likewise.
27058         * setjmp/setjmp.h [__USE_BSD]: Likewise.
27059         * signal/signal.h [__USE_BSD]: Likewise.
27060         [__USE_SVID]: Likewise.
27061         * socket/sys/socket.h [__USE_BSD]: Likewise.
27062         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27063         * stdlib/stdlib.h [__USE_BSD]: Likewise.
27064         [__USE_SVID]: Likewise.
27065         * string/bits/string2.h [__USE_BSD]: Likewise.
27066         [__USE_SVID]: Likewise.
27067         * string/bits/string3.h [__USE_BSD]: Likewise.
27068         * string/endian.h [__USE_BSD]: Likewise.
27069         * string/string.h [__USE_SVID]: Likewise.
27070         [__USE_BSD]: Likewise.
27071         * string/strings.h [__USE_BSD]: Likewise.
27072         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27073         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27074         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27075         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27076         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27077         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27078         Likewise.
27079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27080         Likewise.
27081         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27082         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27083         Likewise.
27084         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27085         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27086         Likewise.
27087         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27088         Likewise.
27089         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27090         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27091         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27092         Likewise.
27093         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27094         Likewise.
27095         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27096         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27097         * termios/termios.h [__USE_BSD]: Likewise.
27098         * time/sys/time.h [__USE_BSD]: Likewise.
27099         * time/time.h [__USE_BSD]: Likewise.
27100         [__USE_SVID]: Likewise.
27102         * Makefile (subdir_targets): Remove subdir_lint.out.
27104         * stdio-common/Makefile (do-tst-unbputc): Remove target.
27105         (do-tst-printf): Likewise.
27106         (tests): Depend directly on $(objpfx)tst-unbputc.out and
27107         $(objpfx)tst-printf.out.
27109         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27111         * Makerules (check-abi-%): Change target to
27112         $(objpfx)check-abi-%.out.
27113         (check-abi target): Update dependencies.
27114         (check-abi-pattern variable): Redirect output of diff to $@.
27115         (check-abi variable): Likewise.
27116         * elf/Makefile (check-abi): Update dependencies.
27118         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27119         unused.
27120         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27121         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27122         subnormal range.
27123         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27124         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27125         value has largest subnormal exponent.
27126         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27127         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27128         * sysdeps/aarch64/soft-fp/sfp-machine.h
27129         (_FP_TININESS_AFTER_ROUNDING): New macro.
27130         * sysdeps/alpha/soft-fp/sfp-machine.h
27131         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27132         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27133         Likewise.
27134         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27135         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27136         * sysdeps/mips/soft-fp/sfp-machine.h
27137         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27138         * sysdeps/powerpc/soft-fp/sfp-machine.h
27139         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27140         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27141         Likewise.
27142         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27143         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27144         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27145         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27146         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27147         Likewise.
27149 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
27151         [BZ #16545]
27152         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27153         model 1.
27155 2014-02-12  Richard Henderson  <rth@redhat.com>
27157         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27158         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27159         * sysdeps/unix/sysv/linux/alpha: Move directory from
27160         ports/sysdeps/unix/sysv/linux/alpha.
27161         * README: Update listing for alpha-*-linux-gnu.
27163 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
27165         * include/features.h: Update comment documenting feature test
27166         macros.
27167         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
27168         _DEFAULT_SOURCE.
27169         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27170         (_SVID_SOURCE): Likewise.
27171         (_DEFAULT_SOURCE): Update description of default features.
27172         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27173         with _GNU_SOURCE.
27174         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27175         (S_ISVTX): Likewise.
27176         * manual/math.texi (Mathematical Constants): Likewise.
27177         * manual/signal.texi (Interrupted Primitives): Likewise.
27178         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27179         * math/test-matherr.c (_SVID_SOURCE): Do not define.
27180         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27181         Don't refer to _SVID_SOURCE in warning text.
27183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27185         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27186         already defined.
27187         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27188         * sysdeps/mips/dl-lookup.c: Remove.
27189         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27191 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27193         [BZ #16447]
27194         * math/auto-libm-test-in: Add testcase for expl.
27195         * math/auto-libm-test-out: Regenerate.
27196         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27197         calculation of unsafe.
27198         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27200 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27202         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27203         * sysdeps/unix/sysv/linux/aarch64: Move directory from
27204         ports/sysdeps/unix/sysv/linux/aarch64.
27205         * README: Update listing for aarch64*-*-linux-gnu.
27207 2014-02-11  Will Newton  <will.newton@linaro.org>
27209         * manual/probes.texi (Mathematical Function Probes): Use
27210         "triggered" instead of "hit".
27212         * manual/probes.texi (Internal Probes): Add documentation
27213         of setjmp, longjmp and longjmp_target probes.
27215         * include/stap-probe.h: Add comment about probe argument
27216         format.
27218         * malloc/mtrace.c (attribute_hidden): Remove unused macro
27219         definition.  (tr_where, tr_freehook, tr_mallochook,
27220         tr_reallochook, tr_memalignhook): Use ANSI protoype.
27222 2014-02-11  David S. Miller  <davem@davemloft.net>
27224         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27225         processing int_tests.
27227 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
27229         * sysdeps/mips: Move directory from ports/sysdeps/mips.
27230         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27231         * sysdeps/unix/sysv/linux/mips: Move directory from
27232         ports/sysdeps/unix/sysv/linux/mips.
27233         * README: Update listing for mips-*-linux-gnu and
27234         mips64-*-linux-gnu.
27236 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
27238         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27239         * sysdeps/unix/sysv/linux/m68k: Move directory from
27240         ports/sysdeps/unix/sysv/linux/m68k.
27241         * README: Update listing for m68k-*-linux-gnu.
27243 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
27245         * sysdeps/tile: Move directory from ports/sysdeps/tile.
27246         * sysdeps/unix/sysv/linux/generic: Move directory from
27247         ports/sysdeps/unix/sysv/linux/generic.
27248         * sysdeps/unix/sysv/linux/tile: Move directory from
27249         ports/sysdeps/unix/sysv/linux/tile.
27250         * README: Update listing for tile*-*-linux-gnu.
27252 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
27254         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27255         __builtin_expect.
27256         * benchtests/bench-memmem.c (simple_memmem): Likewise.
27257         * catgets/open_catalog.c (__open_catalog): Likewise.
27258         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27259         * debug/confstr_chk.c: Likewise.
27260         * debug/fread_chk.c (__fread_chk): Likewise.
27261         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27262         * debug/getgroups_chk.c: Likewise.
27263         * debug/mbsnrtowcs_chk.c: Likewise.
27264         * debug/mbsrtowcs_chk.c: Likewise.
27265         * debug/mbstowcs_chk.c: Likewise.
27266         * debug/memcpy_chk.c: Likewise.
27267         * debug/memmove_chk.c: Likewise.
27268         * debug/mempcpy_chk.c: Likewise.
27269         * debug/memset_chk.c: Likewise.
27270         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27271         * debug/strcat_chk.c (__strcat_chk): Likewise.
27272         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27273         * debug/strncat_chk.c (__strncat_chk): Likewise.
27274         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27275         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27276         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27277         * debug/wcpncpy_chk.c: Likewise.
27278         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27279         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27280         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27281         * debug/wcsncpy_chk.c: Likewise.
27282         * debug/wcsnrtombs_chk.c: Likewise.
27283         * debug/wcsrtombs_chk.c: Likewise.
27284         * debug/wcstombs_chk.c: Likewise.
27285         * debug/wmemcpy_chk.c: Likewise.
27286         * debug/wmemmove_chk.c: Likewise.
27287         * debug/wmempcpy_chk.c: Likewise.
27288         * debug/wmemset_chk.c: Likewise.
27289         * dirent/scandirat.c (SCANDIRAT): Likewise.
27290         * dlfcn/dladdr1.c (dladdr1): Likewise.
27291         * dlfcn/dladdr.c (dladdr): Likewise.
27292         * dlfcn/dlclose.c (dlclose_doit): Likewise.
27293         * dlfcn/dlerror.c (__dlerror): Likewise.
27294         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27295         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27296         * dlfcn/dlopen.c (dlopen_doit): Likewise.
27297         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27298         * dlfcn/dlsym.c (dlsym_doit): Likewise.
27299         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27300         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27301         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27302         Likewise.
27303         * elf/dl-conflict.c: Likewise.
27304         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27305         * elf/dl-dst.h: Likewise.
27306         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27307         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27308         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27309         * elf/dl-init.c (call_init, _dl_init): Likewise.
27310         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27311         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27312         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27313         Likewise.
27314         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27315         Likewise.
27316         * elf/dl-minimal.c (__libc_memalign): Likewise.
27317         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27318         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27319         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27320         * elf/dl-sym.c (do_sym): Likewise.
27321         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27322         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27323         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27324         * elf/dl-writev.h (_dl_writev): Likewise.
27325         * elf/ldconfig.c (search_dir): Likewise.
27326         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27327         (dl_main): Likewise.
27328         * elf/setup-vdso.h (setup_vdso): Likewise.
27329         * grp/compat-initgroups.c (compat_call): Likewise.
27330         * grp/fgetgrent.c (fgetgrent): Likewise.
27331         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27332         * grp/putgrent.c (putgrent): Likewise.
27333         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27334         Likewise.
27335         * hurd/hurdinit.c: Likewise.
27336         * iconvdata/8bit-gap.c (struct): Likewise.
27337         * iconvdata/ansi_x3.110.c : Likewise.
27338         * iconvdata/big5.c : Likewise.
27339         * iconvdata/big5hkscs.c : Likewise.
27340         * iconvdata/cp1255.c: Likewise.
27341         * iconvdata/cp1258.c : Likewise.
27342         * iconvdata/cp932.c : Likewise.
27343         * iconvdata/euc-cn.c: Likewise.
27344         * iconvdata/euc-jisx0213.c : Likewise.
27345         * iconvdata/euc-jp.c: Likewise.
27346         * iconvdata/euc-jp-ms.c : Likewise.
27347         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27348         * iconvdata/gb18030.c : Likewise.
27349         * iconvdata/gbbig5.c (const): Likewise.
27350         * iconvdata/gbgbk.c: Likewise.
27351         * iconvdata/gbk.c : Likewise.
27352         * iconvdata/ibm1364.c : Likewise.
27353         * iconvdata/ibm930.c : Likewise.
27354         * iconvdata/ibm932.c: Likewise.
27355         * iconvdata/ibm933.c : Likewise.
27356         * iconvdata/ibm935.c : Likewise.
27357         * iconvdata/ibm937.c : Likewise.
27358         * iconvdata/ibm939.c : Likewise.
27359         * iconvdata/ibm943.c: Likewise.
27360         * iconvdata/iso_11548-1.c: Likewise.
27361         * iconvdata/iso-2022-cn.c : Likewise.
27362         * iconvdata/iso-2022-cn-ext.c : Likewise.
27363         * iconvdata/iso-2022-jp-3.c: Likewise.
27364         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27365         * iconvdata/iso-2022-kr.c : Likewise.
27366         * iconvdata/iso646.c (gconv_end): Likewise.
27367         * iconvdata/iso_6937-2.c : Likewise.
27368         * iconvdata/iso_6937.c : Likewise.
27369         * iconvdata/iso8859-1.c: Likewise.
27370         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27371         * iconvdata/shift_jisx0213.c : Likewise.
27372         * iconvdata/sjis.c : Likewise.
27373         * iconvdata/t.61.c : Likewise.
27374         * iconvdata/tcvn5712-1.c : Likewise.
27375         * iconvdata/tscii.c: Likewise.
27376         * iconvdata/uhc.c : Likewise.
27377         * iconvdata/unicode.c (gconv_end): Likewise.
27378         * iconvdata/utf-16.c (gconv_end): Likewise.
27379         * iconvdata/utf-32.c (gconv_end): Likewise.
27380         * iconvdata/utf-7.c (base64): Likewise.
27381         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27382         * iconv/gconv_close.c (__gconv_close): Likewise.
27383         * iconv/gconv_open.c (__gconv_open): Likewise.
27384         * iconv/gconv_simple.c (internal_ucs4_loop_single)
27385         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27386         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27387         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27388         (ucs4le_internal_loop_single): Likewise.
27389         * iconv/iconv.c (iconv): Likewise.
27390         * iconv/iconv_close.c: Likewise.
27391         * iconv/loop.c (SINGLE): Likewise.
27392         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27393         * include/atomic.h: Likewise.
27394         * inet/inet6_option.c (option_alloc): Likewise.
27395         * intl/bindtextdom.c (set_binding_values): Likewise.
27396         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27397         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27398         * intl/localealias.c (read_alias_file): Likewise.
27399         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27400         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27401         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27402         * libio/fmemopen.c (fmemopen): Likewise.
27403         * libio/iofgets.c (_IO_fgets): Likewise.
27404         * libio/iofgets_u.c (fgets_unlocked): Likewise.
27405         * libio/iofgetws.c (fgetws): Likewise.
27406         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27407         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27408         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27409         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27410         * locale/findlocale.c (_nl_find_locale): Likewise.
27411         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27412         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27413         Likewise.
27414         * locale/setlocale.c (setlocale): Likewise.
27415         * login/programs/pt_chown.c (main): Likewise.
27416         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27417         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27418         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27419         (mmap, mmap64, mremap, munmap): Likewise.
27420         * math/e_exp2l.c: Likewise.
27421         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27422         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27423         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27424         * math/s_catan.c (__catan): Likewise.
27425         * math/s_catanf.c (__catanf): Likewise.
27426         * math/s_catanh.c (__catanh): Likewise.
27427         * math/s_catanhf.c (__catanhf): Likewise.
27428         * math/s_catanhl.c (__catanhl): Likewise.
27429         * math/s_catanl.c (__catanl): Likewise.
27430         * math/s_ccosh.c (__ccosh): Likewise.
27431         * math/s_ccoshf.c (__ccoshf): Likewise.
27432         * math/s_ccoshl.c (__ccoshl): Likewise.
27433         * math/s_cexp.c (__cexp): Likewise.
27434         * math/s_cexpf.c (__cexpf): Likewise.
27435         * math/s_cexpl.c (__cexpl): Likewise.
27436         * math/s_clog10.c (__clog10): Likewise.
27437         * math/s_clog10f.c (__clog10f): Likewise.
27438         * math/s_clog10l.c (__clog10l): Likewise.
27439         * math/s_clog.c (__clog): Likewise.
27440         * math/s_clogf.c (__clogf): Likewise.
27441         * math/s_clogl.c (__clogl): Likewise.
27442         * math/s_csin.c (__csin): Likewise.
27443         * math/s_csinf.c (__csinf): Likewise.
27444         * math/s_csinh.c (__csinh): Likewise.
27445         * math/s_csinhf.c (__csinhf): Likewise.
27446         * math/s_csinhl.c (__csinhl): Likewise.
27447         * math/s_csinl.c (__csinl): Likewise.
27448         * math/s_csqrt.c (__csqrt): Likewise.
27449         * math/s_csqrtf.c (__csqrtf): Likewise.
27450         * math/s_csqrtl.c (__csqrtl): Likewise.
27451         * math/s_ctan.c (__ctan): Likewise.
27452         * math/s_ctanf.c (__ctanf): Likewise.
27453         * math/s_ctanh.c (__ctanh): Likewise.
27454         * math/s_ctanhf.c (__ctanhf): Likewise.
27455         * math/s_ctanhl.c (__ctanhl): Likewise.
27456         * math/s_ctanl.c (__ctanl): Likewise.
27457         * math/w_pow.c: Likewise.
27458         * math/w_powf.c: Likewise.
27459         * math/w_powl.c: Likewise.
27460         * math/w_scalb.c (sysv_scalb): Likewise.
27461         * math/w_scalbf.c (sysv_scalbf): Likewise.
27462         * math/w_scalbl.c (sysv_scalbl): Likewise.
27463         * misc/error.c (error_tail): Likewise.
27464         * misc/pselect.c (__pselect): Likewise.
27465         * nis/nis_callback.c (__nis_create_callback): Likewise.
27466         * nis/nis_call.c (__nisfind_server): Likewise.
27467         * nis/nis_creategroup.c (nis_creategroup): Likewise.
27468         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27469         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27470         * nis/nis_getservlist.c (nis_getservlist): Likewise.
27471         * nis/nis_lookup.c (nis_lookup): Likewise.
27472         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27473         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27474         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27475         * nis/nis_xdr.c (xdr_endpoint): Likewise.
27476         * nis/nss_compat/compat-grp.c (getgrent_next_file)
27477         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27478         * nis/nss_compat/compat-initgroups.c (add_group)
27479         (internal_getgrent_r): Likewise.
27480         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27481         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27482         * nis/nss_compat/compat-spwd.c (getspent_next_file)
27483         (internal_getspnam_r): Likewise.
27484         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27485         (_nss_nis_getaliasbyname_r): Likewise.
27486         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27487         (_nss_nis_getntohost_r): Likewise.
27488         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27489         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27490         (_nss_nis_getgrgid_r): Likewise.
27491         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27492         (internal_nis_gethostent_r, internal_gethostbyname2_r)
27493         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27494         (_nss_nis_gethostbyname4_r): Likewise.
27495         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27496         (initgroups_netid): Likewise.
27497         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27498         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27499         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27500         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27501         (_nss_nis_getprotobynumber_r): Likewise.
27502         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27503         (_nss_nis_getsecretkey): Likewise.
27504         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27505         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27506         (_nss_nis_getpwuid_r): Likewise.
27507         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27508         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27509         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27510         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27511         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27512         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27513         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27514         Likewise.
27515         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27516         (_nss_nisplus_getntohost_r): Likewise.
27517         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27518         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27519         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27520         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27521         Likewise.
27522         * nis/nss_nisplus/nisplus-initgroups.c
27523         (_nss_nisplus_initgroups_dyn): Likewise.
27524         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27525         (_nss_nisplus_getnetbyaddr_r): Likewise.
27526         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27527         (_nss_nisplus_getprotobynumber_r): Likewise.
27528         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27529         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27530         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27531         Likewise.
27532         * nis/nss_nisplus/nisplus-service.c
27533         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27534         (_nss_nisplus_getservbyport_r): Likewise.
27535         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27536         (_nss_nisplus_getspnam_r): Likewise.
27537         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27538         Likewise.
27539         * nscd/aicache.c (addhstaiX): Likewise.
27540         * nscd/cache.c (cache_search, prune_cache): Likewise.
27541         * nscd/connections.c (register_traced_file, send_ro_fd)
27542         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27543         (main_loop_epoll): Likewise.
27544         * nscd/grpcache.c (addgrbyX): Likewise.
27545         * nscd/hstcache.c (addhstbyX): Likewise.
27546         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27547         * nscd/mem.c (gc, mempool_alloc): Likewise.
27548         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27549         (addinnetgrX): Likewise.
27550         * nscd/nscd-client.h (__nscd_acquire_maplock)
27551         (__nscd_drop_map_ref): Likewise.
27552         * nscd/nscd_getai.c (__nscd_getai): Likewise.
27553         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27554         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27555         Likewise.
27556         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27557         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27558         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27559         (__nscd_get_map_ref): Likewise.
27560         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27561         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27562         Likewise.
27563         * nscd/pwdcache.c (addpwbyX): Likewise.
27564         * nscd/selinux.c (preserve_capabilities): Likewise.
27565         * nscd/servicescache.c (addservbyX): Likewise.
27566         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27567         * posix/fnmatch.c (fnmatch): Likewise.
27568         * posix/getopt.c (_getopt_internal_r): Likewise.
27569         * posix/glob.c (glob, glob_in_dir): Likewise.
27570         * posix/wordexp.c (exec_comm_child): Likewise.
27571         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27572         (getanswer_r, gaih_getanswer_slice): Likewise.
27573         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27574         * resolv/res_init.c: Likewise.
27575         * resolv/res_mkquery.c (res_nmkquery): Likewise.
27576         * resolv/res_query.c (__libc_res_nquery): Likewise.
27577         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27578         Likewise.
27579         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27580         * stdio-common/perror.c (perror): Likewise.
27581         * stdio-common/printf_fp.c (___printf_fp): Likewise.
27582         * stdio-common/tmpnam.c (tmpnam): Likewise.
27583         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27584         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27585         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27586         Likewise.
27587         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27588         * stdlib/putenv.c (putenv): Likewise.
27589         * stdlib/setenv.c (__add_to_environ): Likewise.
27590         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27591         * stdlib/strtol_l.c (INTERNAL): Likewise.
27592         * string/memmem.c (memmem): Likewise.
27593         * string/strerror.c (strerror): Likewise.
27594         * string/strnlen.c (__strnlen): Likewise.
27595         * string/test-memmem.c (simple_memmem): Likewise.
27596         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27597         * sunrpc/pm_getport.c (__get_socket): Likewise.
27598         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27599         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27600         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27601         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27602         Likewise.
27603         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27604         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27605         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27606         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27607         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27608         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27609         Likewise.
27610         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27611         Likewise.
27612         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27613         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27614         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27615         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27616         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27618         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27619         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27620         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27621         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27622         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27623         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27624         Likewise.
27625         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27626         Likewise.
27627         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27628         Likewise.
27629         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27630         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27631         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27632         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27633         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27634         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27635         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27636         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27637         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27638         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27639         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27640         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27641         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27642         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27643         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27644         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27645         Likewise.
27646         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27647         Likewise.
27648         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27649         Likewise.
27650         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27651         Likewise.
27652         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27653         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27654         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27655         Likewise.
27656         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27657         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27658         * sysdeps/posix/opendir.c (__opendirat): Likewise.
27659         * sysdeps/posix/sleep.c: Likewise.
27660         * sysdeps/posix/tempname.c: Likewise.
27661         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27662         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27663         Likewise.
27664         * sysdeps/powerpc/powerpc32/dl-machine.h
27665         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27666         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27668         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27669         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27670         Likewise.
27671         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27672         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27673         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27674         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27675         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27676         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27677         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27678         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27679         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27680         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27681         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27682         (elf_machine_lazy_rel): Likewise.
27683         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27684         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27685         (elf_machine_lazy_rel): Likewise.
27686         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27687         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27688         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27689         * sysdeps/unix/grantpt.c (grantpt): Likewise.
27690         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27691         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27692         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27693         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27694         Likewise.
27695         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27696         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27697         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27698         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27699         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27700         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27701         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27702         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27703         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27704         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27705         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27706         Likewise.
27707         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27708         (__posix_fallocate64_l64): Likewise.
27709         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27710         (posix_fallocate): Likewise.
27711         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27712         Likewise.
27713         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27714         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27715         (getifaddrs_internal): Likewise.
27716         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27717         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27718         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27719         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27720         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27721         (__posix_fallocate64_l64): Likewise.
27722         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27723         Likewise.
27724         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27725         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27726         (__get_clockfreq): Likewise.
27727         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27728         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27729         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27731         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27732         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27733         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27734         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27735         Likewise.
27736         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27737         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27738         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27739         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27740         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27741         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27742         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27743         Likewise.
27744         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27745         (posix_fallocate): Likewise.
27746         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27747         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27748         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27749         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27750         (elf_machine_rela, elf_machine_rela_relative)
27751         (elf_machine_lazy_rel): Likewise.
27752         * time/asctime.c (asctime_internal): Likewise.
27753         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27754         * time/tzset.c (__tzset_parse_tz): Likewise.
27755         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27756         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27757         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27758         * wcsmbs/wcsmbsload.h: Likewise.
27760         [BZ #15894]
27761         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27763         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27764         (arena_get2): Remove THREAD_STATS conditionals.
27765         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27766         (__malloc_stats, int): Likewise.
27768 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
27770         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27771         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
27773         * manual/setjmp.texi: Fix typos/grammar errors.
27775         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27776         Only return early when n is <= 0.  Delete unused return statement.
27778         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27779         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27780         * debug/tst-longjmp_chk3.c: New file.
27782         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27783         (test_main): Replace code with set_fortify_handler call.
27784         * debug/test-strcpy_chk.c: Likewise.
27785         * debug/tst-chk1.c: Likewise.
27786         * debug/tst-longjmp_chk.c: Likewise.
27787         * test-skeleton.c: Include fcntl.h & paths.h
27788         (set_fortify_handler): Define.
27790         * debug/tst-longjmp_chk.c: Add header comment and include
27791         ../test-skeleton.c.
27792         (do_test): Mark static.
27793         (TEST_FUNCTION): Define.
27795         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27796         (IP_PMTUDISC_INTERFACE): Likewise.
27797         (IP_MULTICAST_IF): Likewise.
27798         (IP_MULTICAST_TTL): Likewise.
27799         (IP_MULTICAST_LOOP): Likewise.
27800         (IP_ADD_MEMBERSHIP): Likewise.
27801         (IP_DROP_MEMBERSHIP): Likewise.
27802         (IP_UNBLOCK_SOURCE): Likewise.
27803         (IP_BLOCK_SOURCE): Likewise.
27804         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27805         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27806         (IP_MSFILTER): Likewise.
27807         (MCAST_JOIN_GROUP): Likewise.
27808         (MCAST_BLOCK_SOURCE): Likewise.
27809         (MCAST_UNBLOCK_SOURCE): Likewise.
27810         (MCAST_LEAVE_GROUP): Likewise.
27811         (MCAST_JOIN_SOURCE_GROUP): Likewise.
27812         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27813         (MCAST_MSFILTER): Likewise.
27814         (IP_MULTICAST_ALL): Likewise.
27815         (IP_UNICAST_IF): Likewise.
27817         * timezone/Makefile: Delete $(have-ksh) check.
27818         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27819         * timezone/tzselect.ksh: Add +x mode bits.
27821         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27822         (ANON_INODE_FS_MAGIC): Likewise.
27823         (BDEVFS_MAGIC): Likewise.
27824         (BINFMTFS_MAGIC): Likewise.
27825         (BTRFS_TEST_MAGIC): Likewise.
27826         (CRAMFS_MAGIC_WEND): Likewise.
27827         (DEBUGFS_MAGIC): Likewise.
27828         (ECRYPTFS_SUPER_MAGIC): Likewise.
27829         (EXT3_SUPER_MAGIC): Likewise.
27830         (EXT4_SUPER_MAGIC): Likewise.
27831         (FUTEXFS_SUPER_MAGIC): Likewise.
27832         (HOSTFS_SUPER_MAGIC): Likewise.
27833         (HUGETLBFS_MAGIC): Likewise.
27834         (MINIX3_SUPER_MAGIC): Likewise.
27835         (MTD_INODE_FS_MAGIC): Likewise.
27836         (NILFS_SUPER_MAGIC): Likewise.
27837         (OPENPROM_SUPER_MAGIC): Likewise.
27838         (PIPEFS_MAGIC): Likewise.
27839         (PSTOREFS_MAGIC): Likewise.
27840         (QNX6_SUPER_MAGIC): Likewise.
27841         (RAMFS_MAGIC): Likewise.
27842         (REISERFS_SUPER_MAGIC_STRING): Likewise.
27843         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27844         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27845         (SECURITYFS_MAGIC): Likewise.
27846         (SELINUX_MAGIC): Likewise.
27847         (SMACK_MAGIC): Likewise.
27848         (SOCKFS_MAGIC): Likewise.
27849         (SQUASHFS_MAGIC): Likewise.
27850         (STACK_END_MAGIC): Likewise.
27851         (TMPFS_MAGIC): Likewise.
27852         (USBDEVICE_SUPER_MAGIC): Likewise.
27853         (V9FS_MAGIC): Likewise.
27854         (XENFS_SUPER_MAGIC): Likewise.
27855         (CRAMFS_MAGIC): Fix typo in comment.
27856         (EXT2_SUPER_MAGIC): Update comment.
27857         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27859 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
27861         * sysdeps/arm: Move directory from ports/sysdeps/arm.
27862         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27863         * sysdeps/unix/sysv/linux/arm: Move directory from
27864         ports/sysdeps/unix/sysv/linux/arm.
27865         * README: Update listing for arm-*-linux-gnueabi.
27867         * README: Remove mention of am33.
27869 2014-02-07  Roland McGrath  <roland@hack.frob.com>
27871         * bits/sigset.h (__sigemptyset): Use a statement expression rather
27872         than the comma operator, to avoid "rhs of comma has no effect"
27873         compiler warnings.
27874         (__sigfillset, __sigandset, __sigorset): Likewise.
27875         * include/signal.h (__sigemptyset): Likewise.
27876         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27878 2014-02-07  Allan McRae  <allan@archlinux.org>
27880         * version.h (RELEASE): Set to "development".
27881         (VERSION): Set to "2.19.90"
27882         * NEWS: Add 2.20 section.
27884 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
27886         [BZ #16529]
27887         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27889 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27891         * manual/contrib.texi: Update entry for Carlos O'Donell,
27892         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27894 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
27896         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27898         * sysdeps/unix/sysv/linux/kernel-features.h
27899         [__LINUX_KERNEL_VERSION >= 0x020621]
27900         (__ASSUME_PROC_PID_TASK_COMM): Define.
27902 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27904         [BZ #16398]
27905         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27906         conversion when destination buffer does not have enough space.
27907         * libio/tst-ftell-partial-wide.c: New test case.
27908         * libio/Makefile (tests): Add tst-ftell-partial-wide.
27910         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27911         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
27912         Leonard and Allan McRae.
27914 2014-02-04  David S. Miller  <davem@davemloft.net>
27916         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27917         32-bit.
27919 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27922         New file
27923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27924         New file
27925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27926         New file.
27927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27928         New file.
27929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27930         New file.
27931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27932         New file.
27933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27934         New file.
27935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27936         New file.
27937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27938         New file.
27939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27940         New file.
27941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27942         New file.
27943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27944         New file.
27945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27946         New file.
27948 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27950         * nptl/shlib-versions: Change powerpc*le start to 2.17.
27951         * shlib-versions: Likewise.
27953 2014-02-04  Roland McGrath  <roland@hack.frob.com>
27954             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27956         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27957         (abilist-pattern): New variable, set to %-le.abilist.
27959         * Makerules (abilist-pattern): New variable.
27960         (vpath): Use $(abilist-pattern) in place of %.abilist.
27961         (check-abi-% pattern rule): Likewise.
27962         (check-abi, update-abi): Likewise.
27964 2014-02-04  Eric Wong  <normalperson@yhbt.net>
27966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27968 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
27970         * manual/startup.texi: Add next, previous, and top entries for
27971         the `Program Arguments' and `Environment Variables' nodes.
27973 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
27975         * manual/macros.texi: Add comments before MTASC-safety macros.
27977         * manual/users.texi: Document MTASC-safety properties.
27979         * manual/threads.texi (pthread_key_create, pthread_key_delete)
27980         (pthread_getspecific, pthread_setspecific): Format with
27981         @deftypefun, and add @safety note.
27982         * manual/signal.texi: Move comments that analyze the above
27983         functions to their home place.
27985 2014-02-03  Allan McRae  <allan@archlinux.org>
27987         * po/sl.po: Update Slovenian translation from translation project.
27989 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
27991         * manual/time.texi (timegm): Add missing blank after @c.
27992         Reported by Joseph Myers <joseph@codesourcery.com>.
27994 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
27996         * manual/check-safety.sh: New.
27997         * manual/Makefile ($(objpfx)stamp-summary): Run it.
27999         * manual/terminal.texi: Document MTASC-safety properties.
28001         * manual/filesys.texi: Document MTASC-safety properties.
28003         * manual/errno.texi: Document MTASC-safety properties.
28005         * manual/intro.texi: Document safety identifiers and
28006         conditionals.
28008         * manual/string.texi (wcstok): Fix prototype.
28009         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
28011         * manual/time.texi: Document MTASC-safety properties.
28013         * manual/string.texi: Document MTASC-safety properties.
28015         * manual/threads.texi: Document MTASC-safety properties.
28017         * manual/stdio.texi: Document MTASC-safety properties.
28019         * manual/syslog.texi: Document MTASC-safety properties.
28021         * manual/sysinfo.texi: Document MTASC-safety properties.
28023         * manual/startup.texi: Document MTASC-safety properties.
28025         * manual/socket.texi: Document MTASC-safety properties.
28027         * manual/signal.texi: Document MTASC-safety properties.
28029 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
28031         * manual/setjmp.texi: Document MTASC-safety properties.
28033         * manual/search.texi: Document MTASC-safety properties.
28035         * manual/resource.texi: Document MTASC-safety properties.
28037         * manual/process.texi: Document MTASC-safety properties.
28039         * manual/platform.texi: Document MTASC-safety properties.
28041         * manual/pipe.texi: Document MTASC-safety properties.
28043         * manual/pattern.texi: Document MTASC-safety properties.
28045         * manual/message.texi: Document MTASC-safety properties.
28047         [BZ #12751]
28048         * manual/memory.texi: Document MTASC-safety properties.
28050         * manual/math.texi: Document MTASC-safety properties.
28052         * manual/locale.texi: Document MTASC-safety properties.
28054         * manual/llio.texi: Document MTASC-safety properties.
28056         * manual/libdl.texi: New.
28058         * manual/lang.texi: Document MTASC-safety properties.
28060         * manual/job.texi: Document MTASC-safety properties.
28062         * manual/getopt.texi: Document MTASC-safety properties.
28064         * manual/ctype.texi: Document MTASC-safety properties.
28066 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
28068         [BZ #16046]
28069         * csu/libc-tls.c (static_map): Remove variable.
28070         (__libc_setup_tls): Use main executable's link map for TLS data.
28071         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28072         casing for LM_ID_BASE and GL(dl_nns).
28073         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28074         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
28075         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28076         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28077         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28078         member.
28079         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28080         l_phnum members.
28082 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
28084         * manual/debug.texi: Document MTASC-safety properties.
28086 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
28088         [BZ #16510]
28089         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28090         of __x86_64__ when disabling x87 inline functions.
28092 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
28094         * manual/charset.texi: Document MTASC-safety properties.
28096         * manual/crypt.texi: Document MTASC-safety properties.
28098         * manual/conf.texi: Document MTASC-safety properties.
28100         * manual/arith.texi: Document MTASC-safety properties.
28102         * manual/argp.texi: Document MTASC-safety properties.
28104         * manual/macros.texi: Introduce macros to document multi
28105         thread, asynchronous signal and asynchronous cancellation
28106         safety properties.
28107         * manual/intro.texi: Introduce the properties themselves.
28109 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28111         * sysdeps/sh/sh4/Makefile: New file.
28113 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
28115         * math/gen-libm-test.pl ($srcdir): New variable.
28116         ($auto_input): Use it.
28118 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28120         [BZ #16506]
28121         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28122         access beyond array bounds when parsing netgroups file.
28124         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28125         the old buffer before realloc.
28127 2014-01-27  Allan McRae  <allan@archlinux.org>
28129         * po/fr.po: Update French translation from translation project.
28131 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28133         * sysdeps/sh/libm-test-ulps: Regenerate.
28135 2014-01-24  David S. Miller  <davem@davemloft.net>
28137         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28139 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28141         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28142         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28144 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28146         [BZ #16474]
28147         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28148         string pointers after reallocation.
28150 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28152         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28153         __SH4A__ instead of __SH_FPU_ANY__.
28155 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28157         * sysdeps/sh/fpu_control.h: New file.
28158         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28159         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28160         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28161         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28162         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28163         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28164         * sysdeps/sh/sys/ucontext.h: Remove.
28165         * sysdeps/sh/sys: Remove directory.
28167 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28169         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28170         s390/sys/ucontext.h.
28171         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28172         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28174 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
28176         [BZ #15605]
28177         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28179 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28181         [BZ#16431]
28182         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28183         Adjust the vDSO correctly for internal calls.
28184         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28186 2014-01-20  Allan McRae  <allan@archlinux.org>
28188         * po/ca.po: Update Catalan translation from translation project.
28190 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
28192         * sysdeps/s390/sotruss-lib.c: New file.
28194 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28196         [BZ#16430]
28197         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28198         (__GI___gettimeofday): Alias for a different internal symbol to avoid
28199         local calls issues by not having a PLT stub required for IFUNC calls.
28200         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28202 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
28204         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28205         * math/test-fpucw-static.c: Likewise.
28207 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28209         [BZ #16453]
28210         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28212 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28214         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28215         implementation for powerpc.
28217 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
28219         [BZ #14782]
28220         * sysdeps/posix/system.c (__libc_system): Do not enable
28221         asynchronous cancellation.
28223 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28225         [BZ #16427]
28226         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28227         handling only for numbers special also in the IEEE case.
28229 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28231         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28233 2014-01-11  Allan McRae  <allan@archlinux.org>
28235         * po/bg.po: Update Bulgarian translation from translation project.
28237         * po/de.po: Update German translation from translation project.
28239 2014-01-10  Roland McGrath  <roland@hack.frob.com>
28241         * sysdeps/generic/gcc-compat.h: New file.
28243 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28245         * benchtests/asin-inputs: Correct slow inputs.
28246         * benchtests/acos-inputs: Likewise.
28248 2014-01-10  Allan McRae  <allan@archlinux.org>
28250         * po:sv.po: Update Swedish translation from translation project.
28252         * po/vi.po: Update Vietnamese translation from translation project.
28254         * po/eo.po: Update Esperanto translation from translation project.
28256         * po/cs.po: Update Czech translation from translation project.
28258         * po/nl.po: Update Dutch translation from translation project.
28260         * po/pl.po: Update Polish translation from translation project.
28262         * po/ru.po: Update Russian translation from translation project.
28264         * po/uk.po: Update Ukrainian translation from translation project.
28266 2014-01-08  Brooks Moses  <bmoses@google.com>
28268         * elf/dl-load.c: Fix comment typo.
28270 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
28272         * po/header.pot: Rename to...
28273         * po/pot.header: ... this.
28274         * po/Makefile: Use pot.header.
28276 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
28277             Maxim Kuvyrkov  <maxim@kugelworks.com>
28279         [BZ #16394]
28280         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28281         SRC and DEST against LEN.
28283 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28285         [BZ #16414]
28286         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28287         implementation.
28288         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28290 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28294 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
28296         [BZ #16408]
28297         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28298         for large positive arguments.
28300 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
28302         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28304         * math/auto-libm-test-in: Mark various tests with
28305         xfail-rounding:ldbl-128ibm.
28306         * math/auto-libm-test-out: Regenerated.
28308         [BZ #16407]
28309         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28310         Increase overflow threshold.
28312 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
28314         [BZ #14286]
28315         * stdio-common/vfprintf.c: Check for integer overflow.
28317 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28319         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28320         the first argument and return value of __tls_get_addr_internal.
28322 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28324         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28325         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28327 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28329         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28330         * sysdeps/s390/rtld-global-offsets.sym: New file.
28331         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28332         GLIBC_2.19 symbol.
28333         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28334         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28335         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28336         ... this.
28337         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28338         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28339         ... this.
28340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28341         Regenerate.
28342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28343         Regenerate.
28344         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28345         halfs of GPRs for high_gprs contexts.
28346         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28347         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
28348         field.
28349         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28350         uc_flags field.
28351         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28352         64 bit versions:
28353         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28354         for high GPRs (uc_high_gprs) and for future extensions
28355         (__reserved).
28356         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28357         for future extensions (__reserved).
28358         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28359         64 bit versions:
28360         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28361         SC_HIGHGPRS offset definition.
28362         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28363         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28365         * Versions.def: Add GLIBC_2.19 for libpthread.
28366         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28367         siglongjmp for libpthread with GLIBC_2.19 symver.
28368         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28369         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28370         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28371         * sysdeps/s390/__longjmp.c: New file.
28372         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28373         * sysdeps/s390/longjmp.c: New file.
28374         * sysdeps/s390/setjmp.S: New file.
28375         * sysdeps/s390/sigjmp.S: New file.
28376         * sysdeps/s390/v1-longjmp.c: New file.
28377         * sysdeps/s390/v1-setjmp.h: New file.
28378         * sysdeps/s390/v1-sigjmp.c: New file.
28379         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28380         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28381         GLIBC_2.19 version.
28382         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28383         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28384         versioned symbols for ____longjmp_chk.
28385         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28386         Likewise.
28387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28388         Regenerate.
28389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28390         Regenerate.
28391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28392         Regenerate.
28393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28394         Regenerate.
28395         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28396         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28397         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28398         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28399         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28400         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28401         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28402         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28403         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28404         * sysdeps/s390/rtld-__longjmp.c: New file.
28405         * sysdeps/s390/rtld-setjmp.S: New file.
28407 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
28409         [BZ #16400]
28410         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28411         Return -__logl (x) for small positive arguments without evaluating
28412         a polynomial.
28414 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
28416         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28417         Rename to ...
28418         (__ptrace_peeksiginfo_args): ... this.
28419         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28420         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28421         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28423 2014-01-06  Allan McRae  <allan@archlinux.org>
28425         * inet/netinet/in.h: Fix typo in comment.
28427 2014-01-05  Andreas Jaeger  <aj@suse.de>
28429         * sysdeps/i386/fpu/libm-test-ulps: Update.
28431 2014-01-05  Allan McRae  <allan@archlinux.org>
28433         * po/libc.pot: Regenerated.
28435         * malloc/memusagestat.c: Fix gettext call formatting.
28437 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
28439         * nscd/nscd.c: Improve usage() output.
28441 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
28443         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28444         * sysdeps/unix/sysv/linux/configure: Regenerated.
28445         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28446         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28448 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
28450         [BZ #16390]
28451         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28452         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28454 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28456         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28457         extra tokens at end of #undef directive.
28458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28459         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28460         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28462 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
28464         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28466         * math/auto-libm-test-in: Mark various tests with
28467         xfail-rounding:ldbl-128ibm.
28468         * math/auto-libm-test-out: Regenerated.
28470 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
28472         [BZ #16386]
28473         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28474         numbers with subnormal high part when calculating exponent.
28476         [BZ #16385]
28477         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28478         fabs.
28480         [BZ #16384]
28481         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28482         M_LN2l.
28483         (__ieee754_acoshl): Use __log1pl not __log1p.
28485 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
28487         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28488         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28489         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28490         (grow_heap, heap_trim, _int_new_arena, get_free_list)
28491         (reused_arena, arena_get2): Convert to GNU style.
28492         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28493         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28494         (memalign_check, __malloc_set_state): Likewise.
28495         * malloc/mallocbug.c (main): Likewise.
28496         * malloc/malloc.c (__malloc_assert, malloc_init_state)
28497         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28498         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28499         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28500         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28501         (__posix_memalign, malloc_info): Likewise.
28502         * malloc/malloc.h: Likewise.
28503         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28504         (mallochook, memalignhook, reallochook, mabort): Likewise.
28505         * malloc/mcheck.h: Likewise.
28506         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28507         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28508         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28509         * malloc/morecore.c (__default_morecore): Likewise.
28510         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28511         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28512         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28513         (print_and_abort): Likewise.
28514         * malloc/obstack.h: Likewise.
28515         * malloc/set-freeres.c (__libc_freeres): Likewise.
28516         * malloc/tst-mallocstate.c (main): Likewise.
28517         * malloc/tst-mtrace.c (main): Likewise.
28518         * malloc/tst-realloc.c (do_test): Likewise.
28520 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28522         [BZ #16366]
28523         * nscd/netgroupcache.c (do_notfound): New function.
28524         (addgetnetgrentX): Use it.
28526         [BZ # 16365]
28527         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28528         NSS_STATUS_NOTFOUND.
28530 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
28532         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28535 2014-01-01  Allan McRae  <allan@archlinux.org>
28537         * scripts/update-copyrights: Update configure input file suffix.
28539         * NEWS: Update copyright year.
28540         * catgets/gencat.c: Likewise.
28541         * csu/version.c: Likewise.
28542         * debug/catchsegv.sh: Likewise.
28543         * debug/pcprofiledump.c: Likewise.
28544         * debug/xtrace.sh: Likewise.
28545         * elf/ldconfig.c: Likewise.
28546         * elf/ldd.bash.in: Likewise.
28547         * elf/pldd.c: Likewise.
28548         * elf/sotruss.ksh: Likewise.
28549         * elf/sprof.c: Likewise.
28550         * iconv/iconv_prog.c: Likewise.
28551         * iconv/iconvconfig.c: Likewise.
28552         * locale/programs/locale.c: Likewise.
28553         * locale/programs/localedef.c: Likewise.
28554         * login/programs/pt_chown.c: Likewise.
28555         * malloc/memusage.sh: Likewise.
28556         * malloc/memusagestat.c: Likewise.
28557         * malloc/mtrace.pl: Likewise.
28558         * manual/libc.texinfo: Likewise.
28559         * nscd/nscd.c: Likewise.
28560         * nss/getent.c: Likewise.
28561         * nss/makedb.c: Likewise.
28562         * posix/getconf.c: Likewise.
28563         * scripts/test-installation.pl: Likewise.
28565         * All files with FSF copyright notices: Update copyright dates
28566         using scripts/update-copyrights.
28567         * intl/plural.c: Regenerated.
28568         * locale/programs/charmap-kw.h: Likewise.
28569         * locale/programs/locfile-kw.h: Likewise.
28571 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
28573         * sysdeps/unix/sysv/linux/configure: Regenerated.
28574         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28575         the linux/fanotify.h header.
28576         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28577         HAVE_LINUX_FANOTIFY_H is defined.
28579 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28581         * benchtests/cos-inputs: New inputs.
28582         * benchtests/sin-inputs: Likewise.
28584         * benchtests/atan-inputs: New inputs. Fix name of multiple
28585         precision fallback inputs.
28587         * benchtests/atanh-inputs: New inputs.
28588         * benchtests/tanh-inputs: Likewise.
28590         * benchtests/acosh-inputs: New inputs.
28591         * benchtests/asinh-inputs: Likewise.
28593         * benchtests/cosh-inputs: New inputs.
28594         * benchtests/sinh-inputs: Likewise.
28596         * benchtests/acos-inputs: Add more inputs.
28597         * benchtests/asin-inputs: Likewise.
28599 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
28601         [BZ #16375]
28602         * manual/arith.texi: Fix spelling.
28603         * manual/charset.texi: Likewise.
28604         * manual/errno.texi: Likewise.
28605         * manual/filesys.texi: Likewise.
28606         * manual/lang.texi: Likewise.
28607         * manual/llio.texi: Likewise.
28608         * manual/locale.texi: Likewise.
28609         * manual/message.texi: Likewise.
28610         * manual/resource.texi: Likewise.
28611         * manual/search.texi: Likewise.
28612         * manual/setjmp.texi: Likewise.
28613         * manual/stdio.texi: Likewise.
28614         * manual/string.texi: Likewise.
28615         * manual/sysinfo.texi: Likewise.
28616         * manual/time.texi: Likewise.
28618 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
28620         * po/sl.po: New file.
28622 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
28624         * .gitignore: Add core/.gdbinit/.gdb_history.
28626 2013-12-27  Allan McRae  <allan@archlinux.org>
28628         [BZ #16369]
28629         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28630         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28632 2013-12-24  Brooks Moses  <bmoses@google.com>
28634         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28635         all compilers that claim C++98 compliance, not just GCC.
28636         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28637         Likewise.
28639 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
28641         * NEWS: Restore accidentally deleted bug-fix entries.
28643 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
28644             Ondřej Bílka  <neleai@seznam.cz>
28646         [BZ #15073]
28647         * malloc/malloc.c (_int_free): Perform sanity check only if we
28648         have_lock.
28650 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
28652         [BZ #12986]
28653         * manual/stdio.texi (String Input Conversions): Clarify that character
28654         classes are not supported.
28656 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28660 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
28662         [BZ #16337]
28663         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28664         Calculate results for small negative arguments directly rather
28665         than using reflection formula with special underflow handling.
28667         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28668         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28669         sysdeps/unix/bsd/bsd4.4/syscalls.list.
28670         (fchflags): Likewise.
28671         (revoke): Likewise.
28672         (setlogin): Likewise.
28673         (sigaltstack): Likewise.
28674         (wait4): Likewise.
28675         (sigblock): Remove.
28676         (sigsetmask): Likewise.
28677         (wait3): Likewise.
28678         (waitpid): Likewise.
28679         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28680         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28681         file.
28682         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28683         * sysdeps/unix/bsd/Makefile: ... here.
28684         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28685         * sysdeps/unix/bsd/Versions: ... here.
28686         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28687         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28688         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28689         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28690         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28691         * sysdeps/unix/bsd/sigblock.c: ... here.
28692         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28693         * sysdeps/unix/bsd/sigsetmask.c: ... here.
28694         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28695         * sysdeps/unix/bsd/sigvec.c: ... here.
28696         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28697         * sysdeps/unix/bsd/tcdrain.c: ... here.
28698         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28699         * sysdeps/unix/bsd/tcgetattr.c: ... here.
28700         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28701         * sysdeps/unix/bsd/tcsetattr.c: ... here.
28702         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28703         * sysdeps/unix/bsd/wait.c: ... here.
28704         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28705         * sysdeps/unix/bsd/wait3.c: ... here.
28706         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28707         * sysdeps/unix/bsd/waitpid.c: ... here.
28709 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
28711         [BZ #16356]
28712         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28713         round-to-nearest for [!USE_AS_EXPM1L].
28714         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28715         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
28716         more tests of exp and exp10.  Expect some exp10 tests to miss
28717         exceptions or fail in directed rounding modes.
28718         * math/auto-libm-test-out: Regenerated.
28719         * math/libm-test.inc (exp10_tonearest_test_data): New array.
28720         (exp10_test_tonearest): New function.
28721         (exp10_towardzero_test_data): New array.
28722         (exp10_test_towardzero): New function.
28723         (exp10_downward_test_data): New array.
28724         (exp10_test_downward): New function.
28725         (exp10_upward_test_data): New array.
28726         (exp10_test_upward): New function.
28727         (main): Call the new functions.
28728         * sysdeps/i386/fpu/libm-test-ulps: Update.
28729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28731 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
28733         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28734         asinh, atan, atan2, atanh, cbrt, cos and cosh.
28735         * math/auto-libm-test-out: Regenerated.
28736         * math/libm-test.inc (acosh_test_data): Add more tests.
28737         (atanh_test_data): Likewise.
28738         (ceil_test_data): Likewise.
28739         (copysign_test_data): Likewise.
28740         * sysdeps/i386/fpu/libm-test-ulps: Update.
28741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28743         * timezone/checktab.awk: Update from tzcode 2013i.
28744         * timezone/private.h: Likewise.
28745         * timezone/scheck.c: Likewise.
28746         * timezone/tzfile.h: Likewise.
28747         * timezone/tzselect.ksh: Likewise.
28748         * timezone/zdump.c: Likewise.
28749         * timezone/zic.c: Likewise.
28751         * math/auto-libm-test-in: Add tests of cpow.
28752         * math/auto-libm-test-out: Regenerated.
28753         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28754         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28755         mpc_cc_c.
28756         (func_calc_desc): Add mpc_cc_c union field.
28757         (test_functions): Add cpow.
28758         (special_fill_2pi): New function.
28759         (special_real_inputs): Add 2pi.
28760         (calc_generic_results): Handle mpc_cc_c.
28761         * sysdeps/i386/fpu/libm-test-ulps: Update.
28762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28764         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28765         csqrt, ctan and ctanh.
28766         * math/auto-libm-test-out: Regenerated.
28767         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28768         (TEST_COND_x86): Likewise.
28769         (ccos_test_data): Use AUTO_TESTS_c_c.
28770         (ccosh_test_data): Likewise.
28771         (cexp_test_data): Likewise.
28772         (clog_test_data): Likewise.
28773         (csqrt_test_data): Likewise.
28774         (ctan_test_data): Likewise.
28775         (ctan_tonearest_test_data): Likewise.
28776         (ctan_towardzero_test_data): Likewise.
28777         (ctan_downward_test_data): Likewise.
28778         (ctan_upward_test_data): Likewise.
28779         (ctanh_test_data): Likewise.
28780         (ctanh_tonearest_test_data): Likewise.
28781         (ctanh_towardzero_test_data): Likewise.
28782         (ctanh_downward_test_data): Likewise.
28783         (ctanh_upward_test_data): Likewise.
28784         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28785         mpc_c_c.
28786         (func_calc_desc): Add mpc_c_c union field.
28787         (FUNC_mpc_c_c): New macro.
28788         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28789         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28790         ctanh.
28791         (special_fill_min_subnorm_p120): New function.
28792         (special_real_inputs): Add min_subnorm_p120.
28793         (calc_generic_results): Handle mpc_c_c.
28794         * sysdeps/i386/fpu/libm-test-ulps: Update.
28795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28797 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28799         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28800         (do_sin_slow): New functions.
28801         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28802         (cslow2, csloww1, csloww2): Use the new functions.
28804         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28805         Use M to change sign of result instead of X.  Assume X is
28806         positive.
28807         (csloww1): Likewise.
28808         (__sin): Adjust.
28809         (__cos): Adjust.
28811         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28812         arguments A and DA.
28813         (__sin): Adjust.
28814         (__cos): Likewise.
28816         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28817         (__cos): Likewise.
28818         (sloww1): Don't adjust sign of DX.
28819         (csloww1): Likewise.
28820         (sloww2): Use X directly and don't adjust sign of DX.
28821         (csloww2): Likewise.
28823 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
28825         * math/auto-libm-test-in: Add tests of cabs and carg.
28826         * math/auto-libm-test-out: Regenerated.
28827         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28828         (carg_test_data): Likewise.
28829         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28830         mpc_c_f.
28831         (func_calc_desc): Add mpc_c_f union field.
28832         (test_functions): Add cabs and carg.
28833         (calc_generic_results): Handle mpc_c_f.
28835         * sysdeps/powerpc/powerpc32/libgcc-compat.S
28836         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28837         as a macro and a compat symbol.
28838         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28839         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28840         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28841         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28842         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28843         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28844         not use .hidden.
28845         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28846         Likewise.
28847         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28848         Likewise.
28849         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28850         Likewise.
28851         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28852         Likewise.
28853         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28854         Likewise.
28855         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28856         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28857         from GLIBC_2.3.2.
28859 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28863 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
28865         * manual/texinfo.tex: Update to version 2013-11-26.10 with
28866         trailing whitespace removed.
28867         * scripts/config.guess: Update to version 2013-11-29.
28868         * scripts/config.sub: Update to version 2013-10-01.
28870         * math/auto-libm-test-in: Add tests of sincos.
28871         * math/auto-libm-test-out: Regenerated.
28872         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28873         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28874         mpfr_f_11.
28875         (func_calc_desc): Add mpfr_f_11 union field.
28876         (test_functions): Add sincos.
28877         (calc_generic_results): Handle mpfr_f_11.
28878         * sysdeps/i386/fpu/libm-test-ulps: Update.
28879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28881 2013-12-19  Andreas Schwab  <schwab@suse.de>
28883         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28884         CALL_MCOUNT.
28885         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28886         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28887         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28889 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
28891         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28892         * sysdeps/i386/fpu/libm-test-ulps: Update.
28893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28895         [BZ #16293]
28896         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28897         round-to-nearest mode when using frndint.
28898         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28899         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28900         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28901         Likewise.
28902         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
28903         sinh test to fail.
28904         * math/auto-libm-test-out: Regenerated.
28905         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28906         (TEST_COND_x86): Likewise.
28907         (expm1_tonearest_test_data): New array.
28908         (expm1_test_tonearest): New function.
28909         (expm1_towardzero_test_data): New array.
28910         (expm1_test_towardzero): New function.
28911         (expm1_downward_test_data): New array.
28912         (expm1_test_downward): New function.
28913         (expm1_upward_test_data): New array.
28914         (expm1_test_upward): New function.
28915         (main): Run the new test functions.
28916         * sysdeps/i386/fpu/libm-test-ulps: Update.
28917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28919         * include/features.h: Update comment documenting feature test
28920         macros.  Mention _DEFAULT_SOURCE in comment.
28921         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28922         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28923         _BSD_SOURCE and _SVID_SOURCE.
28924         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28925         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28926         !_SVID_SOURCE]: Likewise.
28927         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28928         (__USE_POSIX_IMPLICITLY): Define.
28929         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28930         (_POSIX_SOURCE): Undefine and redefine.
28931         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28932         (_POSIX_C_SOURCE): Likewise.
28933         * manual/creature.texi (_DEFAULT_SOURCE): Document.
28934         (Feature Test Macros): Update documentation of default features.
28936 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28938         * benchtests/Makefile: Add bench-strtok.
28939         * benchtests/bench-strtok.c: New file: strtok benchtest.
28941 2013-12-19  Allan McRae  <allan@archlinux.org>
28943         * manual/install.texi: Suppress menu for plain text output.
28944         * INSTALL: Regenerated.
28946 2013-12-18  Brooks Moses  <bmoses@google.com>
28948         [BZ #15846]
28949         * misc/getauxval.c: Include errno.h.
28950         (__getauxval): Set errno to ENOENT if the requested type is not
28951         found.
28952         * misc/sys/auxv.h (getauxval): Document that it may set errno;
28953         don't declare with __attribute_const__.
28954         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28955         * manual/startup.texi: Document that getauxval sets errno.
28957 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
28959         * math/auto-libm-test-in: Add tests of jn and yn.
28960         * math/auto-libm-test-out: Regenerated.
28961         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28962         (yn_test_data): Likewise.
28963         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28964         mpfr_if_f.
28965         (func_calc_desc): Add mpfr_if_f union field.
28966         (FUNC_mpfr_if_f): New macro.
28967         (test_functions): Add jn and yn.
28968         (calc_generic_results): Assert type of second input for
28969         mpfr_ff_f.  Handle mpfr_if_f.
28970         (output_for_one_input_case): Disable all checking for arguments
28971         fitting floating-point types in case of an integer argument.
28972         * sysdeps/i386/fpu/libm-test-ulps: Update.
28973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28976         Don't expect fegetround reference in libm.so.
28978 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28980         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28981         $(config-cflags-nofma).
28983 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
28985         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28986         * math/auto-libm-test-out: Regenerated.
28988         [BZ #16338]
28989         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28990         to determine exponent and adjust argument to have exponent of -1.
28991         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28992         log2.
28993         * math/auto-libm-test-out: Regenerated.
28994         * sysdeps/i386/fpu/libm-test-ulps: Update.
28995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28997 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
28999         * manual/probes.texi: Remove cases when per-thread arenas are
29000         disabled.
29002 2013-12-18  Andreas Schwab  <schwab@suse.de>
29004         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
29005         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
29006         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
29007         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
29008         * sysdeps/i386/i686/multiarch/Makefile: Update.
29009         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
29011 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29013         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
29014         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
29016 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
29018         [BZ #15968]
29019         Support TZ transition times < 00:00:00.
29020         This is needed for version-3 tz-format files; it supports time
29021         stamps past 2037 for America/Godthab (the only entry in the tz
29022         database for which this change is relevant).
29023         * manual/time.texi (TZ Variable): Document transition times
29024         from -167:59:59 through -00:00:01.
29025         * time/tzset.c (tz_rule): Time of day is now signed.
29026         (__tzset_parse_tz): Parse negative time of day.
29028         Document TZ transition times >= 25:00:00.
29029         * manual/time.texi (TZ Variable): Document transition times from
29030         25:00:00 through 167:59:59.  These are already supported, and this
29031         support will help with version-3 tz-format files.
29033         * manual/time.texi (TZ Variable): Modernize North America example
29034         to reflect current (i.e., 2007-and-later) daylight saving rules.
29036         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29038 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29040         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29041         * sysdeps/unix/bsd/bits/stat.h: Likewise.
29042         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29043         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29044         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29045         * sysdeps/unix/bsd/bsdstat.h: Likewise.
29046         * sysdeps/unix/bsd/clock.c: Likewise.
29047         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29048         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29049         * sysdeps/unix/bsd/init-posix.c: Likewise.
29050         * sysdeps/unix/bsd/poll.c: Likewise.
29051         * sysdeps/unix/bsd/ptsname.c: Likewise.
29052         * sysdeps/unix/bsd/seekdir.c: Likewise.
29053         * sysdeps/unix/bsd/setegid.c: Likewise.
29054         * sysdeps/unix/bsd/seteuid.c: Likewise.
29055         * sysdeps/unix/bsd/setgid.c: Likewise.
29056         * sysdeps/unix/bsd/setrgid.c: Likewise.
29057         * sysdeps/unix/bsd/setruid.c: Likewise.
29058         * sysdeps/unix/bsd/setsid.c: Likewise.
29059         * sysdeps/unix/bsd/setuid.c: Likewise.
29060         * sysdeps/unix/bsd/sigaction.c: Likewise.
29061         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29062         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29063         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29064         * sysdeps/unix/bsd/telldir.c: Likewise.
29065         * sysdeps/unix/bsd/times.c: Likewise.
29066         * sysdeps/unix/bsd/usleep.c: Likewise.
29068         * misc/Makefile (install-lib): Remove libbsd-compat.a.
29069         ($(objpfx)libbsd-compat.a): Remove rule.
29071         * include/features.h (__FAVOR_BSD): Do not define.
29072         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29073         features conflicting with POSIX.
29074         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29075         (_BSD_SOURCE): Remove description of not being a subset of other
29076         feature test macros.
29077         * manual/job.texi (getpgrp): Do not document BSD version.
29078         (getpgid): Do not document by reference to BSD getpgrp.
29079         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29080         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29081         * signal/signal.h [__FAVOR_BSD]: Likewise.
29082         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29083         instead of making contents conditional on [__FAVOR_BSD].
29084         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29086 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29090 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29092         [BZ #16314]
29093         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29094         values below 2**-450, not 2**-500.
29095         * math/auto-libm-test-in: Don't allow spurious underflow from
29096         hypot.
29097         * math/auto-libm-test-out: Regenerated.
29099         [BZ #16316]
29100         [BZ #16330]
29101         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29102         values of ha and hb and sort them after adjusting subnormal
29103         arguments.
29104         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29105         Likewise.
29106         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29107         values of ea and eb and sort them after adjusting subnormal
29108         arguments.
29109         * math/auto-libm-test-in: Do not expect some hypot tests of
29110         subnormals to fail.  Add more hypot tests.
29111         * math/auto-libm-test-out: Regenerated.
29113 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29115         [BZ #13304]
29116         * sysdeps/sh/s_fma.c: New file.
29117         * sysdeps/sh/s_fmaf.c: New file.
29118         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
29119         version.
29120         * sysdeps/sh/Implies: Add sh/soft-fp.
29122 2013-12-16  Roland McGrath  <roland@hack.frob.com>
29124         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
29125         level of indirection to members `objname', `errstring', `malloced'.
29126         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29127         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
29128         it as the __longjmp argument (just pass 1 instead).
29129         (_dl_catch_error): Initialize C with argument pointers and address of
29130         volatile local ERRCODE rather than copying values out of C at return.
29132 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
29134         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29135         * math/auto-libm-test-out: Regenerated.
29136         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29137         (hypot_test_data): Likewise.
29138         (pow_test_data): Likewise.
29139         (pow_tonearest_test_data): Likewise.
29140         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29141         mpfr_ff_f.
29142         (func_calc_desc): Add mpfr_ff_f union field.
29143         (FUNC_mpfr_ff_f): New macro.
29144         (test_functions): Add atan2, hypot and pow.
29145         (special_fill_min): New function.
29146         (special_fill_minus_min): Likewise.
29147         (special_fill_min_subnorm): Likewise.
29148         (special_fill_minus_min_subnorm): Likewise.
29149         (special_real_inputs): Add min, -min, min_subnorm and
29150         -min_subnorm.
29151         (calc_generic_results): Handle mpfr_ff_f.
29152         * sysdeps/i386/fpu/libm-test-ulps: Update.
29153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29155 2013-12-16  Will Newton  <will.newton@linaro.org>
29157         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29158         (Aligned Memory Blocks): Add documentation for aligned_alloc
29159         and suggest it as an alternative to posix_memalign.
29160         (Hooks for Malloc): Document __memalign_hook is also called
29161         for aligned_alloc.  (Summary of Malloc): Add summary for
29162         aligned alloc.  Document __memalign_hook is also called
29163         for aligned_alloc.
29165 2013-12-16  Will Newton  <will.newton@linaro.org>
29167         * manual/memory.texi (Malloc Examples): Clarify default
29168         alignment documentation.  Suggest posix_memalign rather
29169         than memalign or valloc.
29170         (Aligned Memory Blocks): Remove suggestion to use memalign
29171         or valloc.  Remove obsolete comment about BSD.
29172         Document memalign errno values and mark the function obsolete.
29173         Document posix_memalign returned error codes.  Mark valloc
29174         as obsolete.  (Hooks for Malloc): __memalign_hook is also
29175         called for posix_memalign and valloc.
29176         (Summary of Malloc): Add posix_memalign to function summary.
29177         __memalign_hook is also called for posix_memalign and valloc.
29179 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29181         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29182         TAYLOR_SIN.
29183         (__sin): Adjust.
29184         (__cos): Likewise.
29185         (sloww): Use mynumber union.  Expand ternary operator into
29186         if-else statements.
29187         (cslow): use mynumber union.
29189 2013-12-16  Allan McRae  <allan@archlinux.org>
29191         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29192         * configure: Regenerated.
29194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29196         [BZ #14120]
29197         * configure.ac: Added --enable-maintainer-mode. Check for
29198         autoconf when enabled.
29199         * configure: Regenerated.
29201         * nscd/nscd.service: New file.
29202         * nscd/nscd.tmpfiles: New file.
29204 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
29206         [BZ #12100]
29207         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29208         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29209         * sysdeps/x86_64/multiarch/strstr.c: ... here.
29210         (strstr): Add __strstr_sse2_unaligned ifunc.
29211         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29212         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29213         (strcasestr): Remove __strcasestr_sse42 ifunc.
29214         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29218 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29220         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29221         * sysdeps/sh/bits/fenv.h: ... here.
29222         * sysdeps/sh/sh4/fpu/bits: Remove directory.
29224 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29226         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29229         hypotf multiarch implementations.
29230         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29231         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29232         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29233         multiarch hypot for PPC64.
29234         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29236         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29237         multiarch hypotf for PPC64.
29239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29240         modff multiarch implementations.
29241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29244         multiarch modf for PPC64.
29245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29248         multiarch modff for PPC64.
29250         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29251         and logl multiarch implementations.
29252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29255         multiarch logb for PPC64.
29256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29259         multiarch logb for PPC64.
29260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29263         multiarch logb for PPC64.
29265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29266         isinff multiarch implementation.
29267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29268         file.
29269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29271         multiarch isinf for PPC64.
29272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29273         file.
29274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29275         multiarch isinff for PPC64.
29277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29278         finitef multiarch implementation.
29279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29280         file.
29281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29283         multiarch finite for PPC64.
29284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29285         file.
29286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29287         multiarch finitef for PPC64.
29289         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29290         lrint multiarch implementation.
29291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29292         file.
29293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29295         multiarch llrint for PPC64.
29296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29297         multiarch lrint for PPC64.
29299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29300         copysignf multiarch implementation.
29301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29302         file.
29303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29304         file.
29305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29306         multiarch copysign for PPC64.
29307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29308         multiarch copysignf for PPC64.
29310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29311         multiarch implementation.
29312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29313         file.
29314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29315         file.
29316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29317         file.
29318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29319         file.
29320         multiarch llround for PPC64.
29321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29322         multiarch trunc for PPC64.
29323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29324         multiarch truncf for PPC64.
29326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29327         multiarch implementation.
29328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29329         file.
29330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29331         file.
29332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29333         file.
29334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29335         file.
29336         multiarch llround for PPC64.
29337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29338         multiarch round for PPC64.
29339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29340         multiarch roundf for PPC64.
29342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29343         multiarch implementation.
29344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29345         file.
29346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29347         file.
29348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29349         file.
29350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29351         file.
29352         multiarch llround for PPC64.
29353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29354         multiarch floor for PPC64.
29355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29356         multiarch floorf for PPC64.
29358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29359         multiarch implementation.
29360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29361         file.
29362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29363         file.
29364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29365         file.
29366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29367         file.
29368         multiarch llround for PPC64.
29369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29370         multiarch ceil for PPC64.
29371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29372         multiarch ceilf for PPC64.
29374         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29375         multiarch implementation.
29376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29377         file.
29378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29379         file.
29380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29381         file.
29382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29383         multiarch llround for PPC64.
29384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29385         multiarch lround for PPC64.
29387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29388         multiarch implementation.
29389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29392         file.
29393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29396         multiarch isnan for PPC64.
29397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29398         multiarch isnanf for PPC64.
29400         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29401         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29402         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29403         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29404         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29407         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29408         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29410         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29413         multiarch implementations.
29414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29415         (__libc_ifunc_impl_list): Likewise.
29416         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29417         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29418         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29419         multiarch stpcpy for PPC64.
29421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29422         multiarch implementations.
29423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29424         (__libc_ifunc_impl_list): Likewise.
29425         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29426         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29427         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29428         multiarch strcpy for PPC64.
29430         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29431         redefine function name.
29432         (_wordcopy_fwd_dest_aligned): Likewise.
29433         (_wordcopy_bwd_aligned): Likewise.
29434         (_wordcopy_bwd_dest_aligned): Likewise.
29435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29436         multiarch implementations.
29437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29438         (__libc_ifunc_impl_list): Likewise.
29439         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29440         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29441         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29442         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29443         multiarch wcscpy for PPC64.
29445         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29446         multiarch implementations.
29447         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29448         (__libc_ifunc_impl_list): Likewise.
29449         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29450         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29451         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29452         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29453         multiarch wcscpy for PPC64.
29455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29456         multiarch implementations.
29457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29458         (__libc_ifunc_impl_list): Likewise.
29459         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29460         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29461         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29462         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29463         multiarch wcsrchr for PPC64.
29465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29466         multiarch implementations.
29467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29468         (__libc_ifunc_impl_list): Likewise.
29469         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29470         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29471         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29472         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29473         multiarch wcschr for PPC64.
29475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29476         multiarch implementations.
29477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29478         (__libc_ifunc_impl_list): Likewise.
29479         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29480         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29481         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29482         multiarch strchrnul for PPC64.
29484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29485         implementations.
29486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29487         (__libc_ifunc_impl_list): Likewise.
29488         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29489         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29490         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29491         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29492         strchr for PPC64.
29494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29495         implementations.
29496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29497         (__libc_ifunc_impl_list): Likewise.
29498         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29499         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29500         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29501         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29502         strncmp for PPC64.
29504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29505         multiarch implementations.
29506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29507         (__libc_ifunc_impl_list): Likewise.
29508         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29509         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29510         strncasecmp for PPC64.
29511         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29512         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29513         multiarch strncasecmp_l for PPC64.
29515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29516         multiarch implementations.
29517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29518         (__libc_ifunc_impl_list): Likewise.
29519         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29520         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29521         multiarch strcasecmp for PPC64.
29522         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29523         file.
29524         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29525         multiarch strcasecmp_l for PPC64.
29527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29528         implementations.
29529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29530         (__libc_ifunc_impl_list): Likewise.
29531         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29532         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29533         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29534         strnlen for PPC64.
29536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29537         implementations.
29538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29539         (__libc_ifunc_impl_list): Likewise.
29540         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29541         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29542         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29543         strlen for PPC64.
29545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29546         implementations.
29547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29548         (__libc_ifunc_impl_list): Likewise.
29549         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29550         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29551         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29552         rawmemrchr for PPC64.
29554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29555         implementation.
29556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29557         (__libc_ifunc_impl_list): Likewise.
29558         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29559         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29560         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29561         memrchr for PPC64.
29563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29564         implementation.
29565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29566         (__libc_ifunc_impl_list): Likewise.
29567         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29568         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29569         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29570         memchr for PPC64.
29572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29573         implementation.
29574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29575         (__libc_ifunc_impl_list): Likewise.
29576         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29577         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29578         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29579         mempcpy for PPC64.
29581         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29582         avoid cretion of __bzero symbol.
29583         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29584         Likewise.
29585         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29586         Likewise.
29587         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29588         Likewise.
29589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29590         multiarch implementations.
29591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29592         (__libc_ifunc_impl_list): Likewise.
29593         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29594         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29595         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29596         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29597         bzero for PPC32.
29598         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29599         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29600         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29601         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29602         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29603         memset for PPC64.
29604         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29606         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29608         implementations.
29609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29610         (__libc_ifunc_impl_list): Likewise.
29611         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29612         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29613         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29614         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29615         memcmp for PPC64.
29617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29618         multiarch for POWER/PPC64.
29619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29620         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29621         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29622         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29623         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29624         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29625         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29626         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29627         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29628         memcpy for PPC64.
29630         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29631         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29632         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29633         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29634         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29635         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29636         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29637         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29638         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29639         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29640         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29641         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29642         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29643         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29644         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29653 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29655         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29657 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29659         * benchtests/Makefile (bench): Add exp2 and log2.
29660         (LDLIBS-bench-exp2): Add -lm.
29661         (LDLIBS-bench-log2): Likewise.
29662         * benchtests/exp2-inputs: New inputs file.
29663         * benchtests/log2-inputs: New inputs file.
29664         * benchtests/log-inputs: Add new inputs.
29665         * benchtests/tan-inputs: Likewise.
29667 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29669         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29670         definition...
29671         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29672         (csloww2): ... from here.
29674         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29675         instead of structures.
29676         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29677         (POLYNOMIAL): Likewise.
29678         (TAYLOR_SLOW): Likewise.
29679         (__sin): Likewise.
29680         (__cos): Likewise.
29681         (slow1): Likewise.
29682         (slow2): Likewise.
29683         (sloww): Likewise.
29684         (sloww1); Likewise.
29685         (sloww2): Likewise.
29686         (bsloww1): Likewise.
29687         (bsloww2): Likewise.
29688         (cslow2): Likewise.
29689         (csloww): Likewise.
29690         (csloww1): Likewise.
29691         (csloww2): Likewise.
29693 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
29695         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29696         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29697         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29698         * malloc/hooks.c (realloc_check): Likewise.
29700         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29701         * malloc/arena.c: Remove PER_THREAD conditional.
29702         [!PER_THREAD]: Remove code.
29703         (ptmalloc_unlock_all2): Likewise.
29704         (ptmalloc_init): Likewise.
29705         (_int_new_arena): Likewise.
29706         (arena_get2): Likewise.
29707         * malloc/hooks.c (__malloc_get_state): Likewise.
29708         (__malloc_set_state): Likewise.
29709         * malloc/malloc.c: Likewise.
29710         (struct malloc_state): Likewise.
29711         (struct malloc_par): Likewise.
29712         (__libc_realloc): Likewise.
29713         (__libc_mallopt): Likewise.
29715 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29717         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29719 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
29721         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29722         macro to a function.  Check for zero perturb_byte.
29723         (_int_malloc, _int_free): Remove zero perturb_byte checks.
29725         * malloc/malloc.c: (force_reg): Remove.
29726         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29727         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29728         force_reg by atomic_forced_read.
29729         * malloc/arena.c (ptmalloc_init): Likewise.
29730         * malloc/hooks.c (top_check): Likewise.
29732 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29736 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
29738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29740 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
29742         * math/auto-libm-test-in: Add tests of lgamma.
29743         * math/auto-libm-test-out: Regenerated.
29744         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29745         (M_LOG_2_SQRT_PIl): Likewise.
29746         (lgamma_test_data): Use AUTO_TESTS_f_f1.
29747         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29748         mpfr_f_f1.
29749         (func_calc_desc): Add mpfr_f_f1 union field.
29750         (ARGS1): New macro.
29751         (ARGS2): Likewise.
29752         (ARGS3): Likewise.
29753         (ARGS4): Likewise.
29754         (RET1): Likewise.
29755         (RET2): Likewise.
29756         (CALC): Likewise.
29757         (FUNC): Likewise.
29758         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29759         (test_functions): Add lgamma.
29760         (calc_generic_results): Handle mpfr_f_f1.
29761         * sysdeps/i386/fpu/libm-test-ulps: Update.
29762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29764 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29766         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29767         __mpn_add_n for PowerPC64/POWER7.
29768         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29769         __mpn_sub_n for PowerPC64/POWER7.
29771         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29772         __mpn_addmul_1 for PowerPC64.
29773         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29774         __mpn_submul_1 for PowerPC64.
29775         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29776         for PowerPC64.
29777         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29778         for PowerPC64.
29780 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
29782         [BZ #15089]
29783         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29785 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29787         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29789         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29790         add multiarch folders.
29791         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29792         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29793         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29794         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29795         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29796         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29797         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29798         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29799         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29800         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29801         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29810         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29812         New file.
29813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29814         New file.
29815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29816         multiarch __ieee754_hypot for PowerPC32.
29817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29818         New file.
29819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29820         New file.
29821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29822         multiarch __ieee754_hypotf for PowerPC32.
29824         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29825         long_double_symbol only if __logbl is defined.
29826         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29827         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29829         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29830         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29831         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29832         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29833         path for implementation.
29834         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29835         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29837         logb, and logbl multiarch implementations for PowerPC32.
29838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29839         file.
29840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29841         file.
29842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29843         multiarch logb for PowerPC32.
29844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29845         file.
29846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29847         file.
29848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29849         multiarch logbf for PowerPC32.
29850         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29852         file.
29853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29854         multiarch logbl implementation for PowerPC32.
29856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29857         and modff multiarch implementations.
29858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29859         New file.
29860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29861         New file.
29862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29863         multiarch modf for PowerPC32.
29864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29865         New file.
29866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29867         New file.
29868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29869         multiarch modff for PowerPC32.
29871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29872         and lrintf multiarch implementations.
29873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29874         New file.
29875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29876         New file.
29877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29878         multiarch lrint for PowerPC32.
29879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29880         file: multiarch lrintf for PowerPC32.
29882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29883         and lroundf multiarch implementations.
29884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29885         New file.
29886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29887         New file.
29888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29889         New file.
29890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29891         multiarch lround for PowerPC32.
29892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29893         file: multiarch lroundf for PowerPC32.
29895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29896         copysign and copysignf multiarch implementations.
29897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29898         New file.
29899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29900         New file.
29901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29902         file: multiarch copysign for PowerPC32.
29903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29904         file: multiarch copysignf for PowerPC32.
29906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29907         and truncf multiarch implementations.
29908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29909         New file.
29910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29911         file.
29912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29913         multiarch trunc for PowerPC32.
29914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29915         New file.
29916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29917         New file.
29918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29919         multiarch truncf for PowerPC32.
29921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29922         and roundf multiarch implementations.
29923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29924         New file.
29925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29926         file.
29927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29928         multiarch round for PowerPC32.
29929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29930         New file.
29931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29932         New file.
29933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29934         multiarch roundf for PowerPC32.
29936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29937         and floorf multiarch implementations.
29938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29939         New file.
29940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29941         file.
29942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29943         multiarch floor for PowerPC32.
29944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29945         New file.
29946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29947         New file.
29948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29949         multiarch floorf for PowerPC32.
29951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29952         and ceilf multiarch implementations.
29953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29954         New file.
29955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29956         file.
29957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29958         multiarch ceil for PowerPC32.
29959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29960         New file.
29961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29962         file.
29963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29964         multiarch ceilf for PowerPC32.
29966         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29967         is defined.
29968         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29969         FINITEF is defined.
29970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29971         and finitef multiarch implementations.
29972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29973         New file.
29974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29975         file.
29976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29977         multiarch finite for PowerPC32.
29978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29979         New file.
29980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29981         file: multiarch finitef for PowerPC32.
29983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29984         and isinff multiarch implementations.
29985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29986         file.
29987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29988         file.
29989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29990         multiarch isinf for PowerPC32.
29991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29992         New file.
29993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29994         multiarch isinff for PowerPC32.
29996         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29997         alias when __isnan is defined.
29998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29999         and isnanf multiarch implementations.
30000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
30001         file.
30002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
30003         file.
30004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
30005         file.
30006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
30007         file.
30008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
30009         multiarch isnan for PowerPC32.
30010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
30011         New file.
30012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
30013         New file.
30014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
30015         multiarch isnanf for PowerPC32.
30017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
30018         and sqrtf multiarch implementations.
30019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
30020         file.
30021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
30022         file.
30023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30024         multiarch sqrt for PowerPC32.
30025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30026         file.
30027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30028         file.
30029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30030         multiarch sqrtf for PowerPC32.
30032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30033         and llroundf multiarch implementations.
30034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30035         New file.
30036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30037         New file.
30038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30039         New file.
30040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30041         file: multiarch llround for PowerPC32.
30042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30043         file: multiarch llroundf for PowerPC32.
30045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30046         multiarch PowerPC32 fpu implementations.
30047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30048         New file.
30049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30050         New file.
30051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30052         multiarch llrint for PowerPC32.
30053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30054         New file.
30055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30056         New file.
30057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30058         file.
30060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30062         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30063         file.
30064         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30065         file.
30066         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30067         file.
30068         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30069         multiarch wordcopy for PPC32.
30070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30071         wordcopy objects.
30072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30073         (__libc_ifunc_impl_list): Likewise.
30074         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30075         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30076         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30077         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30078         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30079         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30081         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30083         file.
30084         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30085         file.
30086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30087         file.
30088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30089         multiarch wcscpy for PPC32.
30090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30091         multiarch objects.
30092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30093         (__libc_ifunc_impl_list): Likewise.
30094         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30095         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30096         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30097         sysdeps/powerpc/power6/wcscpy.c.
30099         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30101         file.
30102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30103         file.
30104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30105         file.
30106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30107         multiarch wcsrchr for PPC32.
30108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30109         multiarch objects.
30110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30111         (__libc_ifunc_impl_list): Likewise.
30112         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30113         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30114         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30115         sysdeps/powerpc/power6/wcsrchr.c.
30117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30118         file.
30119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30120         file.
30121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30123         multiarch wcschr for PPc32.
30124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30125         multiarch objects.
30126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30127         (__libc_ifunc_impl_list): Likewise.
30128         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30129         * sysdeps/powerpc/power6/wcschr.c: ... to here.
30130         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30131         sysdeps/powerpc/power6/wcschr.c.
30133         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30134         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30135         file.
30136         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30137         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30138         file: multiarch strchr for PPC32.
30139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30140         multiarch objects.
30141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30142         (__libc_ifunc_impl_list): Likewise.
30144         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30145         name.
30146         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30147         file.
30148         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30149         file.
30150         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30151         multiarch strchrnul for PPC32.
30152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30153         multiarch objects.
30154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30155         (__libc_ifunc_impl_list): Likewise.
30157         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30158         file.
30159         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30160         multiarch strncasecmp for PPC32.
30161         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30162         file.
30163         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30164         multiarch strncasecmp_l for PPC32.
30165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30166         strncasecmp multiarch objects.
30167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30168         (__libc_ifunc_impl_list): Likewise.
30170         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30171         file.
30172         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30173         multiarch strncasecmp for PPC32.
30174         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30175         New file.
30176         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30177         multiarch strcasecmp_l for PPC32.
30178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30179         multiarch objects.
30180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30181         (__libc_ifunc_impl_list): Likewise.
30183         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30184         file.
30185         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30186         file.
30187         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30188         multiarch strncmp for PPC32.
30189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30190         multiarch objects.
30191         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30192         (__libc_ifunc_impl_list): Likewise.
30194         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30195         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30196         file.
30197         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30198         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30200         multiarch objects.
30201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30202         (__libc_ifunc_impl_list): Likewise.
30204         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30205         file.
30206         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30207         file.
30208         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30210         multiarch objects.
30211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30212         (__libc_ifunc_impl_list): Likewise.
30214         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30215         file.
30216         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30217         file.
30218         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30219         multiarch rawmemchr for PPC32.
30220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30221         multiarch objects.
30222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30223         (__libc_ifunc_impl_list): Likewise.
30225         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30226         file.
30227         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30228         file.
30229         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30230         file: memrchr multiarch for PPC32.
30231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30232         multiarch objects.
30233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30234         (__libc_ifunc_impl_list): Likewise.
30236         * string/memchr.c (__memchr): Using macro to redefine symbol name.
30237         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30238         file.
30239         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30240         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30241         multiarch memchr for PPC32.
30242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30243         multiarch objects.
30244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30245         (__libc_ifunc_impl_list): Likewise.
30247         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30248         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30249         file.
30250         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30251         file.
30252         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30253         file: multiarch mempcpy for PPC32.
30254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30255         multiarch objects.
30256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30257         (__libc_ifunc_impl_list): Likewise.
30259         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30260         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30261         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30262         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30263         multiarch bzero for PPC32.
30264         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30265         file.
30266         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30267         file.
30268         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30269         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30270         file: multiarch memset for PPC32.
30271         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30273         memset multiarch objects.
30274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30275         (__libc_ifunc_impl_list): Likewise.
30277         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30278         file.
30279         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30280         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30281         memcmp for PPC32.
30282         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30284         multiarch objects.
30285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30286         (__libc_ifunc_impl_list): Likewise.
30288         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30289         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30290         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30291         file.
30292         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30293         file.
30294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30295         file.
30296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30297         multiarch memcpy for PPC32.
30298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30299         multiarch objects.
30300         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30301         (__libc_ifunc_impl_list): Likewise.
30303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30304         support multiarch for POWER/PPC32.
30305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30306         Likewise.
30307         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30309         Implies file to make multiarch folder appers before the fpu and
30310         default folder for power4 configuration.
30312 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30314         * scripts/bench.pl: Append volatile keyword to type.
30316 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30318         * sysdeps/sh/sotruss-lib.c: New file.
30319         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30321 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30325 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
30327         [BZ #6810]
30328         * math/w_tgamma.c: Include <errno.h>.
30329         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
30330         * math/w_tgammaf.c: Include <errno.h>.
30331         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
30332         * math/w_tgammal.c: Include <errno.h>.
30333         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
30334         * math/auto-libm-test-in: Do not allow missing errno on tgamma
30335         underflow.  Add more tgamma tests.
30336         * math/auto-libm-test-out: Regenerated.
30337         * sysdeps/i386/fpu/libm-test-ulps: Update.
30338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30340         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30341         sin, sinh, tan, tanh, tgamma, y0 and y1.
30342         * math/auto-libm-test-out: Regenerated.
30343         * math/libm-test.inc (TEST_COND_x86_64): New macro.
30344         (TEST_COND_x86): Likewise.
30345         (M_E2l): Remove macro.
30346         (M_E3l): Likewise.
30347         (M_2_SQRT_PIl): Likewise.
30348         (M_SQRT_PIl): Likewise.
30349         (M_1_DIV_El): Likewise.
30350         (log_test_data): Use AUTO_TESTS_f_f.
30351         (log10_test_data): Likewise.
30352         (log1p_test_data): Likewise.
30353         (log2_test_data): Likewise.
30354         (sin_test_data): Likewise.
30355         (sin_tonearest_test_data): Likewise.
30356         (sin_towardzero_test_data): Likewise.
30357         (sin_downward_test_data): Likewise.
30358         (sin_upward_test_data): Likewise.
30359         (sinh_test_data): Likewise.
30360         (sinh_tonearest_test_data): Likewise.
30361         (sinh_towardzero_test_data): Likewise.
30362         (sinh_downward_test_data): Likewise.
30363         (sinh_upward_test_data): Likewise.
30364         (tan_test_data): Likewise.
30365         (tan_tonearest_test_data): Likewise.
30366         (tan_towardzero_test_data): Likewise.
30367         (tan_downward_test_data): Likewise.
30368         (tan_upward_test_data): Likewise.
30369         (tanh_test_data): Likewise.
30370         (tgamma_test_data): Likewise.
30371         (y0_test_data): Likewise.
30372         (y1_test_data): Likewise.
30373         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30374         (special_real_inputs): Add pi/4.
30375         * sysdeps/i386/fpu/libm-test-ulps: Update.
30376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30378 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30380         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30381         "longjmp_target" static probes.
30382         (__longjmp): Rename to __longjmp_symbol.
30383         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30384         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30385         on which longjmp to generate.
30386         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30387         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30388         probe.
30389         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30390         (__sigjmp_save): Rename to __sigjmp_save_symbol.
30391         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30392         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30393         and __sigjmp_save_symbol based on which sigsetjmp to generated.
30394         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30396         __longjmp_symbol based on which __longjmp to generate.
30397         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30398         probe.
30399         (setjmp): Rename to setjmp_symbol.
30400         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30401         (_setjmp): Rename to _setjmp_symbol.
30402         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30403         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30404         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30405         which setjmp to generate.
30406         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30407         "longjmp_target" static probes.
30409 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30411         * benchtests/README: Add note about output arguments.
30412         * benchtests/bench-sincos.c: Remove file.
30413         * benchtests/sincos-inputs: New file.
30414         * scripts/bench.pl: Identify output arguments and define
30415         static variables for them.
30417         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30419         [BZ #15941]
30420         * Makefile (INSTALL): Add install-plain.texi as the primary
30421         dependency.
30422         * manual/install-plain.texi: New file.
30423         * manual/install.texi: Include node directive only for
30424         non-plaintext output.
30426 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
30428         * stdlib/longlong.h: Update from GCC.
30430         [BZ #6807]
30431         [BZ #15901]
30432         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30433         * math/w_j0f.c (y0f): Likewise.
30434         * math/w_j0l.c (__y0l): Likewise.
30435         * math/w_j1.c (y1): Likewise.
30436         * math/w_j1f.c (y1f): Likewise.
30437         * math/w_j1l.c (__y1l): Likewise
30438         * math/w_jn.c (yn): Likewise.
30439         * math/w_jnf.c (ynf): Likewise.
30440         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30441         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
30442         value for Bessel function domain errors outside _SVID_ mode.
30443         Adjust sign of return value for yn (negative integer, 0).
30444         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30445         by zero in return for negative x and set sign appropriately for
30446         negative n.
30447         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30448         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30449         * math/libm-test.inc (y0_test_data): Add more tests and adjust
30450         expectations in error cases.
30451         (y1_test_data): Likewise.
30452         (yn_test_data): Likewise.
30453         * sysdeps/i386/fpu/libm-test-ulps: Update.
30454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30456 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30458         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30459         "64" to "64-v1".  Add "64-v2".
30460         (abi-64-options): Rename to ...
30461         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
30462         (abi-64-condition): Rename to ...
30463         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
30464         (abi-64-ld-soname): Rename to ...
30465         (abi-64-v1-ld-soname): ... this.
30466         (abi-64-v2-options): Define.
30467         (abi-64-v2-condition): Likewise.
30468         (abi-64-v2-ld-soname): Likewise.
30469         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30470         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30475 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30476             Alan Modra  <amodra@gmail.com>
30478         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30479         New versions for use with the ELFv2 ABI.
30480         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30481         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30482         declaration.
30483         (struct La_ppc64v2_retval): Likewise.
30484         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30485         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30486         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30487         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30488         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30489         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30490         Do not save or restore CR.
30491         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30492         (_dl_profile_resolve): Do no save or restore CR.  Support extended
30493         return values for ELFv2 ABI.  Fix location of FPR return registers.
30494         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30495         updated values for _CALL_ELF == 2.
30496         (La_regs, La_retval, int_retval): Likewise.
30498 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30500         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30501         (FRAME_MIN_SIZE_PARM): Likewise.
30502         (FRAME_BACKCHAIN): Likewise.
30503         (FRAME_CR_SAVE): Likewise.
30504         (FRAME_LR_SAVE): Likewise.
30505         (FRAME_TOC_SAVE): Likewise.
30506         (FRAME_PARM_SAVE): Likewise.
30507         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30508         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30509         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30510         (call_mcount_parm_offset): New macro.
30511         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30512         (PROF): Use symbolic stack frame offsets.
30513         (TAIL_CALL_SYSCALL_ERROR): Likewise.
30514         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30515         Redefine in terms of FRAME_MIN_SIZE.
30516         (_dl_runtime_resolve): Use symbolic stack frame offsets.
30517         (_dl_profile_resolve): Likewise.  Update comment.
30518         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30519         symbols stack frame offsets.
30520         (__sigsetjmp): Likewise.
30521         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30522         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30523         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30524         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30527         (FRAME_BACKCHAIN): Remove.
30528         (FRAME_CR_SAVE): Likewise.
30529         (FRAME_LR_SAVE): Likewise.
30530         (FRAME_COMPILER_DW): Likewise.
30531         (FRAME_LINKER_DW): Likewise.
30532         (FRAME_TOC_SAVE): Likewise.
30533         (FRAME_PARM_SAVE): Likewise.
30534         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30535         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30536         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30538         (CHECK_SP): Use symbolic stack frame offsets.
30539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30540         zone" instead of caller's parameter save area for temp storage.
30541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30542         Likewise.  Also, use symbolic stack frame offsets.
30543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30544         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30545         our own stack frame instead of the caller's.
30546         (__socket): Use symbolic stack frame offsets.
30548 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30549             Alan Modra  <amodra@gmail.com>
30551         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30552         Define.
30553         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30554         (PPC64_LOCAL_ENTRY_OFFSET): Define.
30555         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30556         New function.
30557         (elf_machine_fixup_plt): Call it.
30558         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
30559         reloc arguments.
30560         (elf_machine_rela): Update call to elf_machine_plt_conflict.
30561         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30562         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30563         r2 before calling target.
30565 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30566             Alan Modra  <amodra@gmail.com>
30568         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30569         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30570         versions of macros to support ELFv2 ABI.
30571         (LOCALENTRY): New macro.
30572         (ENTRY, EALIGN): Use it.
30573         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30574         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30575         fall through into ENTRY entry point.
30576         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30577         Only define if _CALL_ELF != 2.
30579         (elf_machine_matches_host): Verify ABI version matches.
30580         (RTLD_START): Use LOCALENTRY.
30581         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30582         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30583         (PLT_ENTRY_WORDS): New macro.
30584         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30585         (elf_machine_runtime_setup): Support ELFv2 ABI.
30586         (elf_machine_fixup_plt): Likewise.
30587         (elf_machine_plt_conflict): Likewise.
30588         (resolve_ifunc): Likewise.
30589         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30590         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30591         Likewise.
30592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30593         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30595         (makecontext): Support ELFv2 ABI.
30596         * elf/elf.h (EF_PPC64_ABI): Define.
30598 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30600         * sysdeps/powerpc/powerpc64/sysdep.h
30601         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30602         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30603         (ENTRY) [ASSEMBLER]: ... but instead here ...
30604         (EALIGN) [ASSEMBLER]: ... and here.
30605         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30606         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30607         (ENTRY_2) [!ASSEMBLER]: Use it.
30608         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30609         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
30610         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30611         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30612         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30614         Use PPC64_LOAD_FUNCPTR.
30616         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30618 2013-12-04  Alan Modra  <amodra@gmail.com>
30620         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30621         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30622         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30623         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30625         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30626         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30627         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30628         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30629         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30630         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30632 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30635         (__makecontext): Fix incorrect CFI when backtracing out of
30636         context created via makecontext.
30637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30638         (__setcontext): Fix incorrect CFI during switch to new context.
30639         (__novec_setcontext): Likewise.
30641 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
30643         [BZ #4772]
30644         * time/strptime_l.c (__strptime_internal): Allow modifiers
30645         in strptime.
30646         * time/tst-strptime.c (day_tests): Add testcase.
30648 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30650         * scripts/bench.pl: Skip over blank lines.
30652 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
30654         [BZ #926]
30655         * manual/time.texi (Calendar Time): Clarify what timezone functions
30656         use.
30658 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30662 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
30664         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30665         implementation.
30666         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30667         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30668         * debug/memset_chk.c (__memset_chk): Likewise.
30669         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30670         * debug/strncpy_chk.c: Likewise.
30672 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
30674         [BZ #15268]
30675         [BZ #15425]
30676         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30677         (__ieee754_exp): For possibly underflowing results, check size of
30678         result and force underflow exception if required.
30679         * math/auto-libm-test-in: Add more tests of exp.
30680         * math/auto-libm-test-out: Regenerated.
30681         * sysdeps/i386/fpu/libm-test-ulps: Update.
30682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30684         [BZ #16283]
30685         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30686         * math/w_exp2f.c (__exp2f): Likewise.
30687         * math/w_exp2l.c (__exp2l): Likewise.
30688         * math/auto-libm-test-in: Do not allow missing errno on exp2
30689         underflow.
30690         * math/auto-libm-test-out: Regenerated.
30692 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
30694         [BZ #16274]
30695         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30696         handle filename validation.
30697         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30698         (do_open): Delete.
30700 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
30702         [BZ #6786]
30703         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30704         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30705         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30706         <float.h>.
30707         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30708         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30709         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30710         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30711         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30712         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30713         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30714         * math/auto-libm-test-in: Don't allow missing errno from erfc.
30715         Add more erfc tests.
30716         * math/auto-libm-test-out: Regenerated.
30717         * sysdeps/i386/fpu/libm-test-ulps: Update.
30718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30720         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30721         exp2, expm1, j0 and j1.
30722         * math/auto-libm-test-out: Regenerated.
30723         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30724         (erfc_test_data): Likewise.
30725         (exp_test_data): Likewise.
30726         (exp_tonearest_test_data): Likewise.
30727         (exp_towardzero_test_data): Likewise.
30728         (exp_downward_test_data): Likewise.
30729         (exp_upward_test_data): Likewise.
30730         (exp10_test_data): Likewise.
30731         (exp2_test_data): Likewise.
30732         (expm1_test_data): Likewise.
30733         (j0_test_data): Likewise.
30734         (j1_test_data): Likewise.
30735         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30736         (input_flag_type): Add flag_xfail_rounding.
30737         (input_flags): Add xfail-rounding.
30738         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30739         (output_for_one_input_case): Handle flag_xfail_rounding.
30740         * sysdeps/i386/fpu/libm-test-ulps: Update.
30741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30743 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
30745         [BZ #16289]
30746         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30747         division by 0.
30749 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30751         [BZ #16195]
30752         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30753         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30754         (STAP_PROBE0): New macro.
30755         (STAP_PROBE1): Likewise.
30756         (STAP_PROBE2): Likewise.
30757         (STAP_PROBE3): Likewise.
30758         (STAP_PROBE4): Likewise.
30760 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
30762         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30764 2013-12-02  Steve Ellcey  <sellcey@mips.com>
30766         * benchtests/Makefile (bench): Add sqrt.
30767         (LDLIBS-bench-sqrt): New.
30768         * benchtests/sqrt-input: New.
30770 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
30772         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30773         (GAIH_EAI): Likewise.
30774         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30775         (gaih_inet): Likewise.
30776         (getaddrinfo): Don't use GAIH_EAI.
30778         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30779         (struct gaih): Remove definition.
30781 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30783         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30784         Use HERRNOP directly.
30786 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30790 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
30792         * math/gen-auto-libm-tests.c (test_functions): Add more
30793         single-argument functions.
30794         (special_fill_pi_2): New function.
30795         (special_fill_minus_pi_2): Likewise.
30796         (special_fill_pi_6): Likewise.
30797         (special_fill_minus_pi_6): Likewise.
30798         (special_fill_pi_3): Likewise.
30799         (special_fill_2pi_3): Likewise.
30800         (special_fill_e): Likewise.
30801         (special_fill_1_e): Likewise.
30802         (special_fill_e_minus_1): Likewise.
30803         (special_real_inputs): Add more special inputs.
30804         (output_for_one_input_case): Do not require ERANGE on underflow to
30805         zero if round-to-nearest result does not underflow to zero, unless
30806         exact results required.
30807         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30808         atan, atanh, cbrt, cos and cosh.
30809         * math/auto-libm-test-out: Regenerated.
30810         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30811         (acos_tonearest_test_data): Likewise.
30812         (acos_towardzero_test_data): Likewise.
30813         (acos_downward_test_data): Likewise.
30814         (acos_upward_test_data): Likewise.
30815         (acosh_test_data): Likewise.
30816         (asin_test_data): Likewise.
30817         (asin_tonearest_test_data): Likewise.
30818         (asin_towardzero_test_data): Likewise.
30819         (asin_upward_test_data): Likewise.
30820         (asinh_test_data): Likewise.
30821         (atan_test_data): Likewise.
30822         (atanh_test_data): Likewise.
30823         (cbrt_test_data): Likewise.
30824         (cos_test_data): Likewise.
30825         (cos_tonearest_test_data): Likewise.
30826         (cos_towardzero_test_data): Likewise.
30827         (cos_downward_test_data): Likewise.
30828         (cos_upward_test_data): Likewise.
30829         (cosh_test_data): Likewise.
30830         (cosh_tonearest_test_data): Likewise.
30831         (cosh_towardzero_test_data): Likewise.
30832         (cosh_downward_test_data): Likewise.
30833         (cosh_upward_test_data): Likewise.
30834         * sysdeps/i386/fpu/libm-test-ulps: Update.
30835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30837 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
30839         [BZ #6787]
30840         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30841         * math/w_exp10f.c (__exp10f): Likewise.
30842         * math/w_exp10l.c (__exp10l): Likewise.
30843         * math/libm-test.inc (exp10_test_data): Add more tests and expect
30844         errno settings in existing tests.
30846         [BZ #14032]
30847         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30848         precision control set to double precision.
30849         * sysdeps/i386/fpu/w_sqrt.c: New file.
30850         * math/auto-libm-test-in: Add more tests.
30851         * math/auto-libm-test-out: Update.
30853         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30854         (sqrt_test_tonearest): New function.
30855         (sqrt_towardzero_test_data): New variable.
30856         (sqrt_test_towardzero): New function.
30857         (sqrt_downward_test_data): New variable.
30858         (sqrt_test_downward): New function.
30859         (sqrt_upward_test_data): New variable.
30860         (sqrt_test_upward): New function.
30861         (main): Call the new functions.
30863         * math/gen-auto-libm-tests.c: New file.
30864         * math/auto-libm-test-in: Likewise.
30865         * math/auto-libm-test-out: New generated file.
30866         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30867         variables.
30868         (%beautify): Add generated representations of zero.
30869         (top level): Set $auto_input and call parse_auto_input.
30870         (beautify): Remove trailing "f" from hex float constants.
30871         (parse_args): Handle XFAIL_TEST.
30872         (convert_condition): New function.
30873         (or_value): Likewise.
30874         (or_cond_value): Likewise.
30875         (generate_testfile): Handle AUTO_TESTS_* lines.
30876         (parse_auto_input): New function.
30877         * math/libm-test.inc (XFAIL_TEST): New macro.
30878         (ERRNO_UNCHANGED): Update value.
30879         (ERRNO_EDOM): Likewise.
30880         (ERRNO_ERANGE): Likewise.
30881         (IGNORE_RESULT): Likewise.
30882         (TEST_COND_flt_32): New macro.
30883         (TEST_COND_dbl_64): Likewise.
30884         (TEST_COND_ldbl_96_intel): Likewise.
30885         (TEST_COND_ldbl_96_m68k): Likewise.
30886         (TEST_COND_ldbl_128): Likewise.
30887         (TEST_COND_ldbl_128ibm): Likewise.
30888         (TEST_COND_long32): Likewise.
30889         (TEST_COND_long64): Likewise.
30890         (TEST_COND_before_rounding): Likewise.
30891         (TEST_COND_after_rounding): Likewise.
30892         (enable_test): Handle XFAIL_TEST flag.
30893         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30894         with finite results.
30895         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30896         auto-libm-test-out.
30898 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30899             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30901         [BZ #16214]
30902         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30903         __tls_get_addr_internal instead of __tls_get_offset in order to
30904         avoid GOT pointer dependency.  Make rtld export
30905         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30906         __tls_get_addr since we are a __tls_get_offset platform.
30907         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30908         GOT pointer being set up before.
30909         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30911 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
30913         * manual/math.texi (Errors in Math Functions): Document accuracy
30914         goals.
30916         [BZ #15004]
30917         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30918         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30919         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30920         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30921         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30922         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30923         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30924         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30925         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30926         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30927         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30928         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30929         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30930         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30931         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30932         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30934         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30935         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30936         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30937         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30938         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30939         Likewise.
30940         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30941         Likewise.
30942         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30943         Likewise.
30944         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30945         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30946         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30947         atomic-feupdateenv and flt-rounds.
30948         * sysdeps/powerpc/nofpu/Versions (libc): Add
30949         __atomic_feholdexcept, __atomic_feclearexcept,
30950         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30951         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30952         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30953         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30954         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30955         here.
30956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30957         Update.
30959         * manual/arith.texi (FP Exceptions): Document that exceptions may
30960         not be raised when matherr is used.
30961         (Math Error Reporting): Document overflow in directed rounding
30962         modes.  Document that errno may not be set when finite values are
30963         returned on overflow.  Document intent to set errno on underflow
30964         only for underflow to zero.
30966         [BZ #16271]
30967         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30968         round-to-nearest then adjust result for other rounding modes.
30969         * include/fenv.h (fegetround): Use libm_hidden_proto.
30970         * math/fegetround.c (fegetround): Use libm_hidden_def.
30971         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30972         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30973         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30974         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30975         Likewise.
30976         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30977         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30978         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30979         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30981 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30983         [BZ #16077]
30984         * nss/Versions (libnss_files): Add
30985         _nss_files_gethostbyname3_r.
30986         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30987         New function.
30988         (HOST_DB_LOOKUP): Remove macro.
30989         (_nss_files_gethostbyname_r): Implement function without the
30990         HOST_DB_LOOKUP macro.
30991         (_nss_files_gethostbyname2_r): Likewise.
30993 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
30995         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30997 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
30999         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
31000         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
31001         warning.
31003 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31005         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
31006         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
31007         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31008         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31009         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
31010         __fe_nomask_env_priv and attribute_hidden.
31011         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
31012         (libc_feupdateenv_test_ppc): Likewise.
31013         (libc_feresetround_ppc): Likewise.
31014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31015         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
31016         compat_symbol macro.
31017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31018         (__fe_nomask_env): Likewise.
31019         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
31021 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31023         * string/Makefile: Remove ifunc tests.
31024         * string/test-string.h: Define TEST_IFUNC.
31025         * string/test-bcopy-ifunc.c: Remove.
31026         * string/test-bzero-ifunc.c: Likewise.
31027         * string/test-memccpy-ifunc.c: Likewise.
31028         * string/test-memchr-ifunc.c: Likewise.
31029         * string/test-memcmp-ifunc.c: Likewise.
31030         * string/test-memcpy-ifunc.c: Likewise.
31031         * string/test-memmem-ifunc.c: Likewise.
31032         * string/test-memmove-ifunc.c: Likewise.
31033         * string/test-mempcpy-ifunc.c: Likewise.
31034         * string/test-memrchr-ifunc.c: Likewise.
31035         * string/test-memset-ifunc.c: Likewise.
31036         * string/test-rawmemchr-ifunc.c: Likewise.
31037         * string/test-stpcpy-ifunc.c: Likewise.
31038         * string/test-stpncpy-ifunc.c: Likewise.
31039         * string/test-strcasecmp-ifunc.c: Likewise.
31040         * string/test-strcasestr-ifunc.c: Likewise.
31041         * string/test-strcat-ifunc.c: Likewise.
31042         * string/test-strchr-ifunc.c: Likewise.
31043         * string/test-strchrnul-ifunc.c: Likewise.
31044         * string/test-strcmp-ifunc.c: Likewise.
31045         * string/test-strcpy-ifunc.c: Likewise.
31046         * string/test-strcspn-ifunc.c: Likewise.
31047         * string/test-strlen-ifunc.c: Likewise.
31048         * string/test-strncasecmp-ifunc.c: Likewise.
31049         * string/test-strncat-ifunc.c: Likewise.
31050         * string/test-strncmp-ifunc.c: Likewise.
31051         * string/test-strncpy-ifunc.c: Likewise.
31052         * string/test-strnlen-ifunc.c: Likewise.
31053         * string/test-strpbrk-ifunc.c: Likewise.
31054         * string/test-strrchr-ifunc.c: Likewise.
31055         * string/test-strspn-ifunc.c: Likewise.
31056         * string/test-strstr-ifunc.c: Likewise.
31058 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31060         * benchtests/Makefile: Remove ifunc tests.
31061         * benchtests/bench-string.h: Define TEST_IFUNC.
31062         * benchtests/bench-bcopy-ifunc.c: Remove.
31063         * benchtests/bench-bzero-ifunc.c: Likewise.
31064         * benchtests/bench-memccpy-ifunc.c: Likewise.
31065         * benchtests/bench-memchr-ifunc.c: Likewise.
31066         * benchtests/bench-memcmp-ifunc.c: Likewise.
31067         * benchtests/bench-memcpy-ifunc.c: Likewise.
31068         * benchtests/bench-memmem-ifunc.c: Likewise.
31069         * benchtests/bench-memmove-ifunc.c: Likewise.
31070         * benchtests/bench-mempcpy-ifunc.c: Likewise.
31071         * benchtests/bench-memrchr-ifunc.c: Likewise.
31072         * benchtests/bench-memset-ifunc.c: Likewise.
31073         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31074         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31075         * benchtests/bench-stpcpy-ifunc.c: Likewise.
31076         * benchtests/bench-stpncpy-ifunc.c: Likewise.
31077         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31078         * benchtests/bench-strcasestr-ifunc.c: Likewise.
31079         * benchtests/bench-strcat-ifunc.c: Likewise.
31080         * benchtests/bench-strchr-ifunc.c: Likewise.
31081         * benchtests/bench-strchrnul-ifunc.c: Likewise.
31082         * benchtests/bench-strcmp-ifunc.c: Likewise.
31083         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31084         * benchtests/bench-strcpy-ifunc.c: Likewise.
31085         * benchtests/bench-strcspn-ifunc.c: Likewise.
31086         * benchtests/bench-strlen-ifunc.c: Likewise.
31087         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31088         * benchtests/bench-strncat-ifunc.c: Likewise.
31089         * benchtests/bench-strncmp-ifunc.c: Likewise.
31090         * benchtests/bench-strncpy-ifunc.c: Likewise.
31091         * benchtests/bench-strnlen-ifunc.c: Likewise.
31092         * benchtests/bench-strpbrk-ifunc.c: Likewise.
31093         * benchtests/bench-strrchr-ifunc.c: Likewise.
31094         * benchtests/bench-strsep-ifunc.c: Likewise.
31095         * benchtests/bench-strspn-ifunc.c: Likewise.
31096         * benchtests/bench-strstr-ifunc.c: Likewise.
31098 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31100         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31102 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31104         * resolv/netdb.h: Use __glibc_reserved instead __unused.
31105         * rt/aio.h: Likewise.
31106         * sysdeps/gnu/bits/utmp.h: Likewise.
31107         * sysdeps/gnu/bits/utmpx.h: Likewise.
31108         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31109         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31110         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31111         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31112         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31113         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31114         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31115         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31116         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31117         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31118         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31119         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31120         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31122         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31123         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31124         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31125         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31126         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31127         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31128         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31129         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31130         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31131         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31132         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31134         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31135         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31136         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31137         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31138         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31139         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31140         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31141         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31142         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31143         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31144         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31145         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31146         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31147         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31148         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31149         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31151 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
31153         [BZ #16245]
31154         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31155         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31157 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
31159         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31160         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31161         Likewise.
31163 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31165         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31166         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31167         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31168         (__fesetround): Remove define.
31169         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31170         rounding and exceptions handling.
31171         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31172         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31173         (__fe_nomask_env): Likewise.
31174         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31175         __fegetround instead of fegetround.
31176         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31177         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31179 2013-11-21  Roland McGrath  <roland@hack.frob.com>
31181         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31182         it's there.
31184         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31186 2013-11-21  Meador Inge  <meadori@codesourcery.com>
31188         [BZ #11157]
31189         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31190         (encrypt_r): Likewise.
31191         * malloc/obstack.h (obstack_free): Likewise.
31192         * posix/unistd.h (encrypt): Likewise.
31194 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
31196         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31197         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31198         DL_CALL_DT_FINI() that call the functions directly.
31199         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31200         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31201         * elf/dl-fini.c: Likewise.
31203 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
31205         * malloc/hooks.c (memalign_check): Add alignment rounding.
31206         * malloc/malloc.c (_mid_memalign): New function.
31207         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31208         Implement by calling _mid_memalign.
31209         * manual/probes.texi (Memory Allocation Probes): Remove
31210         memory_valloc_retry and memory_pvalloc_retry.
31212 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31214         * locale/programs/locarchive.c (open_archive): Add const
31215         qualifier to ARCHIVEFNAME and copy default fname to
31216         DEFAULT_FNAME.
31218         [BZ #15601]
31219         * libio/tst-widetext.input: Rename Oriya to Odia.
31220         * locale/iso-639.def: Likewise.
31222         * manual/probes.texi (Mathematical Function Probes): Add
31223         documentation for sin, cos, asin and acos probes.
31224         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31225         (__sin32): Add slowasin probe.
31226         (__cos32): Add slowacos probe.
31227         (__mpsin): Add slowsin probe.
31228         (__mpcos): Add slowcos probe.
31230 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
31232         [BZ #15483]
31233         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31234         thread-local __sim_exceptions_thread and global
31235         __sim_exceptions_global.
31236         (__sim_disabled_exceptions): Change to thread-local
31237         __sim_disabled_exceptions_thread and global
31238         __sim_disabled_exceptions_global.
31239         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31240         and global __sim_round_mode_global.
31241         (__simulate_exceptions): Use thread-local floating-point state and
31242         set global state from it as needed.
31243         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31244         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31245         __sim_round_mode_thread.
31246         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31247         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31248         and global __sim_exceptions_global.
31249         (__sim_disabled_exceptions): Change to thread-local
31250         __sim_disabled_exceptions_thread and global
31251         __sim_disabled_exceptions_global.
31252         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31253         and global __sim_round_mode_global.
31254         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31255         (SIM_SET_GLOBAL): Likewise.
31256         * sysdeps/powerpc/soft-fp/sfp-machine.h
31257         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31258         __sim_round_mode_thread.
31259         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31260         __sim_disabled_exceptions_thread.
31261         (__sim_exceptions): Change to __sim_exceptions_thread.
31262         (__sim_disabled_exceptions): Change to
31263         __sim_disabled_exceptions_thread.
31264         (__sim_round_mode): Change to __sim_round_mode_thread.
31265         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31266         thread-local floating-point state and set global state from it as
31267         needed.
31268         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31269         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31270         (__sim_disabled_exceptions): Remove extern declaration.
31271         (feenableexcept): Use thread-local floating-point state and set
31272         global state from it as needed.
31273         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31274         extern declaration.
31275         (__sim_disabled_exceptions): Likewise.
31276         (__sim_round_mode): Likewise.
31277         (__fegetenv): Use thread-local floating-point state.
31278         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31279         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31280         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31281         floating-point state and set global state from it as needed.
31282         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31283         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31284         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31285         Likewise.
31286         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31287         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31288         Likewise.
31289         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31290         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31291         Use __sim_round_mode_thread.
31292         * math/test-fenv-tls.c: New file.
31293         * math/Makefile (tests): Add test-fenv-tls.
31294         ($(objpfx)test-fenv-tls): Depend on
31295         $(common-objpfx)nptl/libpthread.so.
31297 2013-11-19  Andreas Schwab  <schwab@suse.de>
31299         * locale/programs/locale.c (show_info): Decode wordarray elements.
31300         * locale/categories.def (LC_MONETARY): Add element for
31301         _NL_MONETARY_CRNCYSTR.
31302         * locale/C-monetary.c (conversion_rate): New variable.
31303         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31304         element.
31306 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
31308         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31309         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31311 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31313         * elf/Makefile (tst-auxv): New test.
31314         * elf/tst-auxv.c: New
31315         * elf/rtld.c (dl_main): Adjust AT_EXECFN
31317 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
31319         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31320         (hidden_proto): Caller changed.
31321         (hidden_tls_proto): New macro.
31322         (libc_hidden_tls_proto): Likewise.
31323         (rtld_hidden_tls_proto): Likewise.
31324         (libm_hidden_tls_proto): Likewise.
31325         (libresolv_hidden_tls_proto): Likewise.
31326         (librt_hidden_tls_proto): Likewise.
31327         (libdl_hidden_tls_proto): Likewise.
31328         (libnss_files_hidden_tls_proto): Likewise.
31329         (libnsl_hidden_tls_proto): Likewise.
31330         (libnss_nisplus_hidden_tls_proto): Likewise.
31331         (libutil_hidden_tls_proto): Likewise.
31333 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
31335         [BZ #10253]
31336         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31337         (decompose_rpath): Defer expansion to fillin_rpath.
31338         (_dl_init_paths): Pass linkmap to fillin_rpath.
31340 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31342         * benchtests/Makefile: Add strsep.
31343         * benchtests/bench-strsep.c: New file: strsep benchtest.
31344         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31346 2013-11-18  Andreas Schwab  <schwab@suse.de>
31348         * locale/programs/locale.c (show_info) [case byte]: Check for
31349         '\377' instead of '\177'.
31350         * locale/C-monetary.c (not_available): Always use "\377".
31351         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31352         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
31353         detect unavailable sign_posn locale elements.
31354         * locale/localeconv.c (__localeconv): For grouping and
31355         mon_grouping handle "\177" and "\377" like no grouping.
31356         (INT_ELEM): New macro.  Use it to set all numeric members.
31357         * locale/programs/ld-monetary.c (monetary_read)
31358         <tok_mon_grouping>: Normalize single -1 to the empty string.
31359         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31360         Likewise.
31362 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31364         [BZ #16055]
31365         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31366         when we match (nil).
31367         * stdio-common/tst-sscanf.c (struct test): Add testcase.
31369 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
31371         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31372         (NO_TEST_INLINE): Update value.
31373         (ERRNO_UNCHANGED): Likewise.
31374         (ERRNO_EDOM): Likewise.
31375         (ERRNO_ERANGE): Likewise.
31376         (IGNORE_RESULT): Likewise.
31377         (check_float_internal): Check signs of NaN results if
31378         TEST_NAN_SIGN used.
31379         (check_complex): Pass TEST_NAN_SIGN flag through to second
31380         check_float_internal call.
31381         (copysign_test_data): Add tests with quiet NaNs as second
31382         argument.  Use TEST_NAN_SIGN.
31383         (fabs_test_data): Add test of negative quiet NaN argument.  Use
31384         TEST_NAN_SIGN.
31385         (signbit_test_data): Add tests of quiet NaN argument.
31386         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31388         * math/gen-libm-test.pl (show_exceptions): Take extra argument
31389         $ignore_result.
31390         (parse_args): Handle function results specified as IGNORE.
31391         * math/libm-test.inc (IGNORE_RESULT): New macro.
31392         (check_float_internal): Do not check numerical result if flag
31393         IGNORE_RESULT set.
31394         (check_complex): Pass through IGNORE_RESULT to second
31395         check_float_internal call.
31396         (check_int): Do not check numerical result if flag IGNORE_RESULT
31397         set.
31398         (check_long): Likewise.
31399         (check_bool): Likewise.
31400         (check_longlong): Likewise.
31401         (lrint_test_data): Add tests of infinite and NaN arguments.
31402         (lrint_tonearest_test_data): Likewise.
31403         (lrint_towardzero_test_data): Likewise.
31404         (lrint_downward_test_data): Likewise.
31405         (lrint_upward_test_data): Likewise.
31406         (llrint_test_data): Likewise.
31407         (llrint_tonearest_test_data): Likewise.
31408         (llrint_towardzero_test_data): Likewise.
31409         (llrint_downward_test_data): Likewise.
31410         (llrint_upward_test_data): Likewise.
31411         (lround_test_data): Likewise.
31412         (llround_test_data): Likewise.
31414         * math/libm-test.inc (NO_TEST_INLINE): New macro.
31415         (ERRNO_UNCHANGED): Update value.
31416         (ERRNO_EDOM): Likewise.
31417         (ERRNO_ERANGE): Likewise.
31418         (NO_TEST_INLINE_FLOAT): New macro.
31419         (NO_TEST_INLINE_DOUBLE): Likewise.
31420         (enable_test): New function.
31421         (RUN_TEST_f_f): Check enable_test before running test.
31422         (RUN_TEST_2_f): Likewise.
31423         (RUN_TEST_fff_f): Likewise.
31424         (RUN_TEST_c_f): Likewise.
31425         (RUN_TEST_f_f1): Likewise.
31426         (RUN_TEST_fF_f1): Likewise.
31427         (RUN_TEST_fI_f1): Likewise.
31428         (RUN_TEST_ffI_f1): Likewise.
31429         (RUN_TEST_c_c): Likewise.
31430         (RUN_TEST_cc_c): Likewise.
31431         (RUN_TEST_f_i): Likewise.
31432         (RUN_TEST_f_i_tg): Likewise.
31433         (RUN_TEST_ff_i_tg): Likewise.
31434         (RUN_TEST_f_b): Likewise.
31435         (RUN_TEST_f_b_tg): Likewise.
31436         (RUN_TEST_f_l): Likewise.
31437         (RUN_TEST_f_L): Likewise.
31438         (RUN_TEST_fFF_11): Likewise.
31439         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31440         conditionals.
31441         (cosh_test_data): Likewise.
31442         (exp_test_data): Likewise.
31443         (expm1_test_data): Likewise.
31444         (hypot_test_data): Likewise.
31445         (pow_test_data): Likewise.
31446         (sinh_test_data): Likewise.
31447         (tanh_test_data): Likewise.
31448         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31449         flags argument.
31451         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31452         tests with quiet NaN input and output.
31453         (acosh_test_data): Likewise.
31454         (asin_test_data): Likewise.
31455         (asinh_test_data): Likewise.
31456         (atan_test_data): Likewise.
31457         (atanh_test_data): Likewise.
31458         (atan2_test_data): Likewise.
31459         (cbrt_test_data): Likewise.
31460         (cos_test_data): Likewise.
31461         (cosh_test_data): Likewise.
31462         (erf_test_data): Likewise.
31463         (erfc_test_data): Likewise.
31464         (exp_test_data): Likewise.
31465         (exp10_test_data): Likewise.
31466         (exp2_test_data): Likewise.
31467         (expm1_test_data): Likewise.
31468         (hypot_test_data): Likewise.
31469         (j0_test_data): Likewise.
31470         (j1_test_data): Likewise.
31471         (jn_test_data): Likewise.
31472         (lgamma_test_data): Likewise.
31473         (log_test_data): Likewise.
31474         (log10_test_data): Likewise.
31475         (log1p_test_data): Likewise.
31476         (log2_test_data): Likewise.
31477         (pow_test_data): Likewise.
31478         (scalb_test_data): Likewise.
31479         (sin_test_data): Likewise.
31480         (sincos_test_data): Likewise.
31481         (sinh_test_data): Likewise.
31482         (tan_test_data): Likewise.
31483         (tanh_test_data): Likewise.
31484         (tgamma_test_data): Likewise.
31485         (y0_test_data): Likewise.
31486         (y1_test_data): Likewise.
31487         (yn_test_data): Likewise.
31489         [BZ #16167]
31490         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31491         argument being NaN and avoid computations with second argument in
31492         that case.
31493         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31494         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31495         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31497 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
31499         * locale/iso-639.def: Add Chitwani Tharu (the).
31501 2013-11-14  Andreas Schwab  <schwab@suse.de>
31503         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31504         word instead of empty string.
31506 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31509         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31511         (__fe_nomask_env): Likewise.
31513 2013-11-13  Steve Ellcey  <sellcey@mips.com>
31515         * benchtests/bench-timing.h: Include time.h.
31517 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
31519         [BZ #15997]
31520         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31521         to 3.4.0 for x32.
31522         * sysdeps/unix/sysv/linux/configure: Regenerated.
31524 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
31526         [BZ #16151]
31527         * stdlib/strtod_l.c (round_and_return): Do not consider
31528         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31529         exponent one less than half the least subnormal exponent.
31530         * stdlib/test-strtod-round-data: Add more tests.
31531         * stdlib/tst-strtod-round.c (tests): Regenerated.
31533 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31535         [BZ #14143]
31536         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31537         (__fe_mask_env): Likewise.
31538         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31539         libm_hidden_proto and add function prototype.
31540         (__fe_mask_env): Add function prototype.
31541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31542         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31544         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31546         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31548 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31550         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31551         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31553 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31555         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31556         of htab_find_slot().
31558 2013-11-11  David S. Miller  <davem@davemloft.net>
31560         [BZ #16150]
31561         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31562         symbol in the non-vis3 case in static builds.
31563         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31564         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31565         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31566         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31568 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
31570         [BZ #387]
31571         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31572         it is empty.
31574 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31576         * benchtests/Makefile: Add bench-strtod.
31577         * benchtests/bench-strtod.c: New file: strtod benchtest
31579 2013-11-11  Andreas Schwab  <schwab@suse.de>
31581         [BZ #16153]
31582         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31583         terminating NUL in key length.
31585 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31587         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31588         Add artificial ODP entry for vDSO symbol for PPC64.
31589         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31590         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31592 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31594         [BZ #15374]
31595         * nss/getent.c (services_keys): Recognize services starting with digit.
31597 2013-11-06  David S. Miller  <davem@davemloft.net>
31599         [BZ #15985]
31600         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31601         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31603 2013-11-06  Will Newton  <will.newton@linaro.org>
31605         * manual/memory.texi (Malloc Examples): Remove register
31606         keyword from examples.
31608 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
31610         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31612 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
31614         [BZ #6981]
31615         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31616         depending on [__GCC_IEC_559 > 0].
31617         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31618         depending on [__GCC_IEC_559_COMPLEX > 0].
31620 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
31622         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31623         to iso-639.def.
31625 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
31627         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31629 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
31631         [BZ #16112]
31632         * malloc/malloc (malloc_info): Do not handle first bin as
31633         special case.
31635 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
31637         * locale/iso-639.def: Add Central Nahuatl (nhn).
31639 2013-11-01  Bruno Haible  <bruno@clisp.org>
31641         [BZ #7003]
31642         * manual/math.texi (BSD Random): Specify range upper bound as
31643         in POSIX.
31645 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
31647         * locale/iso-639.def: Add Meadow Mari (mhr).
31649 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
31651         [BZ #14752], [BZ #15763]
31652         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31653         Validate name.
31654         * rt/tst_shm.c: Add test for escaping directory.
31656 2013-10-31  Andreas Schwab  <schwab@suse.de>
31658         [BZ #15917]
31659         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31660         followed by 'x' as part of digit sequence.
31661         * stdio-common/tst-sscanf.c (double_tests2): New tests.
31663 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31665         [BZ #16037]
31666         * configure.ac: allow GNU Make 4.0 and greater.
31667         * configure: Regenerated.
31669 2013-10-30  Will Newton  <will.newton@linaro.org>
31671         [BZ #16038]
31672         * malloc/hooks.c (memalign_check): Limit alignment to the
31673         maximum representable power of two.
31674         * malloc/malloc.c (__libc_memalign): Likewise.
31675         * malloc/tst-memalign.c (do_test): Add test for very
31676         large alignment values.
31677         * malloc/tst-posix_memalign.c (do_test): Likewise.
31679 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
31681         [BZ #11087]
31682         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31683         (munmap_chunk): Likewise.
31684         (mremap_chunk): Likewise.
31686 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
31688         [BZ #15799]
31689         * stdlib/div.c (div): Remove obsolete code.
31690         * stdlib/ldiv.c (ldiv): Likewise.
31691         * stdlib/lldiv.c (lldiv): Likewise.
31693 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31695         [BZ #16071]
31696         * nss/nss_files/files-XXX.c (get_contents_ret): New
31697         enumerator.
31698         (get_contents): New function.
31699         (internal_getent): Use it.  Expand size of LINEBUFLEN.
31701 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
31703         * configure.in: Moved to ...
31704         * configure.ac: ... here. Change reference to configure.in
31705         to configure.ac.
31706         * sysdeps/arm/preconfigure.ac: ... here.
31707         configure.in to configure.ac.
31708         * sysdeps/gnu/configure.in: Moved to ...
31709         * sysdeps/gnu/configure.ac: ... here.
31710         * sysdeps/i386/configure.in: Moved to ...
31711         * sysdeps/i386/configure.ac: ... here.
31712         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31713         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31714         * sysdeps/mach/configure.in: Moved to ...
31715         * sysdeps/mach/configure.ac: ... here.
31716         * sysdeps/mach/hurd/configure.in: Moved to ...
31717         * sysdeps/mach/hurd/configure.ac: ... here.
31718         * sysdeps/powerpc/configure.in: Moved to ...
31719         * sysdeps/powerpc/configure.ac: ... here.
31720         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31721         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31722         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31723         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31724         * sysdeps/s390/s390-32/configure.in: Moved to ...
31725         * sysdeps/s390/s390-32/configure.ac: ... here.
31726         * sysdeps/s390/s390-64/configure.in: Moved to ...
31727         * sysdeps/s390/s390-64/configure.ac: ... here.
31728         * sysdeps/sh/configure.in: Moved to ...
31729         * sysdeps/sh/configure.ac: ... here.
31730         * sysdeps/sparc/configure.in: Moved to ...
31731         * sysdeps/sparc/configure.ac: ... here.
31732         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31733         * sysdeps/unix/sysv/linux/configure.ac: ... here.
31734         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31735         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31736         * sysdeps/x86_64/configure.in: Moved to ...
31737         * sysdeps/x86_64/configure.ac: ... here.
31738         * sysdeps/x86_64/preconfigure.in: Moved to ...
31739         * sysdeps/x86_64/preconfigure.ac: ... here.
31740         * aclocal.m4: Change reference to configure.in to configure.ac.
31741         * config.h.in: Likewise.
31742         * manual/install.texi: Likewise.
31743         * manual/maint.texi: Likewise.
31744         * Makefile: Likewise.
31745         * malloc/Makefile: Likewise.
31746         * nscd/Makefile: Likewise.
31747         * Makeconfig: Change reference to configure.in and
31748         preconfigure.in to configure.ac and preconfigure.ac
31749         respectively.
31750         * INSTALL: Regenerated.
31751         * configure: Likewise.
31752         * sysdeps/gnu/configure: Likewise.
31753         * sysdeps/i386/configure: Likewise.
31754         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31755         * sysdeps/mach/configure: Likewise.
31756         * sysdeps/mach/hurd/configure: Likewise.
31757         * sysdeps/powerpc/configure: Likewise.
31758         * sysdeps/powerpc/powerpc32/configure: Likewise.
31759         * sysdeps/powerpc/powerpc64/configure: Likewise.
31760         * sysdeps/s390/s390-32/configure: Likewise.
31761         * sysdeps/s390/s390-64/configure: Likewise.
31762         * sysdeps/sh/configure: Likewise.
31763         * sysdeps/sparc/configure: Likewise.
31764         * sysdeps/unix/sysv/linux/configure: Likewise.
31765         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31766         * sysdeps/x86_64/configure: Likewise.
31767         * sysdeps/x86_64/preconfigure: Likewise.
31769 2013-10-29  Andreas Schwab  <schwab@suse.de>
31771         * stdio-common/Makefile (tst-swscanf-ENV): Define.
31773 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31775         * benchtests/pow-inputs: Add new inputs.
31777         * benchtests/exp-inputs: Add new inputs.
31779         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31780         conditional check for return value.
31781         (__cos32): Likewise.
31783 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31785         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31786         to provide a boost for large inputs with word alignment.
31787         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31788         implementation based on optimized PPC64 strcpy.
31789         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31790         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31791         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31792         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31794 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31796         [BZ #2801]
31797         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31799 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31801         [BZ #14876]
31802         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31803         * time/tst-strptime.c (day_tests): Add testcase.
31805 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
31807         [BZ #14029]
31808         * manual/pattern.texi: Acknowledge that fnmatch can fail.
31810 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
31812         [BZ #16074]
31813         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31814         MAP_FAILED on error.
31816 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31818         [BZ #16072]
31819         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31820         heap for large requests.
31822 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
31824         [BZ #9954]
31825         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31826         result if the result has no associated interface.
31827         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31828         interface for all 127.X.Y.Z addresses.
31830 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
31832         * locale/iso-639.def: Add Ligurian (lij)
31834 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
31836         [BZ #15825]
31837         * sunrpc/rpc_main.c: Document rpcgen -5.
31839 2013-10-19  Michael Stahl  <mstahl@redhat.com>
31841         * elf/rtld.c (do_preload): Print the reason why preloading failed.
31843 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
31845         [BZ #10278]
31846         * posix/glob.c: Match only directories when trailing slash is present.
31847         * posix/tst-gnuglob.c (my_opendir): Do not open files.
31848         (main): Add testcase.
31850 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
31852         [BZ #15670]
31853         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31855 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
31857         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31858         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31859         AUTH_DES and cindex for FIPS 140-2.
31860         (DES Encryption): Add cindex FIPS 46-3.
31862         * locale/locarchive.h (struct locarhandle): Add fname.
31863         * locale/programs/localedef.c (main): Pass ARGV[remaining]
31864         if an optional argument was specified to --list-archive,
31865         otherwise NULL.
31866         * locale/programs/locarchive.c (show_archive_content): Take new
31867         argument fname and pass it via ah.fname to open_archive.
31868         * locale/programs/localedef.h: Update decl.
31869         (open_archive): If AH->fname is non-null, open that file
31870         rather than the default file name, and don't ignore ENOENT.
31871         (create_archive): Set AH.fname to NULL.
31872         (delete_locales_from_archive): Likewise.
31873         (add_locales_to_archive): Likewise.
31874         * locale/programs/locfile.c (write_all_categories): Likewise.
31876 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
31877             Aldy Hernandez  <aldyh@redhat.com>
31879         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31880         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31881         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31882         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31883         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31884         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31885         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31886         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31887         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31888         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31889         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31890         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31891         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31892         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31893         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31894         Likewise.
31895         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31896         Likewise.
31897         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31898         Likewise.
31899         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31900         Likewise.
31901         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31902         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31903         Likewise.
31904         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31905         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31906         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31907         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31908         Likewise.
31909         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31910         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31911         * sysdeps/powerpc/preconfigure: Likewise.
31912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31913         Likewise.
31914         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31915         Replace contents of file by #include of <fenv_libc.h>.
31916         * sysdeps/powerpc/soft-fp/sfp-machine.h
31917         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31918         and <sys/prctl.h>.
31919         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31920         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31921         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31924         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31927         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31932         Allow copysignl PLT reference to be missing.
31934 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
31935             Joseph Myers  <joseph@codesourcery.com
31937         [BZ #15948]
31938         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31939         single character.
31940         (add_to_tablewc): Assert sequence of wide characters is nonempty.
31942 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31944         * elf/tst-tls-dlinfo.c: Don't include tls.h.
31945         * elf/tst-tls1.c: Likewise.
31946         * elf/tst-tls10.h: Likewise.
31947         * elf/tst-tls14.c: Likewise.
31948         * elf/tst-tls2.c: Likewise.
31949         * elf/tst-tls3.c: Likewise.
31950         * elf/tst-tls4.c: Likewise.
31951         * elf/tst-tls5.c: Likewise.
31952         * elf/tst-tls6.c: Likewise.
31953         * elf/tst-tls7.c: Likewise.
31954         * elf/tst-tls8.c: Likewise.
31955         * elf/tst-tls9.c: Likewise.
31956         * elf/tst-tlsmod1.c: Likewise.
31957         * elf/tst-tlsmod13.c: Likewise.
31958         * elf/tst-tlsmod13a.c: Likewise.
31959         * elf/tst-tlsmod14a.c: Likewise.
31960         * elf/tst-tlsmod16a.c: Likewise.
31961         * elf/tst-tlsmod16b.c: Likewise.
31962         * elf/tst-tlsmod2.c: Likewise.
31963         * elf/tst-tlsmod3.c: Likewise.
31964         * elf/tst-tlsmod4.c: Likewise.
31965         * elf/tst-tlsmod5.c: Likewise.
31966         * elf/tst-tlsmod6.c: Likewise.
31968 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
31970         [BZ #12486]
31971         * malloc/malloc.c: remove checks for statistics.
31973 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
31975         [BZ #15277]
31976         * inet/inet_net.c (inet_network): Detect additional invalid strings.
31977         * inet/tst-network.c: Add testcase.
31979 2013-10-17  Andreas Schwab  <schwab@suse.de>
31981         [BZ #15218]
31982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31983         to determine canonical name.
31985 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
31987         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31988         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31989         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31990         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31991         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31992         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31993         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31994         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31995         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31996         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31997         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31998         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31999         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32000         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32001         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32002         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32003         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32004         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32005         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32006         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32007         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32008         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32009         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32010         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
32011         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
32012         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32013         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32014         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
32015         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32016         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
32017         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32018         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32019         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32020         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32021         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32022         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32023         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32024         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32025         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32026         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32027         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32028         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32029         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32030         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32031         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32032         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32033         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32034         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32035         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32036         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32037         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32038         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32039         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32040         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32041         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32042         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32043         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32044         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32046 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
32048         [BZ #16041]
32049         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32050         make result into a quiet NaN.
32052 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
32054         * soft-fp/adddf3.c: Fix horizontal whitespace.
32055         * soft-fp/addsf3.c: Likewise.
32056         * soft-fp/addtf3.c: Likewise.
32057         * soft-fp/divdf3.c: Likewise.
32058         * soft-fp/divsf3.c: Likewise.
32059         * soft-fp/divtf3.c: Likewise.
32060         * soft-fp/double.h: Likewise.
32061         * soft-fp/eqdf2.c: Likewise.
32062         * soft-fp/eqsf2.c: Likewise.
32063         * soft-fp/eqtf2.c: Likewise.
32064         * soft-fp/extenddftf2.c: Likewise.
32065         * soft-fp/extended.h: Likewise.
32066         * soft-fp/extendsfdf2.c: Likewise.
32067         * soft-fp/extendsftf2.c: Likewise.
32068         * soft-fp/extendxftf2.c: Likewise.
32069         * soft-fp/fixdfdi.c: Likewise.
32070         * soft-fp/fixdfsi.c: Likewise.
32071         * soft-fp/fixdfti.c: Likewise.
32072         * soft-fp/fixsfdi.c: Likewise.
32073         * soft-fp/fixsfsi.c: Likewise.
32074         * soft-fp/fixsfti.c: Likewise.
32075         * soft-fp/fixtfdi.c: Likewise.
32076         * soft-fp/fixtfsi.c: Likewise.
32077         * soft-fp/fixtfti.c: Likewise.
32078         * soft-fp/fixunsdfdi.c: Likewise.
32079         * soft-fp/fixunsdfsi.c: Likewise.
32080         * soft-fp/fixunsdfti.c: Likewise.
32081         * soft-fp/fixunssfdi.c: Likewise.
32082         * soft-fp/fixunssfsi.c: Likewise.
32083         * soft-fp/fixunssfti.c: Likewise.
32084         * soft-fp/fixunstfdi.c: Likewise.
32085         * soft-fp/fixunstfsi.c: Likewise.
32086         * soft-fp/fixunstfti.c: Likewise.
32087         * soft-fp/floatdidf.c: Likewise.
32088         * soft-fp/floatdisf.c: Likewise.
32089         * soft-fp/floatditf.c: Likewise.
32090         * soft-fp/floatsidf.c: Likewise.
32091         * soft-fp/floatsisf.c: Likewise.
32092         * soft-fp/floatsitf.c: Likewise.
32093         * soft-fp/floattidf.c: Likewise.
32094         * soft-fp/floattisf.c: Likewise.
32095         * soft-fp/floattitf.c: Likewise.
32096         * soft-fp/floatundidf.c: Likewise.
32097         * soft-fp/floatundisf.c: Likewise.
32098         * soft-fp/floatunditf.c: Likewise.
32099         * soft-fp/floatunsidf.c: Likewise.
32100         * soft-fp/floatunsisf.c: Likewise.
32101         * soft-fp/floatunsitf.c: Likewise.
32102         * soft-fp/floatuntidf.c: Likewise.
32103         * soft-fp/floatuntisf.c: Likewise.
32104         * soft-fp/floatuntitf.c: Likewise.
32105         * soft-fp/fmadf4.c: Likewise.
32106         * soft-fp/fmasf4.c: Likewise.
32107         * soft-fp/fmatf4.c: Likewise.
32108         * soft-fp/gedf2.c: Likewise.
32109         * soft-fp/gesf2.c: Likewise.
32110         * soft-fp/getf2.c: Likewise.
32111         * soft-fp/ledf2.c: Likewise.
32112         * soft-fp/lesf2.c: Likewise.
32113         * soft-fp/letf2.c: Likewise.
32114         * soft-fp/muldf3.c: Likewise.
32115         * soft-fp/mulsf3.c: Likewise.
32116         * soft-fp/multf3.c: Likewise.
32117         * soft-fp/negdf2.c: Likewise.
32118         * soft-fp/negsf2.c: Likewise.
32119         * soft-fp/negtf2.c: Likewise.
32120         * soft-fp/op-1.h: Likewise.
32121         * soft-fp/op-2.h: Likewise.
32122         * soft-fp/op-4.h: Likewise.
32123         * soft-fp/op-8.h: Likewise.
32124         * soft-fp/op-common.h: Likewise.
32125         * soft-fp/quad.h: Likewise.
32126         * soft-fp/single.h: Likewise.
32127         * soft-fp/soft-fp.h: Likewise.
32128         * soft-fp/sqrtdf2.c: Likewise.
32129         * soft-fp/sqrtsf2.c: Likewise.
32130         * soft-fp/sqrttf2.c: Likewise.
32131         * soft-fp/subdf3.c: Likewise.
32132         * soft-fp/subsf3.c: Likewise.
32133         * soft-fp/subtf3.c: Likewise.
32134         * soft-fp/truncdfsf2.c: Likewise.
32135         * soft-fp/trunctfdf2.c: Likewise.
32136         * soft-fp/trunctfsf2.c: Likewise.
32137         * soft-fp/trunctfxf2.c: Likewise.
32138         * soft-fp/unorddf2.c: Likewise.
32139         * soft-fp/unordsf2.c: Likewise.
32140         * soft-fp/unordtf2.c: Likewise.
32142 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
32144         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32145         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32147 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
32149         * elf/dl-libc.c: Clear initfini list after freeing.
32151 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
32153         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32154         * soft-fp/addsf3.c: Likewise.
32155         * soft-fp/addtf3.c: Likewise.
32156         * soft-fp/divdf3.c: Likewise.
32157         * soft-fp/divsf3.c: Likewise.
32158         * soft-fp/divtf3.c: Likewise.
32159         * soft-fp/double.h: Likewise.
32160         * soft-fp/eqdf2.c: Likewise.
32161         * soft-fp/eqsf2.c: Likewise.
32162         * soft-fp/eqtf2.c: Likewise.
32163         * soft-fp/extenddftf2.c: Likewise.
32164         * soft-fp/extended.h: Likewise.
32165         * soft-fp/extendsfdf2.c: Likewise.
32166         * soft-fp/extendsftf2.c: Likewise.
32167         * soft-fp/extendxftf2.c: Likewise.
32168         * soft-fp/fixdfdi.c: Likewise.
32169         * soft-fp/fixdfsi.c: Likewise.
32170         * soft-fp/fixdfti.c: Likewise.
32171         * soft-fp/fixsfdi.c: Likewise.
32172         * soft-fp/fixsfsi.c: Likewise.
32173         * soft-fp/fixsfti.c: Likewise.
32174         * soft-fp/fixtfdi.c: Likewise.
32175         * soft-fp/fixtfsi.c: Likewise.
32176         * soft-fp/fixtfti.c: Likewise.
32177         * soft-fp/fixunsdfdi.c: Likewise.
32178         * soft-fp/fixunsdfsi.c: Likewise.
32179         * soft-fp/fixunsdfti.c: Likewise.
32180         * soft-fp/fixunssfdi.c: Likewise.
32181         * soft-fp/fixunssfsi.c: Likewise.
32182         * soft-fp/fixunssfti.c: Likewise.
32183         * soft-fp/fixunstfdi.c: Likewise.
32184         * soft-fp/fixunstfsi.c: Likewise.
32185         * soft-fp/fixunstfti.c: Likewise.
32186         * soft-fp/floatdidf.c: Likewise.
32187         * soft-fp/floatdisf.c: Likewise.
32188         * soft-fp/floatditf.c: Likewise.
32189         * soft-fp/floatsidf.c: Likewise.
32190         * soft-fp/floatsisf.c: Likewise.
32191         * soft-fp/floatsitf.c: Likewise.
32192         * soft-fp/floattidf.c: Likewise.
32193         * soft-fp/floattisf.c: Likewise.
32194         * soft-fp/floattitf.c: Likewise.
32195         * soft-fp/floatundidf.c: Likewise.
32196         * soft-fp/floatundisf.c: Likewise.
32197         * soft-fp/floatunsidf.c: Likewise.
32198         * soft-fp/floatunsisf.c: Likewise.
32199         * soft-fp/floatuntidf.c: Likewise.
32200         * soft-fp/floatuntisf.c: Likewise.
32201         * soft-fp/floatuntitf.c: Likewise.
32202         * soft-fp/fmadf4.c: Likewise.
32203         * soft-fp/fmasf4.c: Likewise.
32204         * soft-fp/fmatf4.c: Likewise.
32205         * soft-fp/gedf2.c: Likewise.
32206         * soft-fp/gesf2.c: Likewise.
32207         * soft-fp/getf2.c: Likewise.
32208         * soft-fp/ledf2.c: Likewise.
32209         * soft-fp/lesf2.c: Likewise.
32210         * soft-fp/letf2.c: Likewise.
32211         * soft-fp/muldf3.c: Likewise.
32212         * soft-fp/mulsf3.c: Likewise.
32213         * soft-fp/multf3.c: Likewise.
32214         * soft-fp/negdf2.c: Likewise.
32215         * soft-fp/negsf2.c: Likewise.
32216         * soft-fp/negtf2.c: Likewise.
32217         * soft-fp/op-1.h: Likewise.
32218         * soft-fp/op-2.h: Likewise.
32219         * soft-fp/op-4.h: Likewise.
32220         * soft-fp/op-8.h: Likewise.
32221         * soft-fp/op-common.h: Likewise.
32222         * soft-fp/quad.h: Likewise.
32223         * soft-fp/single.h: Likewise.
32224         * soft-fp/soft-fp.h: Likewise.
32225         * soft-fp/sqrtdf2.c: Likewise.
32226         * soft-fp/sqrtsf2.c: Likewise.
32227         * soft-fp/sqrttf2.c: Likewise.
32228         * soft-fp/subdf3.c: Likewise.
32229         * soft-fp/subsf3.c: Likewise.
32230         * soft-fp/subtf3.c: Likewise.
32231         * soft-fp/truncdfsf2.c: Likewise.
32232         * soft-fp/trunctfdf2.c: Likewise.
32233         * soft-fp/trunctfsf2.c: Likewise.
32234         * soft-fp/trunctfxf2.c: Likewise.
32235         * soft-fp/unorddf2.c: Likewise.
32236         * soft-fp/unordsf2.c: Likewise.
32237         * soft-fp/unordtf2.c: Likewise.
32239 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
32241         [BZ #15672]
32242         * misc/error.c (error_tail): Fix possible buffer overflow.
32244 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
32246         [BZ #13028]
32247         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32248         address.
32250 2013-10-14  P. J. McDermott  <pj@pehjota.net>
32252         [BZ #832]
32253         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
32254         testing pipefail option.
32256 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32258         * soft-fp/double.h: Indent preprocessor directives inside #if.
32259         * soft-fp/extended.h: Likewise.
32260         * soft-fp/op-2.h: Likewise.
32261         * soft-fp/op-4.h: Likewise.
32262         * soft-fp/op-common.h: Likewise.
32263         * soft-fp/quad.h: Likewise.
32264         * soft-fp/single.h: Likewise.
32265         * soft-fp/soft-fp.h: Likewise.
32267 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
32269         * iconv/iconv_prog.c: Fix typos.
32270         * stdio-common/psiginfo-data.h: Likewise.
32272 2013-10-12   Reuben Thomas <rrt@sc3d.org>
32274         [BZ #15764]
32275         * locale/setlocale.c: Fix typo.
32277 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32279         [BZ #16036]
32280         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32281         signaling NaN arguments.
32282         * soft-fp/unordsf2.c (__unordsf2): Likewise.
32283         * soft-fp/unordtf2.c (__unordtf2): Likewise.
32285         [BZ #14910]
32286         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32287         unordered operands.
32288         * soft-fp/gesf2.c (__gesf2): Likewise.
32289         * soft-fp/getf2.c (__getf2): Likewise.
32290         * soft-fp/ledf2.c (__ledf2): Likewise.
32291         * soft-fp/lesf2.c (__lesf2): Likewise.
32292         * soft-fp/letf2.c (__letf2): Likewise.
32294         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32295         * soft-fp/eqsf2.c (__eqsf2): Likewise.
32296         * soft-fp/eqtf2.c (__eqtf2): Likewise.
32297         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32298         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32299         * soft-fp/fixdfti.c (__fixdfti): Likewise.
32300         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32301         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32302         * soft-fp/fixsfti.c (__fixsfti): Likewise.
32303         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32304         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32305         * soft-fp/fixtfti.c (__fixtfti): Likewise.
32306         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32307         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32308         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32309         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32310         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32311         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32312         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32313         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32314         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32315         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32316         * soft-fp/floatdisf.c (__floatdisf): Likewise.
32317         * soft-fp/floatsisf.c (__floatsisf): Likewise.
32318         * soft-fp/floattidf.c (__floattidf): Likewise.
32319         * soft-fp/floattisf.c (__floattisf): Likewise.
32320         * soft-fp/floattitf.c (__floattitf): Likewise.
32321         * soft-fp/floatundidf.c (__floatundidf): Likewise.
32322         * soft-fp/floatundisf.c (__floatundisf): Likewise.
32323         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32324         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32325         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32326         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32327         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32328         * soft-fp/gesf2.c (__gesf2): Likewise.
32329         * soft-fp/getf2.c (__getf2): Likewise.
32330         * soft-fp/ledf2.c (__ledf2): Likewise.
32331         * soft-fp/lesf2.c (__lesf2): Likewise.
32332         * soft-fp/letf2.c (__letf2): Likewise.
32334         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32335         Undefine and redefine.
32336         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32337         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32338         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32339         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32340         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32341         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32342         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32343         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32344         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32345         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32346         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32347         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32348         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32349         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32350         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32352         [BZ #16032]
32353         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32354         without decrementing exponent if mantissa >= that for the
32355         denominator, not >.
32356         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32357         denominator, not >.  Decrement exponent in < case instead of
32358         incrementing in >= case.
32359         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32360         without decrementing exponent if mantissa >= that for the
32361         denominator, not >.
32363         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32364         computing saturated result for unsigned overflow.
32366 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32367             Jeff Law  <law@redhat.com>
32369         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32370         (atan2Mp): Add systemtap probe marker.
32371         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32372         (__ieee754_log): Add systemtap probe marker.
32373         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32374         (atanMp): Add systemtap probe marker.
32375         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32376         (tanMp): Add systemtap probe marker.
32377         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32378         (__slowexp): Add systemtap probe marker.
32379         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32380         (__slowpow): Add systemtap probe marker.
32381         * manual/probes.texi: Document probes.
32383 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
32385         [BZ #15362]
32386         * libio/fileops.c (_IO_new_file_write): Return count of bytes
32387         written.
32388         (_IO_new_file_xsputn): Don't return EOF if nothing has been
32389         written.
32390         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32391         written to buffer but not flushed.
32392         * libio/iofwrite_u.c:  Likewise.
32393         * libio/iopadn.c:  Return bytes returned even if EOF was
32394         encountered.
32395         * libio/iowpadn.c:  Likewise.
32396         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32397         if _IO_padn does not write the whole buffer.
32398         [!COMPILE_WPRINTF] (PAD): Likewise.
32400 2013-10-10  David S. Miller  <davem@davemloft.net>
32402         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32403         directory block.
32405 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
32407         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
32408         instead of FSF address.
32409         * soft-fp/fixdfti.c: Likewise.
32410         * soft-fp/fixsfti.c: Likewise.
32411         * soft-fp/fixtfti.c: Likewise.
32412         * soft-fp/fixunsdfti.c: Likewise.
32413         * soft-fp/fixunssfti.c: Likewise.
32414         * soft-fp/fixunstfti.c: Likewise.
32415         * soft-fp/floattidf.c: Likewise.
32416         * soft-fp/floattisf.c: Likewise.
32417         * soft-fp/floattitf.c: Likewise.
32418         * soft-fp/floatuntidf.c: Likewise.
32419         * soft-fp/floatuntisf.c: Likewise.
32420         * soft-fp/floatuntitf.c: Likewise.
32421         * soft-fp/trunctfxf2.c: Likewise.
32423         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
32424         * soft-fp/fixdfti.c: Likewise.
32425         * soft-fp/fixsfti.c: Likewise.
32426         * soft-fp/fixtfti.c: Likewise.
32427         * soft-fp/fixunsdfti.c: Likewise.
32428         * soft-fp/fixunssfti.c: Likewise.
32429         * soft-fp/fixunstfti.c: Likewise.
32430         * soft-fp/floattidf.c: Likewise.
32431         * soft-fp/floattisf.c: Likewise.
32432         * soft-fp/floattitf.c: Likewise.
32433         * soft-fp/floatuntidf.c: Likewise.
32434         * soft-fp/floatuntisf.c: Likewise.
32435         * soft-fp/floatuntitf.c: Likewise.
32436         * soft-fp/trunctfxf2.c: Likewise.
32438 2013-10-10  David S. Miller  <davem@davemloft.net>
32440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32442 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
32444         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32445         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32446         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32447         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32448         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32449         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32450         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32452         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32453         for NaNs before doing comparisons on argument.
32454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32455         Likewise.
32457 2013-10-10  Will Newton  <will.newton@linaro.org>
32459         * malloc/hooks.c (memalign_check): Ensure the value of bytes
32460         passed to _int_memalign does not overflow.
32462 2013-10-10  Torvald Riegel  <triegel@redhat.com>
32464         * scripts/bench.pl: Add include-sources directive.
32465         * benchtests/README: Update documentation.
32467 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
32469         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32470         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32471         instead of FP_INIT_ROUNDMODE.
32472         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32473         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32475         [BZ #16034]
32476         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
32477         copy class of input value.
32478         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
32479         not handle exceptions.
32480         * soft-fp/negsf2.c (__negsf2): Likewise.
32481         * soft-fp/negtf2.c (__negtf2): Likewise.
32482         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32484 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
32486         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32487         semicolon.  From Linux kernel.
32489 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
32491         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32493 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
32495         [BZ #156]
32496         * manual/socket.texi: Added statement about buffer
32497         for gethostbyname2_r.
32499 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
32501         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32502         Use .p2align directive instead, throughout.
32503         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32504         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32505         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32506         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32507         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32508         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32509         * sysdeps/x86_64/strchr.S: Likewise.
32510         * sysdeps/x86_64/strrchr.S: Likewise.
32512 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32514         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32516         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32518         * sysdeps/generic/math_private.h (__mpsin1): Remove
32519         declaration.
32520         (__mpcos1): Likewise.
32521         (__mpsin): New argument __range_reduce.
32522         (__mpcos): Likewise.
32523         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32524         (slow): Use __mpsin and __mpcos.
32525         (slow1): Likewise.
32526         (slow2): Likewise.
32527         (sloww): Likewise.
32528         (sloww1): Likewise.
32529         (sloww2): Likewise.
32530         (bsloww): Likewise.
32531         (bsloww1): Likewise.
32532         (bsloww2): Likewise.
32533         (cslow2): Likewise.
32534         (csloww): Likewise.
32535         (csloww1): Likewise.
32536         (csloww2): Likewise.
32537         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32538         range_reduce.  Merge in __mpsin1.
32539         (__mpcos): Likewise.
32540         (__mpsin1): Remove.
32541         (__mpcos1): Likewise.
32543 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
32545         * locale/loadlocale.c (_nl_intern_locale_data): Use
32546         LOCFILE_ALIGNED_P.
32547         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32548         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32549         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32550         obstack data is appropriately aligned.
32551         (obstack_int32_grow_fast): Likewise.
32552         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32553         * locale/programs/locfile.c (add_locale_uint32): Likewise.
32554         (add_locale_uint32_array): Likewise.
32556 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32558         * benchtests/Makefile: Remove ARGLIST and RET variables.
32559         ($(objpfx)bench-%.c): Pass only function name to the script.
32560         * benchtests/README: Update documentation.
32561         * benchtests/acos-inputs: Add new directives.
32562         * benchtests/acosh-inputs: Likewise.
32563         * benchtests/asin-inputs: Likewise.
32564         * benchtests/asinh-inputs: Likewise.
32565         * benchtests/atan-inputs: Likewise.
32566         * benchtests/atanh-inputs: Likewise.
32567         * benchtests/cos-inputs: Likewise.
32568         * benchtests/cosh-inputs: Likewise.
32569         * benchtests/exp-inputs: Likewise.
32570         * benchtests/log-inputs: Likewise.
32571         * benchtests/pow-inputs: Likewise.
32572         * benchtests/rint-inputs: Likewise.
32573         * benchtests/sin-inputs: Likewise.
32574         * benchtests/sinh-inputs: Likewise.
32575         * benchtests/tan-inputs: Likewise.
32576         * benchtests/tanh-inputs: Likewise.
32577         * scripts/bench.pl: Add support for new directives.
32579 2013-10-07  Alan Modra  <amodra@gmail.com>
32581         * README: Fix careless merge.
32583 2013-10-05  Alan Modra  <amodra@gmail.com>
32585         * NEWS: Mention powerpc64le support and bugs fixed.
32586         * README: Both big-endian and little-endian powerpc64 supported.
32588 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32590         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32591         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32592         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32593         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32595 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
32597         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32598         match prototype.
32600 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
32602         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32603         Move -mhard-float appending from
32604         ports/sysdeps/powerpc/powerpc32/Makefile.
32605         [$(with-fp) = yes] (ASFLAGS): Likewise.
32606         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32607         * sysdeps/powerpc/nofpu: Move directory from
32608         ports/sysdeps/powerpc/nofpu.
32609         * sysdeps/powerpc/soft-fp: Move directory from
32610         ports/sysdeps/powerpc/soft-fp.
32611         * sysdeps/powerpc/powerpc32/405: Move directory from
32612         ports/sysdeps/powerpc/powerpc32/405.
32613         * sysdeps/powerpc/powerpc32/440: Move directory from
32614         ports/sysdeps/powerpc/powerpc32/440.
32615         * sysdeps/powerpc/powerpc32/464: Move directory from
32616         ports/sysdeps/powerpc/powerpc32/464.
32617         * sysdeps/powerpc/powerpc32/476: Move directory from
32618         ports/sysdeps/powerpc/powerpc32/476.
32619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32620         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32622         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32624         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32626         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32628         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32629         * README: Update for powerpc-*-linux-gnu software floating point
32630         support in libc.
32632         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32633         case to powerpc/powerpc32*.
32634         * sysdeps/unix/sysv/linux/configure: Regenerated.
32636         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32637         (_FPU_MASK_OM): Define as 0x04.
32638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32640         0x00c10080.
32641         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32642         0x0000003c.
32643         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32646         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32647         getcontext_e500.
32648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32649         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32650         setcontext_e500.
32651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32652         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32653         and setcontext_e500.
32655 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
32657         * locale/iso-3166.def: Update iso-1366.def and related occurrences
32659 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32661         * manual/threads.texi (Default Thread Attributes): Fix typo.
32663 2013-10-04  Will Newton  <will.newton@linaro.org>
32665         * malloc/Makefile: Add tst-memalign.
32666         * malloc/tst-memalign.c: New file.
32668         * malloc/tst-posix_memalign.c: Add comments.
32669         (do_test): Add comments and call free on all potentially
32670         allocated pointers. Add space after cast.
32672         * malloc/tst-pvalloc.c: Add comments.
32673         (do_test): Add comments and call free on all potentially
32674         allocated pointers. Remove duplicate check for NULL pointer.
32675         Add space after cast.
32677         * malloc/tst-valloc.c: Add comments.
32678         (do_test): Add comments and call free on all potentially
32679         allocated pointers. Remove duplicate check for NULL pointer.
32680         Add space after cast.
32682 2013-10-04  Alan Modra  <amodra@gmail.com>
32684         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32685         Use stdint types in rather than __attribute__((mode())).
32686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32688 2013-10-04  Alan Modra  <amodra@gmail.com>
32690         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32691         Correct handling of unaligned relocs for little-endian.
32692         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32694 2013-10-04  Alan Modra  <amodra@gmail.com>
32696         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32697         * configure: Regenerate.
32698         * nptl/shlib-versions: Powerpc*le starts at 2.18.
32699         * shlib-versions: Likewise.
32701 2013-10-04  Alan Modra  <amodra@gmail.com>
32703         * string/tester.c (test_memrchr): Increment reported test cycle.
32705 2013-10-04  Alan Modra  <amodra@gmail.com>
32707         * string/test-memcpy.c (do_one_test): When reporting errors, print
32708         string address and don't overrun end of string.
32710 2013-10-04  Alan Modra  <amodra@gmail.com>
32712         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32713         insrdi.  Make better use of reg selection to speed exit slightly.
32714         Schedule entry path a little better.  Remove useless "are we done"
32715         checks on entry to main loop.  Handle wrapping around zero address.
32716         Correct main loop count.  Handle single left-over word from main
32717         loop inline rather than by using loop_small.  Remove extra word
32718         case in loop_small caused by wrong loop count.  Add little-endian
32719         support.
32720         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32721         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
32722         cache hint.
32723         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32724         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32725         support.  Avoid rlwimi.
32726         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32728 2013-10-04  Alan Modra  <amodra@gmail.com>
32730         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32731         insrdi.  Formatting.
32732         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32733         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32734         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32735         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32736         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32737         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32739 2013-10-04  Alan Modra  <amodra@gmail.com>
32741         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32742         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32743         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32744         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32745         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32746         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32747         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32748         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32749         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
32750         use of regs.  Use power7 mtocrf.  Tidy function tails.
32752 2013-10-04  Alan Modra  <amodra@gmail.com>
32754         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32755         Formatting.  Consistently use rXXX register defines or rN defines.
32756         Use early exit labels that avoid restoring unused non-volatile regs.
32757         Make cr field use more consistent with rWORDn compares.  Rename
32758         regs used as shift registers for unaligned loop, using rN defines
32759         for short lifetime/multiple use regs.
32760         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32761         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
32762         addi 1,1,64 to pop stack frame.  Simplify return value code.
32763         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32765 2013-10-04  Alan Modra  <amodra@gmail.com>
32767         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32768         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
32769         rather than rlwimi.
32770         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32771         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32772         little-endian support.  Correct typos.
32773         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
32774         rather than rlwimi.
32775         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
32776         in loop and entry code to keep "and." results.
32777         (strchr): Add little-endian support.  Comment.  Move cntlzd
32778         earlier in tail.
32779         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32781 2013-10-04  Alan Modra  <amodra@gmail.com>
32783         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32784         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32785         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32786         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32788 2013-10-04  Alan Modra  <amodra@gmail.com>
32790         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32791         (rTMP): Define as r11.
32792         (strcmp): Add little-endian support.  Optimise tail.
32793         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32794         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32795         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32796         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32797         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32798         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32799         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32801 2013-10-04  Alan Modra  <amodra@gmail.com>
32803         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32804         little-endian support.  Remove unnecessary "are we done" tests.
32805         Handle "s" wrapping around zero and extremely large "size".
32806         Correct main loop count.  Handle single left-over word from main
32807         loop inline rather than by using small_loop.  Correct comments.
32808         Delete "zero" tail, use "end_max" instead.
32809         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32811 2013-10-04  Alan Modra  <amodra@gmail.com>
32813         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32814         support.  Don't branch over align.
32815         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32816         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32817         support.  Rearrange tmp reg use to suit.  Comment.
32818         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32820 2013-10-04  Alan Modra  <amodra@gmail.com>
32822         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32824 2013-10-04  Alan Modra  <amodra@gmail.com>
32826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32827         conditional form of branch and link when obtaining pc.
32828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32830 2013-10-04  Alan Modra  <amodra@gmail.com>
32832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32833         HIWORD/LOWORD.
32834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32837 2013-10-04  Alan Modra  <amodra@gmail.com>
32839         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32840         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32841         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32842         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32843         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32844         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32845         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32846         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32847         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32848         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32850 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
32851             Alistair Popple <alistair@ozlabs.au.ibm.com>
32852             Alan Modra <amodra@gmail.com>
32854         [BZ #15723]
32855         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32856         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32857         _dl_hwcap access for little-endian.
32858         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
32859         destroy vmx regs when saving unaligned.
32860         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32861         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
32862         destroy vmx regs when saving unaligned.
32864 2013-10-04  Alan Modra  <amodra@gmail.com>
32866         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32867         Don't use a union to pack hi/low value.
32869 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
32871         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32872         for little-endian.
32873         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32874         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32875         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32876         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32877         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32879 2013-10-04  Alan Modra  <amodra@gmail.com>
32881         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32882         constants to usual value for .cst8 section, and remove redundant
32883         high address load.
32884         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32885         constant for 0x1p52.  Load little-endian words of double from
32886         correct stack offsets.
32888 2013-10-04  Alan Modra  <amodra@gmail.com>
32890         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32891         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32892         words of double from correct stack offsets.
32893         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32894         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32895         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32896         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32897         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32898         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32899         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32900         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32901         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32902         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32903         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32904         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32905         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32906         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32907         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32908         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32909         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32911 2013-10-04  Alan Modra  <amodra@gmail.com>
32913         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32914         64-bit int/double union.
32915         (_FPU_SETCW): Likewise.
32916         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32917         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32919 2013-10-04  Alan Modra  <amodra@gmail.com>
32921         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32922         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32924 2013-10-04  Alan Modra  <amodra@gmail.com>
32926         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32927         use vector int constants.
32928         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32930 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
32932         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32933         array with long long.
32934         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32935         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32936         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32937         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32938         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32939         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32940         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32941         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32942         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32943         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32944         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32945         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32946         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32948 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
32950         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32951         (__signbit): Likewise.  Correct for little-endian.
32952         (__signbitl): Call __signbit.
32953         (lrint): Correct for little-endian.
32954         (lrintf): Call lrint.
32956 2013-10-04  Alan Modra  <amodra@gmail.com>
32958         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32959         union 32-bit int array member with 64-bit int array.
32960         (t515, tm256): Double rather than long double.
32961         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32963 2013-10-04  Alan Modra  <amodra@gmail.com>
32965         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32966         Delete.
32967         (IEEE854_LONG_DOUBLE_BIAS): Delete.
32968         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32969         version of math_ldbl.h.
32971 2013-10-04  Alan Modra  <amodra@gmail.com>
32973         [BZ #15734], [BZ #15735]
32974         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32975         all uses of ieee875 long double macros and unions.  Simplify test
32976         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
32977         ldbl_extract_mantissa value for ix,iy exponents.  Properly
32978         normalize after ldbl_extract_mantissa, and don't add hidden bit
32979         already handled.  Don't treat low word of ieee854 mantissa like
32980         low word of IBM long double and mask off bit when testing for
32981         zero.
32982         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32983         all uses of ieee875 long double macros and unions.  Simplify tests
32984         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
32985         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
32986         two1022, instead use their values.  Recognise that tests for large
32987         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
32988         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32989         Rewrite all uses of ieee875 long double macros and unions.  Simplify
32990         test for 0.0L and nan.  Correct negation.
32991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32992         ieee875 long double macros and unions.  Correct output for large
32993         magnitude x.  Correct absolute value calculation.
32994         (__erfcl): Likewise.
32995         * math/libm-test.inc: Add tests for errors discovered in IBM long
32996         double versions of fmodl, remainderl, erfl and erfcl.
32998 2013-10-04  Alan Modra  <amodra@gmail.com>
33000         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
33001         all uses of ieee854 long double macros and unions.  Simplify tests
33002         for long doubles that are fully specified by the high double.
33003         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33004         Likewise.
33005         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
33006         Remove dead code too.
33007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33008         (__ieee754_ynl): Likewise.
33009         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33010         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
33011         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33012         Remove dead code too.
33013         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
33014         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
33015         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
33016         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
33017         Simplify.
33018         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
33019         Simplify.
33020         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
33021         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33022         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
33023         Comment on variable precision.
33024         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33025         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33026         Likewise.
33027         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33028         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33030         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33031         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33033 2013-10-04  Alan Modra  <amodra@gmail.com>
33035         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33036         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33037         all uses of ieee854 long double macros and unions.
33038         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33039         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33040         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33041         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33042         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33043         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33044         Likewise.
33045         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33046         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33047         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33048         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33049         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33050         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33051         Simplify sign and nan test too.
33052         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33053         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33054         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33055         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33056         Likewise.
33057         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33058         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33059         Likewise.
33060         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33061         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33062         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33063         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33064         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33065         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33067 2013-10-04  Alan Modra  <amodra@gmail.com>
33069         * stdio-common/printf_size.c (__printf_size): Don't use
33070         union ieee854_long_double in fpnum union.
33071         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
33072         signbit macro to retrieve sign from long double.
33073         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33074         retrieve sign from long double.
33075         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33076         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33077         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33078         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33079         * math/test-misc.c (main): Don't use union ieee854_long_double.
33081 2013-10-04  Alan Modra  <amodra@gmail.com>
33083         [BZ #15680]
33084         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33085         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33086         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33087         calculation.  Remove unnecessary test for denormal exponent.
33088         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33089         Correct handling of denormals.  Avoid undefined shift behaviour.
33090         Correct normalisation of low mantissa when low double is denormal.
33091         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33092         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
33093         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33094         Correct normalisation of low mantissa.  Test for overflow of high
33095         mantissa and normalise.
33096         (ldbl_nearbyint): Use more readable constant for two52.
33097         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33098         (__mpn_construct_long_double): Fix test for overflow of high
33099         mantissa and correct normalisation.  Avoid undefined shift.
33101 2013-10-04  Alan Modra  <amodra@gmail.com>
33103         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33104         (union ibm_extended_long_double): Define as an array of ieee754_double.
33105         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33106         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33107         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33108         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33109         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33110         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33112         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33113         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33114         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33115         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33117 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
33119         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33120         page size instead of calling getpagesize.
33122         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33123         (LOCFILE_ALIGN_MASK): Likewise.
33124         (LOCFILE_ALIGN_UP): Likewise.
33125         (LOCFILE_ALIGNED_P): Likewise.
33126         * locale/programs/ld-collate.c (collate_output): Use the new
33127         macros instead of __alignof__ (int32_t).
33128         * locale/weight.h (findidx): Likewise.
33130 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
33132         [BZ #431]
33133         * manual/string.texi: Fix strncat and wcsncat.
33135 2013-10-03  Brooks Moses  <bmoses@google.com>
33137         [BZ #15915]
33138         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33139         * Makerules: ...here, and adjust associated comments.
33141 2013-10-02  Will Newton  <will.newton@linaro.org>
33143         * malloc/Makefile: Add tst-pvalloc.
33144         * malloc/tst-pvalloc.c: New file.
33146 2013-10-02  Will Newton  <will.newton@linaro.org>
33148         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33149         improve test coverage.
33151 2013-10-02  Will Newton  <will.newton@linaro.org>
33153         * malloc/Makefile: Add tst-posix_memalign.
33154         * malloc/tst-posix_memalign.c: New file.
33156 2013-10-01  Eric Blake  <eblake@redhat.com>
33158         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33159         Use __THROWNL rather than __THROW on static functions.
33161 2013-09-30  Petr Machata  <pmachata@redhat.com>
33163         * elf/elf.h (R_AARCH64_ABS16): New macro.
33164         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33165         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33166         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33167         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33168         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33169         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33170         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33171         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33172         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33173         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33174         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33175         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33176         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33177         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33178         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33179         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33180         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33181         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33182         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33183         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33184         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33185         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33186         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33187         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33188         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33189         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33190         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33191         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33192         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33193         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33194         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33195         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33196         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33197         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33198         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33199         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33200         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33201         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33202         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33203         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33204         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33205         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33206         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33207         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33208         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33209         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33210         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33211         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33212         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33213         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33214         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33215         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33216         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33217         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33218         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33219         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33220         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33221         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33222         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33223         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33224         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33225         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33226         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33227         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33228         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33229         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33230         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33231         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33232         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33233         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33234         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33235         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33236         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33237         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33238         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33239         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33240         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33241         (R_AARCH64_TLSDESC_LDR): Likewise.
33242         (R_AARCH64_TLSDESC_ADD): Likewise.
33243         (R_AARCH64_TLSDESC_CALL): Likewise.
33245 2013-09-30  Andreas Schwab  <schwab@suse.de>
33247         [BZ #15048]
33248         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33249         the nss database lookup.
33250         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33251         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33253 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
33255         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33257 2013-09-28  P. J. McDermott  <pj@pehjota.net>
33259         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33260         ${Bash-specific parameter/pattern/string} parameter expansion.
33261         * sysdeps/unix/make-syscalls.sh: Likewise.
33263 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33265         * sysdeps/sh/stackguard-macros.h: New file.
33267 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
33269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33271         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33272         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33273         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33274         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33276 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33278         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33279         Fix thread ID register.
33281 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
33283         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33284         [POSIX || UNIX98]: Require rather than permitting all symbols from
33285         <time.h>.
33286         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33287         element of struct sched_param.
33288         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33289         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33290         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33291         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33292         constant.
33294 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
33296         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33297         argument calculation.
33299 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33301         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33302         Expect macro.
33303         [POSIX] (pthread_attr_t): Do not require type.
33304         [POSIX] (pthread_cond_t): Likewise.
33305         [POSIX] (pthread_condattr_t): Likewise.
33306         [POSIX] (pthread_key_t): Likewise.
33307         [POSIX] (pthread_mutex_t): Likewise.
33308         [POSIX] (pthread_mutexattr_t): Likewise.
33309         [POSIX] (pthread_once_t): Likewise.
33310         [POSIX] (pthread_t): Likewise.
33311         [POSIX-based standards] (pthread_atfork): Expect function.
33313 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33314             Richard Sandiford  <richard@codesourcery.com>
33316         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33317         (swap_endianness_p): New extern variable.
33318         (set_big_endian): New inline function.
33319         (maybe_swap_uint32): Likewise.
33320         (maybe_swap_uint32_array): Likewise.
33321         (maybe_swap_uint32_obstack): Likewise.
33322         * locale/programs/locfile.c: Include <stdbool.h>.
33323         (swap_endianness_p): New variable.
33324         (add_locale_uint32): Call maybe_swap_uint32.
33325         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33326         (write_locale_data): Call maybe_swap_uint32_array.
33327         * locale/programs/ld-collate.c (obstack_int32_grow): Call
33328         maybe_swap_uint32.
33329         (obstack_int32_grow_fast): Likewise.
33330         (output_weightwc): Call maybe_swap_uint32_obstack.
33331         (collate_output): Likewise.
33332         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33333         (OPT_LITTLE_ENDIAN): Likewise.
33334         (options): Add --little-endian and --big-endian options.
33335         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33336         * locale/programs/locarchive.c: Include "locfile.h".
33337         (GET): New macro.
33338         (SET): Likewise.
33339         (INC): Likewise.
33340         (create_archive): Use the new macros to access fields of
33341         structures directly mapped from or written to locale archives.
33342         (oldlocrecentcmp): Likewise.
33343         (enlarge_archive): Likewise.
33344         (insert_name): Likewise.
33345         (add_alias): Likewise.
33346         (add_locale): Likewise.
33347         (delete_locales_from_archive): Likewise.
33348         (show_archive_content): Likewise.
33349         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
33350         locale data.
33352 2013-09-24  Roland McGrath  <roland@hack.frob.com>
33354         * manual/freemanuals.texi: Updated from (newly) canonical copy at
33355         http://www.gnu.org/doc/freemanuals.texi.
33356         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33358 2013-09-24  Will Newton  <will.newton@linaro.org>
33360         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33361         macro.
33363 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
33365         * locale/hashval.h (compute_hashval): Interpret bytes of key as
33366         unsigned char.
33368 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
33370         * manual/threads.texi (POSIX Threads): Fix a typo.
33372 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33374         [BZ #14547]
33375         * string/tst-strcoll-overflow.c: New test case.
33376         * string/Makefile (xtests): Add tst-strcoll-overflow.
33377         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33378         cache if string sizes may cause integer overflow.
33380         [BZ #14547]
33381         * string/strcoll_l.c (coll_seq): New members rule, idx,
33382         save_idx and back_us.
33383         (get_next_seq_nocache): New function.
33384         (do_compare_nocache): New function.
33385         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33386         when malloc fails.
33388 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
33390         [BZ #15754]
33391         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33392         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33393         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33395         [BZ #15754]
33396         * elf/Makefile (tests): Add tst-ptrguard1.
33397         (tests-static): Add tst-ptrguard1-static.
33398         (tst-ptrguard1-ARGS): Define.
33399         (tst-ptrguard1-static-ARGS): Define.
33400         * elf/tst-ptrguard1.c: New file.
33401         * elf/tst-ptrguard1-static.c: New file.
33402         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33403         * sysdeps/i386/stackguard-macros.h: Likewise.
33404         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33405         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33406         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33407         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33408         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33409         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33411 2013-09-23  Hector Marco  <hecmargi@upv.es>
33412             Ismael Ripoll  <iripoll@disca.upv.es>
33413             Carlos O'Donell  <carlos@redhat.com>
33415         [BZ #15754]
33416         * sysdeps/generic/stackguard-macros.h: Define
33417         __pointer_chk_guard_local and POINTER_CHK_GUARD.
33418         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33419         Define __pointer_chk_guard_local.
33420         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33421         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33423 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
33425         [BZ #15859]
33426         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33428 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
33430         * include/string.h (__ffs): Declare as hidden.
33431         * string/ffs.c (__ffs): Define as hidden.
33432         * sysdeps/i386/ffs.c (__ffs): Likewise.
33433         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33434         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33435         * sysdeps/s390/ffs.c (__ffs): Likewise.
33436         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33438 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
33440         * NEWS: Mention malloc probes.
33442         * malloc/arena.c (new_heap): New memory_heap_new probe.
33443         (grow_heap): New memory_heap_more probe.
33444         (shrink_heap): New memory_heap_less probe.
33445         (heap_trim): New memory_heap_free probe.
33446         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33447         (systrim): New memory_sbrk_less probe.
33448         * manual/probes.texi: Document them.
33450         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33451         * manual/probes.texi: Document it.
33453         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33454         (__libc_realloc): Add memory_realloc_retry probe.
33455         (__libc_memalign): Add memory_memalign_retry probe.
33456         (__libc_valloc): Add memory_valloc_retry probe.
33457         (__libc_pvalloc): Add memory_pvalloc_retry probe.
33458         (__libc_calloc): Add memory_calloc_retry probe.
33459         * manual/probes.texi: Document them.
33461         * malloc/arena.c (get_free_list): Add probe
33462         memory_arena_reuse_free_list.
33463         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33464         and memory_arena_reuse.
33465         (arena_get2) [!PER_THREAD]: Likewise.
33466         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33467         memory_arena_reuse_realloc.
33468         * manual/probes.texi: Document them.
33470         * malloc/malloc.c (__libc_free): Add
33471         memory_mallopt_free_dyn_thresholds probe.
33472         (__libc_mallopt): Add multiple memory_mallopt probes.
33473         * manual/probes.texi: Document them.
33475         * malloc/malloc.c: Include stap-probe.h.
33476         (__libc_mallopt): Add memory_mallopt probe.
33477         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33478         * manual/probes.texi: New.
33479         * manual/Makefile (chapters): Add probes.
33480         * manual/threads.texi: Set next node.
33482 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
33484         [BZ #15963, #13985]
33485         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33486         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33487         Add `Chinese' to `nan' entry name.
33489 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33491         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33492         (POLYNOMIAL): Likewise.
33493         (TAYLOR_SINCOS): Likewise.
33494         (TAYLOR_SLOW): Likewise.
33495         (__sin): Use TAYLOR_SINCOS.
33496         (__cos): Likewise.
33497         (slow): Use TAYLOR_SLOW.
33498         (sloww): Likewise.
33499         (bsloww): Likewise.
33500         (csloww): Likewise.
33502 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33504         * stdlib/strtod_l.c: Fix buffer overrun.
33506 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33508         * benchtests/Makefile (bench): Add sincos.
33509         * benchtests/bench-sincos.c: New file.
33511         * math/libm-test.inc (cos_test_data): New test inputs.
33512         (sin_test_data): Likewise.
33514         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33515         macro.
33516         (__sin): Use it.
33517         (__cos): Likewise.
33518         (slow1): Likewise.
33519         (slow2): Likewise.
33520         (sloww1): Likewise.
33521         (sloww2): Likewise.
33522         (bsloww1): Likewise.
33523         (bsloww2): Likewise.
33524         (cslow2): Likewise.
33525         (csloww1): Likewise.
33526         (csloww2): Likewise.
33528         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33529         function.
33530         (__sin): Use it.
33531         (__cos): Likewise.
33533         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33534         gotos.
33535         (__cos): Likewise.
33537 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
33539         * config.h.in (HAVE_MIPS_NAN2008): New macro.
33540         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33541         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33542         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33543         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33544         * elf/cache.c (print_entry): Handle the new cache flags.
33546 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33547             Aldy Hernandez  <aldyh@redhat.com>
33549         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33550         Change condition to [_SOFT_FLOAT].
33551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33563         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33566         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33567         declaration.
33569 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33571         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33572         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33573         (__longjmp): Use LOAD_GP to load saved GPRs.
33574         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33575         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33576         (__sigsetjmp): Use SAVE_GP to save GPRs.
33578         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33579         Do not append -msoft-float.
33580         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33582 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33584         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33586 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
33588         [BZ #15966]
33589         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33590         (_FPU_GETCW): Use initial "__" on variable and field names but not
33591         on macro parameter name.
33592         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
33593         parentheses around reference to macro parameter.
33595 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
33597         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33598         prototype.
33599         (ctype_startup): Use uint32_t in cast and sizeof for
33600         ctype->charnames.
33602 2013-09-11  Jia Liu  <proljc@gmail.com>
33604         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33605         __daddr_t_defined.
33606         [__FreeBSD__]: Likewise.
33608 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
33610         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33611         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33612         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33613         (strchr): Remove __strchr_sse42 ifunc selection.
33614         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33615         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33617 2013-09-11  Will Newton  <will.newton@linaro.org>
33619         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33620         parameter to RES. Remove hardcoded 1000 value.
33621         * benchtests/bench-skeleton.c (main): Pass RES parameter
33622         to TIMING_INIT and multiply result by 1000.
33624 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33628 2013-09-11  Andreas Schwab  <schwab@suse.de>
33630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33631         if not defined.
33632         (O_TMPFILE) [__USE_GNU]: Define.
33633         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33634         Define.
33636 2013-09-11  Will Newton  <will.newton@linaro.org>
33638         [BZ #15857]
33639         * malloc/malloc.c (__libc_memalign): Check the value of bytes
33640         does not overflow.
33642 2013-09-11  Will Newton  <will.newton@linaro.org>
33644         [BZ #15856]
33645         * malloc/malloc.c (__libc_valloc): Check the value of bytes
33646         does not overflow.
33648 2013-09-11  Will Newton  <will.newton@linaro.org>
33650         [BZ #15855]
33651         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33652         does not overflow.
33654 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
33656         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33657         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33658         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33659         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33660         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33662 2013-09-10  Allan McRae  <allan@archlinux.org>
33664         [BZ #15748]
33665         * manual/arith.texi (Parsing of Floats): Clarify
33666         cross-reference.
33668         [BZ #15849]
33669         * manual/install.texi (Running make install): Mention
33670         --enable-pt-chown.
33671         * INSTALL: Regenerated.
33673 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
33675         * csu/init-first.c (_init): Remove the !SHARED condition around
33676         FPU control word initialization.
33677         * elf/dl-support.c (_dl_fpu_control): New variable.
33678         (_dl_aux_init) <AT_FPUCW>: Initialize it.
33679         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33680         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33681         * math/test-fpucw-static.c: New file.
33682         * math/test-fpucw-ieee.c: New file.
33683         * math/test-fpucw-ieee-static.c: New file.
33684         * math/Makefile (tests): Add `test-fpucw-ieee' and
33685         `$(tests-static)'.
33686         (tests-static): New variable.
33687         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33688         dependency to...
33689         [($(build-shared),yes)]
33690         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33691         ... this.
33692         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33693         New dependency.
33695 2013-09-09  Allan McRae  <allan@archlinux.org>
33697         [BZ #15939]
33698         * manual/string.texi (Collation Functions): Fix typo in
33699         strcoll example.
33700         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33702         [BZ #15893]
33703         * stdlib/isomac.c (get_null_defines): Fix memory leak.
33705         [BZ #15892]
33706         * libio/memstream.c (open_memstream): Fix memory leak.
33707         * libio/wmemstream.c (open_wmemstream): Likewise.
33709         [BZ #15895]
33710         * nscd/netgroupcache.c: Fix nesting of ifdefs.
33712 2013-09-09  Will Newton  <will.newton@linaro.org>
33714         * malloc/Makefile: Add tst-realloc to tests.
33715         * malloc/tst-realloc.c: New file.
33717 2013-09-09  Allan McRae  <allan@archlinux.org>
33719         [BZ #15844]
33720         * COPYING: Update from GNU website to fix FSF address.
33721         * COPYING.LIB: Likewise.
33723 2013-09-06  David S. Miller  <davem@davemloft.net>
33725         * po/zh_TW.po: Update Chinese (traditional) translation from
33726         translation project.
33728 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
33729             Joseph Myers  <joseph@codesourcery.com>
33731         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33732         "localeinfo.h".
33733         (obstack_chunk_alloc): New macro.
33734         (obstack_chunk_free): Likewise.
33735         (record_offset): New function.
33736         (init_locale_data): Likewise.
33737         (align_locale_data): Likewise.
33738         (add_locale_empty): Likewise.
33739         (add_locale_raw_data): Likewise.
33740         (add_locale_raw_obstack): Likewise.
33741         (add_locale_string): Likewise.
33742         (add_locale_wstring): Likewise.
33743         (add_locale_uint32): Likewise.
33744         (add_locale_uint32_array): Likewise.
33745         (add_locale_char): Likewise.
33746         (start_locale_structure): Likewise.
33747         (end_locale_structure): Likewise.
33748         (start_locale_prelude): Likewise.
33749         (end_locale_prelude): Likewise.
33750         (write_locale_data): Take locale_file structure rather than an
33751         iovec.
33752         * locale/programs/locfile.h: Include "obstack.h".
33753         (struct locale_file): Change to store locale file contents instead
33754         of header.
33755         (init_locale_data): New prototype.
33756         (align_locale_data): Likewise.
33757         (add_locale_empty): Likewise.
33758         (add_locale_raw_data): Likewise.
33759         (add_locale_raw_obstack): Likewise.
33760         (add_locale_string): Likewise.
33761         (add_locale_wstring): Likewise.
33762         (add_locale_uint32): Likewise.
33763         (add_locale_uint32_array): Likewise.
33764         (add_locale_char): Likewise.
33765         (start_locale_structure): Likewise.
33766         (end_locale_structure): Likewise.
33767         (start_locale_prelude): Likewise.
33768         (end_locale_prelude): Likewise.
33769         (write_locale_data): Update prototype.
33770         * locale/programs/3level.h (struct TABLE): Remove result field.
33771         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33772         Use new locale_file interface.
33773         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33774         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33775         * locale/programs/ld-address.c (address_output): Use new
33776         locale_file interface.
33777         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33778         NO_ADD_LOCALE.
33779         (collate_finish): Don't call collseq_table_finalize.
33780         (collate_output): Use new locale_file interface.
33781         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33782         in file.
33783         (NO_FINALIZE): Change to NO_ADD_LOCALE.
33784         (TABLE): Move defines earlier in file.
33785         (ELEMENT): Likewise.
33786         (DEFAULT): Likewise.
33787         (wctrans_table_add): Move macro and inline function earlier in
33788         file.
33789         (struct wctype_table): Move type earlier in file.
33790         (add_locale_wctype_table): New static prototype.
33791         (struct locale_ctype_t): Use logical types instead of struct iovec
33792         pointers for members.
33793         (ctype_output): Use new locale_file interface.
33794         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
33795         new locale_file interface.
33796         (allocate_arrays): Update for use of new locale_file interface.
33797         * locale/programs/ld-identification.c (identification_output): Use
33798         new locale_file interface.
33799         * locale/programs/ld-measurement.c (measurement_output): Likewise.
33800         * locale/programs/ld-messages.c (messages_output): Likewise.
33801         * locale/programs/ld-monetary.c (monetary_output): Likewise.
33802         * locale/programs/ld-name.c (name_output): Likewise.
33803         * locale/programs/ld-numeric.c (numeric_output): Likewise.
33804         * locale/programs/ld-paper.c (paper_output): Likewise.
33805         * locale/programs/ld-telephone.c (telephone_output): Likewise.
33806         * locale/programs/ld-time.c (time_output): Likewise.
33808 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33810         * benchtests/Makefile: Add memrchr benchmark.
33811         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33812         benchmark as memrchr.
33813         * benchtests/bench-memrchr-ifunc.c: New file.
33814         * benchtests/bench-memrchr.c: New file.
33816 2013-09-06   Will Newton  <will.newton@linaro.org>
33818         * benchtests/Makefile (string-bench): Add memcpy.
33820 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
33821             Cong Wang  <amwang@redhat.com>
33823         [BZ #15850]
33824         * sysdeps/unix/sysv/linux/bits/in.h
33825         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33826         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33827         before __USE_KERNEL_IPV6_DEFS uses.
33828         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33829         IPPROTO_BEETPH.
33830         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33831         sockaddr_in6, or ipv6_mreq.
33833 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33835         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33836         memory access for final bytes in some large inputs.
33837         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33839 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33841         * string/test-memrchr.c: New file.
33842         * string/test-memrchr-ifunc.c: New file.
33843         * string/Makefile: Add new memrchr testcase.
33845 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
33847         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33848         fanotify_init returns EPERM.
33850 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
33852         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33853         errors.
33854         (top level): Treat second token from macro or constant entries for
33855         allowed headers as allowed.
33856         * include/complex.h: Condition internal declarations on
33857         [!_ISOMAC].
33858         * include/fenv.h: Condition include of <stdbool.h> and internal
33859         declarations on [!_ISOMAC].
33861 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
33863         [BZ #15923]
33864         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33866 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
33868         * configure.in (--enable-versioning): Remove configure option.
33869         (libc_cv_asm_symver_directive): Remove configure test.
33870         (libc_cv_ld_version_script_option): Likewise.
33871         (VERSIONING): Remove variable and AC_SUBST.
33872         (DO_VERSIONING): Remove AC_DEFINE.
33873         * configure: Regenerated.
33874         * config.h.in (DO_VERSIONING): Remove macro.
33875         * Makerules [$(versioning) = yes]: Change conditionals to
33876         [$(build-shared) = yes].
33877         * config.make.in (versioning): Remove variable.
33878         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33879         [$(build-shared) = yes].
33880         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33881         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33882         * elf/Makefile [$(versioning) = yes]: Change conditionals to
33883         [$(build-shared) = yes].
33884         * extra-lib.mk [$(versioning) = yes]: Likewise.
33885         * hurd/Makefile [$(versioning) = yes]: Likewise.
33886         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33887         [SHARED].
33888         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33889         [SHARED].
33890         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33891         [SHARED && !NO_HIDDEN].
33892         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33893         [SHARED].
33894         [SHARED && DO_VERSIONING]: Likewise..
33895         * libio/Makefile [$(versioning) = yes]: Change conditionals to
33896         [$(build-shared) = yes].
33897         * manual/install.texi (--disable-versioning): Remove
33898         documentation.
33899         * INSTALL: Regenerated.
33900         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33901         to [SHARED].
33902         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33903         [$(build-shared) = yes].
33904         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33905         * sysdeps/i386/i686/multiarch/strstr-c.c
33906         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33907         [SHARED && !NO_HIDDEN].
33908         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33909         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33910         * sysdeps/powerpc/powerpc32/dl-machine.c
33911         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33912         * sysdeps/powerpc/powerpc32/sysdep.h
33913         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33914         to [SHARED && PIC && !NO_HIDDEN].
33915         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33916         conditional to [SHARED].
33918 2013-09-04   Will Newton  <will.newton@linaro.org>
33920         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33921         * benchtests/bench-string.h: Include bench-timing.h instead
33922         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33923         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33924         call to HP_TIMING_DIFF_INIT.
33925         * benchtests/bench-memccpy.c: Use bench-timing.h macros
33926         instead of hp-timing.h macros.
33927         * benchtests/bench-memchr.c: Likewise.
33928         * benchtests/bench-memcmp.c: Likewise.
33929         * benchtests/bench-memcpy.c: Likewise.
33930         * benchtests/bench-memmem.c: Likewise.
33931         * benchtests/bench-memmove.c: Likewise.
33932         * benchtests/bench-memset.c: Likewise.
33933         * benchtests/bench-rawmemchr.c: Likewise.
33934         * benchtests/bench-strcasecmp.c: Likewise.
33935         * benchtests/bench-strcasestr.c: Likewise.
33936         * benchtests/bench-strcat.c: Likewise.
33937         * benchtests/bench-strchr.c: Likewise.
33938         * benchtests/bench-strcmp.c: Likewise.
33939         * benchtests/bench-strcpy.c: Likewise.
33940         * benchtests/bench-strcpy_chk.c: Likewise.
33941         * benchtests/bench-strlen.c: Likewise.
33942         * benchtests/bench-strncasecmp.c: Likewise.
33943         * benchtests/bench-strncat.c: Likewise.
33944         * benchtests/bench-strncmp.c: Likewise.
33945         * benchtests/bench-strncpy.c: Likewise.
33946         * benchtests/bench-strnlen.c: Likewise.
33947         * benchtests/bench-strpbrk.c: Likewise.
33948         * benchtests/bench-strrchr.c: Likewise.
33949         * benchtests/bench-strspn.c: Likewise.
33950         * benchtests/bench-strstr.c: Likewise.
33952 2013-09-04  Will Newton  <will.newton@linaro.org>
33954         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33956 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
33958         [BZ #15427]
33959         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33960         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33961         * math/libm-test.inc (lgamma_test_data): Add more tests.
33962         * sysdeps/i386/fpu/libm-test-ulps: Update.
33963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33965 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
33967         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33969         Add ifunc.
33970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33971         Add strcmp-sse2-unaligned
33972         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33974 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
33976         * Versions.def (libc): Add GLIBC_2.19.
33978 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
33980         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33981         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33983 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
33985         [BZ #14155]
33986         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33987         intermediate calculations in recurrence.
33988         (__ieee754_ynf): Likewise.
33989         * math/libm-test.inc (jn_test_data): Do not allow spurious
33990         underflow exception.  Add more tests.
33991         (yn_test_data): Add more tests.
33992         * sysdeps/i386/fpu/libm-test-ulps: Update.
33993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33995 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
33997         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33999 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34001         * csu/init-first.c: Fix then/than typos.
34002         * locale/programs/ld-collate.c: Likewise.
34003         * locale/programs/linereader.h: Likewise.
34004         * manual/charset.texi: Likewise.
34005         * manual/filesys.texi: Likewise.
34006         * manual/stdio.texi: Likewise.
34007         * manual/string.texi: Likewise.
34008         * stdlib/fmtmsg.c: Likewise.
34009         * sysdeps/i386/stpncpy.S: Likewise.
34010         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34011         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34012         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34013         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34015 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34017         * elf/dl-open.c: Fix typos.
34018         * iconvdata/gbbig5.c: Likewise.
34019         * iconvdata/iso-2022-jp.c: Likewise.
34020         * iconv/gconv_int.h: Likewise.
34021         * iconv/loop.c: Likewise.
34022         * nis/rpcsvc/nis.h: Likewise.
34023         * resolv/ns_name.c: Likewise.
34024         * stdio-common/vfscanf.c: Likewise.
34025         * streams/stropts.h: Likewise.
34026         * sunrpc/rpc_thread.c: Likewise.
34027         * sysdeps/i386/strpbrk.S: Likewise.
34028         * sysdeps/ieee754/k_standard.c: Likewise.
34029         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34030         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34031         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34032         * sysdeps/mach/hurd/profil.c: Likewise.
34033         * sysdeps/s390/dl-procinfo.h: Likewise.
34034         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34035         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34036         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34037         * sysdeps/x86_64/dl-trampoline.S: Likewise.
34038         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34040 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
34042         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34045 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
34047         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34048         aix specific files.
34049         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34050         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34051         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34052         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34053         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34054         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34055         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34056         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34058 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34059             Roland McGrath  <roland@hack.frob.com>
34061         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34062         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34064 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34066         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34067         __executable_start symbol instead of _start.
34069 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34071         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34072         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34073         Move macros to...
34074         * sysdeps/gnu/ldsodefs.h: ... this new file.
34076         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34077         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34078         instead of ELFOSABI_LINUX.
34080         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34081         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34082         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34083         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34084         Likewise.
34085         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34086         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34087         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34088         Likewise.
34089         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34090         (ibm_extended_long_double): Add ieee_nan member.
34091         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34092         (do_test): New function.
34094         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34095         TEST_TRUNC.
34096         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34097         functions, renamed from truncdfsf_test, trunctfsf_test,
34098         trunctfdf_test.
34099         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34100         functions.
34101         (do_test): Run all these.
34103 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
34105         * argp/argp-help.c: Fix typos.
34106         * argp/argp-parse.c: Likewise.
34107         * debug/backtracesyms.c: Likewise.
34108         * elf/elf.h: Likewise.
34109         * malloc/malloc.c: Likewise.
34110         * nis/nis_print.c: Likewise.
34111         * resolv/res_comp.c: Likewise.
34112         * stdlib/stdlib.h: Likewise.
34113         * sunrpc/clnt_tcp.c: Likewise.
34114         * sunrpc/clnt_udp.c: Likewise.
34115         * sunrpc/clnt_unix.c: Likewise.
34116         * sysdeps/unix/bsd/ptsname.c: Likewise.
34117         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34118         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34120         Likewise.
34121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34122         Likewise.
34123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34124         Likewise.
34125         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34127 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34129         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34132 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
34134         [BZ #15897]
34135         * dlfcn/Makefile (tests): Add bug-dl-leaf.
34136         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34137         ($(objpfx)bug-dl-leaf): New rule.
34138         ($(objpfx)bug-dl-leaf.so): Likewise.
34139         ($(objpfx)bug-dl-leaf.out): Likewise.
34140         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34141         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34142         * dlfcn/bug-dl-leaf.c: New test.
34143         * dlfcn/bug-dl-leaf-lib.c: Likewise.
34144         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34145         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34146         (dlclose): Likewise.
34147         (dlmopen): Likewise.
34149 2013-08-27  Roland McGrath  <roland@hack.frob.com>
34151         * include/netdb.h [!_ISOMAC]:
34152         Don't include <tls.h>.
34153         (h_errno, __libc_h_errno): Move declaration and macros out of
34154         [_LIBC_REENTRANT].
34156         * include/resolv.h [_RESOLV_H_]:
34157         Don't include <tls.h>.
34158         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34159         * resolv/res_libc.c: Don't include <tls.h>.
34160         (_res): Use __attribute__ ((nocommon)) in place of
34161         __attribute__ ((section (".bss"))).
34163         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34164         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34166         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34168         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34169         only under [SIOCGIFCONF && SIOCGIFNETMASK].
34171         * resolv/res_mkquery.c: Include <sys/time.h>.
34173         * inet/ifreq.c: Moved to ...
34174         * sysdeps/unix/ifreq.c: ... here.
34175         * inet/ifreq.c: New file, true stub version.
34177         * socket/sa_len.c: New file.
34178         * socket/Makefile (aux): Add it.
34179         * sysdeps/unix/sysv/linux/Makefile
34180         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34181         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34182         and #include <socket/sa_len.c>.
34183         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34184         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34186         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34187         * bits/socket.h: ... here.
34189         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34190         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34191         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34193 2013-08-27  Andreas Schwab  <schwab@suse.de>
34195         [BZ #15736]
34196         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34197         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34198         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34199         * string/test-strcasecmp.c (test_main): Run tests in several
34200         locales.
34201         * string/test-strncasecmp.c (test_main): Likewise.
34203         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34204         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34205         to __strcasecmp_nonascii and __strncasecmp_nonascii.
34206         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34207         (__strncasecmp_ssse3) [PIC]: Likewise.
34209 2013-08-26  Roland McGrath  <roland@hack.frob.com>
34211         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34213         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34214         instead of explicitly declaring xdecrypt.
34215         * nis/nss_nis/nis-publickey.c: Likewise.
34217 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34219         [BZ #15890]
34220         * nscd/aicache.c: Include res_hconf.h.
34221         (addhstaiX): Initialize res_hconf.
34223 2013-08-26  Andreas Schwab  <schwab@suse.de>
34225         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34226         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34228 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34230         * nscd/aicache.c (addhstaiX): Fix indentation.
34232 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
34234         * configure.ac: Quote $build_pt_chown test.
34235         * configure: Regenerated.
34237 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
34239         [BZ #15532]
34240         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34241         * math/s_cexpf.c (__cexpf): Likewise.
34242         * math/s_cexpl.c (__cexpl): Likewise.
34243         * math/libm-test.inc (cexp_test_data): Correct expected return
34244         value for NaN + i0.  Add another test.
34246 2013-08-22  David S. Miller  <davem@davemloft.net>
34248         * po/ca.po: Update Catalan translation from translation project.
34249         * po/uk.po: Add Ukrainian translations from translation project.
34251 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
34253         [BZ #15797]
34254         * math/s_fdim.c (__fdim): Check for infinite arguments if result
34255         is infinite, not alongside NaN test.
34256         * math/s_fdimf.c (__fdimf): Likewise.
34257         * math/s_fdiml.c (__fdiml): Likewise.
34258         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
34259         errno is unchanged.
34261 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
34263         * argp/argp-help.c: Fix typos.
34264         * crypt/speeds.c: Likewise.
34265         * csu/check_fds.c: Likewise.
34266         * elf/dl-load.c: Likewise.
34267         * elf/dl-open.c: Likewise.
34268         * elf/reldep3.c: Likewise.
34269         * elf/reldep.c: Likewise.
34270         * elf/sprof.c: Likewise.
34271         * iconv/iconv_charmap.c: Likewise.
34272         * iconv/skeleton.c: Likewise.
34273         * iconv/strtab.c: Likewise.
34274         * io/lockf64.c: Likewise.
34275         * libio/libioP.h: Likewise.
34276         * resolv/gai_notify.c: Likewise.
34277         * resolv/ns_name.c: Likewise.
34278         * resolv/ns_samedomain.c: Likewise.
34279         * resolv/res_send.c: Likewise.
34280         * stdlib/random.c: Likewise.
34281         * sunrpc/rpc/xdr.h: Likewise.
34282         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34283         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34284         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34285         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34286         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34287         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34289         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34290         * sysdeps/mach/hurd/check_fds.c: Likewise.
34291         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34292         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34293         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34294         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34295         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34296         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34297         * sysdeps/pthread/aio_notify.c: Likewise.
34298         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34299         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34300         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34301         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34302         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34304 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34306         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34307         version if bit_Slow_SSE4_2 is set.
34308         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34309         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34311 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34313         [BZ #15867]
34314         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34315         trampoline stack frame information.
34316         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34317         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34318         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34319         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34320         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34321         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34322         (_libc_vdso_platform_setup): Initialize the signal trampolines.
34323         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34324         sa_flags value.
34325         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34326         interrupting a syscall and set with option SA_SIGINFO.
34328 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34330         [BZ #15531]
34331         * math/s_cproj.c (__cproj): Only return an infinity if one part of
34332         argument is infinite.
34333         * math/s_cprojf.c (__cprojf): Likewise.
34334         * math/s_cprojl.c (__cprojl): Likewise.
34335         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34336         * math/libm-test.inc (cproj_test_data): Add more tests.
34338         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34340         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34341         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34342         size.  Use __ffs to determine corresponding shift.
34344 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34345             Roland McGrath  <roland@hack.frob.com>
34347         * Makefile (INSTALL): Remove trailing blank lines from output of
34348         makeinfo.
34350 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34352         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34353         Align 32 bit compat elf_greg to 8 bytes.
34355 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
34357         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34359 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34361         * string/strcoll_l.c (coll_seq): New structure.
34362         (get_next_seq_cached): New function.
34363         (get_next_seq): New function.
34364         (do_compare): New function.
34365         (STRCOLL): Use GNU style definition.  Simplify implementation
34366         by using get_next_seq, get_next_seq_cached and do_compare.
34368 2013-08-16  Florian Weimer  <fweimer@redhat.com>
34370         [BZ #14699]
34371         CVE-2013-4237
34372         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34373         member.
34374         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34375         member.
34376         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34377         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34378         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
34379         conditional.
34380         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34381         GETDENTS_64BIT_ALIGNED.
34382         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34383         * manual/filesys.texi (Reading/Closing Directory): Document
34384         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
34385         strongly.
34386         * manual/conf.texi (Limits for Files): Add portability note to
34387         NAME_MAX, PATH_MAX.
34388         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34390 2013-08-13  Andreas Schwab  <schwab@suse.de>
34392         [BZ #15749]
34393         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34394         of fabs.
34395         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34396         LDBL_MAX_EXP >= 16384]: Add tests for it.
34398 2013-08-12  David S. Miller  <davem@davemloft.net>
34400         * version.h (RELEASE): Set to "development".
34401         (VERSION): Set to "2.18.90".
34402         * NEWS: Add 2.19 section.
34404 2013-08-03  David S. Miller  <davem@davemloft.net>
34406         * po/ko.po: Update Korean translation from translation project.
34408 2013-08-01  David S. Miller  <davem@davemloft.net>
34410         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
34411         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34412         Bilka.
34414 2013-07-30  David S. Miller  <davem@davemloft.net>
34416         * po/fr.po: Update French translation from translation project.
34418 2013-07-28  David S. Miller  <davem@davemloft.net>
34420         * po/cs.po: Update Czech translation from translation project.
34422         * po/sv.po: Update Swedish translation from translation project.
34424 2013-07-27  David S. Miller  <davem@davemloft.net>
34426         * po/eo.po: Update Esperanto translation from translation project.
34428         * po/vi.po: Update Vietnamese translation from translation project.
34430         * po/de.po: Update German translation from translation project.
34432 2013-07-26  David S. Miller  <davem@davemloft.net>
34434         * po/bg.po: Update Bulgarian translation from translation project.
34436         * po/nl.po: Update Dutch translation from translation project.
34437         * po/pl.po: Update Polish translation from translation project.
34438         * po/ru.po: Update Russian translation from translation project.
34440 2013-07-24  David S. Miller  <davem@davemloft.net>
34442         * po/libc.pot: Update.
34444 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34446         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34447         variable page size.
34448         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34449         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34450         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34452 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34454         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34456 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34457             Andreas Schwab  <schwab@suse.de>
34458             Roland McGrath  <roland@hack.frob.com>
34459             Joseph Myers  <joseph@codesourcery.com>
34460             Carlos O'Donell  <carlos@redhat.com>
34462         [BZ #15755]
34463         * config.h.in: Define HAVE_PT_CHOWN.
34464         * config.make.in (build-pt-chown): New variable.
34465         * configure.in (--enable-pt_chown): New configure option.
34466         * configure: Regenerate.
34467         * login/Makefile: Include Makeconfig.  Build pt_chown only if
34468         build-pt-chown is enabled.
34469         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34470         pt_chown to fix pty ownership.
34471         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34472         CLOSE_ALL_FDS.
34473         * manual/install.texi (Configuring and compiling): Mention
34474         --enable-pt_chown. Add @findex for grantpt.
34475         * INSTALL: Regenerate.
34477 2013-07-20  David S. Miller  <davem@davemloft.net>
34479         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34480         difference between 32-bit and 64-bit.
34482 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
34484         [BZ #15711]
34485         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34486         Avoid system header dependency with -ffreestanding.
34487         ($(objpfx)bits/syscall%d): Likewise.
34489 2013-07-13  David S. Miller  <davem@davemloft.net>
34491         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34492         underflows from atanl/atan2l due to bug 15319.
34493         (casinh_test_data): Likewise.
34495 2013-07-07  David S. Miller  <davem@davemloft.net>
34497         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34499 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
34501         * sysdeps/i386/fpu/libm-test-ulps: Update.
34502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34504 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34506         * configure.in (--enable-lock-elision): Fix message text.
34507         * INSTALL: Regenerate.
34508         * configure: Regenerate.
34510 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34514 2013-07-03  Andreas Jaeger  <aj@suse.de>
34516         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34517         define.
34518         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34519         (ptrace_peeksiginfo_args): Add.
34520         (__ptrace_peeksiginfo_flags): Add.
34521         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34522         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34523         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34525 2013-07-03  Allan McRae  <allan@archlinux.org>
34527         * sysdeps/i386/fpu/libm-test-ulps: Update.
34529 2013-07-02  David S. Miller  <davem@davemloft.net>
34531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34533 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
34535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34537 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34539         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34542 2013-07-02  Andi Kleen <ak@linux.intel.com>
34544         * config.h.in (ENABLE_LOCK_ELISION): Add.
34545         * configure.in (--enable-lock-elision): Add option.
34546         * manual/install.texi: Document --enable lock elision.
34547         * configure: Regenerate
34548         * INSTALL: Regenerate.
34550 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
34552         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34553         SSE4.2 strcasecmp for libc.a.
34554         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34556 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34558         [BZ #13304]
34559         * soft-fp/op-common.h (_FP_FMA): New macro.
34560         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34561         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
34562         (_FP_MUL_MEAT_1_imm): ... here.
34563         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
34564         (_FP_MUL_MEAT_1_wide): ... here.
34565         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
34566         (_FP_MUL_MEAT_1_hard): ... here.
34567         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34568         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
34569         (_FP_MUL_MEAT_2_wide): ... here.
34570         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
34571         (_FP_MUL_MEAT_2_wide_3mul): ... here.
34572         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
34573         (_FP_MUL_MEAT_2_gmp): ... here.
34574         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34575         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
34576         (_FP_MUL_MEAT_4_wide): ... here.
34577         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
34578         (_FP_MUL_MEAT_4_gmp): ... here.
34579         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34580         (_FP_WFRACBITS_DW_S): Likewise.
34581         (_FP_WFRACXBITS_DW_S): Likewise.
34582         (_FP_HIGHBIT_DW_S): Likewise.
34583         (FP_FMA_S): Likewise.
34584         (_FP_FRAC_HIGH_DW_S): Likewise.
34585         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34586         (_FP_WFRACBITS_DW_D): Likewise.
34587         (_FP_WFRACXBITS_DW_D): Likewise.
34588         (_FP_HIGHBIT_DW_D): Likewise.
34589         (FP_FMA_D): Likewise.
34590         (_FP_FRAC_HIGH_DW_D): Likewise.
34591         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34592         (_FP_WFRACBITS_DW_E): Likewise.
34593         (_FP_WFRACXBITS_DW_E): Likewise.
34594         (_FP_HIGHBIT_DW_E): Likewise.
34595         (FP_FMA_E): Likewise.
34596         (_FP_FRAC_HIGH_DW_E): Likewise.
34597         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34598         (_FP_WFRACBITS_DW_Q): Likewise.
34599         (_FP_WFRACXBITS_DW_Q): Likewise.
34600         (_FP_HIGHBIT_DW_Q): Likewise.
34601         (FP_FMA_Q): Likewise.
34602         (_FP_FRAC_HIGH_DW_Q): Likewise.
34603         * soft-fp/fmasf4.c: New file.
34604         * soft-fp/fmadf4.c: Likewise.
34605         * soft-fp/fmatf4.c: Likewise.
34607 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34610         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34611         Silvermont.
34612         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34613         macro.
34614         (index_Slow_SSE4_2): Likewise.
34615         (index_Prefer_PMINUB_for_stringop): Likewise.
34616         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34617         bit_Slow_SSE4_2 is set.
34618         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34619         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34621 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34623         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34624         rtld_global._dl_hwcap2.
34625         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34626         POWER8.
34627         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34628         POWER8 feature descriptions defined in _dl_hwcap2.
34629         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34630         string handling for POWER8 feature bits.
34631         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34632         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34633         _dl_powerpc_cap_flags.
34634         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34635         * sysdeps/powerpc/rtld-global-offsets.sym
34636         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34637         _dl_hwcap2 in the rtld_global_ro structure.
34639 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34641         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34642         hardware capabilities in support of AT_HWCAP2.
34643         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34644         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34645         GLRO(dl_hwcap2).
34646         (_dl_show_auxv): Add support for calling _dl_procinfo to display
34647         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
34648         explicitly the unknown a_type display mechanism is used.
34649         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34650         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34651         struct member.
34652         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34653         to macro prototype for AT_HWCAP2 support.
34654         * sysdeps/i386/dl-procinfo.h: Likewise.
34655         * sysdeps/s390/dl-procinfo.h: Likewise.
34656         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34657         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
34658         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
34659         return -1 for unknown a_type display fallback.
34660         * sysdeps/sparc/dl-procinfo.h: Likewise.
34661         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34662         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34664 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
34666         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34667         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34669 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
34671         [BZ #12492]
34672         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34673         mprotect making __stack_prot writable.
34675 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
34676             Joseph Myers  <joseph@codesourcery.com>
34678         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34679         as being properly aligned.
34681 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
34683         * dlfcn/modstatic5.c: New file.
34684         * dlfcn/tststatic5.c: New file.
34685         * dlfcn/Makefile (tests): Add tststatic5.
34686         (tests-static): Likewise.
34687         (modules-names): Add modstatic5.
34688         (tststatic5-ENV): New variable.
34689         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34691         [BZ #15022]
34692         * elf/dl-support.c (_dl_main_map): New variable.
34693         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34694         (_dl_nns, _dl_load_adds): Set to 1.
34695         (_dl_initial_searchlist): Refer to _dl_main_map.
34696         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34697         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34698         call to _dl_get_origin.
34699         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34700         around call_map.
34701         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34702         * dlfcn/modstatic3.c: New file.
34703         * dlfcn/tststatic3.c: New file.
34704         * dlfcn/tststatic4.c: New file.
34705         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34706         (tests-static): Likewise.
34707         (modules-names): Add modstatic3.
34708         (tststatic3-ENV, tststatic4-ENV): New variables.
34709         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34710         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34712 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
34714         * configure.in (CC): Require GCC version 4.4 or later.
34715         * configure: Regenerated.
34716         * manual/install.texi (Tools for Compilation): Update GCC version
34717         requirement.
34718         * INSTALL: Regenerated.
34720 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34722         [BZ #15674]
34723         * string/test-memcmp.c (check2): New.
34724         (main): Call check2.
34726         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34728 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
34730         [BZ #15022]
34731         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34732         over to...
34733         (dl_open_worker) [!SHARED]: ... here.
34735 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34737         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34739 2013-06-25  Richard Henderson  <rth@redhat.com>
34741         * locale/programs/locarchive.c: Include <libc-internal.h>
34743 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
34745         * manual/texinfo.tex: Update to version 2013-06-21.17, with
34746         trailing whitespace removed.
34748 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
34750         [BZ #10283]
34751         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34752         * locale/programs/locarchive.c: Include libc-mmap.h.
34753         (prepare_address_space): Take two new outputs (the mmap base and len).
34754         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
34755         values.
34756         (create_archive): Declare new mmap base and len values for
34757         prepare_address_space, and store the result in ah.
34758         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34759         (enlarge_archive): If ah->mmap_base is not NULL, use that and
34760         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34761         Declare new mmap base and len values for
34762         prepare_address_space, and store the result in new_ah.
34763         (open_archive): Declare new mmap base and len values for
34764         prepare_address_space, and store the result in ah.
34765         (close_archive): If ah->mmap_base is not NULL, use that and
34766         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34767         * sysdeps/generic/libc-mmap.h: New file.
34769 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
34771         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34772         (ALIGN_UP): Likewise.
34773         (PTR_ALIGN_DOWN): Likewise.
34774         (PTR_ALIGN_UP): Likewise.
34776 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34778         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34779         entry mapped to PPC_PLATFORM_POWER8.
34780         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34781         POWER8.
34782         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34783         (_dl_string_platform): Add case for exporting platform position for
34784         POWER8.
34785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34786         search path to sysdeps/powerpc/powerpc32/power8 directory.
34787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34788         search path to sysdeps/powerpc/powerpc64/power8 directory.
34789         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34790         power7 directories.
34791         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34792         power7 directories.
34794 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34796         * INSTALL: Regenerate.
34798         * nscd/connections.c (nscd_init): Fix comment.
34800 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
34802         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34804         [BZ #15667]
34805         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34806         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34808 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
34810         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34811         DL_DST_REQ_STATIC.
34812         (DL_DST_REQ_STATIC): Remove macro.
34814 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
34816         [BZ #7006]
34817         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34818         with a shift of 0 bits.
34820 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
34822         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34823         $(tststatic-ENV).
34825 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34827         [BZ #15655]
34828         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34830 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34832         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34833         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34834         accepts -fno-tree-loop-distribute-patterns.
34835         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34836         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34837         recursive call.
34838         * string/memset.c (memset): Likewise.
34839         * string/test-memmove.c (simple_memmove): Disable loop transformation
34840         to library calls.
34841         * string/test-memset.c (simple_memset): Likewise.
34842         * benchtests/bench-memmove.c (simple_memmove): Likewise.
34843         * benchtests/bench-memset.c (simple_memset): Likewise.
34844         * configure: Regenerated.
34846 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
34848         * math/test-misc.c (main): Ignore fesetround failure when failures
34849         of subsequent rounding tests would be ignored.
34851         [BZ #15654]
34852         * math/fedisblxcpt.c (fedisableexcept): Return 0.
34853         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34854         * math/fegetenv.c (__fegetenv): Return 0.
34855         * math/fegetexcept.c (fegetexcept): Return 0.
34856         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34857         FE_TONEAREST.
34858         * math/feholdexcpt.c (feholdexcept): Return 0.
34859         * math/fesetenv.c (__fesetenv): Return 0.
34860         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34861         argument FE_TONEAREST.
34862         * math/feupdateenv.c (__feupdateenv): Return 0.
34863         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34865 2013-06-18  Roland McGrath  <roland@hack.frob.com>
34867         * elf/rtld-Rules (rtld-compile-command.S): New variable.
34868         (rtld-compile-command.s, rtld-compile-command.c): New variables.
34869         ($(objpfx)rtld-%.os rules): Use them.
34871 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34873         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34874         fields.
34876 2013-06-17  Roland McGrath  <roland@hack.frob.com>
34878         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34879         length of target pattern, then descending length of dependency pattern.
34880         * configure.in (AWK): Require gawk 3.1.2 or newer.
34881         * manual/install.texi (Tools for Compilation): Say that we do.
34882         * configure: Regenerated.
34884         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34885         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34886         * scripts/sysd-rules.awk: ... this new script.
34887         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34888         than a glob-style pattern.
34890 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
34892         * math/test-misc.c (main): Do not treat incorrectly rounded
34893         conversions as failure unless ROUNDING_TESTS passes.
34895 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
34897         [BZ #15631]
34898         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34899         restore exception state around main square root computation, then
34900         check for inexactness explicitly.
34902         * math/libm-test.inc (fma_test_data): Add another test.
34904 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34906         * manual/threads.texi (Non-POSIX Extensions): New document
34907         node.  Document pthread_getattr_default_np and
34908         pthread_setattr_default_np.
34910         * Versions.def (libpthread): Add GLIBC_2.18.
34911         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34913         Likewise.
34914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34915         Likewise.
34916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34917         Likewise.
34918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34919         Likewise.
34920         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34921         Likewise.
34922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34923         Likewise.
34924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34925         Likewise.
34926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34927         Likewise.
34928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34929         Likewise.
34931 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34934         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34936 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34937             H.J. Lu  <hjl.tools@gmail.com>
34939         [BZ #15627]
34940         * sysdeps/x86_64/rtld-memset.c: Remove file.
34941         * sysdeps/x86_64/rtld-memset.S: New file.
34943 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
34945         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34946         (test_in_one_mode): Take arguments for whether the rounding mode
34947         is supported for each floating-point type.
34948         (do_test): Pass new arguments to test_in_one_mode using
34949         ROUNDING_TESTS.
34951 2013-06-13  Roland McGrath  <roland@hack.frob.com>
34953         * posix/tst-waitid.c (do_test): Distinguish different instances of
34954         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
34955         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34956         before entering the kernel for waitpid.
34958 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34960         * NEWS: Fix note on clock function precision.  Text by Roland
34961         McGrath.
34963 2013-06-13  Roland McGrath  <roland@hack.frob.com>
34965         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34966         it into place only when and if the sanity check passes.
34968 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
34970         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34971         output for whether conversion result is exact.  Take argument
34972         indicating whether type is IBM long double.
34973         (round_for_all): Change need_exact field to ibm_ld.
34974         * stdlib/tst-strtod-round.c (struct exactness): New type.
34975         (struct test): Change bool ld_ok field to struct exactness exact.
34976         (TEST): Update all definitions for change to field.
34977         (tests): Regenerate array contents.
34978         (test_in_one_mode): Take pointer to new field instead of old ld_ok
34979         field value.  Check for IBM long double here.
34980         (do_test): Update calls to test_in_one_mode.
34982 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34984         [BZ #12515]
34985         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34986         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34988 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34990         [BZ #15605]
34991         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34992         generated by the compiler on loop optimizations.
34993         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34994         general definitions.
34996 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
34998         * math/bug-nextafter.c: Include <math-tests.h>.
34999         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35000         the relevant type.
35001         * math/bug-nexttoward.c: Include <math-tests.h>.
35002         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35003         the relevant type.
35004         * math/test-misc.c: Include <math-tests.h>.
35005         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35006         the relevant type.
35008 2013-06-12  Andreas Jaeger  <aj@suse.de>
35010         * po/ia.po: Update Interlingua translation from translation
35011         project.
35013 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35015         * include/fenv.h: Include stdbool.h.
35016         (struct rm_ctx): New structure.
35017         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
35018         Define macro.
35019         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
35020         (SET_RESTORE_ROUNDF): Likewise.
35021         (SET_RESTORE_ROUNDL): Likewise.
35022         (SET_RESTORE_ROUND_NOEX): Likewise.
35023         (SET_RESTORE_ROUND_NOEXF): Likewise.
35024         (SET_RESTORE_ROUND_NOEXL): Likewise.
35025         (SET_RESTORE_ROUND_53BIT): Likewise.
35026         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35027         (libc_feresetround_noexf_ctx): Likewise.
35028         (libc_feresetround_noexl_ctx): Likewise.
35029         (libc_feholdsetround_53bit_ctx): Likewise.
35030         (libc_feresetround_53bit_ctx): Likewise.
35031         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35032         (libc_feholdexcept_setround_sse_ctx): New function.
35033         (libc_fesetenv_sse_ctx): Likewise.
35034         (libc_feupdateenv_sse_ctx): Likewise.
35035         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35036         (libc_feholdexcept_setround_387_ctx): Likewise.
35037         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35038         (libc_feholdsetround_387_prec_ctx): Likewise.
35039         (libc_feholdsetround_387_ctx): Likewise.
35040         (libc_feholdsetround_387_53bit_ctx): Likewise.
35041         (libc_feholdsetround_sse_ctx): Likewise.
35042         (libc_feresetround_sse_ctx): Likewise.
35043         (libc_feresetround_387_ctx): Likewise.
35044         (libc_feupdateenv_387_ctx): Likewise.
35045         (libc_feholdexcept_setroundf_ctx): Define macro.
35046         (libc_fesetenvf_ctx): Likewise.
35047         (libc_feupdateenvf_ctx): Likewise.
35048         (libc_feholdsetroundf_ctx): Likewise.
35049         (libc_feresetroundf_ctx): Likewise.
35050         (libc_feholdexcept_setround_ctx): Likewise.
35051         (libc_fesetenv_ctx): Likewise.
35052         (libc_feupdateenv_ctx): Likewise.
35053         (libc_feholdsetround_ctx): Likewise.
35054         (libc_feresetround_ctx): Likewise.
35055         (libc_feholdexcept_setroundl_ctx): Likewise.
35056         (libc_feupdateenvl_ctx): Likewise.
35057         (libc_feholdsetroundl_ctx): Likewise.
35058         (libc_feresetroundl_ctx): Likewise.
35059         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35060         (libc_feresetround_53bit_ctx): Likewise.
35062 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35064         * locale/iso-639.def: Convert to UTF-8.
35066 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
35068         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35069         (EXCEPTION_TESTS_double): Likewise.
35070         (EXCEPTION_TESTS_long_double): Likewise.
35071         (EXCEPTION_TESTS): Likewise.
35072         * math/libm-test.inc (test_exceptions): Only test exceptions if
35073         EXCEPTION_TESTS (FLOAT).
35075 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35077         * benchtests/Makefile (string-bench): Add strcpy_chk and
35078         stpcpy_chk.
35079         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35080         * benchtests/bench-stpcpy_chk.c: New file.
35081         * benchtests/bench-strcpy_chk-ifunc.c: New file.
35082         * benchtests/bench-strcpy_chk.c: New file.
35083         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35084         code.
35085         (do_test): Likewise.
35087 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35089         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35090         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35091         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35092         with tabs where appropriate.
35093         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35094         dl-procinfo.h.
35095         [PPC_PLATFORM_PPC440]: Likewise.
35096         [PPC_PLATFORM_PPC464]: Likewise.
35097         [PPC_PLATFORM_PPC476]: Likewise.
35098         (_dl_string_platform): Add support for detecting ppc405, ppc440,
35099         ppc464, and ppc476 platform strings merging from ports/
35100         dl-procinfo.h.
35102 2013-06-11  Andreas Schwab  <schwab@suse.de>
35104         [BZ #14991]
35105         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35106         (from_ucs4_idx): Regenerate.
35107         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35108         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35109         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35110         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35111         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35112         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35113         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35114         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35115         from FROM_LOOP and TO_LOOP specific macros.
35116         (BODY): Handle combining characters.
35117         * iconvdata/BIG5HKSCS.irreversible: Update.
35118         * iconvdata/BIG5HKSCS.precomposed: New file.
35119         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35120         characters.
35121         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35123 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35125         * include/sys/time.h: Fix indentation and add copyright header.
35127         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35128         (do_test): Likewise.
35129         * string/test-memchr.c (do_one_test): Likewise.
35130         (do_test): Likewise.
35131         * string/test-memcmp.c (do_one_test): Likewise.
35132         (do_test): Likewise.
35133         * string/test-memcpy.c (do_one_test): Likewise.
35134         (do_test): Likewise.
35135         * string/test-memmem.c (do_one_test): Likewise.
35136         (do_test): Likewise.
35137         (do_random_tests): Likewise.
35138         * string/test-memmove.c (do_one_test): Likewise.
35139         (do_test): Likewise.
35140         * string/test-memset.c (do_one_test): Likewise.
35141         (do_test): Likewise.
35142         * string/test-rawmemchr.c (do_one_test): Likewise.
35143         (do_test): Likewise.
35144         * string/test-strcasecmp.c (do_one_test): Likewise.
35145         (do_test): Likewise.
35146         * string/test-strcasestr.c (do_one_test): Likewise.
35147         (do_test): Likewise.
35148         * string/test-strcat.c (do_one_test): Likewise.
35149         (do_test): Likewise.
35150         * string/test-strchr.c (do_one_test): Likewise.
35151         (do_test): Likewise.
35152         * string/test-strcmp.c (do_one_test): Likewise.
35153         (do_test): Likewise.
35154         * string/test-strcpy.c (do_one_test): Likewise.
35155         (do_test): Likewise.
35156         * string/test-string.h: Likewise.
35157         (test_init): Likewise.
35158         * string/test-strlen.c (do_one_test): Likewise.
35159         (do_test): Likewise.
35160         * string/test-strncasecmp.c (do_one_test): Likewise.
35161         (do_test): Likewise.
35162         * string/test-strncat.c (do_one_test): Likewise.
35163         (do_test): Likewise.
35164         * string/test-strncmp.c (do_one_test): Likewise.
35165         (do_test_limit): Likewise.
35166         (do_test): Likewise.
35167         * string/test-strncpy.c (do_one_test): Likewise.
35168         (do_test): Likewise.
35169         * string/test-strnlen.c (do_one_test): Likewise.
35170         (do_test): Likewise.
35171         * string/test-strpbrk.c (do_one_test): Likewise.
35172         (do_test): Likewise.
35173         * string/test-strrchr.c (do_one_test): Likewise.
35174         (do_test): Likewise.
35175         * string/test-strspn.c (do_one_test): Likewise.
35176         (do_test): Likewise.
35177         * string/test-strstr.c (do_one_test): Likewise.
35178         (do_test): Likewise.
35180         * benchtests/Makefile (string-bench): Add string benchmarks.
35181         * benchtests/bench-bcopy-ifunc.c: New file.
35182         * benchtests/bench-bcopy.c: New file.
35183         * benchtests/bench-bzero-ifunc.c: New file.
35184         * benchtests/bench-bzero.c: New file.
35185         * benchtests/bench-memccpy-ifunc.c: New file.
35186         * benchtests/bench-memccpy.c: New file.
35187         * benchtests/bench-memchr-ifunc.c: New file.
35188         * benchtests/bench-memchr.c: New file.
35189         * benchtests/bench-memcmp-ifunc.c: New file.
35190         * benchtests/bench-memcmp.c: New file.
35191         * benchtests/bench-memmem-ifunc.c: New file.
35192         * benchtests/bench-memmem.c: New file.
35193         * benchtests/bench-memmove-ifunc.c: New file.
35194         * benchtests/bench-memmove.c: New file.
35195         * benchtests/bench-mempcpy-ifunc.c: New file.
35196         * benchtests/bench-mempcpy.c: New file.
35197         * benchtests/bench-memset-ifunc.c: New file.
35198         * benchtests/bench-memset.c: New file.
35199         * benchtests/bench-rawmemchr-ifunc.c: New file.
35200         * benchtests/bench-rawmemchr.c: New file.
35201         * benchtests/bench-stpcpy-ifunc.c: New file.
35202         * benchtests/bench-stpcpy.c: New file.
35203         * benchtests/bench-stpncpy-ifunc.c: New file.
35204         * benchtests/bench-stpncpy.c: New file.
35205         * benchtests/bench-strcasecmp-ifunc.c: New file.
35206         * benchtests/bench-strcasecmp.c: New file.
35207         * benchtests/bench-strcasestr-ifunc.c: New file.
35208         * benchtests/bench-strcasestr.c: New file.
35209         * benchtests/bench-strcat-ifunc.c: New file.
35210         * benchtests/bench-strcat.c: New file.
35211         * benchtests/bench-strchr-ifunc.c: New file.
35212         * benchtests/bench-strchr.c: New file.
35213         * benchtests/bench-strchrnul-ifunc.c: New file.
35214         * benchtests/bench-strchrnul.c: New file.
35215         * benchtests/bench-strcmp-ifunc.c: New file.
35216         * benchtests/bench-strcmp.c: New file.
35217         * benchtests/bench-strcpy-ifunc.c: New file.
35218         * benchtests/bench-strcpy.c: New file.
35219         * benchtests/bench-strcspn-ifunc.c: New file.
35220         * benchtests/bench-strcspn.c: New file.
35221         * benchtests/bench-strlen-ifunc.c: New file.
35222         * benchtests/bench-strlen.c: New file.
35223         * benchtests/bench-strncasecmp-ifunc.c: New file.
35224         * benchtests/bench-strncasecmp.c: New file.
35225         * benchtests/bench-strncat-ifunc.c: New file.
35226         * benchtests/bench-strncat.c: New file.
35227         * benchtests/bench-strncmp-ifunc.c: New file.
35228         * benchtests/bench-strncmp.c: New file.
35229         * benchtests/bench-strncpy-ifunc.c: New file.
35230         * benchtests/bench-strncpy.c: New file.
35231         * benchtests/bench-strnlen-ifunc.c: New file.
35232         * benchtests/bench-strnlen.c: New file.
35233         * benchtests/bench-strpbrk-ifunc.c: New file.
35234         * benchtests/bench-strpbrk.c: New file.
35235         * benchtests/bench-strrchr-ifunc.c: New file.
35236         * benchtests/bench-strrchr.c: New file.
35237         * benchtests/bench-strspn-ifunc.c: New file.
35238         * benchtests/bench-strspn.c: New file.
35239         * benchtests/bench-strstr-ifunc.c: New file.
35240         * benchtests/bench-strstr.c: New file.
35242         * benchtests/Makefile: Disable parallel execution of targets.
35243         (string-bench): Add memcpy.
35244         (benchset): New variable to store a list of benchmark sets.
35245         (bench-func): Renamed from bench.
35246         (bench-set): New target.
35247         (bench): Depend on bench-func and bench-set.
35248         * benchtests/README: Add section on benchmark sets.
35249         * benchtests/bench-memcpy-ifunc.c: New file.
35250         * benchtests/bench-memcpy.c: New file.
35251         * benchtests/bench-string.h: New file.
35253 2013-06-11  Andreas Schwab  <schwab@suse.de>
35255         [BZ #15577]
35256         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35257         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35258         values in the triple.
35259         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35260         terminator in the group key.
35262 2013-06-11  Andreas Jaeger  <aj@suse.de>
35264         * po/zh_TW.po: Update Chinese (traditional) translation from
35265         translation project.
35267 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35269         * include/time.h (__clock_gettime): Add libc_hidden_proto.
35270         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35271         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
35272         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35273         (clock_getcpuclockid): Likewise.
35274         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35275         Add weak_alias and libc_hidden_def.
35276         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35277         * rt/clock_gettime.c (clock_gettime): Rename to
35278         __clock_gettime.  Add weak_alias and libc_hidden_def.
35279         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35280         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35281         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
35282         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35283         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35284         Likewise.
35285         * rt/clock_settime.c (clock_settime): Rename to
35286         __clock_settime.  Add weak_alias and libc_hidden_def.
35287         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35289 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
35291         * mach/err_boot.sub: Remove trailing whitespace.
35292         * mach/err_ipc.sub: Likewise.
35293         * mach/err_mach.sub: Likewise.
35295         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35296         (ROUNDING_TESTS_double): Likewise.
35297         (ROUNDING_TESTS_long_double): Likewise.
35298         (ROUNDING_TESTS): Likewise.
35299         * math/libm-test.inc: Include <math-tests.h>.
35300         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35301         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35302         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35303         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35305 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35307         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35308         of assigning.
35310 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
35312         * sysdeps/gnu/errlist.awk: Do not generate space at end of
35313         otherwise empty TRANS lines.
35314         * sysdeps/gnu/errlist.c: Regenerated.
35316         * catgets/gencat.c (error_print): Use (void) in function
35317         definition.
35318         * crypt/crypt_util.c (__init_des): Likewise.
35319         * crypt/speeds.c (Stop): Likewise.
35320         (main): Likewise.
35321         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35322         * inet/ruserpass.c (token): Likewise.
35323         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35324         * intl/localealias.c (extend_alias_table): Likewise.
35325         * intl/plural-exp.c (init_germanic_plural): Likewise.
35326         * libio/fcloseall.c (__fcloseall): Likewise.
35327         * libio/genops.c (_IO_flush_all): Likewise.
35328         (_IO_flush_all_linebuffered): Likewise.
35329         (_IO_cleanup): Likewise.
35330         (_IO_iter_begin): Likewise.
35331         (_IO_iter_end): Likewise.
35332         (_IO_list_lock): Likewise.
35333         (_IO_list_unlock): Likewise.
35334         (_IO_list_resetlock): Likewise.
35335         * libio/getchar.c (getchar): Likewise.
35336         * libio/getchar_u.c (getchar_unlocked): Likewise.
35337         * libio/getwchar.c (getwchar): Likewise.
35338         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35339         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35340         * login/getpt.c (__getpt): Likewise.
35341         * login/tst-utmp.c (main): Likewise.
35342         * malloc/hooks.c (__malloc_check_init): Likewise.
35343         * malloc/malloc.c (__malloc_stats): Likewise.
35344         * malloc/mtrace.c (tr_break): Likewise.
35345         (mtrace): Likewise.
35346         (muntrace): Likewise.
35347         * misc/fstab.c (endfsent): Likewise.
35348         * misc/getclktck.c (__getclktck): Likewise.
35349         * misc/getdtsz.c (__getdtablesize): Likewise.
35350         * misc/gethostid.c (gethostid): Likewise.
35351         * misc/getpagesize.c (__getpagesize): Likewise.
35352         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35353         (__get_nprocs): Likewise.
35354         (__get_phys_pages): Likewise.
35355         (__get_avphys_pages): Likewise.
35356         * misc/getttyent.c (getttyent): Likewise.
35357         (setttyent): Likewise.
35358         (endttyent): Likewise.
35359         * misc/getusershell.c (getusershell): Likewise.
35360         (endusershell): Likewise.
35361         (setusershell): Likewise.
35362         (initshells): Likewise.
35363         * misc/hsearch.c (__hdestroy): Likewise.
35364         * misc/sync.c (sync): Likewise.
35365         * misc/syslog.c (closelog_internal): Likewise.
35366         (closelog): Likewise.
35367         * misc/ttyslot.c (ttyslot): Likewise.
35368         * misc/vhangup.c (vhangup): Likewise.
35369         * posix/fork.c (__fork): Likewise.
35370         * posix/getegid.c (__getegid): Likewise.
35371         * posix/geteuid.c (__geteuid): Likewise.
35372         * posix/getgid.c (__getgid): Likewise.
35373         * posix/getpid.c (__getpid): Likewise.
35374         * posix/getppid.c (__getppid): Likewise.
35375         * posix/getuid.c (__getuid): Likewise.
35376         * posix/pause.c (pause): Likewise.
35377         * posix/setpgrp.c (setpgrp): Likewise.
35378         * posix/setsid.c (__setsid): Likewise.
35379         * posix/test-vfork.c (noop): Likewise.
35380         * resolv/gethnamaddr.c (_endhtent): Likewise.
35381         (_gethtent): Likewise.
35382         (ht_endhostent): Likewise.
35383         (gethostent): Likewise.
35384         (dns_service): Likewise.
35385         * stdlib/drand48.c (drand48): Likewise.
35386         * stdlib/lrand48.c (lrand48): Likewise.
35387         * stdlib/mrand48.c (mrand48): Likewise.
35388         * stdlib/rand.c (rand): Likewise.
35389         * stdlib/random.c (__random): Likewise.
35390         * stdlib/setenv.c (clearenv): Likewise.
35391         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35392         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35393         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35394         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35395         (__get_nprocs): Likewise.
35396         (__get_phys_pages): Likewise.
35397         (__get_avphys_pages): Likewise.
35398         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35399         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35400         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35401         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35402         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35403         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35404         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35405         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35406         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35407         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35408         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35409         * sysdeps/mach/hurd/sync.c (sync): Likewise.
35410         * sysdeps/posix/clock.c (clock): Likewise.
35411         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35412         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35413         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35414         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35415         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35416         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35417         (__get_nprocs_conf): Likewise.
35418         (__get_phys_pages): Likewise.
35419         (__get_avphys_pages): Likewise.
35420         * time/clock.c (clock): Likewise.
35421         * time/tzset.c (__tzname_max): Likewise.
35423 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
35425         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35426         (__bswap_32): Do not use "register".
35427         * crypt/crypt.c (_ufc_doit_r): Likewise.
35428         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35429         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35430         * gmon/gmon.c (__monstartup): Likewise.
35431         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35432         * hurd/hurdmalloc.c (more_memory): Likewise.
35433         (malloc): Likewise.
35434         (free): Likewise.
35435         (realloc): Likewise.
35436         (malloc_fork_prepare): Likewise.
35437         (malloc_fork_parent): Likewise.
35438         (malloc_fork_child): Likewise.
35439         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35440         (_svcauth_des): Likewise.
35441         * inet/inet_lnaof.c (inet_lnaof): Likewise.
35442         * inet/inet_net.c (inet_network): Likewise.
35443         * inet/inet_netof.c (inet_netof): Likewise.
35444         * inet/rcmd.c (__validuser2_sa): Likewise.
35445         * io/fts.c (fts_open): Likewise.
35446         (fts_load): Likewise.
35447         (fts_close): Likewise.
35448         (fts_read): Likewise.
35449         (fts_children): Likewise.
35450         (fts_build): Likewise.
35451         (fts_stat): Likewise.
35452         (fts_sort): Likewise.
35453         (fts_alloc): Likewise.
35454         (fts_lfree): Likewise.
35455         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35456         (_IO_file_xsgetn): Likewise.
35457         (_IO_file_xsgetn_mmap): Likewise.
35458         * libio/iofopncook.c (_IO_cookie_read): Likewise.
35459         (_IO_cookie_write): Likewise.
35460         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35461         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35462         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35463         * malloc/obstack.c (_obstack_begin): Likewise.
35464         (_obstack_begin_1): Likewise.
35465         (_obstack_newchunk): Likewise.
35466         (_obstack_allocated_p): Likewise.
35467         (obstack_free): Likewise.
35468         (_obstack_memory_used): Likewise.
35469         * misc/getttyent.c (getttynam): Likewise.
35470         (getttyent): Likewise.
35471         (skip): Likewise.
35472         (value): Likewise.
35473         * misc/getusershell.c (initshells): Likewise.
35474         * misc/syslog.c (__vsyslog_chk): Likewise.
35475         * misc/ttyslot.c (ttyslot): Likewise.
35476         * nis/nis_hash.c (__nis_hash): Likewise.
35477         * posix/fnmatch_loop.c (FCT): Likewise.
35478         * posix/getconf.c (print_all): Likewise.
35479         (main): Likewise.
35480         * posix/getopt.c (exchange): Likewise.
35481         * posix/glob.c (globfree): Likewise.
35482         (prefix_array): Likewise.
35483         (__glob_pattern_type): Likewise.
35484         * resolv/arpa/nameser.h (NS_GET16): Likewise.
35485         (NS_GET32): Likewise.
35486         (NS_PUT16): Likewise.
35487         (NS_PUT32): Likewise.
35488         * resolv/gethnamaddr.c (getanswer): Likewise.
35489         (gethostbyname2): Likewise.
35490         (gethostbyaddr): Likewise.
35491         (_gethtent): Likewise.
35492         (_gethtbyname2): Likewise.
35493         (_gethtbyaddr): Likewise.
35494         * resolv/ns_print.c (dst_s_get_int16): Likewise.
35495         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35496         * resolv/res_init.c (__res_vinit): Likewise.
35497         (net_mask): Likewise.
35498         * resolv/res_mkquery.c (outchar): Likewise.
35499         (PRINT): Likewise.
35500         * stdio-common/printf_fp.c (outchar): Likewise.
35501         (PRINT): Likewise.
35502         * stdio-common/printf_fphex.c (outchar): Likewise.
35503         (PRINT): Likewise.
35504         * stdio-common/printf_size.c (outchar): Likewise.
35505         (PRINT): Likewise.
35506         * stdio-common/test_rdwr.c (main): Likewise.
35507         * stdio-common/tfformat.c (matches): Likewise.
35508         * stdio-common/vfprintf.c (outchar): Likewise.
35509         (printf_unknown): Likewise.
35510         (buffered_vfprintf): Likewise.
35511         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35512         * stdio-common/xbug.c (AppendToBuffer): Likewise.
35513         (ReadFile): Likewise.
35514         * stdlib/qsort.c (SWAP): Likewise.
35515         (_quicksort): Likewise.
35516         * stdlib/setenv.c (__add_to_environ): Likewise.
35517         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35518         * stdlib/strtol_l.c (__strtol_l): Likewise.
35519         * stdlib/tst-strtod.c (main): Likewise.
35520         * stdlib/tst-strtol.c (main): Likewise.
35521         * stdlib/tst-strtoll.c (main): Likewise.
35522         * string/bits/string2.h (__strcmp_cc): Likewise.
35523         (__strcmp_cg): Likewise.
35524         (__strcspn_c1): Likewise.
35525         (__strcspn_c2): Likewise.
35526         (__strcspn_c3): Likewise.
35527         (__strspn_c1): Likewise.
35528         (__strspn_c2): Likewise.
35529         (__strspn_c3): Likewise.
35530         (__strsep_1c): Likewise.
35531         (__strsep_2c): Likewise.
35532         (__strsep_3c): Likewise.
35533         * string/memccpy.c (__memccpy): Likewise.
35534         * string/stpcpy.c (__stpcpy): Likewise.
35535         * string/strcmp.c (strcmp): Likewise.
35536         * string/strrchr.c (strrchr): Likewise.
35537         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35538         Likewise.
35539         * sysdeps/mach/hurd/getcwd.c
35540         (_hurd_canonicalize_directory_name_internal): Likewise.
35541         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35542         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35543         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35544         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35545         Likewise, in both definitions.
35546         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35547         definitions.
35548         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35549         64] (__bswap_64): Likewise.
35550         * time/test_time.c (main): Likewise.
35551         * time/tzfile.c (__tzfile_read): Likewise.
35552         (__tzfile_compute): Likewise.
35553         * time/tzset.c (__tzset_parse_tz): Likewise.
35554         (tzset_internal): Likewise.
35555         (compute_change): Likewise.
35556         * wcsmbs/wcscat.c (__wcscat): Likewise.
35557         * wcsmbs/wcschr.c (wcschr): Likewise.
35558         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35559         * wcsmbs/wcscspn.c (wcscspn): Likewise.
35560         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35561         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35562         * wcsmbs/wcsspn.c (wcsspn): Likewise.
35563         * wcsmbs/wcsstr.c (wcsstr): Likewise.
35564         * wcsmbs/wmemchr.c (wmemchr): Likewise.
35565         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35566         * wcsmbs/wmemset.c (wmemset): Likewise.
35568 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
35570         * scripts/config.guess: Update to version 2013-05-16.
35571         * scripts/config.sub: Update to version 2013-04-24.
35572         * scripts/install-sh: Update to version 2011-11-20.07.
35573         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35574         * scripts/move-if-change: Update to version 2012-01-06 07:23.
35576 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
35578         * debug/fgetws_u_chk.c: Fix leading whitespaces.
35579         * elf/sln.c: Likewise.
35580         * hurd/hurd/ioctl.h: Likewise.
35581         * hurd/hurdmalloc.c: Likewise.
35582         * hurd/xattr.c: Likewise.
35583         * include/shlib-compat.h: Likewise.
35584         * inet/ruserpass.c: Likewise.
35585         * libio/iofgets_u.c: Likewise.
35586         * libio/iofgetws_u.c: Likewise.
35587         * locale/programs/ld-identification.c: Likewise.
35588         * locale/programs/ld-time.c: Likewise.
35589         * mach/msg-destroy.c: Likewise.
35590         * nss/nss_files/files-netgrp.c: Likewise.
35591         * resolv/res_data.c: Likewise.
35592         * soft-fp/op-1.h: Likewise.
35593         * soft-fp/op-2.h: Likewise.
35594         * soft-fp/op-4.h: Likewise.
35595         * soft-fp/op-common.h: Likewise.
35596         * stdio-common/printf_fphex.c: Likewise.
35597         * stdlib/strtod_l.c: Likewise.
35598         * sunrpc/rpc/clnt.h: Likewise.
35599         * sysdeps/generic/framestate.c: Likewise.
35600         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35601         * sysdeps/i386/bsd-setjmp.S: Likewise.
35602         * sysdeps/i386/__longjmp.S: Likewise.
35603         * sysdeps/i386/setjmp.S: Likewise.
35604         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35605         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35606         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35607         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35608         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35609         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35610         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35611         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35612         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35613         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35614         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35615         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35616         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35617         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35618         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35619         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35620         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35621         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35622         * sysdeps/ieee754/support.c: Likewise.
35623         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35624         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35625         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35626         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35627         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35628         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35629         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35630         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35631         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35632         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35633         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35634         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35635         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35636         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35637         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35638         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35639         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35642 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
35644         * posix/transbug.c: Remove executable mode.
35646 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
35648         * crypt/speeds.c: Remove trailing whitespace.
35649         * dlfcn/default.c: Likewise.
35650         * elf/ifuncdep2.c: Likewise.
35651         * elf/ifuncmain1.c: Likewise.
35652         * elf/ifuncmain1vis.c: Likewise.
35653         * elf/testobj.h: Likewise.
35654         * elf/tst-stackguard1.c: Likewise.
35655         * gmon/sys/gmon.h: Likewise.
35656         * hurd/hurdmsg.c: Likewise.
35657         * hurd/new-fd.c: Likewise.
35658         * hurd/ports-get.c: Likewise.
35659         * iconvdata/ibm1008_420.c: Likewise.
35660         * inet/tst-getni1.c: Likewise.
35661         * inet/tst-getni2.c: Likewise.
35662         * libio/ioungetc.c: Likewise.
35663         * libio/wfiledoalloc.c: Likewise.
35664         * manual/libm-err-tab.pl: Likewise.
35665         * math/w_dremf.c: Likewise.
35666         * misc/ftruncate.c: Likewise.
35667         * posix/bug-glob2.c: Likewise.
35668         * posix/tst-pcre.c: Likewise.
35669         * posix/wait4.c: Likewise.
35670         * resolv/README: Likewise.
35671         * resolv/res_debug.h: Likewise.
35672         * resolv/tst-inet_ntop.c: Likewise.
35673         * setjmp/bug269-setjmp.c: Likewise.
35674         * soft-fp/extended.h: Likewise.
35675         * soft-fp/op-1.h: Likewise.
35676         * soft-fp/op-2.h: Likewise.
35677         * soft-fp/op-4.h: Likewise.
35678         * soft-fp/op-8.h: Likewise.
35679         * soft-fp/testit.c: Likewise.
35680         * stdio-common/bug16.c: Likewise.
35681         * stdlib/random.c: Likewise.
35682         * sunrpc/rpcsvc/rquota.x: Likewise.
35683         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35684         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35685         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35686         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35687         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35688         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35689         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35690         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35691         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35692         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35693         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35694         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35695         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35696         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35697         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35698         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35699         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35700         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35701         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35702         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35703         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35704         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35705         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35706         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35707         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35708         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35709         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35710         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35711         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35712         * sysdeps/ieee754/s_lib_version.c: Likewise.
35713         * sysdeps/mach/hurd/check_fds.c: Likewise.
35714         * sysdeps/mach/hurd/getsockname.c: Likewise.
35715         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35716         * sysdeps/mach/hurd/recvfrom.c: Likewise.
35717         * sysdeps/powerpc/bits/link.h: Likewise.
35718         * sysdeps/powerpc/dl-procinfo.c: Likewise.
35719         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35720         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35721         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35722         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35723         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35724         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35725         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35726         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35727         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35728         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35729         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35730         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35731         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35732         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35733         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35734         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35735         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35736         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35737         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35738         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35739         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35740         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35741         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35742         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35743         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35744         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35745         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35746         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35747         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35748         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35749         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35750         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35751         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35752         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35753         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35754         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35755         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35756         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35757         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35758         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35759         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35760         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35761         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35762         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35763         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35764         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35765         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35766         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35767         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35768         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35769         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35770         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35771         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35772         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35773         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35774         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35775         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35776         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35777         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35778         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35779         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35780         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35781         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35782         * sysdeps/powerpc/sysdep.h: Likewise.
35783         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35784         * sysdeps/s390/s390-64/sub_n.S: Likewise.
35785         * sysdeps/sh/dl-trampoline.S: Likewise.
35786         * sysdeps/sh/memset.S: Likewise.
35787         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35788         * sysdeps/sh/strlen.S: Likewise.
35789         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35790         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35791         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35792         * sysdeps/sparc/sparc32/rem.S: Likewise.
35793         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35794         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35795         * sysdeps/sparc/sparc32/strchr.S: Likewise.
35796         * sysdeps/sparc/sparc32/udiv.S: Likewise.
35797         * sysdeps/sparc/sparc32/urem.S: Likewise.
35798         * sysdeps/sparc/sparc64/add_n.S: Likewise.
35799         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35800         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35801         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35802         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35803         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35804         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35805         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35806         * sysdeps/unix/bsd/times.c: Likewise.
35807         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35808         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35812         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35813         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35814         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35815         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35816         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35817         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35818         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35819         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35820         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35821         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35822         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35823         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35824         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35825         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35826         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35827         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35828         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35829         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35830         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35831         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35832         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35833         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35834         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35835         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35836         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35837         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35838         * sysdeps/x86_64/strcspn.S: Likewise.
35840 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35842         * locale/C-translit.h: Revert #include <stdint.h> because this is a
35843         generated file.  Regenerate properly from gen-translit.pl.
35844         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
35845         locale/C-translit.h.
35847 2013-06-05  Andreas Schwab  <schwab@suse.de>
35849         [BZ #15100]
35850         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35851         week as 6 instead of -1.
35852         * time/tst-strptime.c (day_tests): Add test case.
35854 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35856         * sysdeps/generic/math_private.h
35857         (libc_feholdexcept_setround_53bit): Replace with
35858         libc_feholdsetround_53bit.
35859         (libc_feupdateenv_53bit): Replace with
35860         libc_feresetround_53bit.
35861         (SET_RESTORE_ROUND_53BIT): Adjust.
35863 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35865         * string/test-strchrnul.c: Add copyright header.
35867         * posix/tst-getaddrinfo4.c: Increase test timeout.
35869 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
35871         [BZ #15536]
35872         * math/libm-test.inc (MAX_EXP): Remove
35873         (MIN_EXP): Define.
35874         (ulp): Use MIN_EXP - MANT_DIG.
35875         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35877 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
35879         * po/be.po: Revert last change.
35880         * po/zh_CN.po: Likewise.
35881         * po/header.pot: Likewise.
35883 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
35885         * Makefile ($(common-objpfx)linkobj/libc.so): Define
35886         link-libc-deps to empty as target-specific variable.
35887         * Makerules (link-libc-args): New variable.
35888         (libc-for-link): Likewise.
35889         (link-libc-deps): Likewise.
35890         (lib%.so): Depend on $(link-libc-deps).  Link with
35891         $(link-libc-args).
35892         (build-module): Link with $(link-libc-args).
35893         (build-module-asneeded): Likewise.
35894         (build-module-helper-objlist): Filter out $(link-libc-deps) from
35895         list of objects.
35896         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35897         target-specific variable.
35898         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35899         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35900         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35901         libc.
35902         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35903         libc and ld.so.
35904         ($(objpfx)libpcprofile.so): Likewise.
35905         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35906         libc_nonshared.a.
35907         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35908         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35909         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35910         $(link-libc-deps).
35911         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35912         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35913         * login/Makefile ($(objpfx)libutil.so): Likewise.
35914         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35915         * math/Makefile ($(objpfx)libm.so): Likewise.
35916         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35917         $(objpfx)libnsl.so): Define libc-for-link as target-specific
35918         variable instead of depending directly on libc.
35919         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35920         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35921         $(link-libc-deps).
35922         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35923         libc.
35924         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35925         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35926         ($(objpfx)libanl.so): Likewise.
35927         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35928         ld.so.
35929         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35930         $(link-libc-deps).
35931         * sysdeps/i386/fpu/Makefile: Remove file.
35932         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35933         ($(objpfx)libm.so): Remove dependency on ld.so.
35935 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
35937         [BZ # 15553]
35938         * nis/yp_xdr.c (XDRMAXNAME): Define.
35939         (XDRMAXRECORD): Define.
35940         (xdr_domainname): Use XDRMAXNAME.
35941         (xdr_mapname): Likewise.
35942         (xdr_peername): Likewise.
35943         (xdr_keydat): Use XDRMAXRECORD.
35944         (xdr_valdat): Likewise.
35946 2013-05-30  Jeff Law  <law@redhat.com>
35948         [BZ #14256]
35949         * manual/errno.texi (ESTALE): Update to account for more than
35950         just NFS file systems.
35951         * sysdeps/gnu/errlist.c: Regenerated.
35953 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35955         [BZ #15465]
35956         * elf/Makefile (tests): Add tst-null-argv.
35957         (modules-names):  Add tst-null-argv-lib.
35958         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35959         (tst-null-argv-ENV): Set environment for tst-null-argv.
35960         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35961         (RTLD_PROGNAME): New macro.
35962         * elf/tst-null-argv.c: New test case.
35963         * elf/tst-null-argv-lib.c: Library for test case.
35964         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35965         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35966         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35967         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35968         * elf/dl-init.c (call_init): Likewise.
35969         (_dl_init): Likewise.
35970         * elf/dl-load.c (print_search_path): Likewise.
35971         (_dl_map_object): Likewise.
35972         * elf/dl-lookup.c (do_lookup_x): Likewise.
35973         (add_dependency): Likewise.
35974         (_dl_lookup_symbol_x): Likewise.
35975         (_dl_debug_bindings): Likewise.
35976         * elf/dl-open.c (_dl_show_scope): Likewise.
35977         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35978         * elf/dl-version.c (match_symbol): Likewise.
35979         (_dl_check_map_versions): Likewise.
35980         * elf/rtld.c (dl_main): Likewise.
35981         (print_unresolved): Use RTLD_PROGNAME.
35982         (print_missing_version): Likewise.
35983         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35984         (elf_machine_rela): Likewise.
35985         * sysdeps/powerpc/powerpc32/dl-machine.c
35986         (__process_machine_rela): Likewise.
35987         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35988         Likewise.
35989         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35990         Likewise.
35991         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35992         Likewise.
35993         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35994         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35995         Likewise.
35996         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35997         Likewise.
35998         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36000 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
36002         * po/be.po: Add descriptive title.
36003         * po/zh_CN.po: Likewise.
36004         * po/header.pot: Likewise.
36006 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
36008         * locale/programs/locarchive.c (create_archive): Inlucde fname in
36009         error message.
36010         (enlarge_archive): Likewise.
36012 2013-05-28  Ben North  <ben@redfrontdoor.org>
36014         * manual/arith.texi (frexp): It is the magnitude of the return
36015         value which lies in [0.5, 1), not the return value itself.
36017 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36021 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
36023         * stdio-common/bug26.c (main): Correct fscanf template.
36025         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36026         declare _dl_skip_args.
36028         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36029         Don't declare.
36031         * manual/platform.texi: Add missing @end deftypefun.
36033 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36035         [BZ #15529]
36036         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36037         bit of mantissa of 2^16382.
36038         * math/libm-test.inc (hypot_test_data): Add more tests.
36040         * math/libm-test.inc: Add drem and pow10 to list of tested
36041         functions.
36042         (pow10_test): New function.
36043         (drem_test): Likewise.
36044         (drem_test_tonearest): Likewise.
36045         (drem_test_towardzero): Likewise.
36046         (drem_test_downward): Likewise.
36047         (drem_test_upward): Likewise.
36048         (main): Call the new functions.
36050         * math/libm-test.inc (finite_test_data): Remove.
36051         (finite_test): Run tests from isfinite_test_data.
36052         (gamma_test_data): Remove.
36053         (gamma_test): Run tests from lgamma_test_data.
36054         * sysdeps/i386/fpu/libm-test-ulps: Update.
36055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36057 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36059         * manual/platform.texi: Add PowerPC PPR function set documentation.
36060         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36061         implementation.
36063 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
36065         * math/libm-test.inc (MAX_EXP): Define.
36066         (ULPDIFF): Define.
36067         (ulp): New function.
36068         (check_float_internal): Use ULPDIFF.
36069         (cpow_test): Disable failing test.
36070         (check_ulp): Test ulp() implemetnation.
36071         (main): Call check_ulp before starting tests.
36073 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36075         * math/gen-libm-test.pl (generate_testfile): Do not handle
36076         START_DATA and END_DATA.
36077         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36078         END_DATA.
36079         (acos_tonearest_test_data): Likewise.
36080         (acos_towardzero_test_data): Likewise.
36081         (acos_downward_test_data): Likewise.
36082         (acos_upward_test_data): Likewise.
36083         (acosh_test_data): Likewise.
36084         (asin_test_data): Likewise.
36085         (asin_tonearest_test_data): Likewise.
36086         (asin_towardzero_test_data): Likewise.
36087         (asin_downward_test_data): Likewise.
36088         (asin_upward_test_data): Likewise.
36089         (asinh_test_data): Likewise.
36090         (atan_test_data): Likewise.
36091         (atanh_test_data): Likewise.
36092         (atan2_test_data): Likewise.
36093         (cabs_test_data): Likewise.
36094         (cacos_test_data): Likewise.
36095         (cacosh_test_data): Likewise.
36096         (carg_test_data): Likewise.
36097         (casin_test_data): Likewise.
36098         (casinh_test_data): Likewise.
36099         (catan_test_data): Likewise.
36100         (catanh_test_data): Likewise.
36101         (cbrt_test_data): Likewise.
36102         (ccos_test_data): Likewise.
36103         (ccosh_test_data): Likewise.
36104         (ceil_test_data): Likewise.
36105         (cexp_test_data): Likewise.
36106         (cimag_test_data): Likewise.
36107         (clog_test_data): Likewise.
36108         (clog10_test_data): Likewise.
36109         (conj_test_data): Likewise.
36110         (copysign_test_data): Likewise.
36111         (cos_test_data): Likewise.
36112         (cos_tonearest_test_data): Likewise.
36113         (cos_towardzero_test_data): Likewise.
36114         (cos_downward_test_data): Likewise.
36115         (cos_upward_test_data): Likewise.
36116         (cosh_test_data): Likewise.
36117         (cosh_tonearest_test_data): Likewise.
36118         (cosh_towardzero_test_data): Likewise.
36119         (cosh_downward_test_data): Likewise.
36120         (cosh_upward_test_data): Likewise.
36121         (cpow_test_data): Likewise.
36122         (cproj_test_data): Likewise.
36123         (creal_test_data): Likewise.
36124         (csin_test_data): Likewise.
36125         (csinh_test_data): Likewise.
36126         (csqrt_test_data): Likewise.
36127         (ctan_test_data): Likewise.
36128         (ctan_tonearest_test_data): Likewise.
36129         (ctan_towardzero_test_data): Likewise.
36130         (ctan_downward_test_data): Likewise.
36131         (ctan_upward_test_data): Likewise.
36132         (ctanh_test_data): Likewise.
36133         (ctanh_tonearest_test_data): Likewise.
36134         (ctanh_towardzero_test_data): Likewise.
36135         (ctanh_downward_test_data): Likewise.
36136         (ctanh_upward_test_data): Likewise.
36137         (erf_test_data): Likewise.
36138         (erfc_test_data): Likewise.
36139         (exp_test_data): Likewise.
36140         (exp_tonearest_test_data): Likewise.
36141         (exp_towardzero_test_data): Likewise.
36142         (exp_downward_test_data): Likewise.
36143         (exp_upward_test_data): Likewise.
36144         (exp10_test_data): Likewise.
36145         (exp2_test_data): Likewise.
36146         (expm1_test_data): Likewise.
36147         (fabs_test_data): Likewise.
36148         (fdim_test_data): Likewise.
36149         (finite_test_data): Likewise.
36150         (floor_test_data): Likewise.
36151         (fma_test_data): Likewise.
36152         (fma_towardzero_test_data): Likewise.
36153         (fma_downward_test_data): Likewise.
36154         (fma_upward_test_data): Likewise.
36155         (fmax_test_data): Likewise.
36156         (fmin_test_data): Likewise.
36157         (fmod_test_data): Likewise.
36158         (fpclassify_test_data): Likewise.
36159         (frexp_test_data): Likewise.
36160         (gamma_test_data): Likewise.
36161         (hypot_test_data): Likewise.
36162         (ilogb_test_data): Likewise.
36163         (isfinite_test_data): Likewise.
36164         (isgreater_test_data): Likewise.
36165         (isgreaterequal_test_data): Likewise.
36166         (isinf_test_data): Likewise.
36167         (isless_test_data): Likewise.
36168         (islessequal_test_data): Likewise.
36169         (islessgreater_test_data): Likewise.
36170         (isnan_test_data): Likewise.
36171         (isnormal_test_data): Likewise.
36172         (issignaling_test_data): Likewise.
36173         (isunordered_test_data): Likewise.
36174         (j0_test_data): Likewise.
36175         (j1_test_data): Likewise.
36176         (jn_test_data): Likewise.
36177         (ldexp_test_data): Likewise.
36178         (lgamma_test_data): Likewise.
36179         (lrint_test_data): Likewise.
36180         (lrint_tonearest_test_data): Likewise.
36181         (lrint_towardzero_test_data): Likewise.
36182         (lrint_downward_test_data): Likewise.
36183         (lrint_upward_test_data): Likewise.
36184         (llrint_test_data): Likewise.
36185         (llrint_tonearest_test_data): Likewise.
36186         (llrint_towardzero_test_data): Likewise.
36187         (llrint_downward_test_data): Likewise.
36188         (llrint_upward_test_data): Likewise.
36189         (log_test_data): Likewise.
36190         (log10_test_data): Likewise.
36191         (log1p_test_data): Likewise.
36192         (log2_test_data): Likewise.
36193         (logb_test_data): Likewise.
36194         (logb_downward_test_data): Likewise.
36195         (lround_test_data): Likewise.
36196         (llround_test_data): Likewise.
36197         (modf_test_data): Likewise.
36198         (nearbyint_test_data): Likewise.
36199         (nextafter_test_data): Likewise.
36200         (nexttoward_test_data): Likewise.
36201         (pow_test_data): Likewise.
36202         (pow_tonearest_test_data): Likewise.
36203         (pow_towardzero_test_data): Likewise.
36204         (pow_downward_test_data): Likewise.
36205         (pow_upward_test_data): Likewise.
36206         (remainder_test_data): Likewise.
36207         (remainder_tonearest_test_data): Likewise.
36208         (remainder_towardzero_test_data): Likewise.
36209         (remainder_downward_test_data): Likewise.
36210         (remainder_upward_test_data): Likewise.
36211         (remquo_test_data): Likewise.
36212         (rint_test_data): Likewise.
36213         (rint_tonearest_test_data): Likewise.
36214         (rint_towardzero_test_data): Likewise.
36215         (rint_downward_test_data): Likewise.
36216         (rint_upward_test_data): Likewise.
36217         (round_test_data): Likewise.
36218         (scalb_test_data): Likewise.
36219         (scalbn_test_data): Likewise.
36220         (scalbln_test_data): Likewise.
36221         (signbit_test_data): Likewise.
36222         (sin_test_data): Likewise.
36223         (sin_tonearest_test_data): Likewise.
36224         (sin_towardzero_test_data): Likewise.
36225         (sin_downward_test_data): Likewise.
36226         (sin_upward_test_data): Likewise.
36227         (sincos_test_data): Likewise.
36228         (sinh_test_data): Likewise.
36229         (sinh_tonearest_test_data): Likewise.
36230         (sinh_towardzero_test_data): Likewise.
36231         (sinh_downward_test_data): Likewise.
36232         (sinh_upward_test_data): Likewise.
36233         (sqrt_test_data): Likewise.
36234         (tan_test_data): Likewise.
36235         (tan_tonearest_test_data): Likewise.
36236         (tan_towardzero_test_data): Likewise.
36237         (tan_downward_test_data): Likewise.
36238         (tan_upward_test_data): Likewise.
36239         (tanh_test_data): Likewise.
36240         (tgamma_test_data): Likewise.
36241         (trunc_test_data): Likewise.
36242         (y0_test_data): Likewise.
36243         (y1_test_data): Likewise.
36244         (yn_test_data): Likewise.
36245         (significand_test_data): Likewise.
36247         * math/gen-libm-test.pl (@functions): Remove variable.
36248         (generate_testfile): Don't handle START and END lines.
36249         * math/libm-test.inc (START): New macro.
36250         (END): Likewise.
36251         (END_COMPLEX): Likewise.
36252         (acos_test): Use END macro without arguments.
36253         (acos_test_tonearest): Likewise.
36254         (acos_test_towardzero): Likewise.
36255         (acos_test_downward): Likewise.
36256         (acos_test_upward): Likewise.
36257         (acosh_test): Likewise.
36258         (asin_test): Likewise.
36259         (asin_test_tonearest): Likewise.
36260         (asin_test_towardzero): Likewise.
36261         (asin_test_downward): Likewise.
36262         (asin_test_upward): Likewise.
36263         (asinh_test): Likewise.
36264         (atan_test): Likewise.
36265         (atanh_test): Likewise.
36266         (atan2_test): Likewise.
36267         (cabs_test): Likewise.
36268         (cacos_test): Use END_COMPLEX macro without arguments.
36269         (cacosh_test): Likewise.
36270         (carg_test): Use END macro without arguments.
36271         (casin_test): Use END_COMPLEX macro without arguments.
36272         (casinh_test): Likewise.
36273         (catan_test): Likewise.
36274         (catanh_test): Likewise.
36275         (cbrt_test): Use END macro without arguments.
36276         (ccos_test): Use END_COMPLEX macro without arguments.
36277         (ccosh_test): Likewise.
36278         (ceil_test): Use END macro without arguments.
36279         (cexp_test): Use END_COMPLEX macro without arguments.
36280         (cimag_test): Use END macro without arguments.
36281         (clog_test): Use END_COMPLEX macro without arguments.
36282         (clog10_test): Likewise.
36283         (conj_test): Likewise.
36284         (copysign_test): Use END macro without arguments.
36285         (cos_test): Likewise.
36286         (cos_test_tonearest): Likewise.
36287         (cos_test_towardzero): Likewise.
36288         (cos_test_downward): Likewise.
36289         (cos_test_upward): Likewise.
36290         (cosh_test): Likewise.
36291         (cosh_test_tonearest): Likewise.
36292         (cosh_test_towardzero): Likewise.
36293         (cosh_test_downward): Likewise.
36294         (cosh_test_upward): Likewise.
36295         (cpow_test): Use END_COMPLEX macro without arguments.
36296         (cproj_test): Likewise.
36297         (creal_test): Use END macro without arguments.
36298         (csin_test): Use END_COMPLEX macro without arguments.
36299         (csinh_test): Likewise.
36300         (csqrt_test): Likewise.
36301         (ctan_test): Likewise.
36302         (ctan_test_tonearest): Likewise.
36303         (ctan_test_towardzero): Likewise.
36304         (ctan_test_downward): Likewise.
36305         (ctan_test_upward): Likewise.
36306         (ctanh_test): Likewise.
36307         (ctanh_test_tonearest): Likewise.
36308         (ctanh_test_towardzero): Likewise.
36309         (ctanh_test_downward): Likewise.
36310         (ctanh_test_upward): Likewise.
36311         (erf_test): Use END macro without arguments.
36312         (erfc_test): Likewise.
36313         (exp_test): Likewise.
36314         (exp_test_tonearest): Likewise.
36315         (exp_test_towardzero): Likewise.
36316         (exp_test_downward): Likewise.
36317         (exp_test_upward): Likewise.
36318         (exp10_test): Likewise.
36319         (exp2_test): Likewise.
36320         (expm1_test): Likewise.
36321         (fabs_test): Likewise.
36322         (fdim_test): Likewise.
36323         (finite_test): Likewise.
36324         (floor_test): Likewise.
36325         (fma_test): Likewise.
36326         (fma_test_towardzero): Likewise.
36327         (fma_test_downward): Likewise.
36328         (fma_test_upward): Likewise.
36329         (fmax_test): Likewise.
36330         (fmin_test): Likewise.
36331         (fmod_test): Likewise.
36332         (fpclassify_test): Likewise.
36333         (frexp_test): Likewise.
36334         (gamma_test): Likewise.
36335         (hypot_test): Likewise.
36336         (ilogb_test): Likewise.
36337         (isfinite_test): Likewise.
36338         (isgreater_test): Likewise.
36339         (isgreaterequal_test): Likewise.
36340         (isinf_test): Likewise.
36341         (isless_test): Likewise.
36342         (islessequal_test): Likewise.
36343         (islessgreater_test): Likewise.
36344         (isnan_test): Likewise.
36345         (isnormal_test): Likewise.
36346         (issignaling_test): Likewise.
36347         (isunordered_test): Likewise.
36348         (j0_test): Likewise.
36349         (j1_test): Likewise.
36350         (jn_test): Likewise.
36351         (ldexp_test): Likewise.
36352         (lgamma_test): Likewise.
36353         (lrint_test): Likewise.
36354         (lrint_test_tonearest): Likewise.
36355         (lrint_test_towardzero): Likewise.
36356         (lrint_test_downward): Likewise.
36357         (lrint_test_upward): Likewise.
36358         (llrint_test): Likewise.
36359         (llrint_test_tonearest): Likewise.
36360         (llrint_test_towardzero): Likewise.
36361         (llrint_test_downward): Likewise.
36362         (llrint_test_upward): Likewise.
36363         (log_test): Likewise.
36364         (log10_test): Likewise.
36365         (log1p_test): Likewise.
36366         (log2_test): Likewise.
36367         (logb_test): Likewise.
36368         (logb_test_downward): Likewise.
36369         (lround_test): Likewise.
36370         (llround_test): Likewise.
36371         (modf_test): Likewise.
36372         (nearbyint_test): Likewise.
36373         (nextafter_test): Likewise.
36374         (nexttoward_test): Likewise.
36375         (pow_test): Likewise.
36376         (pow_test_tonearest): Likewise.
36377         (pow_test_towardzero): Likewise.
36378         (pow_test_downward): Likewise.
36379         (pow_test_upward): Likewise.
36380         (remainder_test): Likewise.
36381         (remainder_test_tonearest): Likewise.
36382         (remainder_test_towardzero): Likewise.
36383         (remainder_test_downward): Likewise.
36384         (remainder_test_upward): Likewise.
36385         (remquo_test): Likewise.
36386         (rint_test): Likewise.
36387         (rint_test_tonearest): Likewise.
36388         (rint_test_towardzero): Likewise.
36389         (rint_test_downward): Likewise.
36390         (rint_test_upward): Likewise.
36391         (round_test): Likewise.
36392         (scalb_test): Likewise.
36393         (scalbn_test): Likewise.
36394         (scalbln_test): Likewise.
36395         (signbit_test): Likewise.
36396         (sin_test): Likewise.
36397         (sin_test_tonearest): Likewise.
36398         (sin_test_towardzero): Likewise.
36399         (sin_test_downward): Likewise.
36400         (sin_test_upward): Likewise.
36401         (sincos_test): Likewise.
36402         (sinh_test): Likewise.
36403         (sinh_test_tonearest): Likewise.
36404         (sinh_test_towardzero): Likewise.
36405         (sinh_test_downward): Likewise.
36406         (sinh_test_upward): Likewise.
36407         (sqrt_test): Likewise.
36408         (tan_test): Likewise.
36409         (tan_test_tonearest): Likewise.
36410         (tan_test_towardzero): Likewise.
36411         (tan_test_downward): Likewise.
36412         (tan_test_upward): Likewise.
36413         (tanh_test): Likewise.
36414         (tgamma_test): Likewise.
36415         (trunc_test): Likewise.
36416         (y0_test): Likewise.
36417         (y1_test): Likewise.
36418         (yn_test): Likewise.
36419         (significand_test): Likewise.
36421 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
36423         [BZ #15381]
36424         * libio/genops.c (_IO_no_init): Initialize wide struct info.
36426 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
36428         [BZ #14894]
36429         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36430         __ppc_mdoio and __ppc_mdoom.
36431         * manual/platform.texi: Document new functions __ppc_yield,
36432         __ppc_mdoio and __ppc_mdoom.
36434 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
36436         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36437         (main): Mention "tls" pseudo-hwcap is legacy.
36438         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36440 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36442         * math/gen-libm-test.pl (parse_args): Output only string of
36443         arguments as text for test name, not full call or descriptions of
36444         tests for extra outputs.
36445         (generate_testfile): Do not pass function name to parse_args.
36446         Generate this_func variable from START.
36447         * math/libm-test.inc (struct test_f_f_data): Rename test_name
36448         field to arg_str.
36449         (struct test_ff_f_data): Likewise.
36450         (test_ff_f_data_nexttoward): Likewise.
36451         (struct test_fi_f_data): Likewise.
36452         (struct test_fl_f_data): Likewise.
36453         (struct test_if_f_data): Likewise.
36454         (struct test_fff_f_data): Likewise.
36455         (struct test_c_f_data): Likewise.
36456         (struct test_f_f1_data): Likewise.  Remove field extra_name.
36457         (struct test_fF_f1_data): Likewise.
36458         (struct test_ffI_f1_data): Likewise.
36459         (struct test_c_c_data): Rename test_name field to arg_str.
36460         (struct test_cc_c_data): Likewise.
36461         (struct test_f_i_data): Likewise.
36462         (struct test_ff_i_data): Likewise.
36463         (struct test_f_l_data): Likewise.
36464         (struct test_f_L_data): Likewise.
36465         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
36466         and extra2_name.
36467         (COMMON_TEST_SETUP): New macro.
36468         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36469         (COMMON_TEST_CLEANUP): Likewise.
36470         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36471         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
36472         macros.
36473         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36474         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
36475         macros.
36476         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36477         (RUN_TEST_fff_f): Take argument string.  Call new setup and
36478         cleanup macros.
36479         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36480         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
36481         macros.
36482         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36483         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
36484         macros.
36485         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36486         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
36487         cleanup macros.
36488         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36489         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
36490         cleanup macros.
36491         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36492         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
36493         cleanup macros.
36494         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36495         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
36496         macros.
36497         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36498         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
36499         macros.
36500         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36501         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
36502         macros.
36503         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36504         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
36505         cleanup macros.
36506         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36507         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
36508         cleanup macros.
36509         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36510         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
36511         macros.
36512         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36513         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
36514         cleanup macros.
36515         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36516         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
36517         macros.
36518         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36519         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
36520         macros.
36521         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36522         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
36523         cleanup macros.
36524         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36526 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
36528         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36529         to _sifields.sigfault.
36530         (si_addr_lsb): Define new macro.
36531         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36532         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36533         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36535 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
36537         [BZ #15441]
36538         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36539         returns -1.
36540         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36541         null return -1.
36542         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36543         loading the domain.
36545 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36547         * math/gen-libm-test.pl (parse_args): Do not include expected
36548         result in test name.
36549         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36550         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36551         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36552         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36553         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36556 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36558         * benchtests/Makefile: Sort function entries.
36560         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36561         tanh, asinh, acosh, atanh.
36562         * benchtests/acos-inputs: New file.
36563         * benchtests/acosh-inputs: New file.
36564         * benchtests/asin-inputs: New file.
36565         * benchtests/asinh-inputs: New file.
36566         * benchtests/atanh-inputs: New file.
36567         * benchtests/cosh-inputs: New file.
36568         * benchtests/log-inputs: New file.
36569         * benchtests/sinh-inputs: New file.
36570         * benchtests/tanh-inputs: New file.
36572 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
36574         [BZ #15339]
36575         * posix/tst-getaddrinfo4.c: New test.
36576         * posix/Makefile (tests): Add it.
36578 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36580         [BZ #15339]
36581         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36582         when no services were used.
36583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36584         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36586 2013-05-21  Andreas Schwab  <schwab@suse.de>
36588         [BZ #15014]
36589         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36590         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36591         successful.
36592         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36593         redundant variable declarations and reallocation of buffer when
36594         parsing as IPv6 address.  Always set NSS status when called from
36595         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
36596         buffer too small.  Correct computation of needed size.
36597         * nss/Makefile (tests): Add test-digits-dots.
36598         * nss/test-digits-dots.c: New test.
36600 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36602         * benchtests/Makefile: Remove instructions for adding
36603         benchmark tests.
36604         * benchtests/README: New file to explain how to execute and
36605         enhance the benchmark tests.
36607 2013-05-21  Andreas Schwab  <schwab@suse.de>
36609         [BZ #15493]
36610         * setjmp/Makefile (tests): Add tst-sigsetjmp.
36611         * setjmp/tst-sigsetjmp.c: New test.
36613 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36615         * sysdeps/x86_64/memset.S (memset): New implementation.
36616         (__bzero): Likewise.
36617         (__memset_tail): New function.
36619 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36621         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36622         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36623         __memcpy_sse2_unaligned ifunc selection.
36624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36625         Add memcpy-sse2-unaligned.S.
36626         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36627         Add: __memcpy_sse2_unaligned.
36629 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
36631         [BZ #15490]
36632         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36633         math_force_eval before restoring floating-point envrionment.
36634         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36635         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36636         Likewise.
36637         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36638         <math_private.h>.
36639         (__nearbyintl): Use math_force_eval before restoring
36640         floating-point environment.
36641         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36643         * math/gen-libm-test.pl (special_functions): Remove.
36644         (parse_args): Don't handle TEST_extra.  Handle functions with no
36645         return value.
36646         * math/libm-test.inc (struct test_sincos_data): Replace with
36647         struct test_fFF_11_data.
36648         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36649         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36650         (sincos_test_data): Change element type to struct
36651         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
36652         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36653         RUN_TEST_LOOP_sincos.
36654         * math/README.libm-test: Don't mention special handling of
36655         individual functions.
36656         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36657         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36658         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36659         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36660         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36663         * math/gen-libm-test.pl (get_variable): Remove function.
36664         (parse_args): Don't show pointer parameters to call in test
36665         names.  Use "extra output N" in test names for extra outputs
36666         rather than naming variables.
36668 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
36670         [BZ #15488]
36671         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36672         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36673         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36674         double tests.
36675         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36676         disable.
36677         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36678         check_long_double.
36680         * math/gen-libm-test.pl (@tests): Remove variable.
36681         ($count): Likewise.
36682         (new_test): Remove function.
36683         (show_exceptions): New function.
36684         (special_functions): Use show_exceptions instead of new_test.
36685         (parse_args): Likewise.
36686         (generate_testfile): Pass only function name in generated call to
36687         print_max_error or print_complex_max_error.
36688         (get_ulps): Do not handle complex tests specially.
36689         (output_test): Rename to ...
36690         (get_all_ulps_for_test): ... this.  Return a string rather than
36691         printing to a file.  Require ulps to be present.
36692         (output_ulps): Generate arrays rather than #defines.
36693         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36694         (struct ulp_data): New type.
36695         (BUILD_COMPLEX_ULP): Remove macro.
36696         (compare_ulp_data): New function.
36697         (find_ulps): Likewise.
36698         (find_test_ulps): Likewise.
36699         (find_function_ulps): Likewise.
36700         (find_complex_function_ulps): Likewise.
36701         (print_max_error): Determine allowed ulps using
36702         find_function_ulps.
36703         (print_complex_max_error): Determine allowed ulps using
36704         find_complex_function_ulps.
36705         (check_float_internal): Determine max ulps using find_test_ulps.
36706         (check_float): Do not take max_ulp parameter.  Update call to
36707         check_float_internal.
36708         (check_complex): Likewise.
36709         (check_int): Do not take max_ulp parameter.
36710         (check_long): Likewise.
36711         (check_bool): Likewise.
36712         (check_longlong): Likewise.
36713         (struct test_f_f_data): Remove max_ulp field.
36714         (struct test_ff_f_data): Likewise.
36715         (struct test_ff_f_data_nexttoward): Likewise.
36716         (struct test_fi_f_data): Likewise.
36717         (struct test_fl_f_data): Likewise.
36718         (struct test_if_f_data): Likewise.
36719         (struct test_fff_f_data): Likewise.
36720         (struct test_c_f_data): Likewise.
36721         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36722         (struct test_fF_f1_data): Likewise.
36723         (struct test_ffI_f1_data): Likewise.
36724         (struct test_c_c_data): Remove max_ulp field.
36725         (struct test_cc_c_data): Likewise.
36726         (struct test_f_i_data): Likewise.
36727         (struct test_ff_i_data): Likewise.
36728         (struct test_f_l_data): Likewise.
36729         (struct test_f_L_data): Likewise.
36730         (struct test_sincos_data): Likewise.
36731         (RUN_TEST_f_f): Do not handle ulps.
36732         (RUN_TEST_LOOP_f_f): Likewise.
36733         (RUN_TEST_2_f): Likewise.
36734         (RUN_TEST_LOOP_2_f): Likewise.
36735         (RUN_TEST_fff_f): Likewise.
36736         (RUN_TEST_LOOP_fff_f): Likewise.
36737         (RUN_TEST_c_f): Likewise.
36738         (RUN_TEST_LOOP_c_f): Likewise.
36739         (RUN_TEST_f_f1): Likewise.
36740         (RUN_TEST_LOOP_f_f1): Likewise.
36741         (RUN_TEST_fF_f1): Likewise.
36742         (RUN_TEST_LOOP_fF_f1): Likewise.
36743         (RUN_TEST_fI_f1): Likewise.
36744         (RUN_TEST_LOOP_fI_f1): Likewise.
36745         (RUN_TEST_ffI_f1): Likewise.
36746         (RUN_TEST_LOOP_ffI_f1): Likewise.
36747         (RUN_TEST_c_c): Likewise.
36748         (RUN_TEST_LOOP_c_c): Likewise.
36749         (RUN_TEST_cc_c): Likewise.
36750         (RUN_TEST_LOOP_cc_c): Likewise.
36751         (RUN_TEST_f_i): Likewise.
36752         (RUN_TEST_LOOP_f_i): Likewise.
36753         (RUN_TEST_f_i_tg): Likewise.
36754         (RUN_TEST_LOOP_f_i_tg): Likewise.
36755         (RUN_TEST_ff_i_tg): Likewise.
36756         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36757         (RUN_TEST_f_b): Likewise.
36758         (RUN_TEST_LOOP_f_b): Likewise.
36759         (RUN_TEST_f_b_tg): Likewise.
36760         (RUN_TEST_LOOP_f_b_tg): Likewise.
36761         (RUN_TEST_f_l): Likewise.
36762         (RUN_TEST_LOOP_f_l): Likewise.
36763         (RUN_TEST_f_L): Likewise.
36764         (RUN_TEST_LOOP_f_L): Likewise.
36765         (RUN_TEST_sincos): Likewise.
36766         (RUN_TEST_LOOP_sincos): Likewise.
36768 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
36770         [BZ #15480]
36771         [BZ #15485]
36772         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36773         main case of finite arguments, set rounding mode to FE_TONEAREST
36774         and discard exceptions.
36775         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36776         exceptions.
36777         (remainder_tonearest_test_data): New variable.
36778         (remainder_test_tonearest): New function.
36779         (remainder_towardzero_test_data): New variable.
36780         (remainder_test_towardzero): New function.
36781         (remainder_downward_test_data): New variable.
36782         (remainder_test_downward): New function.
36783         (remainder_upward_test_data): New variable.
36784         (remainder_test_upward): New function.
36785         (main): Call the new test functions.
36787         * math/libm-test.inc (struct test_f_f1_data): Remove field
36788         extra_init.
36789         (struct test_fF_f1_data): Likewise.
36790         (struct test_ffI_f1_data): Likewise.
36791         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
36792         based on value of EXTRA_EXPECTED.
36793         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36794         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
36795         EXTRA_VAR based on value of EXTRA_EXPECTED.
36796         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36797         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
36798         EXTRA_VAR based on value of EXTRA_EXPECTED.
36799         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36800         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
36801         EXTRA_VAR based on value of EXTRA_EXPECTED.
36802         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36803         * math/gen-libm-test.pl (parse_args): Don't output initializers
36804         for extra output values.
36806         * math/libm-test.inc (check_int): Expect result to be exactly
36807         equal to expected value and do not handle ulps.
36808         (check_long): Likewise.
36809         (check_longlong): Likewise.
36811         * math/libm-test.inc (ceil_test_data): Test for "inexact"
36812         exceptions.
36813         (cimag_test_data): Likewise.
36814         (conj_test_data): Likewise.
36815         (copysign_test_data): Likewise.
36816         (cproj_test_data): Likewise.
36817         (creal_test_data): Likewise.
36818         (fabs_test_data): Likewise.
36819         (fdim_test_data): Likewise.
36820         (finite_test_data): Likewise.
36821         (floor_test_data): Likewise.
36822         (fmax_test_data): Likewise.
36823         (fmin_test_data): Likewise.
36824         (fmod_test_data): Likewise.
36825         (fpclassify_test_data): Likewise.
36826         (frexp_test_data): Likewise.
36827         (ilogb_test_data): Likewise.
36828         (isfinite_test_data): Likewise.
36829         (isgreater_test_data): Likewise.
36830         (isgreaterequal_test_data): Likewise.
36831         (isinf_test_data): Likewise.
36832         (isless_test_data): Likewise.
36833         (islessequal_test_data): Likewise.
36834         (islessgreater_test_data): Likewise.
36835         (isnan_test_data): Likewise.
36836         (isnormal_test_data): Likewise.
36837         (issignaling_test_data): Likewise.
36838         (isunordered_test_data): Likewise.
36839         (ldexp_test_data): Likewise.
36840         (lrint_test_data): Likewise.
36841         (lrint_test_data) [TEST_FLOAT]: Disable one test.
36842         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36843         (lrint_tonearest_test_data): Test for "inexact" exceptions.
36844         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36845         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36846         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36847         test input.
36848         (lrint_towardzero_test_data): Test for "inexact" exceptions.
36849         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36850         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36851         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36852         that test input.
36853         (lrint_downward_test_data): Test for "inexact" exceptions.
36854         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36855         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36856         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36857         test input.
36858         (lrint_upward_test_data): Test for "inexact" exceptions.
36859         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36860         test input.
36861         (llrint_test_data): Test for "inexact" exceptions.
36862         (llrint_test_data) [TEST_FLOAT]: Disable one test.
36863         (llrint_tonearest_test_data): Test for "inexact" exceptions.
36864         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36865         (llrint_towardzero_test_data): Test for "inexact" exceptions.
36866         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36867         (llrint_downward_test_data): Test for "inexact" exceptions.
36868         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36869         (llrint_upward_test_data): Test for "inexact" exceptions.
36870         (logb_test_data): Likewise.
36871         (logb_downward_test_data): Likewise.
36872         (nextafter_test_data): Likewise.
36873         (nexttoward_test_data): Likewise.
36874         (remainder_test_data): Likewise.
36875         (remquo_test_data): Likewise.
36876         (scalbn_test_data): Likewise.
36877         (scalbln_test_data): Likewise.
36878         (signbit_test_data): Likewise.
36879         (sqrt_test_data): Likewise.
36880         (significand_test_data): Likewise.
36882 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36884         [BZ #15424]
36885         * benchtests/bench-modf.c (struct args): Mark arg0 as
36886         volatile.
36887         * scripts/bench.pl: Mark members of struct args as volatile.
36889 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36891         [BZ # 15497]
36892         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36893         negative infinity on POWER6 or lower.
36894         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36896 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36898         [BZ #15442]
36899         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36900         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36901         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36902         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36903         (_FP_SETQNAN): New macro.
36904         (_FP_SETQNAN_SEMIRAW): Likewise.
36905         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36906         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36907         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36908         (FP_EXTEND): Use _FP_FRAC_SNANP.
36909         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36910         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36911         into account.
36912         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36913         New macro.
36914         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36915         Likewise.
36917 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
36919         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36920         with DIVIDE_BY_ZERO_EXCEPTION.
36921         (gamma_test_data): Likewise.
36922         (lgamma_test_data): Likewise.
36923         (log_test_data): Likewise.
36924         (log10_test_data): Likewise.
36925         (log2_test_data): Likewise.
36926         (tgamma_test_data): Likewise.
36928         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36929         (acos_test_tonearest): Likewise.
36930         (acos_test_towardzero): Likewise.
36931         (acos_test_downward): Likewise.
36932         (acos_test_upward): Likewise.
36933         (acosh_test): Likewise.
36934         (asin_test): Likewise.
36935         (asin_test_tonearest): Likewise.
36936         (asin_test_towardzero): Likewise.
36937         (asin_test_downward): Likewise.
36938         (asin_test_upward): Likewise.
36939         (asinh_test): Likewise.
36940         (atan_test): Likewise.
36941         (atanh_test): Likewise.
36942         (atan2_test): Likewise.
36943         (cabs_test): Likewise.
36944         (cacos_test): Likewise.
36945         (cacosh_test): Likewise.
36946         (casin_test): Likewise.
36947         (casinh_test): Likewise.
36948         (catan_test): Likewise.
36949         (catanh_test): Likewise.
36950         (cbrt_test): Likewise.
36951         (ccos_test): Likewise.
36952         (ccosh_test): Likewise.
36953         (cexp_test): Likewise.
36954         (clog_test): Likewise.
36955         (clog10_test): Likewise.
36956         (cos_test): Likewise.
36957         (cos_test_tonearest): Likewise.
36958         (cos_test_towardzero): Likewise.
36959         (cos_test_downward): Likewise.
36960         (cos_test_upward): Likewise.
36961         (cosh_test): Likewise.
36962         (cosh_test_tonearest): Likewise.
36963         (cosh_test_towardzero): Likewise.
36964         (cosh_test_downward): Likewise.
36965         (cosh_test_upward): Likewise.
36966         (cpow_test): Likewise.
36967         (csin_test): Likewise.
36968         (csinh_test): Likewise.
36969         (csqrt_test): Likewise.
36970         (ctan_test): Likewise.
36971         (ctan_test_tonearest): Likewise.
36972         (ctan_test_towardzero): Likewise.
36973         (ctan_test_downward): Likewise.
36974         (ctan_test_upward): Likewise.
36975         (ctanh_test): Likewise.
36976         (ctanh_test_tonearest): Likewise.
36977         (ctanh_test_towardzero): Likewise.
36978         (ctanh_test_downward): Likewise.
36979         (ctanh_test_upward): Likewise.
36980         (erf_test): Likewise.
36981         (erfc_test): Likewise.
36982         (exp_test): Likewise.
36983         (exp_test_tonearest): Likewise.
36984         (exp_test_towardzero): Likewise.
36985         (exp_test_downward): Likewise.
36986         (exp_test_upward): Likewise.
36987         (exp10_test): Likewise.
36988         (exp2_test): Likewise.
36989         (expm1_test): Likewise.
36990         (fmod_test): Likewise.
36991         (gamma_test): Likewise.
36992         (hypot_test): Likewise.
36993         (j0_test): Likewise.
36994         (j1_test): Likewise.
36995         (jn_test): Likewise.
36996         (lgamma_test): Likewise.
36997         (log_test): Likewise.
36998         (log10_test): Likewise.
36999         (log1p_test): Likewise.
37000         (log2_test): Likewise.
37001         (logb_test_downward): Likewise.
37002         (pow_test): Likewise.
37003         (pow_test_tonearest): Likewise.
37004         (pow_test_towardzero): Likewise.
37005         (pow_test_downward): Likewise.
37006         (pow_test_upward): Likewise.
37007         (remainder_test): Likewise.
37008         (remquo_test): Likewise.
37009         (sin_test): Likewise.
37010         (sin_test_tonearest): Likewise.
37011         (sin_test_towardzero): Likewise.
37012         (sin_test_downward): Likewise.
37013         (sin_test_upward): Likewise.
37014         (sincos_test): Likewise.
37015         (sinh_test): Likewise.
37016         (sinh_test_tonearest): Likewise.
37017         (sinh_test_towardzero): Likewise.
37018         (sinh_test_downward): Likewise.
37019         (sinh_test_upward): Likewise.
37020         (sqrt_test): Likewise.
37021         (tan_test): Likewise.
37022         (tan_test_tonearest): Likewise.
37023         (tan_test_towardzero): Likewise.
37024         (tan_test_downward): Likewise.
37025         (tan_test_upward): Likewise.
37026         (tanh_test): Likewise.
37027         (tgamma_test): Likewise.
37028         (y0_test): Likewise.
37029         (y1_test): Likewise.
37030         (yn_test): Likewise.
37032         * math/gen-libm-test.pl (adjust_arg): Remove function.
37033         (special_function): Remove argument $in_func.  Only handle
37034         generating output for tables of tests, not inside functions.
37035         (parse_args): Likewise.
37036         (generate_testfile): Remove variable $in_func.  Update call to
37037         parse_args.
37038         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37039         (MINUS_ZERO_INIT): Rename macro to minus_zero.
37040         (PLUS_INFTY_INIT): Rename macro to plus_infty.
37041         (MINUS_INFTY_INIT): Rename macro to minus_infty.
37042         (QNAN_VALUE_INIT): Rename macro to qnan_value.
37043         (MAX_VALUE_INIT): Rename macro to max_value.
37044         (MIN_VALUE_INIT): Rename macro to min_value.
37045         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37046         (plus_zero): Remove variable.
37047         (minus_zero): Likewise.
37048         (plus_infty): Likewise.
37049         (minus_infty): Likewise.
37050         (qnan_value): Likewise.
37051         (max_value): Likewise.
37052         (min_value): Likewise.
37053         (min_subnorm_value): Likewise.
37055 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37057         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37058         uint64_t or uint32_t usage.
37059         * crypt/sha256-block.c: Likewise.
37060         * crypt/sha256-crypt.c: Likewise.
37061         * crypt/sha256.c: Likewise.
37062         * crypt/sha512-block.c: Likewise.
37063         * crypt/sha512-crypt.c: Likewise.
37064         * crypt/sha512.c: Likewise.
37065         * debug/backtrace-tst.c: Likewise.
37066         * debug/pcprofiledump.c: Likewise.
37067         * elf/cache.c: Likewise.
37068         * elf/dl-cache.c: Likewise.
37069         * elf/dl-misc.c: Likewise.
37070         * elf/dl-profile.c: Likewise.
37071         * elf/dl-support.c: Likewise.
37072         * elf/ldconfig.c: Likewise.
37073         * elf/sprof.c: Likewise.
37074         * iconv/dummy-repertoire.c: Likewise.
37075         * iconv/iconv_charmap.c: Likewise.
37076         * iconv/skeleton.c: Likewise.
37077         * iconvdata/8bit-generic.c: Likewise.
37078         * iconvdata/cp737.h: Likewise.
37079         * iconvdata/cp775.h: Likewise.
37080         * iconvdata/ibm1008.h: Likewise.
37081         * iconvdata/ibm1025.h: Likewise.
37082         * iconvdata/ibm1046.h: Likewise.
37083         * iconvdata/ibm1097.h: Likewise.
37084         * iconvdata/ibm1112.h: Likewise.
37085         * iconvdata/ibm1122.h: Likewise.
37086         * iconvdata/ibm1123.h: Likewise.
37087         * iconvdata/ibm1124.h: Likewise.
37088         * iconvdata/ibm1129.h: Likewise.
37089         * iconvdata/ibm1130.h: Likewise.
37090         * iconvdata/ibm1132.h: Likewise.
37091         * iconvdata/ibm1133.h: Likewise.
37092         * iconvdata/ibm1137.h: Likewise.
37093         * iconvdata/ibm1140.h: Likewise.
37094         * iconvdata/ibm1141.h: Likewise.
37095         * iconvdata/ibm1142.h: Likewise.
37096         * iconvdata/ibm1143.h: Likewise.
37097         * iconvdata/ibm1144.h: Likewise.
37098         * iconvdata/ibm1145.h: Likewise.
37099         * iconvdata/ibm1146.h: Likewise.
37100         * iconvdata/ibm1147.h: Likewise.
37101         * iconvdata/ibm1148.h: Likewise.
37102         * iconvdata/ibm1149.h: Likewise.
37103         * iconvdata/ibm1153.h: Likewise.
37104         * iconvdata/ibm1154.h: Likewise.
37105         * iconvdata/ibm1155.h: Likewise.
37106         * iconvdata/ibm1156.h: Likewise.
37107         * iconvdata/ibm1157.h: Likewise.
37108         * iconvdata/ibm1158.h: Likewise.
37109         * iconvdata/ibm1160.h: Likewise.
37110         * iconvdata/ibm1161.h: Likewise.
37111         * iconvdata/ibm1162.h: Likewise.
37112         * iconvdata/ibm1163.h: Likewise.
37113         * iconvdata/ibm1164.h: Likewise.
37114         * iconvdata/ibm1166.h: Likewise.
37115         * iconvdata/ibm1167.h: Likewise.
37116         * iconvdata/ibm12712.h: Likewise.
37117         * iconvdata/ibm1390.h: Likewise.
37118         * iconvdata/ibm1399.h: Likewise.
37119         * iconvdata/ibm16804.h: Likewise.
37120         * iconvdata/ibm4517.h: Likewise.
37121         * iconvdata/ibm4899.h: Likewise.
37122         * iconvdata/ibm4909.h: Likewise.
37123         * iconvdata/ibm4971.h: Likewise.
37124         * iconvdata/ibm5347.h: Likewise.
37125         * iconvdata/ibm803.h: Likewise.
37126         * iconvdata/ibm856.h: Likewise.
37127         * iconvdata/ibm901.h: Likewise.
37128         * iconvdata/ibm902.h: Likewise.
37129         * iconvdata/ibm9030.h: Likewise.
37130         * iconvdata/ibm9066.h: Likewise.
37131         * iconvdata/ibm921.h: Likewise.
37132         * iconvdata/ibm922.h: Likewise.
37133         * iconvdata/ibm9448.h: Likewise.
37134         * iconvdata/isiri-3342.h: Likewise.
37135         * iconvdata/jis0201.h: Likewise.
37136         * include/link.h: Likewise.
37137         * include/netdb.h: Likewise.
37138         * inet/check_native.c: Likewise.
37139         * inet/check_pf.c: Likewise.
37140         * inet/getipv4sourcefilter.c: Likewise.
37141         * inet/getnameinfo.c: Likewise.
37142         * inet/getsourcefilter.c: Likewise.
37143         * inet/htonl.c: Likewise.
37144         * inet/setipv4sourcefilter.c: Likewise.
37145         * inet/setsourcefilter.c: Likewise.
37146         * inet/test-inet6_opt.c: Likewise.
37147         * inet/tst-network.c: Likewise.
37148         * locale/C-collate.c: Likewise.
37149         * locale/C-ctype.c: Likewise.
37150         * locale/C-time.c: Likewise.
37151         * locale/C-translit.h: Likewise.
37152         * locale/loadarchive.c: Likewise.
37153         * locale/programs/3level.h: Likewise.
37154         * locale/programs/charmap.c: Likewise.
37155         * locale/programs/charmap.h: Likewise.
37156         * locale/programs/ld-address.c: Likewise.
37157         * locale/programs/ld-collate.c: Likewise.
37158         * locale/programs/ld-ctype.c: Likewise.
37159         * locale/programs/ld-identification.c: Likewise.
37160         * locale/programs/ld-measurement.c: Likewise.
37161         * locale/programs/ld-messages.c: Likewise.
37162         * locale/programs/ld-monetary.c: Likewise.
37163         * locale/programs/ld-name.c: Likewise.
37164         * locale/programs/ld-numeric.c: Likewise.
37165         * locale/programs/ld-paper.c: Likewise.
37166         * locale/programs/ld-telephone.c: Likewise.
37167         * locale/programs/ld-time.c: Likewise.
37168         * locale/programs/linereader.c: Likewise.
37169         * locale/programs/locale.c: Likewise.
37170         * locale/programs/locarchive.c: Likewise.
37171         * locale/programs/locfile.h: Likewise.
37172         * locale/programs/repertoire.c: Likewise.
37173         * locale/programs/simple-hash.c: Likewise.
37174         * locale/programs/simple-hash.h: Likewise.
37175         * malloc/memusage.c: Likewise.
37176         * malloc/memusagestat.c: Likewise.
37177         * nis/nis_defaults.c: Likewise.
37178         * nis/nis_hash.c: Likewise.
37179         * nis/nis_print.c: Likewise.
37180         * nis/nis_xdr.c: Likewise.
37181         * nscd/connections.c: Likewise.
37182         * nscd/hstcache.c: Likewise.
37183         * nscd/nscd_gethst_r.c: Likewise.
37184         * nscd/nscd_getserv_r.c: Likewise.
37185         * nscd/nscd_helper.c: Likewise.
37186         * nscd/servicescache.c: Likewise.
37187         * nss/makedb.c: Likewise.
37188         * nss/nss_db/db-XXX.c: Likewise.
37189         * nss/nss_db/db-initgroups.c: Likewise.
37190         * nss/nss_db/db-netgrp.c: Likewise.
37191         * nss/nss_files/files-network.c: Likewise.
37192         * nss/nss_files/files-parse.c: Likewise.
37193         * posix/bug-regex5.c: Likewise.
37194         * posix/fnmatch_loop.c: Likewise.
37195         * posix/regcomp.c: Likewise.
37196         * posix/regexec.c: Likewise.
37197         * posix/tst-rfc3484-2.c: Likewise.
37198         * posix/tst-rfc3484-3.c: Likewise.
37199         * posix/tst-rfc3484.c: Likewise.
37200         * resolv/nss_dns/dns-canon.c: Likewise.
37201         * resolv/nss_dns/dns-network.c: Likewise.
37202         * resolv/res_init.c: Likewise.
37203         * resolv/res_mkquery.c: Likewise.
37204         * resolv/tst-aton.c: Likewise.
37205         * stdlib/cxa_atexit.c: Likewise.
37206         * stdlib/cxa_finalize.c: Likewise.
37207         * stdlib/gen-fpioconst.c: Likewise.
37208         * stdlib/strtol_l.c: Likewise.
37209         * string/tst-endian.c: Likewise.
37210         * sunrpc/auth_des.c: Likewise.
37211         * sunrpc/clnt_udp.c: Likewise.
37212         * sunrpc/rtime.c: Likewise.
37213         * sunrpc/svcauth_des.c: Likewise.
37214         * sunrpc/xdr.c: Likewise.
37215         * sunrpc/xdr_intXX_t.c: Likewise.
37216         * sunrpc/xdr_rec.c: Likewise.
37217         * sysdeps/generic/ldconfig.h: Likewise.
37218         * sysdeps/generic/ldsodefs.h: Likewise.
37219         * sysdeps/generic/memusage.h: Likewise.
37220         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37221         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37222         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37223         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37224         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37225         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37226         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37227         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37228         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37229         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37230         * sysdeps/posix/getaddrinfo.c: Likewise.
37231         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37232         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37233         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37234         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37235         * sysdeps/powerpc/test-gettimebase.c: Likewise.
37236         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37237         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37238         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37239         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37240         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37241         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37242         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37243         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37244         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37245         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37246         * sysdeps/x86_64/dl-tls.h: Likewise.
37247         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37248         * time/alt_digit.c: Likewise.
37249         * time/era.c: Likewise.
37250         * wcsmbs/tst-c16c32-1.c: Likewise.
37252 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37254         * math/libm-test.inc (struct test_sincos_data): New type.
37255         (RUN_TEST_LOOP_sincos): New macro.
37256         (sincos_test_data): New variable.
37257         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37259 2013-05-16  Richard Henderson  <rth@redhat.com>
37261         * math/atest-exp2.c (LIMB64): New macro.
37262         (CONSTSZ): New macro.
37263         (mp_exp1, mp_exp_m1, mp_log2): New variables.
37264         (hexdig): Move ...
37265         (print_mpn_fp): ... to function scope.
37266         (read_mpn_hex): Remove.
37267         (get_log2): Remove.
37268         (exp2_mpn): Use mp_log2.
37269         (main): Use mp_exp1.
37271 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37273         * math/libm-test.inc: Remove comment about not testing "inexact"
37274         exceptions.
37275         (INEXACT_EXCEPTION): New macro.
37276         (NO_INEXACT_EXCEPTION): Likewise.
37277         (INVALID_EXCEPTION_OK): Update value.
37278         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37279         (OVERFLOW_EXCEPTION_OK): Likewise.
37280         (UNDERFLOW_EXCEPTION_OK): Likewise.
37281         (IGNORE_ZERO_INF_SIGN): Likewise.
37282         (ERRNO_UNCHANGED): Likewise.
37283         (ERRNO_EDOM): Likewise.
37284         (ERRNO_ERANGE): Likewise.
37285         (test_exceptions): Handle testing "inexact" exceptions.
37286         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37287         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37288         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37289         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37290         INEXACT_EXCEPTION.
37291         (rint_towardzero_test_data): Likewise.
37292         (rint_downward_test_data): Likewise.
37293         (rint_upward_test_data): Likewise.
37295         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37296         with OVERFLOW_EXCEPTION.
37297         (exp10_test_data): Likewise.
37298         (exp2_test_data): Likewise.
37299         (expm1_test_data): Likewise.
37300         (lgamma_test_data): Likewise.
37301         (pow_test_data): Likewise.
37302         (tgamma_test_data): Likewise.
37303         (yn_test_data): Remove duplicate test of overflow.
37305         * math/libm-test.inc (struct test_cc_c_data): New type.
37306         (RUN_TEST_LOOP_cc_c): New macro.
37307         (cpow_test_data): New variable.
37308         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37310         * math/libm-test.inc (struct test_f_L_data): New type.
37311         (RUN_TEST_LOOP_f_L): New macro.
37312         (llrint_test_data): New variable.
37313         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37314         (llrint_tonearest_test_data): New variable.
37315         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37316         (llrint_towardzero_test_data): New variable.
37317         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37318         (llrint_downward_test_data): New variable.
37319         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37320         (llrint_upward_test_data): New variable.
37321         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37322         (llround_test_data): New variable.
37323         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37325 2013-05-13  Peter Collingbourne  <pcc@google.com>
37327         * math/atest-exp2.c (get_log2): Remove const attribute.
37329 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37331         * math/libm-test.inc (struct test_f_l_data): New type.
37332         (RUN_TEST_LOOP_f_l): New macro.
37333         (lrint_test_data): New variable.
37334         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37335         (lrint_tonearest_test_data): New variable.
37336         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37337         (lrint_towardzero_test_data): New variable.
37338         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37339         (lrint_downward_test_data): New variable.
37340         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37341         (lrint_upward_test_data): New variable.
37342         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37343         (lround_test_data): New variable.
37344         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37346 2013-05-15  Peter Collingbourne  <pcc@google.com>
37348         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37349         (EXTRACT_WORDS64) Use where appropriate.
37350         (INSERT_WORDS64) Likewise.
37352         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37353         constraints with x constraints.
37354         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37356         * malloc/obstack.c (_obstack_compat): Add initializer.
37358 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
37360         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37361         si_trapno and add si_addr_lsb to _sifields.sigfault.
37362         (si_trapno): Remove macro.
37363         (si_addr_lsb): Define new macro.
37364         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37366 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37368         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37369         instead of TEST_f_l.
37370         (llrint_test_tonearest): Likewise.
37371         (llrint_test_towardzero): Likewise.
37372         (llrint_test_downward): Likewise.
37373         (llrint_test_upward): Likewise.
37374         (llround_test): Likewise.
37376         * math/libm-test.inc (struct test_f_i_data): Add comment.
37377         (RUN_TEST_LOOP_f_b): New macro.
37378         (RUN_TEST_LOOP_f_b_tg): Likewise.
37379         (finite_test_data): New variable.
37380         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37381         (isfinite_test_data): New variable.
37382         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37383         (isinf_test_data): New variable.
37384         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37385         (isnan_test_data): New variable.
37386         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37387         (isnormal_test_data): New variable.
37388         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37389         (issignaling_test_data): New variable.
37390         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37391         (signbit_test_data): New variable.
37392         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37394         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37395         with INVALID_EXCEPTION.
37396         (acosh_test_data): Likewise.
37397         (asin_test_data): Likewise.
37398         (atanh_test_data): Likewise.
37399         (fmod_test_data): Likewise.
37400         (log_test_data): Likewise.
37401         (log10_test_data): Likewise.
37402         (log2_test_data): Likewise.
37403         (pow_test_data): Likewise.
37404         (sqrt_test_data): Likewise.
37405         (y0_test_data): Likewise.
37406         (y1_test_data): Likewise.
37407         (yn_test_data): Likewise.
37409         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37410         function contents.
37412         * math/libm-test.inc (struct test_ff_i_data): New type.
37413         (RUN_TEST_LOOP_ff_i_tg): New macro.
37414         (isgreater_test_data): New variable.
37415         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37416         (isgreaterequal_test_data): New variable.
37417         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37418         (isless_test_data): New variable.
37419         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37420         (islessequal_test_data): New variable.
37421         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37422         (islessgreater_test_data): New variable.
37423         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37424         (isunordered_test_data): New variable.
37425         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37427 2013-05-14  David S. Miller  <davem@davemloft.net>
37429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37431 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
37433         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37435         * math/libm-test.inc (struct test_fF_f1_data): Change type of
37436         extra_test to int.
37437         (struct test_f_i_data): Change type of max_ulp to int.
37439         * math/libm-test.inc (test_ffI_f1_data): New type.
37440         (RUN_TEST_LOOP_ffI_f1): New macro.
37441         (remquo_test_data): New variable.
37442         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37444         * setjmp/tst-setjmp-fp.c: New file.
37445         * setjmp/Makefile (tests): Add tst-setjmp-fp.
37446         (link-libm): New variable.
37447         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37449         * math/libm-test.inc (struct test_f_i_data): New type.
37450         (RUN_TEST_LOOP_f_i): New macro.
37451         (RUN_TEST_LOOP_f_i_tg): Likewise.
37452         (fpclassify_test_data): New variable.
37453         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37454         (ilogb_test_data): New variable.
37455         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37457         * math/libm-test.inc (scalbln_test): Correct function name in END
37458         call.
37460         * math/libm-test.inc (struct test_f_f1_data): Add comment.
37461         (RUN_TEST_LOOP_fI_f1): New macro.
37462         (frexp_test_data): New variable.
37463         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37465         * math/libm-test.inc (struct test_fF_f1_data): New type.
37466         (RUN_TEST_LOOP_fF_f1): New macro.
37467         (modf_test_data): New variable.
37468         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37470         * math/libm-test.inc (struct test_f_f1_data): New type.
37471         (RUN_TEST_LOOP_f_f1): New macro.
37472         (gamma_test_data): New variable.
37473         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37474         (lgamma_test_data): New variable.
37475         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37477 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
37479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37480         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37481         (main): Comment "tls" pseudo-hwcap.
37483 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
37485         * math/libm-test.inc (struct test_fl_f_data): New type.
37486         (RUN_TEST_LOOP_fl_f): New variable.
37487         (scalbln_test_data): New variable.
37488         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37490         * math/libm-test.inc (struct test_fi_f_data): New type.
37491         (RUN_TEST_LOOP_fi_f): New macro.
37492         (ldexp_test_data): New variable.
37493         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37494         (scalbn_test_data): New variable.
37495         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37497         * math/libm-test.inc (struct test_c_f_data): New type.
37498         (RUN_TEST_LOOP_c_f): New macro.
37499         (cabs_test_data): New variable.
37500         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37501         (carg_test_data): New variable.
37502         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37503         (cimag_test_data): New variable.
37504         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37505         (creal_test_data): New variable.
37506         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37508         * math/libm-test.inc (struct test_if_f_data): New type.
37509         (RUN_TEST_LOOP_if_f): New macro.
37510         (jn_test_data): New variable.
37511         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37512         (yn_test_data): New variable.
37513         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37515         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37517 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37519         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37520         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37522 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37524         * benchtests/Makefile (CPPFLAGS-nonlib): Add
37525         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37526         (bench-deps): Add bench-timing.h.
37527         * benchtests-bench-skeleton.c: Include bench-timing.h.
37528         (main): Use TIMING_* macros instead of clock_gettime.
37529         * benchtests/bench-timing.h: New file.
37531         [BZ #14582]
37532         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37533         Renamed from _LIB_VERSION.
37534         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37536 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
37538         * math/libm-test.inc (struct test_fff_f_data): New type.
37539         (RUN_TEST_LOOP_fff_f): New macro.
37540         (fma_test_data): New variable.
37541         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37542         (fma_towardzero_test_data): New variable.
37543         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37544         (fma_downward_test_data): New variable.
37545         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37546         (fma_upward_test_data): New variable.
37547         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37549         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37550         (struct test_c_c_data): New type.
37551         (RUN_TEST_LOOP_c_c): New macro.
37552         (cacos_test_data): New variable.
37553         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37554         (cacosh_test_data): New variable.
37555         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37556         (casin_test_data): New variable.
37557         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37558         (casinh_test_data): New variable.
37559         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37560         (catan_test_data): New variable.
37561         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37562         (catanh_test_data): New variable.
37563         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37564         (ccos_test_data): New variable.
37565         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37566         (ccosh_test_data): New variable.
37567         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37568         (cexp_test_data): New variable.
37569         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37570         (clog_test_data): New variable.
37571         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37572         (clog10_test_data): New variable.
37573         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37574         (conj_test_data): New variable.
37575         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37576         (cproj_test_data): New variable.
37577         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37578         (csin_test_data): New variable.
37579         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37580         (csinh_test_data): New variable.
37581         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37582         (csqrt_test_data): New variable.
37583         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37584         (ctan_test_data): New variable.
37585         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37586         (ctan_tonearest_test_data): New variable.
37587         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37588         (ctan_towardzero_test_data): New variable.
37589         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37590         (ctan_downward_test_data): New variable.
37591         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37592         (ctan_upward_test_data): New variable.
37593         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37594         (ctanh_test_data): New variable.
37595         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37596         (ctanh_tonearest_test_data): New variable.
37597         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37598         (ctanh_towardzero_test_data): New variable.
37599         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37600         (ctanh_downward_test_data): New variable.
37601         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37602         (ctanh_upward_test_data): New variable.
37603         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37604         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37605         of BUILD_COMPLEX.
37607         * math/libm-test.inc (struct test_ff_f_data): New type.
37608         (struct test_ff_f_data_nexttoward): Likewise.
37609         (RUN_TEST_LOOP_2_f): New macro.
37610         (RUN_TEST_LOOP_ff_f): Likewise.
37611         (atan2_test_data): New variable.
37612         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37613         (copysign_test_data): New variable.
37614         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37615         (fdim_test_data): New variable.
37616         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37617         (fmax_test_data): New variable.
37618         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37619         (fmin_test_data): New variable.
37620         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37621         (fmod_test_data): New variable.
37622         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37623         (hypot_test_data): New variable.
37624         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37625         (nextafter_test_data): New variable.
37626         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37627         (nexttoward_test_data): New variable.
37628         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37629         (pow_test_data): New variable.
37630         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37631         (pow_tonearest_test_data): New variable.
37632         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37633         (pow_towardzero_test_data): New variable.
37634         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37635         (pow_downward_test_data): New variable.
37636         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37637         (pow_upward_test_data): New variable.
37638         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37639         (remainder_test_data): New variable.
37640         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37641         (scalb_test_data): New variable.
37642         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37643         * sysdeps/i386/fpu/libm-test-ulps: Update.
37645 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
37647         * math/libm-test.inc (fma_test): Use max_value instead of local
37648         variable fltmax.
37649         (nextafter_test): Likewise.
37651         * math/libm-test.inc (acos_towardzero_test_data): New variable.
37652         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37653         (acos_downward_test_data): New variable.
37654         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37655         (acos_upward_test_data): New variable.
37656         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37657         (acosh_test_data): New variable.
37658         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37659         (asin_test_data): New variable.
37660         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37661         (asin_tonearest_test_data): New variable.
37662         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37663         (asin_towardzero_test_data): New variable.
37664         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37665         (asin_downward_test_data): New variable.
37666         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37667         (asin_upward_test_data): New variable.
37668         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37669         (asinh_test_data): New variable.
37670         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37671         (atan_test_data): New variable.
37672         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37673         (atanh_test_data): New variable.
37674         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37675         (cbrt_test_data): New variable.
37676         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37677         (ceil_test_data): New variable.
37678         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37679         (cos_test_data): New variable.
37680         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37681         (cos_tonearest_test_data): New variable.
37682         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37683         (cos_towardzero_test_data): New variable.
37684         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37685         (cos_downward_test_data): New variable.
37686         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37687         (cos_upward_test_data): New variable.
37688         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37689         (cosh_test_data): New variable.
37690         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37691         (cosh_tonearest_test_data): New variable.
37692         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37693         (cosh_towardzero_test_data): New variable.
37694         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37695         (cosh_downward_test_data): New variable.
37696         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37697         (cosh_upward_test_data): New variable.
37698         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37699         (erf_test_data): New variable.
37700         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37701         (erfc_test_data): New variable.
37702         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37703         (exp_test_data): New variable.
37704         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37705         (exp_tonearest_test_data): New variable.
37706         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37707         (exp_towardzero_test_data): New variable.
37708         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37709         (exp_downward_test_data): New variable.
37710         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37711         (exp_upward_test_data): New variable.
37712         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37713         (exp10_test_data): New variable.
37714         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37715         (exp2_test_data): New variable.
37716         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37717         (expm1_test_data): New variable.
37718         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37719         (fabs_test_data): New variable.
37720         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37721         (floor_test_data): New variable.
37722         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37723         (j0_test_data): New variable.
37724         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37725         (j1_test_data): New variable.
37726         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37727         (log_test_data): New variable.
37728         (log_test): Run tests with RUN_TEST_LOOP_f_f.
37729         (log10_test_data): New variable.
37730         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37731         (log1p_test_data): New variable.
37732         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37733         (log2_test_data): New variable.
37734         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37735         (logb_test_data): New variable.
37736         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37737         (logb_downward_test_data): New variable.
37738         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37739         (nearbyint_test_data): New variable.
37740         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37741         (rint_test_data): New variable.
37742         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37743         (rint_tonearest_test_data): New variable.
37744         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37745         (rint_towardzero_test_data): New variable.
37746         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37747         (rint_downward_test_data): New variable.
37748         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37749         (rint_upward_test_data): New variable.
37750         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37751         (round_test_data): New variable.
37752         (round_test): Run tests with RUN_TEST_LOOP_f_f.
37753         (sin_test_data): New variable.
37754         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37755         (sin_tonearest_test_data): New variable.
37756         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37757         (sin_towardzero_test_data): New variable.
37758         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37759         (sin_downward_test_data): New variable.
37760         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37761         (sin_upward_test_data): New variable.
37762         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37763         (sinh_test_data): New variable.
37764         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37765         (sinh_tonearest_test_data): New variable.
37766         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37767         (sinh_towardzero_test_data): New variable.
37768         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37769         (sinh_downward_test_data): New variable.
37770         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37771         (sinh_upward_test_data): New variable.
37772         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37773         (sqrt_test_data): New variable.
37774         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37775         (tan_test_data): New variable.
37776         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37777         (tan_tonearest_test_data): New variable.
37778         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37779         (tan_towardzero_test_data): New variable.
37780         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37781         (tan_downward_test_data): New variable.
37782         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37783         (tan_upward_test_data): New variable.
37784         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37785         (tanh_test_data): New variable.
37786         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37787         (tgamma_test_data): New variable.
37788         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37789         (trunc_test_data): New variable.
37790         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37791         (y0_test_data): New variable.
37792         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37793         (y1_test_data): New variable.
37794         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37795         (significand_test_data): New variable.
37796         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37798 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
37800         [BZ #12387]
37801         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37803 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37805         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37807 2013-05-10  Andreas Jaeger  <aj@suse.de>
37809         [BZ #15448]
37810         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37811         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37813 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
37815         * math/gen-libm-test.pl (adjust_arg): New function.
37816         (special_functions): Handle generating output in both functions
37817         and arrays.
37818         (parse_args): Likewise.
37819         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
37820         $in_func argument to parse_args.
37821         * math/libm-test.inc (struct test_f_f_data): New type.
37822         (IF_ROUND_INIT_): New macro.
37823         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37824         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37825         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37826         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37827         (ROUND_RESTORE_): Likewise.
37828         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37829         (ROUND_RESTORE_FE_TONEAREST): Likewise.
37830         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37831         (ROUND_RESTORE_FE_UPWARD): Likewise.
37832         (RUN_TEST_LOOP_f_f): New macro.
37833         (acos_test_data): New variable.
37834         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37835         (acos_tonearest_test_data): New variable.
37836         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37838 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37840         * benchtests/bench-skeleton.c (startup): Fix coding style.
37842 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
37844         [BZ #6809]
37845         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37846         negative infinity argument.
37847         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37848         negative infinity argument.
37849         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37850         negative infinity argument.
37851         * math/libm-test.inc (tgamma_test): Expect errno to be set for
37852         domain errors.
37854 2013-05-10  Florian Weimer  <fweimer@redhat.com>
37856         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37857         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37858         * iconv/iconv_prog.c (main): Likewise.
37859         * locale/programs/charmap-dir.c (charmap_readdir)
37860         (fopen_uncompressed): Likewise.
37861         * locale/programs/locfile.c (siblings_uncached)
37862         (write_locale_data): Use lstat64 instead of lstat.
37863         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37864         stat.
37866 2013-05-10  Andreas Jaeger  <aj@suse.de>
37868         [BZ #15395]
37869         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37870         localization.
37871         Include <locale.h>.
37873 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
37875         * elf/dl-close.c (_dl_close_worker): Add comments.
37877 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
37879         [BZ #15359]
37880         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37881         high part of pi/2.
37882         (__ieee754_rem_pio2l): Update comments.
37884         [BZ #15429]
37885         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37886         high part of pi/2.
37887         (__ieee754_rem_pio2l): Update comments.
37889         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37890         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37892         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37893         M_PI_4l.
37895         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37896         (M_PI_34_LOG10El): Likewise.
37897         (M_PI2_LOG10El): Likewise.
37898         (M_PI4_LOG10El): Likewise.
37899         (M_PI_LOG10El): Likewise.
37901 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37905 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
37907         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37908         (MINUS_ZERO_INIT): Likewise.
37909         (PLUS_INFTY_INIT): Likewise.
37910         (MINUS_INFTY_INIT): Likewise.
37911         (QNAN_VALUE_INIT): Likewise.
37912         (MAX_VALUE_INIT): Likewise.
37913         (MIN_VALUE_INIT): Likewise.
37914         (MIN_SUBNORM_VALUE_INIT): Likewise.
37915         (plus_zero): Initialize with PLUS_ZERO_INIT.
37916         (minus_zero): Initialize with MINUS_ZERO_INIT.
37917         (plus_infty): Initialize with PLUS_INFTY_INIT.
37918         (minus_infty): Initialize with MINUS_INFTY_INIT.
37919         (qnan_value): Initialize with QNAN_VALUE_INIT.
37920         (max_value): Initialize with MAX_VALUE_INIT.
37921         (min_value): Initialize with MIN_VALUE_INIT.
37922         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37924         * math/libm-test.inc (RUN_TEST_if_f): New macro.
37925         (jn_test): Use TEST_if_f instead of TEST_ff_f.
37926         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37927         (yn_test): Use TEST_if_f instead of TEST_ff_f.
37929         * math/libm-test.inc (RUN_TEST_f_f): New macro.
37930         (RUN_TEST_2_f): Likewise.
37931         (RUN_TEST_ff_f): Likewise.
37932         (RUN_TEST_fi_f): Likewise.
37933         (RUN_TEST_fl_f): Likewise.
37934         (RUN_TEST_fff_f): Likewise.
37935         (RUN_TEST_c_f): Likewise.
37936         (RUN_TEST_f_f1): Likewise.
37937         (RUN_TEST_fF_f1): Likewise.
37938         (RUN_TEST_fI_f1): Likewise.
37939         (RUN_TEST_ffI_f1): Likewise.
37940         (RUN_TEST_c_c): Likewise.
37941         (RUN_TEST_cc_c): Likewise.
37942         (RUN_TEST_f_i): Likewise.
37943         (RUN_TEST_f_i_tg): Likewise.
37944         (RUN_TEST_ff_i_tg): Likewise.
37945         (RUN_TEST_f_b): Likewise.
37946         (RUN_TEST_f_b_tg): Likewise.
37947         (RUN_TEST_f_l): Likewise.
37948         (RUN_TEST_f_L): Likewise.
37949         (RUN_TEST_sincos): Likewise.
37950         * math/gen-libm-test.pl (new_test): Take new argument to indicate
37951         whether to show exceptions.  Do not include ");\n" in return
37952         value.
37953         (special_functions): Output call to RUN_TEST_sincos instead of
37954         check_float calls.  Update calls to new_test.
37955         (parse_args): Output call to single RUN_TEST_* macro instead of
37956         check_* calls and other assignments.  Update calls to new_test.
37958         [BZ #2546]
37959         [BZ #2560]
37960         [BZ #5159]
37961         [BZ #15426]
37962         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37963         input to result for tgamma overflow.
37964         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37965         (gamma_coeff): New variable.
37966         (NCOEFF): New macro.
37967         (gamma_positive): New function.
37968         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37969         underflow here.  Use gamma_positive instead of exp (lgamma) for
37970         other arguments.
37971         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37972         (gamma_coeff): New variable.
37973         (NCOEFF): New macro.
37974         (gammaf_positive): New function.
37975         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37976         underflow here.  Use gamma_positive instead of exp (lgamma) for
37977         other arguments.
37978         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37979         (gamma_coeff): New variable.
37980         (NCOEFF): New macro.
37981         (gammal_positive): New function.
37982         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37983         underflow here.  Use gamma_positive instead of exp (lgamma) for
37984         other arguments.
37985         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37986         (gamma_coeff): New variable.
37987         (NCOEFF): New macro.
37988         (gammal_positive): New function.
37989         (__ieee754_gammal_r): Handle positive infinity, overflow and
37990         underflow here.  Handle NaN the same as positive infinity.  Remove
37991         check x < 0xffffffff for negative integers.  Use gamma_positive
37992         instead of exp (lgamma) for other arguments.
37993         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37994         (gamma_coeff): New variable.
37995         (NCOEFF): New macro.
37996         (gammal_positive): New function.
37997         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37998         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37999         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
38000         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
38001         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
38002         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
38003         * sysdeps/generic/math_private.h (__gamma_productf): New
38004         prototype.
38005         (__gamma_product): Likewise.
38006         (__gamma_productl): Likewise.
38007         * math/Makefile (libm-calls): Add gamma_product.
38008         * math/libm-test.inc (tgamma_test): Add more tests.
38009         * sysdeps/i386/fpu/libm-test-ulps: Update.
38010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38012 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
38014         * benchtests/bench-skeleton.c (main): Preheat CPU.
38016 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
38018         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
38020 2013-05-07  Roland McGrath  <roland@hack.frob.com>
38022         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
38023         and _dl_skip_args_internal.
38025 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
38027         * manual/message.texi (Message Translation): Talk about users.
38028         Message to key mapping impacts design.
38030 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38032         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38034         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38036         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38037         * sysdeps/wordsize-64/glob64.c: ... here.
38039         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38040         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38041         New macros.
38043         * debug/getlogin_r_chk.c: Moved to ...
38044         * login/getlogin_r_chk.c: ... here.
38045         * debug/Makefile (routines): Move getlogin_r_chk to ...
38046         * login/Makefile (routines): ... here.
38047         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38048         * login/Versions (libc: GLIBC_2.4): ... here.
38050         * io/poll.c (__poll): Renamed from poll.
38051         Add libc_hidden_def.
38052         (poll): Define as weak alias.
38054         * debug/ptsname_r_chk.c: Moved to ...
38055         * login/ptsname_r_chk.c: ... here.
38056         * debug/Makefile (routines): Move ptsname_r_chk to ...
38057         * login/Makefile (routines): ... here.
38058         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38059         * login/Versions (libc: GLIBC_2.4): ... here.
38061         * posix/getlogin.c: Moved to ...
38062         * login/getlogin.c: ... here.
38063         * posix/getlogin_r.c: Moved to ...
38064         * login/getlogin_r.c: ... here.
38065         * posix/getlogin_r.c: Moved to ...
38066         * login/getlogin_r.c: ... here.
38067         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38068         * login/Makefile (routines): ... here.
38069         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38070         * login/Versions (libc: GLIBC_2.0): ... here.
38072         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38073         (setrlimit): Define as weak alias.
38075         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38076         Call __ names for open, ftruncate, and close.
38077         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38078         (truncate): Define as weak alias.
38080 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
38082         * math/gen-libm-test.pl (parse_args): Initialize x before each
38083         test of frexp, modf and remquo.
38085         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38086         test signgam value.
38088 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38090         [BZ #15418]
38091         [BZ #15419]
38092         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38093         internal tests.
38094         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38096 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38098         * elf/dl-writev.h: New file.
38099         * elf/dl-misc.c: Include it.
38100         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38101         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38103 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
38105         * math/libm-test.inc (noXFails): Remove variable.
38106         (noXPasses): Likewise.
38107         (BUILD_COMPLEX_INT): Remove macro.
38108         (print_screen): Remove xfail argument.
38109         (print_screen_max_error): Likewise.
38110         (update_stats): Likewise.
38111         (print_max_error): Likewise.  Update calls to other affected
38112         functions.
38113         (print_complex_max_error): Likewise.
38114         (test_single_exception): Update calls to print_screen.
38115         (test_single_errno): Likewise.
38116         (check_float_internal): Remove xfail argument.  Update calls to
38117         other affected functions.
38118         (check_float): Likewise.
38119         (check_complex): Likewise.
38120         (check_int): Likewise.
38121         (check_long): Likewise.
38122         (check_bool): Likewise.
38123         (check_longlong): Likewise.
38124         (main): Don't print noXFails and noXPasses.
38125         * math/gen-libm-test.pl (top level): Don't mention expected
38126         failure handling in comment.
38127         (new_test): Don't handle expected failures.
38128         (parse_args): Don't mention expected failure handling in comment.
38129         (generate_testfile): Don't handle expected failures.
38130         (parse_ulps): Likewise.
38131         (print_ulps_file): Likewise.
38132         (get_failure): Remove function.
38133         (output_test): Don't handle expected failures.
38134         * make/README.libm-test: Don't mention expected failure handling.
38136         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
38137         (minus_zero): Likewise.
38138         (plus_infty): Likewise.
38139         (minus_infty): Likewise.
38140         (qnan_value): Likewise.
38141         (max_value): Likewise.
38142         (min_value): Likewise.
38143         (min_subnorm_value): Likewise.
38144         (initialize): Do not initialize those variables dynamically.
38146 2013-05-03  Roland McGrath  <roland@hack.frob.com>
38148         * io/open.c (__open_2): Moved to ...
38149         * io/open_2.c: ... this new file.
38150         * io/open64.c (__open64_2): Moved to ...
38151         * io/open64_2.c: ... this new file.
38152         * io/openat.c (__openat_2): Moved to ...
38153         * io/openat_2.c: ... this new file.
38154         * io/openat64.c (__openat64_2): Moved to ...
38155         * io/openat64_2.c: ... this new file.
38156         * io/Makefile (routines): Add them.
38157         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38158         * sysdeps/unix/sysv/linux/open_2.c: File removed.
38159         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38160         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38161         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38162         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38163         (__openat64): Add hidden_ver.
38164         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38165         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38167         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38168         Separately conditionalize setting of GLRO(dl_sysinfo) so
38169         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38170         as well, but the actual setting is only under [NEED_DL_SYSINFO].
38172 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38174         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38175         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38176         definition.
38177         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38178         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38179         (_libc_vdso_platform_setup): Add __vdso_time initialization.
38180         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38181         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38183 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
38185         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38186         test signgam value.
38188         * math/libm-test.inc (hypot_test): Do not use
38189         IGNORE_ZERO_INF_SIGN.
38191 2013-05-03  Andreas Jaeger  <aj@suse.de>
38193         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38194         Linux 3.9.
38195         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38196         (PF_MAX): Adjust for VSOCK change.
38198 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38202 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
38204         [BZ #15264]
38205         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38206         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38207         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38209 2013-05-02  David S. Miller  <davem@davemloft.net>
38211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38213 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
38215         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38217 2013-05-01  Roland McGrath  <roland@hack.frob.com>
38219         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38221 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
38223         [BZ #14952]
38224         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38225         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38226         Use __attribute__ ((__gnu_inline__)).
38227         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38228         Don't use __attribute__ ((__gnu_inline__)).
38230 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
38232         [BZ #15423]
38233         * math/s_catan.c (__catan): Handle small real or imaginary part of
38234         input specially to avoid spurious underflow.
38235         * math/s_catanf.c (__catanf): Likewise.
38236         * math/s_catanh.c (__catanh): Likewise.
38237         * math/s_catanhf.c (__catanhf): Likewise.
38238         * math/s_catanhl.c (__catanhl): Likewise.
38239         * math/s_catanl.c (__catanl): Likewise.
38240         * math/libm-test.inc (catan_test): Add more tests.
38241         (catanh_test): Likewise.
38242         * sysdeps/i386/fpu/libm-test-ulps: Update.
38243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38245 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38249 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
38251         [BZ #15416]
38252         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38253         accurately for denominator in atan2.
38254         * math/s_catanf.c (__catanf): Likewise.
38255         * math/s_catanh.c (__catanh): Likewise.
38256         * math/s_catanhf.c (__catanhf): Likewise.
38257         * math/s_catanhl.c (__catanhl): Likewise.
38258         * math/s_catanl.c (__catanl): Likewise.
38259         * math/libm-test.inc (catan_test): Add more tests.
38260         (catanh_test): Likewise.
38261         * sysdeps/i386/fpu/libm-test-ulps: Update.
38262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38264 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38266         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38268         * benchtests/Makefile (bench): Remove slow benchmarks.
38269         * benchtests/atan-inputs: Add slow benchmark inputs.
38270         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38271         (BENCH_FUNC): Accept variant offset.
38272         (VARIANT): Define.
38273         * benchtests/bench-skeleton.c (main): Run benchmark for each
38274         variant.
38275         * benchtests/cos-inputs: Add slow benchmark inputs.
38276         * benchtests/exp-inputs: Likewise.
38277         * benchtests/pow-inputs: Likewise.
38278         * benchtests/sin-inputs: Likewise.
38279         * benchtests/slowatan-inputs: Remove.
38280         * benchtests/slowatan.c: Remove.
38281         * benchtests/slowcos-inputs: Remove.
38282         * benchtests/slowcos.c: Remove.
38283         * benchtests/slowexp-inputs: Remove.
38284         * benchtests/slowexp.c: Remove.
38285         * benchtests/slowpow-inputs: Remove.
38286         * benchtests/slowpow.c: Remove.
38287         * benchtests/slowsin-inputs: Remove.
38288         * benchtests/slowsin.c: Remove.
38289         * benchtests/slowtan-inputs: Remove.
38290         * benchtests/slowtan.c: Remove.
38291         * benchtests/tan-inputs: Add slow benchmark inputs.
38292         * scripts/bench.pl: Parse comments and directives.
38294         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
38295         in CPPFLAGS.
38296         ($(objpfx)bench-%.c): Remove *-ITER.
38297         * benchtests/bench-modf.c: Remove definition of ITER.
38298         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38299         (main): Loop for DURATION seconds instead of fixed number of
38300         iterations.
38301         * scripts/bench.pl: Don't expect iterations in parameters.
38303 2013-04-29  Roland McGrath  <roland@hack.frob.com>
38305         * io/fchdir.c (__fchdir): Renamed from fchdir.
38306         (fchdir): Define as weak alias.
38308 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38310         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38311         (ERRNO_EDOM): Likewise.
38312         (ERRNO_ERANGE): Likewise.
38313         (noErrnoTests): New variable.
38314         (init_max_error): Set errno to 0.
38315         (test_single_errno): New function.
38316         (test_errno): Likewise.
38317         (check_float_internal): Call test_errno.  Set errno to 0.
38318         (check_complex): Refer to errno tests in comment.
38319         (check_int): Call test_errno.  Set errno to 0.
38320         (check_long): Likewise.
38321         (check_bool): Likewise.
38322         (check_longlong): Likewise.
38323         (cos_test): Use ERRNO_* flags for errno tests instead of
38324         check_int.
38325         (expm1_test): Likewise.
38326         (fmod_test): Likewise.
38327         (ilogb_test): Likewise.
38328         (lgamma_test): Likewise.
38329         (pow_test): Likewise.
38330         (remainder_test): Likewise.
38331         (sin_test): Likewise.
38332         (tan_test): Likewise.
38333         (yn_test): Likewise.
38334         (initialize): Set errno to 0.
38335         (main): Print number of errno tests.
38336         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38338 2013-04-29  Andreas Jaeger  <aj@suse.de>
38340         [BZ #15084]
38341         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38342         and RES_USEVC.
38344         [BZ #15085]
38345         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38346         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38347         unimplemented.
38349         [BZ #15380]
38350         * stdlib/random.c (__initstate): Return NULL if
38351         __initstate fails.
38353         [BZ #15086]
38354         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38355         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38356         RES_SNGLKUPREOP.
38358 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38362 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38364         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38365         of individual tests.
38366         (casin_test): Likewise.
38367         (casinh_test): Likewise.
38369 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
38371         [BZ #15409]
38372         * math/s_catan.c (__catan): Handle arguments with large real or
38373         imaginary part separately without squaring.
38374         * math/s_catanf.c (__catanf): Likewise.
38375         * math/s_catanh.c (__catanh): Likewise.
38376         * math/s_catanhf.c (__catanhf): Likewise.
38377         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38378         and redefine.
38379         (__catanhl): Handle arguments with large real or imaginary part
38380         separately without squaring.
38381         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38382         and redefine.
38383         (__catanl): Handle arguments with large real or imaginary part
38384         separately without squaring.
38385         * math/libm-test.inc (catan_test): Add more tests.
38386         (catanh_test): Likewise.
38387         * sysdeps/i386/fpu/libm-test-ulps: Update.
38388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38390 2013-04-27  Andreas Jaeger  <aj@suse.de>
38392         [BZ #15007]
38393         * stdlib/stdlib.h: Update guards for qecvt.
38394         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38395         <stdlib.h>.
38397 2013-04-27  Allan McRae  <allan@archlinux.org>
38399         * sysdeps/i386/fpu/libm-test-ulps: Update.
38401 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
38403         [BZ #15406]
38404         * math/s_catan.c: Include <float.h>.
38405         (__catan): Ensure underflow exception occurs for underflowed
38406         result.
38407         * math/s_catanf.c: Include <float.h>.
38408         (__catanf): Ensure underflow exception occurs for underflowed
38409         result.
38410         * math/s_catanh.c: Include <float.h>.
38411         (__catanh): Ensure underflow exception occurs for underflowed
38412         result.
38413         * math/s_catanhf.c: Include <float.h>.
38414         (__catanhf): Ensure underflow exception occurs for underflowed
38415         result.
38416         * math/s_catanhl.c: Include <float.h>.
38417         (__catanhl): Ensure underflow exception occurs for underflowed
38418         result.
38419         * math/s_catanl.c: Include <float.h>.
38420         (__catanl): Ensure underflow exception occurs for underflowed
38421         result.
38422         * math/libm-test.inc (catan_test): Add more tests.
38423         (catanh_test): Likewise.
38425         [BZ #15405]
38426         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38427         underflowed result.
38428         * math/s_ccoshf.c (__ccoshf): Likewise.
38429         * math/s_ccoshl.c (__ccoshl): Likewise.
38430         * math/s_csin.c (__csin): Likewise.
38431         * math/s_csinf.c (__csinf): Likewise.
38432         * math/s_csinh.c (__csinh): Likewise.
38433         * math/s_csinhf.c (__csinhf): Likewise.
38434         * math/s_csinhl.c (__csinhl): Likewise.
38435         * math/s_csinl.c (__csinl): Likewise.
38436         * math/libm-test.inc (ccos_test): Add more tests.
38437         (ccosh_test): Likewise.
38438         (csin_test): Likewise.
38439         (csinh_test): Likewise.
38441 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38443         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38444         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38445         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38446         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38447         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38448         powerpc/power5+/fpu folders.
38449         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38452 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38456 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
38458         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38459         additions to variable.
38460         [$(config-machine) = x86_64] (modules-names): Likewise.
38461         ($(objpfx)tst-audit3): Remove dependency.
38462         ($(objpfx)tst-audit3.out): Likewise.
38463         ($(objpfx)tst-audit4): Likewise.
38464         ($(objpfx)tst-audit4.out): Likewise.
38465         ($(objpfx)tst-audit5): Likewise.
38466         ($(objpfx)tst-audit5.out): Likewise.
38467         ($(objpfx)tst-audit6): Likewise.
38468         ($(objpfx)tst-audit6.out): Likewise.
38469         ($(objpfx)tst-audit7): Likewise.
38470         ($(objpfx)tst-audit7.out): Likewise.
38471         (tst-audit3-ENV): Remove variable.
38472         (tst-audit4-ENV): Likewise.
38473         (tst-audit5-ENV): Likewise.
38474         (tst-audit6-ENV): Likewise.
38475         (tst-audit7-ENV): Likewise.
38476         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38477         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38478         addition to variable.
38479         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38480         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38481         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38482         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38483         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38484         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38485         tst-audit3, tst-audit4 and tst-audit5.
38486         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38487         tst-audit6 and tst-audit7.
38488         [$(subdir) = elf] (modules-names): Add audit modules for those
38489         tests.
38490         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38491         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38492         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38493         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38494         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38495         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38496         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38497         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38498         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38499         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38500         [$(subdir) = elf] (tst-audit3-ENV): New variable.
38501         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38502         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38503         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38504         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38505         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38506         Likewise.
38507         [$(subdir) = elf && $(config-cflags-avx) = yes]
38508         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38509         [$(subdir) = elf && $(config-cflags-avx) = yes]
38510         (CFLAGS-tst-auditmod4a.c): Likewise.
38511         [$(subdir) = elf && $(config-cflags-avx) = yes]
38512         (CFLAGS-tst-auditmod4b.c): Likewise.
38513         [$(subdir) = elf && $(config-cflags-avx) = yes]
38514         (CFLAGS-tst-auditmod6b.c): Likewise.
38515         [$(subdir) = elf && $(config-cflags-avx) = yes]
38516         (CFLAGS-tst-auditmod6c.c): Likewise.
38517         [$(subdir) = elf && $(config-cflags-avx) = yes]
38518         (CFLAGS-tst-auditmod7b.c): Likewise.
38519         * elf/tst-audit3.c: Move to ...
38520         * sysdeps/x86_64/tst-audit3.c: ... here.
38521         * elf/tst-audit4.c: Move to ...
38522         * sysdeps/x86_64/tst-audit4.c: ... here.
38523         * elf/tst-audit5.c: Move to ...
38524         * sysdeps/x86_64/tst-audit5.c: ... here.
38525         * elf/tst-audit6.c: Move to ...
38526         * sysdeps/x86_64/tst-audit6.c: ... here.
38527         * elf/tst-audit7.c: Move to ...
38528         * sysdeps/x86_64/tst-audit7.c: ... here.
38529         * elf/tst-auditmod3a.c: Move to ...
38530         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38531         * elf/tst-auditmod3b.c: Move to ...
38532         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38533         * elf/tst-auditmod4a.c: Move to ...
38534         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38535         * elf/tst-auditmod4b.c: Move to ...
38536         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38537         * elf/tst-auditmod5a.c: Move to ...
38538         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38539         * elf/tst-auditmod5b.c: Move to ...
38540         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38541         * elf/tst-auditmod6a.c: Move to ...
38542         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38543         * elf/tst-auditmod6b.c: Move to ...
38544         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38545         * elf/tst-auditmod6c.c: Move to ...
38546         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38547         * elf/tst-auditmod7a.c: Move to ...
38548         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38549         * elf/tst-auditmod7b.c: Move to ...
38550         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38552 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
38554         [BZ #15366]
38555         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38556         define unconditionally.
38557         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38558         define unconditionally.
38559         (INT8_C, INT16_C, etc.): Likewise.
38561 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
38563         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38564         __ehdr_start with hidden visibility.
38566         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38568 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
38570         * math/libm-test.inc (cos_test): Use accurate hex constants.
38571         (sincost_test): Likewise.
38573 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
38575         * math/libm-test.inc (catan_test): Add more tests.
38576         (catanh_test): Likewise.
38578         * math/s_catanf.c (__catanf): Use suffixed floating-point
38579         constants.
38580         * math/s_catanhf.c (__catanhf): Likewise.
38581         * math/s_catanhl.c (__catanhl): Likewise.
38582         * math/s_catanl.c (__catanl): Likewise.
38584         [BZ #15394]
38585         * math/s_catan.c (__catan): Calculate imaginary part of result
38586         with log1p not log unless computing log of number close to 0.
38587         * math/s_catanf.c (__catanf): Likewise.
38588         * math/s_catanl.c (__catanl): Likewise.
38589         * math/s_catanh.c (__catanh): Calculate real part of result with
38590         log1p not log unless computing log of number close to 0.
38591         * math/s_catanhf.c (__catanhf): Likewise.
38592         * math/s_catanhl.c (__catanhl): Likewise.
38593         * math/libm-test.inc (catan_test): Add more tests.
38594         (catanh_test): Likewise.
38595         * sysdeps/i386/fpu/libm-test-ulps: Update.
38596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38598 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38600         * benchtests/Makefile: Mention files in which fast and slow
38601         paths of math functions are implemented.
38603 2013-04-23  Roland McGrath  <roland@hack.frob.com>
38605         * sysdeps/posix/timespec_get.c: New file.
38607 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38609         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38610         POWER.
38611         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38612         for POWER.
38613         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38614         powerpc/power5/fpu folders.
38615         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38616         * benchtests/Makefile: Add modf testcase.
38617         * benchtests/bench-modf.c: New file: Benchmark test for mo
38619 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38621         [BZ #14888]
38622         * time/Makefile (tests): Add tst-strptime-whitespace.
38623         * time/strptime_l.c (get_number): Use ISSPACE.
38624         (__strptime_internal): Likewise.
38625         * time/tst-strptime-whitespace.c: New test case.
38627 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
38629         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38630         member.
38631         (_nss_files_init): Set it here.
38633 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
38635         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38636         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38637         unsigned.
38639 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
38641         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38643 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38645         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38646         size just once.
38648 2013-04-21  David S. Miller  <davem@davemloft.net>
38650         * po/ru.po: Update Russion translation from translation project.
38652 2013-04-17  Adam Conrad  <adconrad@0c3.net>
38654         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38655         and setfsgid.
38657 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
38659         * configure.in: Remove i386 configure warning. Remove i386 case.
38660         * configure: Regenerate.
38661         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38662         Add example to error message.
38663         * sysdeps/i386/configure: Regenerate.
38665 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38667         * benchtests/Makefile (bench): Add cos, tan, slowcos and
38668         slowtan.
38669         * benchtests/cos-inputs: New file.
38670         * benchtests/slowcos-inputs: New file.
38671         * benchtests/slowcos.c: New file.
38672         * benchtests/slowtan-inputs: New file.
38673         * benchtests/slowtan.c: New file.
38674         * benchtests/tan-inputs: New file.
38676 2013-04-16  Roland McGrath  <roland@hack.frob.com>
38678         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38679         considered kosher.
38681 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38683         * benchtests/Makefile: Include cppflags-iterator.mk to add
38684         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38686         * Makefile.in (bench-clean): New target.
38687         * benchtests/Makefile (bench-clean): Likewise.
38689 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
38691         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38693 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
38695         * stdio-common/tstdiomisc.c: Fix coding-style violation.
38697 2013-04-15  Andreas Schwab  <schwab@suse.de>
38699         * nscd/grpcache.c (cache_addgr): Properly check for short write.
38700         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38701         * nscd/pwdcache.c (cache_addpw): Likewise.
38702         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
38703         more than recsize.
38705 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38707         * benchtests/Makefile (bench): Write all output to
38708         bench-out.tmp together.
38710 2013-04-15  Andreas Schwab  <schwab@suse.de>
38712         * nscd/nscd.c (main): Don't fork again after closing files.
38714 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38716         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38718         * benchtests/Rules (bench-deps): Collect dependencies into a
38719         single variable.  Add Makefile to dependencies.
38720         ($(objpfx)bench-%.c): Depend on bench-deps.
38722 2013-04-12  Roland McGrath  <roland@hack.frob.com>
38723             Xavier Roche  <roche+kml2@exalead.com>
38725         [BZ #15361]
38726         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38727         just that it's a file descriptor.
38728         * manual/llio.texi (Synchronizing AIO Operations): Update description
38729         for EBADF error from aio_fsync.
38731 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38733         * Rules (bench): Move target definition...
38734         * benchtests/Makefile: ... here.
38736 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
38738         * math/libm-test.inc (cos_test): Fix PI/2 test.
38739         (sincos_test): Likewise.
38740         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38741         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38743 2013-04-11  Andreas Schwab  <schwab@suse.de>
38745         [BZ #13988]
38746         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38747         accept exponent character only when digits were seen.
38748         * stdio-common/Makefile (tests): Add bug26.
38749         * stdio-common/bug26.c: New file.
38751         [BZ #14293]
38752         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38753         non-freeable.
38755 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38757         * Makeconfig (rtld-prefix): Define built linker prefix.
38758         * Rules (run-bench): Use it.
38759         * math/Makefile (run-regen-ulps): Likewise.
38761         * Rules (bench): Remove eval.
38763 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38764             Roland McGrath  <roland@hack.frob.com>
38765             Ondrej Bilka  <neleai@seznam.cz>
38767         [BZ #15346]
38768         * time/getdate.c: Include ctype.h and alloca.h.
38769         (__getdate_r): Trim leading and trailing spaces of input.
38770         * time/tst-getdate.c (tests): Add tests with leading and
38771         trailing spaces.
38773 2013-04-08  Roland McGrath  <roland@hack.frob.com>
38775         [BZ #14280]
38776         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38777         when computing value.
38779 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38781         * math/README.libm-test (How can I generate "libm-test-ulps"?):
38782         Use testrun.sh to run libm tests.
38784         [BZ #15309]
38785         * elf/dl-open.c (dl_open_worker): memset all of seen array.
38787 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
38789         [BZ #15264]
38790         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38792 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38794         * Makefile.in (regen-ulps): New target.
38795         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38796         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38797         [ifneq (no,$(PERL)] (regen-ulps): New target.
38798         [ifeq (no,$(PERL)] (regen-ulps): New target.
38799         * math/libm-test.inc (ulps_file_name): Define.
38800         (output_dir): New variable.
38801         (options): Add "output-dir" option.
38802         (parse_opt): Handle 'o' case.
38803         (main): If output_dir is non-NULL use it as a prefix
38804         otherwise use "".
38805         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38807 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38809         [BZ #10060, #10062]
38810         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38811         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38812         fail configure if __sync_val_compare_and_swap is not inlined.
38813         * sysdeps/i386/configure: Regenerate.
38814         * configure.in: Build for i686 when configured for i386.
38815         * configure: Regenerate.
38816         * README: Remove i386 reference.
38818 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
38820         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38821         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38823 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38825         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38826         (lmsnanval): New variables.
38827         (F): Add conversion tests.
38828         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38829         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38831         * stdio-common/tstdiomisc.c (F): Properly collect individual
38832         tests' results.
38834         [BZ #14686, #15336]
38835         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38836         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38837         Instead, use input NaN values or generate a qNaN by arithmetic
38838         operation.  Also fix bugs to comply with the standard.
38839         * math/libm-test.inc (remainder_test): Add more tests.
38841         [BZ #15335, #15342]
38842         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38843         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38844         input NaN values or generate a qNaN by arithmetic operation.
38846         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38847         unreachable code.
38849         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38850         definitions.
38852 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
38854         [BZ #14478]
38855         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38856         underflowed result.
38857         * math/s_cexpf.c (__cexpf): Likewise.
38858         * math/s_cexpl.c (__cexpl): Likewise.
38859         * math/libm-test.inc (cexp_test): Add more tests.
38861 2013-04-03  Andreas Schwab  <schwab@suse.de>
38863         [BZ #15330]
38864         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38865         order arrays from heap if bigger than alloca cutoff.
38867 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
38869         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38870         (SNAN_TESTS_double): Refer to GCC PR56831.
38871         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38872         GCC PR56828.
38874 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38876         * Rules (bench): Move bench.out after the run is complete.
38878         * Rules (bench): Echo currently running benchmark.
38880         * benchtests/Makefile (bench): Add atan and slowatan.
38881         * benchtests/atan-inputs: New file.
38882         * benchtests/slowatan-inputs: New file.
38883         * benchtests/slowatan.c: New file.
38885         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38886         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38887         its value.
38889         [BZ #15305]
38890         * sysdeps/unix/sysv/linux/kernel-features.h
38891         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38892         __ASSUME_XFS_RESTRICTED_CHOWN.
38893         * sysdeps/unix/sysv/linux/pathconf.c
38894         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38895         Save and restore errno.
38897 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
38899         [BZ #15327]
38900         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38901         arguments using __kernel_casinh.
38902         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38903         arguments using __kernel_casinhf.
38904         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38905         arguments using __kernel_casinhl.
38906         * math/libm-test.inc (cacosh_test): Add more tests.
38907         * sysdeps/i386/fpu/libm-test-ulps: Update.
38908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38910 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38912         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38913         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38915         * bench/Makefile (bench): Add sin and slowsin.
38916         * benchtests/sin-inputs: New file.
38917         * benchtests/slowsin-inputs: New file.
38918         * benchtests/slowsin.c: New file.
38920         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38921         (bench): Add slowexp and slowpow.
38922         (exp-ITER): Increase iterations.
38923         (pow-ITER): Likewise.
38924         * benchtests/exp-inputs: Change input.
38925         * benchtests/pow-inputs: Likewise.
38926         * benchtests/slowexp-inputs: New file.
38927         * benchtests/slowexp.c: New file.
38928         * benchtests/slowpow-inputs: New file.
38929         * benchtests/slowpow.c: New file.
38931 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38933         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38934         instructions.
38935         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38936         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38937         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38938         * benchtests/Makefile: Add rint benchtest.
38939         * benchtests/rint-inputs: Input for rint benchtest.
38941 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38943         * Versions.def (libm): Add GLIBC_2.18.
38944         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38945         hidden libm prototypes.
38946         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38947         * math/Makefile (libm-calls): Add s_issignaling.
38948         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38949         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
38950         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38951         declaration.
38952         * math/math.h [__USE_GNU] (issignaling): New macro.
38953         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38954         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38955         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38956         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38958         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38959         * manual/arith.texi (issignaling): New section.
38960         * manual/libm-err-tab.pl (@all_functions): Update comment.
38961         * math/gen-libm-test.pl (parse_args): Apply special handling for
38962         issignaling.
38963         * math/libm-test.inc (print_float, issignaling_test): New
38964         functions.
38965         (check_float_internal): Add issignaling checks.
38966         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38967         default definition.
38968         * sysdeps/powerpc/math-tests.h: New file.
38969         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38970         tests.
38971         * math/test-snan.c (TEST_FUNC): Likewise.
38973 2013-03-30  David S. Miller  <davem@davemloft.net>
38975         * po/de.po: Update from translation team.
38977 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
38979         [BZ #10357]
38980         * math/k_casinh.c (__kernel_casinh): Handle arguments with
38981         imaginary part less than 1.0 and real part less than 0.5
38982         specially.
38983         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38984         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38985         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38986         (cacos_test): Add more tests.
38987         (casin_test): Likewise.
38988         (casinh_test): Likewise.
38989         * sysdeps/i386/fpu/libm-test-ulps: Update.
38990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38992 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38994         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38995         ONE with its value.
38997         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38998         (__pow_mp): Replace ONE and MONE with their values.
38999         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39000         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
39001         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39002         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
39003         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39004         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39006         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
39008         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
39009         (__pow_mp): Replace ZERO and MZERO with their values.
39010         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39011         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39012         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39013         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39014         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39015         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
39016         (__sqr): Likewise.
39018         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
39020         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
39022 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39024         * include/stdlib.h [!SHARED] (__call_tls_dtors):
39025         Declare with __attribute__ ((weak)).
39026         * stdlib/exit.c (__libc_atexit) [!SHARED]:
39027         Call __call_tls_dtors only if it's not NULL.
39029 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39031         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39032         didn't do it already, then set _dl_phdr and _dl_phnum based on the
39033         magic __ehdr_start linker symbol if it's defined.
39034         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39035         them up here if it was already done.
39037         * elf/dl-support.c (_dl_phdr): Make pointer to const.
39038         (_dl_aux_init): Use const in cast when setting it.
39039         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39040         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39041         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39043         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39044         Declare them here.
39045         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39046         * csu/libc-tls.c: Nor here.
39047         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39049         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39050         (__libc_message): Never call vsyslog.
39052 2013-03-28  Alan Modra  <amodra@gmail.com>
39054         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39055         Define as empty.
39056         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39057         Likewise.
39059 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39061         [BZ #15214]
39062         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39063         underflow.
39064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39066 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39068         [BZ #15304]
39069         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39070         Don't add gid passed as argument.
39072         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39074 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
39076         [BZ #15307]
39077         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39078         imaginary part between 1.0 and 1.5 and real part less than 0.5
39079         specially.
39080         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39081         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39082         * math/libm-test.inc (cacos_test): Add more tests.
39083         (casin_test): Likewise.
39084         (casinh_test): Likewise.
39085         * sysdeps/i386/fpu/libm-test-ulps: Update.
39086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39088 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39090         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39091         constants.
39092         (norm): Likewise.
39093         (denorm): Likewise.
39094         (__dbl_mp): Likewise.
39095         (add_magnitudes): Likewise.
39096         (sub_magnitudes): Likewise.
39097         (__add): Likewise.
39098         (__sub): Likewise.
39099         (__mul): Likewise.
39100         (__sqr): Likewise.
39101         (__inv): Likewise.
39102         (__dvd): Likewise.
39104         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39105         commented code.
39106         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39107         (__dubcos): Likewise.
39108         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39109         (__ieee754_acos): Likewise.
39110         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39111         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39112         (__exp1): Likewise.
39113         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39114         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39115         (log1): Likewise.
39116         (my_log2): Likewise.
39117         (checkint): Likewise.
39118         * sysdeps/ieee754/dbl-64/e_remainder.c
39119         (__ieee754_remainder): Likewise.
39120         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39121         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39122         (bsloww): Likewise.
39123         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39125         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39126         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39127         MANTISSA_STORE_T to store computations on mantissa.  Use
39128         macros for rounding and division.
39129         (denorm): Likewise.
39130         (__dbl_mp): Likewise.
39131         (add_magnitudes): Likewise.
39132         (sub_magnitudes): Likewise.
39133         (__mul): Likewise.
39134         (__sqr): Likewise.
39135         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39136         powers of two in terms of TWOPOW macro.
39137         (mp_no): Make type of mantissa as MANTISSA_T.
39138         [!RADIXI]: Define RADIXI.
39139         [!TWO52]: Define TWO52.
39140         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39142 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39144         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39145         llroundl symbol when building for PPC32.
39147 2013-03-24  Mark H Weaver  <mhw@netris.org>
39149         * manual/arith.texi (Normalization Functions): Fix prototypes for
39150         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39152 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39154         [BZ #13889]
39155         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39156         high value to check if expl overflow.
39157         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39158         to check for underflow and overflow.
39159         * math/libm-test.inc: Add exp test.
39161 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
39163         [BZ #11120]
39164         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39165         with NOT_IN_libc.
39167 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39169         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39170         symbol.
39172 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39174         * math/gen-libm-test.pl (parse_args, special_functions): Properly
39175         wrap blocks consisting of several statements.
39177         * sysdeps/generic/math-tests.h: New file.
39178         * sysdeps/i386/fpu/math-tests.h: Likewise.
39179         * math/test-snan.c: Include it.
39180         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39182 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39184         [BZ #15285]
39185         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39186         (__ieee754_j0l): Do not improve calculations using cos of twice
39187         input for inputs above LDBL_MAX / 2.0L.
39188         (__ieee754_y0l): Likewise.
39189         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39190         (__ieee754_j1l): Do not improve calculations using cos of twice
39191         input for inputs above LDBL_MAX / 2.0L.
39192         (__ieee754_y1l): Likewise.
39193         * math/libm-test.inc (j0_test): Add another test.
39194         (j1_test): Likewise.
39195         (y0_test): Likewise.
39196         (y1_test): Likewise.
39197         * sysdeps/i386/fpu/libm-test-ulps: Update.
39199 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39201         * Rules ($(objpfx)bench-%.c): Include code from a C source
39202         file.
39204 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39206         [BZ #15287]
39207         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39208         imaginary part 1.0 and real part less than 0.5 specially.
39209         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39210         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39211         * math/libm-test.inc (cacos_test): Add more tests.
39212         (casin_test): Likewise.
39213         (casinh_test): Likewise.
39214         * sysdeps/i386/fpu/libm-test-ulps: Update.
39215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39217 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39219         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39220         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39222 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
39224         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39225         * config.make.in (config-cflags-sse4): Remove variable.
39226         (config-cflags-avx): Likewise.
39227         (config-cflags-sse2avx): Likewise.
39228         (config-cflags-novzeroupper): Likewise.
39229         (config-asflags-i686): Likewise.
39230         (have-mfma4): Likewise.
39231         (have-as-vis3): Likewise.
39232         (MIG): Likewise.
39233         * configure.in (MIG): Do not AC_SUBST.
39234         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39235         (libc_cv_cc_sse4): Do not AC_SUBST.
39236         (libc_cv_cc_avx): Likewise.
39237         (libc_cv_cc_sse2avx): Likewise.
39238         (libc_cv_cc_novzeroupper): Likewise.
39239         (libc_cv_cc_fma4): Likewise.
39240         (libc_cv_as_i686): Likewise.
39241         (libc_cv_sparc_as_vis3): Likewise.
39242         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39243         LIBC_CONFIG_VAR.
39244         (config-asflags-i686): Likewise.
39245         (config-cflags-avx): Likewise.
39246         (config-cflags-sse2avx): Likewise.
39247         (have-mfma4): Likewise.
39248         (config-cflags-novzeroupper): Likewise.
39249         * sysdeps/mach/configure.in (MIG): Likewise.
39250         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39251         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39252         LIBC_CONFIG_VAR.
39253         (config-cflags-avx): Likewise.
39254         (config-cflags-sse2avx): Likewise.
39255         (have-mfma4): Likewise.
39256         (config-cflags-novzeroupper): Likewise.
39257         * configure: Regenerated.
39258         * sysdeps/i386/configure: Likewise.
39259         * sysdeps/mach/configure: Likewise.
39260         * sysdeps/sparc/configure: Likewise.
39261         * sysdeps/x86_64/configure: Likewise.
39263 2013-03-20  Roland McGrath  <roland@hack.frob.com>
39265         [BZ #14812]
39266         * locale/programs/localedef.c (options): Put N_ translation marker
39267         on argument names, not just descriptions.
39269 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39271         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39273 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
39275         [BZ #14176]
39276         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39278 2013-03-19  Roland McGrath  <roland@hack.frob.com>
39280         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39281         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39282         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39283         [!BEFORE_ABORT] (before_abort): New function.
39284         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39285         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39286         (writev_for_fatal): New function.
39287         (WRITEV_FOR_FATAL): New macro; call that.
39288         (backtrace_and_maps): New function.
39289         (BEFORE_ABORT): New macro; call that.
39290         (struct str_list): Type removed.
39291         (__libc_message, __libc_fatal): Functions removed.
39292         Include <sysdeps/posix/libc_fatal.c> instead.
39294 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
39296         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39297         constants.
39298         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39299         double constants.
39301 2013-03-19  Andreas Schwab  <schwab@suse.de>
39303         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39304         * sysdeps/gnu/configure: Regenerate.
39306         * configure.in: Substitute libc_cv_rtlddir.
39307         * configure: Regenerate.
39308         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39309         * Makeconfig (rtlddir, inst_rtlddir): New variables.
39310         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39311         * elf/Makefile (install-others, CFLAGS-interp.c)
39312         (ldso_install, common-ldd-rewrite): Likewise.
39313         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39314         $(inst_slibdir)/$(rtld-installed-name).
39315         * scripts/rellns-sh: Add -p option.
39316         * Makerules (make-shlib-link): Use rellns-sh to get relative name
39317         for source.
39319 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39321         * manual/nptl.texi: Renamed to ...
39322         * manual/threads.texi: ... this.
39323         * manual/Makefile (chapters): Update.
39325 2013-03-18  Roland McGrath  <roland@hack.frob.com>
39327         [BZ #14812]
39328         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39329         on argument names, not just descriptions.
39330         * malloc/memusagestat.c (options): Likewise.
39331         * nss/getent.c (options): Likewise.
39333 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
39335         [BZ #14812]
39336         * iconv/iconv_prog.c (options): Put N_ translation marker
39337         on argument names, not just descriptions.
39338         * iconv/iconvconfig.c (options): Likewise.
39340 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
39342         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39343         implementation which is faster on all x86_64 architectures.
39344         Tested on AMD, Intel Nehalem, SNB, IVB.
39345         * sysdeps/x86_64/strnlen.S: Likewise.
39347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39348         Remove all multiarch strlen and strnlen versions.
39349         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39350         Remove strlen and strnlen related parts.
39352         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39353         Inline strlen part.
39354         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39356         * sysdeps/x86_64/multiarch/strlen.S: Remove.
39357         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39358         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39359         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39360         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39361         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39363 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
39365         * manual/memory.texi (Malloc Tunable Parameters):
39366         Sort parameters alphabetically. Add comments for missing entries.
39368 2013-03-17  David S. Miller  <davem@davemloft.net>
39370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39372 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
39374         [BZ #15283]
39375         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39376         for arguments at most half maximum finite value.
39377         * math/libm-test.inc (j0_test): Add more tests.
39378         (j1_test): Likewise.
39379         (y0_test): Likewise.
39380         (y1_test): Likewise.
39381         * sysdeps/i386/fpu/libm-test-ulps: Update.
39382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39384         [BZ #14155]
39385         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39386         1 / x and functions P and Q for arguments above 0x1p256L.
39387         (__ieee754_y0l): Likewise.
39388         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39389         (__ieee754_y1l): Likewise.
39390         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39391         (j1_test): Likewise.
39392         (y0_test): Likewise.
39393         (y1_test): Likewise.
39395 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
39397         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39398         variable.
39400 2013-03-15  Roland McGrath  <roland@hack.frob.com>
39402         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39403         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39404         zero since it's initialized to EXEC_PAGESIZE.
39406         * sysdeps/unix/sysv/linux/ldsodefs.h
39407         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39408         * sysdeps/generic/ldsodefs.h: ... here.
39410 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
39412         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39414         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39415         math/test-snan.c.
39416         * math/test-snan.c: Renamed from
39417         sysdeps/powerpc/fpu/test-powerpc-snan.c.
39418         * math/Makefile (tests): Add test-snan.
39419         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39420         test-powerpc-snan.
39422         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39423         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
39424         functions.
39425         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
39426         __builtin_nan family of functions.
39427         * math/libm-test.inc (initialize): Initialize qnan_value with
39428         __builtin_nan family of functions.
39429         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39430         Remove variables.
39431         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39432         Remove functions.
39433         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
39434         storage class.  Initialize qNaN_var and sNaN_var with
39435         __builtin_nan and __builtin_nans families of functions,
39436         respectively.
39438         * math/libm-test.inc (acosh_test): Also test with qNaN input.
39439         (sqrt_test): Remove duplicate test with qNaN input.
39440         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39441         (round_test, signbit_test, significand_test): Note missing +/-Inf
39442         as well as qNaN tests.
39444         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39445         qNaN_var.  Fix a few strings, too.
39446         * math/libm-test.inc (nan_value): Rename to qnan_value.
39447         * math/gen-libm-test.pl (%beautify): Adjust to that.
39448         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39449         * math/test-misc.c (main): Likewise.
39450         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39451         to __qnan_bytes, and __qnan_union, respectively.
39452         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39453         Likewise.
39454         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39455         and lqnanval, respectively.
39456         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39457         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39458         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39459         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39461         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39462         * math/test-misc.c (main) [__x86_64__]: Enable test for long
39463         doubles.
39465         * math/test-misc.c (main): Fix copy'n'pastos.
39466         * misc/tst-efgcvt.c (special): Likewise.
39468         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39469         Remove declarations.
39471 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39473         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39474         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39475         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39476         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39478 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39480         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39481         macro to return vdso values correctly in IFUNC implementations.
39482         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39483         Optimization by using IFUNC.
39485 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39486             Richard Henderson  <rth@redhat.com>
39487             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39489         * Makefile.in (bench): New target.
39490         * NEWS: Mention the benchmark framework.
39491         * Rules (bench): Likewise.
39492         (binaries-bench): Generate binaries for functions to
39493         benchmark.
39494         * benchtests/Makefile: New makefile for benchmark tests.
39495         * benchtests/bench-skeleton.c: New skeleton file for benchmark
39496         programs.
39497         * benchtests/exp-inputs: New input file for EXP function.
39498         * benchtests/pow-inputs: New input file for POW function.
39499         * scripts/bench.pl: New script to generate source files for
39500         benchmark programs.
39502 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39504         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39505         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39506         computations on mantissa.  Use macros for rounding and
39507         division.
39508         (denorm): Likewise.
39509         (__dbl_mp): Likewise.
39510         (add_magnitudes): Likewise.
39511         (sub_magnitudes): Likewise.
39512         (__mul): Likewise.
39513         (__sqr): Likewise.
39514         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39515         powers of two in terms of TWOPOW macro.
39516         (mp_no): Make type of mantissa as MANTISSA_T.
39517         [!RADIXI]: Define RADIXI.
39518         [!TWO52]: Define TWO52.
39519         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39521         * manual/nptl.texi (cindex): Modify threads to pthreads.
39523 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
39525         * sysdeps/x86_64/preconfigure: Regenerated.
39527 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
39529         [BZ #14155]
39530         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39531         0x1p28 and above.
39532         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39533         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39534         0x1p28 and above.
39535         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39536         * math/libm-test.inc (j0_test): Do not allow one spurious
39537         underflow exception.
39538         (y1_test): Likewise.
39540 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39542         * manual/Makefile (chapters): Add nptl.
39543         * manual/debug.texi (Debugging Support): Add link to Threads
39544         chapter.
39545         * manual/nptl.texi: New file.
39547         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39549 2013-03-14  Petr Baudis  <pasky@ucw.cz>
39551         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39552         for non-NULL pointer before the memory validity test. Pointed
39553         out by Holger Brunck <holger.brunck@keymile.com>.
39555 2013-03-13  Andreas Schwab  <schwab@suse.de>
39557         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39558         instead of .os.
39560 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
39562         * timezone/zic.c: Update from tzcode 2013b.
39564 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
39566         * manual/install.texi (Configuring and compiling):
39567         Mention i686 and i586.
39568         * INSTALL: Regenerate.
39570 2013-03-12  Roland McGrath  <roland@hack.frob.com>
39572         * sysdeps/init_array/elf-init.c: New file.
39573         * csu/elf-init.c
39574         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39575         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39577         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39578         __gmon_start__ as global, but as static with a .preinit_array pointer.
39579         * sysdeps/init_array/gmon-start.c: New file.  Use that.
39580         * sysdeps/init_array/crti.S: New file, empty except for comments.
39581         * sysdeps/init_array/crtn.S: Likewise.
39583 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
39585         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39586         definining bcopy.
39587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39588         Remove Prefer_SSE_for_memop.
39589         * sysdeps/x86_64/multiarch/init-arch.h: Remove
39590         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39591         HAS_PREFER_SSE_FOR_MEMOP.
39592         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39593         memset-x86-64.
39594         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39595         Remove bzero, memset ifunc support.
39596         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39597         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39598         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39599         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39601 2013-03-11  Andreas Schwab  <schwab@suse.de>
39603         [BZ #15234]
39604         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39605         by SHLIB_COMPAT.
39606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39607         (GLIBC_2.16): Remove pthread_atfork.
39609 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39611         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39612         (ptestcases.h): Likewise.
39614 2013-03-08  Roland McGrath  <roland@hack.frob.com>
39616         * Makeconfig ($(common-objpfx)config.status): Depend on
39617         sysdeps/*/preconfigure{,.in} too.
39619 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
39621         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39622         (__free_hook): Use void * instead of __malloc_ptr_t.
39623         (__malloc_hook): Likewise.
39624         (__realloc_hook): Likewise.
39625         (__memalign_hook): Likewise.
39626         (__after_morecore_hook): Likewise.
39627         * malloc/arena.c (save_malloc_hook): Likewise.
39628         (save_free_hook): Likewise.
39629         * malloc/hooks.c (malloc_hook_ini): Likewise.
39630         (realloc_hook_ini): Likewise.
39631         (memalign_hook_ini): Likewise.
39632         * malloc/malloc.c (malloc_hook_ini): Likewise.
39633         (realloc_hook_ini): Likewise.
39634         (memalign_hook_ini): Likewise.
39635         (__free_hook): Likewise.
39636         (__malloc_hook): Likewise.
39637         (__realloc_hook): Likewise.
39638         (__memalign_hook): Likewise.
39639         (__libc_malloc): Likewise.
39640         (__libc_free): Likewise.
39641         (__libc_realloc): Likewise.
39642         (__libc_memalign): Likewise.
39643         (__libc_valloc): Likewise.
39644         (__libc_pvalloc): Likewise.
39645         (__libc_calloc): Likewise.
39646         (__posix_memalign): Likewise.
39647         * malloc/morecore.c (__sbrk): Likewise.
39648         (__default_morecore): Likewise.
39650         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39652         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39653         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39654         __malloc_ptrdiff_t.
39656         * malloc/malloc.h (__malloc_size_t): Remove macro.
39657         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39658         __malloc_size_t.
39659         (old_memalign_hook): Likewise.
39660         (old_realloc_hook): Likewise.
39661         (struct hdr): Likewise.
39662         (flood): Likewise.
39663         (mallochook): Likewise.
39664         (memalignhook): Likewise.
39665         (reallochook): Likewise.
39666         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39667         (tr_old_realloc_hook): Likewise.
39668         (tr_old_memalign_hook): Likewise.
39669         (tr_mallochook): Likewise.
39670         (tr_reallochook): Likewise.
39671         (tr_memalignhook): Likewise.
39673 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39676         default_ldbl_pack and using as default implementation.
39677         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39678         implementation.
39679         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39680         redundant definition.
39681         (ldbl_insert_mantissa): Likewise.
39682         (ldbl_canonicalize): Likewise.
39683         (ldbl_nearbyint): Likewise.
39684         (ldbl_pack): Rename to ldbl_pack_ppc.
39685         (ldbl_unpack): Rename to ldbl_unpack_ppc.
39686         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39687         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39689 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39692         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39693         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39694         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39696         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39697         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39698         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39700 2013-03-07  Andreas Jaeger  <aj@suse.de>
39702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39703         bits/mman-linux.h.
39705 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39707         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39708         Include mpa.h and declare __MPEXP.
39709         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39710         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39711         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39712         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39713         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39714         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39715         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39717         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39718         (__slowpow): Use long double EXPL and LOGL functions to
39719         compute POW.
39720         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39721         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39722         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39723         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39724         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39725         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39728         intermediate variable to calculate exponent.
39729         (__sqr): Likewise.
39730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39731         Likewise.
39732         (__sqr): Likewise.
39734         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39735         [!NO__SQR]: Define __sqr.
39736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39737         and NO__SQR.  Remove all code except __mul and __sqr.  Include
39738         sysdeps/ieee754/dbl-64/mpa.c.
39739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39741         [BZ #12723]
39742         * posix/Makefile (tests): Add tst-pathconf.
39743         * posix/tst-pathconf.c: New test case.
39744         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39745         _PC_PIPE_BUF.
39746         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39748 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
39750         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39752 2013-03-06  Andreas Jaeger  <aj@suse.de>
39754         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39755         definition via __MAP_ANONYMOUS.
39757         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39758         it's not part of Linux headers.
39760         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39761         (MAP_HUGE_MASK): Define.
39763         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39764         Define.
39765         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39766         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39767         Define.
39768         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39769         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39770         Define.
39771         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39772         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39773         Define.
39774         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39776         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39777         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39778         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39779         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39780         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39781         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39783         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39784         Handle f2fs.
39786         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39787         Handle f2fs and efivarfs.
39789         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39790         f2fs.
39792         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39793         (EFIVARFS_MAGIC): Add.
39794         (F2FS_LINK_MAX): Add.
39796 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39798         * stdio-common/vfprintf.c: Replace __builtin_expect with
39799         __glibc_unlikely.
39801 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
39803         [BZ #13550]
39804         * sysdeps/generic/bp-sym.h: Remove file.
39805         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39806         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39807         <bp-sym.h> and <bp-asm.h>.
39808         (__longjmp): Don't use BP_SYM.
39809         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39810         and <bp-asm.h>.
39811         (memcpy): Don't use BP_SYM.
39812         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39813         <bp-sym.h> and <bp-asm.h>.
39814         (memcpy): Don't use BP_SYM.
39815         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39816         <bp-asm.h>.
39817         (memcpy): Don't use BP_SYM.
39818         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39819         <bp-asm.h>.
39820         (memset): Don't use BP_SYM.
39821         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39822         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39823         (__bzero): Don't use BP_SYM.
39824         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39825         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39826         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39827         <bp-sym.h> and <bp-asm.h>.
39828         (memcmp): Don't use BP_SYM.  Remove comment about bounded
39829         pointers.
39830         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39831         <bp-sym.h> and <bp-asm.h>.
39832         (memcpy): Don't use BP_SYM.
39833         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39834         <bp-sym.h> and <bp-asm.h>.
39835         (memset): Don't use BP_SYM.
39836         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39837         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39838         (__bzero): Don't use BP_SYM.
39839         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39840         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39841         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39842         <bp-sym.h> and <bp-asm.h>.
39843         (strncmp): Don't use BP_SYM.  Remove comment about bounded
39844         pointers.
39845         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39846         <bp-sym.h> and <bp-asm.h>.
39847         (memcpy): Don't use BP_SYM.
39848         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39849         <bp-sym.h> and <bp-asm.h>.
39850         (memset): Don't use BP_SYM.
39851         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39852         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39853         (__bzero): Don't use BP_SYM.
39854         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39855         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39856         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39857         <bp-sym.h> and <bp-asm.h>.
39858         (__memchr): Don't use BP_SYM.
39859         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39860         <bp-sym.h> and <bp-asm.h>.
39861         (memcmp): Don't use BP_SYM.  Remove comment about bounded
39862         pointers.
39863         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39864         <bp-sym.h> and <bp-asm.h>.
39865         (memcpy): Don't use BP_SYM.
39866         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39867         <bp-sym.h> and <bp-asm.h>.
39868         (__mempcpy): Don't use BP_SYM.
39869         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39870         <bp-sym.h> and <bp-asm.h>.
39871         (__memrchr): Don't use BP_SYM.
39872         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39873         <bp-sym.h> and <bp-asm.h>.
39874         (memset): Don't use BP_SYM.
39875         (__bzero): Likewise.
39876         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39877         <bp-sym.h> and <bp-asm.h>.
39878         (__rawmemchr): Don't use BP_SYM.
39879         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39880         <bp-sym.h> and <bp-asm.h>.
39881         (__STRCMP): Don't use BP_SYM.
39882         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39883         <bp-sym.h> and <bp-asm.h>.
39884         (strchr): Don't use BP_SYM.
39885         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39886         <bp-sym.h> and <bp-asm.h>.
39887         (__strchrnul): Don't use BP_SYM.
39888         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39889         <bp-sym.h> and <bp-asm.h>.
39890         (strlen): Don't use BP_SYM.
39891         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39892         <bp-sym.h> and <bp-asm.h>.
39893         (strncmp): Don't use BP_SYM.  Remove comment about bounded
39894         pointers.
39895         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39896         <bp-sym.h> and <bp-asm.h>.
39897         (__strnlen): Don't use BP_SYM.
39898         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39899         <bp-sym.h> and <bp-asm.h>.
39900         (__GI__setjmp): Don't use BP_SYM.
39901         (_setjmp): Likewise.
39902         (__sigsetjmp): Likewise.
39903         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39904         (L(start_addresses)): Don't use BP_SYM.
39905         (_start): Likewise.
39906         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39907         <bp-asm.h>.
39908         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39909         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39910         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39911         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39912         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39913         <bp-asm.h>.
39914         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39915         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
39916         about bounded pointers.
39917         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39918         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39919         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39920         <bp-asm.h>.
39921         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
39922         about bounded pointers.  Remove GKM FIXME comments.
39923         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39924         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39925         <bp-asm.h>.
39926         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39927         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
39928         Remove GKM FIXME comments.
39929         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39930         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39931         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39932         <bp-asm.h>.
39933         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
39934         about bounded pointers.  Remove GKM FIXME comment.
39935         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39936         and <bp-asm.h>.
39937         (strncmp): Don't use BP_SYM.  Remove comment about bounded
39938         pointers.
39939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39940         <bp-sym.h> and <bp-asm.h>.
39941         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39943         <bp-sym.h> and <bp-asm.h>.
39944         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
39945         comment.
39947 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39949         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39950         call free(NULL).
39952 2013-03-05  David S. Miller  <davem@davemloft.net>
39954         * po/es.po: Update from translation team.
39956 2013-03-05  Andreas Jaeger  <aj@suse.de>
39958         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39959         <bits/mman-linux.h>.
39960         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39961         is fine.
39962         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39963         <bits/mman-linux.h> to end of file.
39964         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39965         is fine.
39966         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39967         <bits/mman-linux.h> to end of file.
39968         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39969         is fine.
39970         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39971         <bits/mman-linux.h> to end of file.
39973         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39974         (MCL_CURRENT, MCL_FUTURE): Define here.
39976 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39978         [BZ #15232]
39979         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39980         attribute_hidden.
39981         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39983 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39985         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39986         fourth parameter needed for rt_sigprocmask syscall.
39987         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39988         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39989         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39990         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39991         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39992         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39994 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
39996         [BZ #13550]
39997         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39998         comment about bounded pointers.
39999         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
40000         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
40002 2013-03-04  Andreas Jaeger  <aj@suse.de>
40004         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
40005         common definitions.
40007         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
40008         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
40009         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
40010         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40012         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40014 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40016         [BZ #15055]
40017         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
40018         __ieee754_sqrl instead of __sqrl.
40020 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
40022         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
40023         * sysdeps/powerpc/fpu_control.h: ... here.
40024         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40025         * sysdeps/powerpc/bits/fenvinline.h: ... here.
40026         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40027         * sysdeps/powerpc/bits/mathinline.h: ... here.
40029 2013-03-01  Roland McGrath  <roland@hack.frob.com>
40031         * elf/dl-hwcaps.c (_dl_important_hwcaps):
40032         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40033         to just [NEED_DL_SYSINFO_DSO].
40034         * elf/dl-support.c: Likewise.
40035         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40036         * elf/rtld.c (dl_main): Likewise.
40037         * elf/setup-vdso.h (setup_vdso): Likewise.
40038         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40039         * sysdeps/unix/sysv/linux/dl-sysdep.c
40040         (_dl_discover_osversion): Likewise.
40042 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
40044         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40045         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40047 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40049         * NEWS: Mention libm performance improvements and non-x86 PI
40050         futex support.
40052         * csu/libc-start.c (__pthread_initialize_minimal): Change
40053         function arguments.
40054         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40056 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
40058         [BZ #13550]
40059         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40060         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40061         <bp-sym.h> and <bp-asm.h>.
40062         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40063         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40064         and <bp-asm.h>.
40065         (memcpy): Don't use BP_SYM.
40066         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40067         <bp-asm.h>.
40068         (__mpn_add_n): Don't use BP_SYM.
40069         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40070         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40071         and <bp-asm.h>.
40072         (__mpn_addmul_1): Don't use BP_SYM.
40073         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40074         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40075         <bp-sym.h>.
40076         (_setjmp): Don't use BP_SYM.
40077         (__novmx_setjmp): Likewise.
40078         (__GI__setjmp): Likewise.
40079         (__vmx_setjmp): Likewise.
40080         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40081         <bp-sym.h>.
40082         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40083         (__bzero): Don't use BP_SYM.
40084         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40085         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40086         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40087         <bp-sym.h> and <bp-asm.h>.
40088         (memcpy): Don't use BP_SYM.
40089         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40090         <bp-sym.h> and <bp-asm.h>.
40091         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40092         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40093         <bp-sym.h> and <bp-asm.h>.
40094         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40095         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40096         <bp-asm.h>.
40097         (__mpn_lshift): Don't use BP_SYM.
40098         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40099         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40100         <bp-asm.h>.
40101         (memset): Don't use BP_SYM.
40102         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40103         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40104         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40105         <bp-asm.h>.
40106         (__mpn_mul_1): Don't use BP_SYM.
40107         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40108         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40109         <bp-sym.h> and <bp-asm.h>.
40110         (memcmp): Don't use BP_SYM.
40111         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40112         <bp-sym.h> and <bp-asm.h>.
40113         (memcpy): Don't use BP_SYM.
40114         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40115         <bp-sym.h> and <bp-asm.h>.
40116         (memset): Don't use BP_SYM.
40117         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40118         <bp-sym.h> and <bp-asm.h>.
40119         (strncmp): Don't use BP_SYM.
40120         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40121         <bp-sym.h> and <bp-asm.h>.
40122         (memcpy): Don't use BP_SYM.
40123         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40124         <bp-sym.h> and <bp-asm.h>.
40125         (memset): Don't use BP_SYM.
40126         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40127         <bp-sym.h> and <bp-asm.h>.
40128         (__memchr): Don't use BP_SYM.
40129         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40130         <bp-sym.h> and <bp-asm.h>.
40131         (memcmp): Don't use BP_SYM.
40132         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40133         <bp-sym.h> and <bp-asm.h>.
40134         (memcpy): Don't use BP_SYM.
40135         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40136         <bp-sym.h> and <bp-asm.h>.
40137         (__mempcpy): Don't use BP_SYM.
40138         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40139         <bp-sym.h> and <bp-asm.h>.
40140         (__memrchr): Don't use BP_SYM.
40141         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40142         <bp-sym.h> and <bp-asm.h>.
40143         (memset): Don't use BP_SYM.
40144         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40145         <bp-sym.h> and <bp-asm.h>.
40146         (__rawmemchr): Don't use BP_SYM.
40147         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40148         <bp-sym.h> and <bp-asm.h>.
40149         (__STRCMP): Don't use BP_SYM.
40150         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40151         <bp-sym.h> and <bp-asm.h>.
40152         (strchr): Don't use BP_SYM.
40153         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40154         <bp-sym.h> and <bp-asm.h>.
40155         (__strchrnul): Don't use BP_SYM.
40156         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40157         <bp-sym.h> and <bp-asm.h>.
40158         (strlen): Don't use BP_SYM.
40159         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40160         <bp-sym.h> and <bp-asm.h>.
40161         (strncmp): Don't use BP_SYM.
40162         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40163         <bp-sym.h> and <bp-asm.h>.
40164         (__strnlen): Don't use BP_SYM.
40165         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40166         <bp-asm.h>.
40167         (__mpn_rshift): Don't use BP_SYM.
40168         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40169         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40170         <bp-sym.h> and <bp-asm.h>.
40171         (__sigsetjmp): Don't use BP_SYM.
40172         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40173         (L(start_addresses)): Don't use BP_SYM.
40174         (_start): Likewise.
40175         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40176         <bp-asm.h>.
40177         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40178         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40179         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40180         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40181         <bp-asm.h>.
40182         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40183         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40184         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40185         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40186         <bp-asm.h>.
40187         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40188         comments.
40189         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40190         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40191         <bp-asm.h>.
40192         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
40193         FIXME comments.
40194         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40195         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40196         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40197         <bp-asm.h>.
40198         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40199         comment.
40200         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40201         and <bp-asm.h>.
40202         (strncmp): Don't use BP_SYM,
40203         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40204         <bp-asm.h>.
40205         (__mpn_sub_n): Don't use BP_SYM.
40206         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40207         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40208         and <bp-asm.h>.
40209         (__mpn_submul_1): Don't use BP_SYM.
40210         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40212         <bp-sym.h> and <bp-asm.h>.
40213         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40215         <bp-sym.h> and <bp-asm.h>.
40216         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40217         comment.
40219 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40222         Use ZK to minimize writes to Z.
40223         (sub_magnitudes): Simplify code a bit.
40224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40225         Use ZK to minimize writes to Z.
40226         (sub_magnitudes): Simplify code a bit.
40228 2013-02-27  Roland McGrath  <roland@hack.frob.com>
40230         * csu/gmon-start.c: Add special exception to license text.
40232 2013-02-27  Richard Henderson  <rth@redhat.com>
40234         * scripts/config.guess: Update from config.git.
40235         * scripts/config.sub: Likewise.
40237 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40239         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40241         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40243         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40245         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40247         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40249 2013-02-26  Roland McGrath  <roland@hack.frob.com>
40251         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40252         [$(build-shared = yes].
40254 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40256         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40257         (__mul): Reduce iterations for calculating mantissa.
40259         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40260         MPTWO.
40261         (__mpranred): Likewise.
40263         [BZ #15160]
40264         * malloc/memusagestat.c (main): Draw graphs for heap and stack
40265         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40267 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
40269         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40270         Define __attribute__.
40272 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40274         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40275         unused.
40276         * posix/regex_internal.h (__attribute): Remove.
40277         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40278         (re_string_context_at): Likewise.
40279         (bitset_not): Use __attribute__ and mark function as possibly
40280         unused.
40281         (bitset_merge): Likewise.
40282         (bitset_mask): Likewise.
40283         (re_string_char_size_at): Likewise.
40284         (re_string_wchar_at): Likewise.
40285         (re_string_elem_size_at): Likewise.
40287 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40289         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40290         code.
40291         (cc32): Likewise.
40293         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40294         (__acr): Likewise.
40295         (__cpy): Likewise.
40296         (norm): Likewise.
40297         (denorm): Likewise.
40298         (__dbl_mp): Likewise.
40299         (add_magnitudes): Likewise.
40300         (sub_magnitudes): Likewise.
40301         (__mul): Likewise.
40302         (__inv): Likewise.
40304         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40305         style.
40307         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40308         style.
40310         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40311         code.
40313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40314         up changes with default code.
40315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40316         Likewise.
40318 2013-02-24  Allan McRae  <allan@archlinux.org>
40320         * manual/socket.texi (The Internet Namespace): Order menu items
40321         to match that in the file.
40323         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40324         node listing of the info page menu.
40326 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
40328         [BZ #13550]
40329         * sysdeps/i386/bp-asm.h: Remove file.
40330         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40331         (PARMS): Do not use macros from bp-asm.h.
40332         (S1): Likewise.
40333         (S2): Likewise.
40334         (SIZE): Likewise.
40335         (__mpn_add_n): Do not use BP_SYM
40336         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40337         "bp-asm.h".
40338         (PARMS): Do not use macros from bp-asm.h.
40339         (S1): Likewise.
40340         (SIZE): Likewise.
40341         (__mpn_addmul_1): Do not use BP_SYM
40342         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40343         "bp-asm.h".
40344         (PARMS): Do not use macros from bp-asm.h.
40345         (SIGMSK): Likewise.
40346         (_setjmp): Likewise.  Do not use BP_SYM.
40347         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40348         "bp-asm.h".
40349         (PARMS): Do not use macros from bp-asm.h.
40350         (SIGMSK): Likewise.
40351         (setjmp): Likewise.  Do not use BP_SYM.
40352         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40353         "bp-asm.h".
40354         (PARMS): Do not use macros from bp-asm.h.
40355         (__frexp): Do not use BP_SYM.
40356         (frexp): Likewise.
40357         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40358         "bp-asm.h".
40359         (PARMS): Do not use macros from bp-asm.h.
40360         (__frexpf): Do not use BP_SYM.
40361         (frexpf): Likewise.
40362         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40363         "bp-asm.h".
40364         (PARMS): Do not use macros from bp-asm.h.
40365         (__frexpl): Do not use BP_SYM.
40366         (frexpl): Likewise.
40367         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40368         "bp-asm.h".
40369         (PARMS): Do not use macros from bp-asm.h.
40370         (__remquo): Do not use BP_SYM.
40371         (remquo): Likewise.
40372         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40373         "bp-asm.h".
40374         (PARMS): Do not use macros from bp-asm.h.
40375         (__remquof): Do not use BP_SYM.
40376         (remquof): Likewise.
40377         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40378         "bp-asm.h".
40379         (PARMS): Do not use macros from bp-asm.h.
40380         (__remquol): Do not use BP_SYM.
40381         (remquol): Likewise.
40382         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40383         "bp-asm.h".
40384         (PARMS): Do not use macros from bp-asm.h.
40385         (DEST): Likewise.
40386         (SRC): Likewise.
40387         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
40388         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40389         "bp-asm.h".
40390         (PARMS): Do not use macros from bp-asm.h.
40391         (strlen): Do not use BP_SYM.
40392         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40393         "bp-asm.h".
40394         (PARMS): Do not use macros from bp-asm.h.
40395         (S1): Likewise.
40396         (S2): Likewise.
40397         (SIZE): Likewise.
40398         (__mpn_add_n): Do not use BP_SYM.
40399         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40400         "bp-asm.h".
40401         (PARMS): Do not use macros from bp-asm.h.
40402         (S1): Likewise.
40403         (SIZE): Likewise.
40404         (__mpn_addmul_1): Do not use BP_SYM.
40405         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40406         weak_alias.
40407         (bzero): Likewise.
40408         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40409         "bp-asm.h".
40410         (PARMS): Do not use macros from bp-asm.h.
40411         (S): Likewise.
40412         (SIZE): Likewise.
40413         (__mpn_lshift): Do not use BP_SYM.
40414         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40415         "bp-asm.h".
40416         (PARMS): Do not use macros from bp-asm.h.
40417         (DEST): Likewise.
40418         (SRC): Likewise.
40419         (LEN): Likewise.
40420         (memcpy): Likewise.  Do not use BP_SYM.
40421         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40422         libc_hidden_def and weak_alias.
40423         (mempcpy): Do not use BP_SYM in weak_alias.
40424         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40425         "bp-asm.h".
40426         (PARMS): Do not use macros from bp-asm.h.
40427         (DEST): Likewise.
40428         (LEN): Likewise.
40429         [!BZERO_P] (CHR): Likewise.
40430         (memset): Likewise.  Do not use BP_SYM.
40431         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40432         "bp-asm.h".
40433         (PARMS): Do not use macros from bp-asm.h.
40434         (S1): Likewise.
40435         (SIZE): Likewise.
40436         (__mpn_mul_1): Do not use BP_SYM.
40437         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40438         "bp-asm.h".
40439         (PARMS): Do not use macros from bp-asm.h.
40440         (S): Likewise.
40441         (SIZE): Likewise.
40442         (__mpn_rshift): Do not use BP_SYM.
40443         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40444         "bp-asm.h".
40445         (PARMS): Do not use macros from bp-asm.h.
40446         (STR): Likewise.
40447         (CHR): Likewise.
40448         (strchr): Likewise.  Do not use BP_SYM.
40449         (index): Do not use BP_SYM in weak_alias.
40450         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40451         "bp-asm.h".
40452         (PARMS): Do not use macros from bp-asm.h.
40453         (DEST): Likewise.
40454         (SRC): Likewise.
40455         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
40456         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40457         "bp-asm.h".
40458         (PARMS): Do not use macros from bp-asm.h.
40459         (strlen): Do not use BP_SYM.
40460         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40461         "bp-asm.h".
40462         (PARMS): Do not use macros from bp-asm.h.
40463         (S1): Likewise.
40464         (S2): Likewise.
40465         (SIZE): Likewise.
40466         (__mpn_sub_n): Do not use BP_SYM.
40467         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40468         "bp-asm.h".
40469         (PARMS): Do not use macros from bp-asm.h.
40470         (S1): Likewise.
40471         (SIZE): Likewise.
40472         (__mpn_submul_1): Do not use BP_SYM.
40473         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40474         "bp-asm.h".
40475         (PARMS): Do not use macros from bp-asm.h.
40476         (S1): Likewise.
40477         (S2): Likewise.
40478         (SIZE): Likewise.
40479         (__mpn_add_n): Do not use BP_SYM.
40480         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40481         weak_alias.
40482         (bzero): Likewise.
40483         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40484         "bp-asm.h".
40485         (PARMS): Do not use macros from bp-asm.h.
40486         (BLK2): Likewise.
40487         (LEN): Likewise.
40488         (memcmp): Do not use BP_SYM.
40489         (bcmp): Do not use BP_SYM in weak_alias.
40490         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40491         "bp-asm.h".
40492         (PARMS): Do not use macros from bp-asm.h.
40493         (DEST): Likewise.
40494         (SRC): Likewise.
40495         (LEN): Likewise.
40496         (memcpy): Likewise.  Do not use BP_SYM.
40497         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40498         "bp-asm.h".
40499         (PARMS): Do not use macros from bp-asm.h.
40500         (DEST): Likewise.
40501         (SRC): Likewise.
40502         (LEN): Likewise.
40503         (memmove): Likewise.  Do not use BP_SYM.
40504         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40505         "bp-asm.h".
40506         (PARMS): Do not use macros from bp-asm.h.
40507         (DEST): Likewise.
40508         (SRC): Likewise.
40509         (LEN): Likewise.
40510         (__mempcpy): Likewise.  Do not use BP_SYM.
40511         (mempcpy): Do not use BP_SYM in weak_alias.
40512         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40513         "bp-asm.h".
40514         (PARMS): Do not use macros from bp-asm.h.
40515         (DEST): Likewise.
40516         (LEN): Likewise.
40517         [!BZERO_P] (CHR): Likewise.
40518         (memset): Likewise.  Do not use BP_SYM.
40519         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40520         "bp-asm.h".
40521         (PARMS): Do not use macros from bp-asm.h.
40522         (STR2): Likewise.
40523         (strcmp): Do not use BP_SYM.
40524         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40525         "bp-asm.h".
40526         (PARMS): Do not use macros from bp-asm.h.
40527         (STR): Likewise.
40528         (DELIM): Likewise.
40529         [USE_AS_STRTOK_R] (SAVE): Likewise.
40530         (FUNCTION): Likewise.  Do not use BP_SYM.
40531         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40532         aliases.
40533         (strtok_r): Likewise.
40534         (__GI___strtok_r): Likewise.
40535         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40536         (PARMS): Do not use macros from bp-asm.h.
40537         (S): Likewise.
40538         (SIZE): Likewise.
40539         (__mpn_lshift): Do not use BP_SYM.
40540         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40541         (PARMS): Do not use macros from bp-asm.h.
40542         (STR): Likewise.
40543         (CHR): Likewise.
40544         (__memchr): Do not use BP_SYM.
40545         (memchr): Do not use BP_SYM in weak_alias.
40546         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40547         (PARMS): Do not use macros from bp-asm.h.
40548         (BLK2): Likewise.
40549         (LEN): Likewise.
40550         (memcmp): Do not use BP_SYM.
40551         (bcmp): Do not use BP_SYM in weak_alias.
40552         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40553         (PARMS): Do not use macros from bp-asm.h.
40554         (S1): Likewise.
40555         (SIZE): Likewise.
40556         (__mpn_mul_1): Do not use BP_SYM.
40557         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40558         "bp-asm.h".
40559         (PARMS): Do not use macros from bp-asm.h.
40560         (STR): Likewise.
40561         (CHR): Likewise.
40562         (__rawmemchr): Do not use BP_SYM.
40563         (rawmemchr): Do not use BP_SYM in weak_alias.
40564         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40565         (PARMS): Do not use macros from bp-asm.h.
40566         (S): Likewise.
40567         (SIZE): Likewise.
40568         (__mpn_rshift): Do not use BP_SYM.
40569         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40570         (PARMS): Do not use macros from bp-asm.h.
40571         (SIGMSK): Likewise.
40572         (__sigsetjmp): Likewise.  Do not use BP_SYM.
40573         * sysdeps/i386/start.S: Do not include "bp-sym.h".
40574         (_start): Do not use BP_SYM.
40575         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40576         (PARMS): Do not use macros from bp-asm.h.
40577         (DEST): Likewise.
40578         (SRC): Likewise.
40579         (__stpcpy): Likewise.  Do not use BP_SYM.
40580         (stpcpy): Do not use BP_SYM in weak_alias.
40581         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40582         "bp-asm.h".
40583         (PARMS): Do not use macros from bp-asm.h.
40584         (DEST): Likewise.
40585         (SRC): Likewise.
40586         (LEN): Likewise.
40587         (__stpncpy): Likewise.  Do not use BP_SYM.
40588         (stpncpy): Do not use BP_SYM in weak_alias.
40589         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40590         (PARMS): Do not use macros from bp-asm.h.
40591         (STR): Likewise.
40592         (CHR): Likewise.
40593         (strchr): Likewise.  Do not use BP_SYM.
40594         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40595         "bp-asm.h".
40596         (PARMS): Do not use macros from bp-asm.h.
40597         (STR): Likewise.
40598         (CHR): Likewise.
40599         (__strchrnul): Likewise.  Do not use BP_SYM.
40600         (strchrnul): Do not use BP_SYM in weak_alias.
40601         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40602         "bp-asm.h".
40603         (PARMS): Do not use macros from bp-asm.h.
40604         (STOP): Likewise.
40605         (strcspn): Do not use BP_SYM.
40606         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40607         "bp-asm.h".
40608         (PARMS): Do not use macros from bp-asm.h.
40609         (STR): Likewise.
40610         (STOP): Likewise.
40611         (strpbrk): Likewise.  Do not use BP_SYM.
40612         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40613         "bp-asm.h".
40614         (PARMS): Do not use macros from bp-asm.h.
40615         (STR): Likewise.
40616         (CHR): Likewise.
40617         (strrchr): Likewise.  Do not use BP_SYM.
40618         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40619         (PARMS): Do not use macros from bp-asm.h.
40620         (SKIP): Likewise.
40621         (strspn): Do not use BP_SYM.
40622         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40623         (PARMS): Do not use macros from bp-asm.h.
40624         (STR): Likewise.
40625         (DELIM): Likewise.
40626         (SAVE): Likewise.
40627         (FUNCTION): Likewise.  Do not use BP_SYM.
40628         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40629         aliases.
40630         (strtok_r): Likewise.
40631         (__GI___strtok_r): Likewise.
40632         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40633         (PARMS): Do not use macros from bp-asm.h.
40634         (S1): Likewise.
40635         (S2): Likewise.
40636         (SIZE): Likewise.
40637         (__mpn_sub_n): Do not use BP_SYM.
40638         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40639         "bp-asm.h".
40640         (PARMS): Do not use macros from bp-asm.h.
40641         (S1): Likewise.
40642         (SIZE): Likewise.
40643         (__mpn_submul_1): Do not use BP_SYM.
40644         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40645         <bp-sym.h>.
40646         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40647         and <bp-asm.h>.
40648         (PARMS): Do not use macros from bp-asm.h.
40649         (FLAGS): Likewise.
40650         (PTID): Likewise.
40651         (TLS): Likewise.
40652         (CTID): Likewise.
40653         (__clone): Do not use BP_SYM.
40654         (clone): Do not use BP_SYM in weak_alias.
40655         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40656         and <bp-asm.h>.
40657         (PARMS): Do not use macros from bp-asm.h.
40658         (LEN): Likewise.
40659         (__mmap64): Do not use BP_SYM.
40660         (mmap64): Do not use BP_SYM in weak_alias.
40661         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40662         <bp-sym.h> and <bp-asm.h>.
40663         (PARMS): Do not use macros from bp-asm.h.
40664         (__posix_fadvise64_l64): Do not use BP_SYM.
40665         * sysdeps/unix/sysv/linux/i386/semtimedop.S
40666         (PARMS): Do not use macros from bp-asm.h.
40667         (NSOPS): Likewise.
40668         (semtimedop): Do not use BP_SYM.
40669         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40670         and <bp-asm.h>.
40672 2013-02-21  Allan McRae  <allan@archlinux.org>
40674         * manual/message.texi (Charset conversion in gettext):
40675         Move @end statement to beginning of line.
40677 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40680         static.
40681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40682         Likewise.
40684         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40685         (denorm): Likewise.
40686         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40689 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40691         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40692         tail-call to the resolved function if pltexit isn't needed.
40694 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40697         or Y being zero as being unlikely.
40698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40699         Likewise.
40701 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
40703         * manual/nss.texi (System Databases and Name Service Switch):
40704         Remove frobnicate @pxref.
40706 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
40708         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40709         __attribute__ ((unused)) to __attribute__ ((__unused__)).
40711 2013-02-20  Petr Machata  <pmachata@redhat.com>
40713         * elf/elf.h (R_ARM_TARGET1): New macro.
40714         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40715         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40716         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40717         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40718         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40719         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40720         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40721         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40722         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40723         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40724         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40725         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40726         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40727         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40728         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40729         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40730         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40731         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40732         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40733         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40734         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40735         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40736         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40737         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40738         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40739         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40740         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40741         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40742         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40743         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40744         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40745         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40746         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40747         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40748         (R_ARM_THM_GOT_BREL12): Likewise.
40749         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40750         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40751         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40752         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40753         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40754         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40755         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40756         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40757         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40759 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
40761         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40762         __attribute_used__ to __attribute__ ((unused)).
40764 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40766         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40767         powerpc mpa.c.
40768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40769         comment formatting.
40770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40772 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
40774         [BZ #13550]
40775         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40776         Remove macro.
40777         (ENTER): Remove both macro definitions.
40778         (LEAVE): Likewise.
40779         (CHECK_BOUNDS_LOW): Likewise.
40780         (CHECK_BOUNDS_HIGH): Likewise.
40781         (CHECK_BOUNDS_BOTH): Likewise.
40782         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40783         (RETURN_BOUNDED_POINTER): Likewise.
40784         (RETURN_NULL_BOUNDED_POINTER): Likewise.
40785         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40786         (POP_ERRNO_LOCATION_RETURN): Likewise.
40787         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40788         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40789         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40790         macros.
40791         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40792         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40793         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40794         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40795         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40796         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40797         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40798         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40799         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40800         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40801         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40802         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40803         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40804         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40805         removed macros.
40806         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40807         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40808         macros.
40809         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40810         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40811         * sysdeps/i386/i586/memset.S (memset): Likewise.
40812         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40813         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40814         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40815         macros.
40816         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40817         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40818         Change uses of L(2) to L(out).
40819         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40820         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40821         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40822         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40823         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40824         removed macros.
40825         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40826         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40827         macros.
40828         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40829         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40830         (RETURN): Do not use macro LEAVE.
40831         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40832         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40833         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40834         * sysdeps/i386/i686/memset.S (memset): Likewise.
40835         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40836         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40837         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40838         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40839         Likewise.
40840         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40841         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
40842         L(1_2) and L(1_3) into L(1).
40843         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40844         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40845         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40846         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40847         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40848         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40849         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40850         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40851         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40852         macros.
40853         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40854         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40855         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40856         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40857         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40858         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40859         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40860         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40861         * sysdeps/i386/strcspn.S (strcspn): Likewise.
40862         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40863         * sysdeps/i386/strrchr.S (strrchr): Likewise.
40864         * sysdeps/i386/strspn.S (strspn): Likewise.
40865         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40866         conditional code.
40867         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40868         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40869         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40870         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
40871         L(1_3) into L(1_1).
40872         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40873         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40874         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40875         macros.
40876         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40878 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
40880         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40881         macro.
40883 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40885         * math/atest-exp.c (exp_mpn): Remove ROUND.
40886         * math/atest-exp2.c (exp_mpn): Likewise.
40887         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40889         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40890         * stdlib/tst-tls-atexit-lib.c: Likewise.
40891         * stdlib/tst-tls-atexit.c: Likewise.
40893 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
40895         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40896         and __attribute_alloc_size__.
40898 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
40900         * include/programs/xmalloc.h: Change __attribute_alloc_size to
40901         __attribute_alloc_size__.
40902         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40903         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40905 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
40907         * include/programs/xmalloc.h: New file.
40908         * catgets/gencat.c: Include it.
40909         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40910         * elf/pldd.c: Likewise.
40911         * iconv/iconv_charmap.c: Likewise.
40912         * iconv/iconvconfig.c: Likewise.
40913         * iconv/strtab.c: Likewise.
40914         * locale/programs/locale.c: Likewise.
40915         * locale/programs/localedef.h: Likewise.
40916         * locale/programs/simple-hash.c: Likewise.
40917         * nscd/nscd.h: Likewise.
40918         * nss/makedb.c: Likewise.
40919         * sysdeps/generic/ldconfig.h: Likewise.
40921 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40923         * Versions.def: Add GLIBC_2.18.
40924         * include/link.h (struct link_map): New member l_tls_dtor_count.
40925         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40926         (__call_tls_dtors): Likewise.
40927         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40928         __cxa_thread_atexit_impl.
40929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40930         Likewise.
40931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40932         Likewise.
40933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40934         Likewise.
40935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40936         Likewise.
40937         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40939         Likewise.
40940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40941         Likewise.
40942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40944         Likewise.
40945         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40946         (tests): Add test case tst-tls-atexit.
40947         (modules-names): Add shared library for tst-tls-atexit.
40948         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40949         (GLIBC_PRIVATE): Add __call_tls_dtors.
40950         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40951         for libstdc++.
40952         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40953         * stdlib/tst-tls-atexit.c: New test case.
40954         * stdlib/tst-tls-atexit-lib.c: New test case.
40956         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40958         * elf/Versions (ld): Add _dl_find_dso_for_object.
40959         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40960         * elf/dl-open.c (_dl_find_dso_for_object): New function.
40961         (dl_open_worker): Use _dl_find_dso_for_object.
40962         * elf/dl-sym.c (do_sym): Likewise.
40963         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40965 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40967         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40968         Syntactic changes only.
40969         (_dl_runtime_profile): Do a tail-call to the resolved function.
40971 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
40973         [BZ #13550]
40974         * sysdeps/x86_64/bp-asm.h: Remove file.
40975         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40976         <bp-sym.h> and <bp-asm.h>.
40977         (__clone): Do not use BP_SYM.
40978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40979         <bp-sym.h> and <bp-asm.h>.
40980         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40981         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40982         "bp-asm.h".
40983         (_setjmp): Do not use BP_SYM.
40984         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40985         "bp-asm.h".
40986         (setjmp): Do not use BP_SYM.
40987         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40988         libc_hidden_def.
40989         (mempcpy): Do not use BP_SYM in weak_alias.
40990         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40991         "bp-asm.h".
40992         (strchr): Do not use BP_SYM.
40993         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40994         "bp-asm.h".
40995         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40996         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40997         (_start): Do not use BP_SYM.
40998         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40999         "bp-asm.h".
41000         (strcat): Do not use BP_SYM.
41001         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
41002         "bp-asm.h".
41003         (STRCMP): Do not use BP_SYM.
41004         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
41005         "bp-asm.h".
41006         (STRCPY): Do not use BP_SYM.
41007         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
41008         "bp-asm.h".
41009         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
41010         "bp-asm.h".
41011         (FUNCTION): Do not use BP_SYM.
41012         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
41013         weak_alias.
41014         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
41016 2013-02-17  Andreas Jaeger  <aj@suse.de>
41018         * time/Versions: Sort entries.
41019         * string/Versions: Likewise.
41020         * resolv/Versions: Likewise.
41021         * posix/Versions: Likewise.
41022         * iconv/Versions: Likewise.
41023         * elf/Versions: Likewise.
41024         * wcsmbs/Versions: Likewise.
41026 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41028         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41029         loop termination condition.
41031         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41032         variable to calculate EZ.
41033         (__sqr): Likewise.
41035         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41036         the lower precision input.
41038 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
41040         [BZ #13550]
41041         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41042         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41043         (run-via-rtld-prefix): Do not handle %-bp tests.
41044         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41045         (all-object-suffixes): Remove .ob.
41046         (bppfx): Remove variable.
41047         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41048         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41049         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41050         [$(build-bounded) = yes] (libtype.ob): Likewise.
41051         * Makerules (elide-routines.ob): Remove variable.
41052         (do-tests-clean): Do not handle *-bp.out.
41053         (common-mostlyclean): Do not handle *-bp and *-bp.out.
41054         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41055         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41056         (tests): Do not include $(tests-bp.out).
41057         (xtests): Do not include $(xtests-bp.out).
41058         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41059         [$(build-bounded) = yes] ($(addprefix
41060         $(objpfx),$(binaries-bounded))): Remove rule.
41061         ($(objpfx)%-bp.out): Remove rule.
41062         * config.make.in (build-bounded): Remove variable.
41063         * crypt/Makefile [$(build-bounded) = yes]
41064         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41065         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41066         append to variable.
41067         [$(build-bounded) = yes] (install-lib): Likewise.
41068         [$(build-bounded) = yes] (generated): Likewise.
41069         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41070         Remove rule.
41071         * intl/Makefile [$(build-bounded) = yes]
41072         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41073         * math/Makefile [$(build-bounded) = yes]
41074         ($(tests:%=$(objpfx)%-bp): Likewise.
41075         * misc/Makefile [$(build-bounded) = yes]
41076         ($(objpfx)tst-tsearch-bp): Likewise.
41077         * nptl/Makeconfig (bounded-thread-library): Remove variable.
41078         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41079         Remove dependency.
41080         * string/Makefile (o-objects.ob): Remove variable.
41081         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41082         (CFLAGS-.ob): Remove variable.
41083         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41084         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41085         both definitions of variable.
41086         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41087         (ASFLAGS-.ob): Remove variable.
41089 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
41091         [BZ #13550]
41092         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41093         Remove __BOUNDED_POINTERS__ from condition.
41094         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41095         * string/bits/string2.h [!__NO_STRING_INLINES &&
41096         !__BOUNDED_POINTERS__]: Likewise.
41097         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41098         Likewise.
41099         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41100         Remove conditional code.
41101         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41102         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41103         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41104         condition.
41106         [BZ #13550]
41107         * csu/libc-start.c: Do not include <bp-sym.h>.
41108         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41109         * elf/dl-open.c: Do not include <bp-sym.h>.
41110         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41111         * math/fegetenv.c: Do not include <bp-sym.h>.
41112         (fegetenv): Do not use BP_SYM in versioned symbols.
41113         * nptl/sysdeps/pthread/bits/libc-lockP.h
41114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41115         <bp-sym.h>.
41116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41117         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41119         (__pthread_mutex_destroy): Likewise.
41120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41121         (__pthread_mutex_lock): Likewise.
41122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41123         (__pthread_mutex_trylock): Likewise.
41124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41125         (__pthread_mutex_unlock): Likewise.
41126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41127         (__pthread_mutexattr_init): Likewise.
41128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41129         (__pthread_mutexattr_destroy): Likewise.
41130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41131         (__pthread_mutexattr_settype): Likewise.
41132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41133         (__pthread_rwlock_init): Likewise.
41134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41135         (__pthread_rwlock_destroy): Likewise.
41136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41137         (__pthread_rwlock_rdlock): Likewise.
41138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41139         (__pthread_rwlock_tryrdlock): Likewise.
41140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41141         (__pthread_rwlock_wrlock): Likewise.
41142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41143         (__pthread_rwlock_trywrlock): Likewise.
41144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41145         (__pthread_rwlock_unlock): Likewise.
41146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41147         (__pthread_key_create): Likewise.
41148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41149         (__pthread_setspecific): Likewise.
41150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41151         (__pthread_getspecific): Likewise.
41152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41153         Likewise.
41154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41155         (_pthread_cleanup_push_defer): Likewise.
41156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41157         (_pthread_cleanup_pop_restore): Likewise.
41158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41159         (pthread_setcancelstate): Likewise.
41160         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41161         <bp-sym.h>.
41162         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41163         (memchr): Do not use BP_SYM in weak_alias.
41164         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41165         (fegetenv): Do not use BP_SYM in versioned symbols.
41166         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41167         (fesetenv): Do not use BP_SYM in versioned symbols.
41168         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41169         (feupdateenv): Do not use BP_SYM in versioned symbols.
41170         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41171         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41172         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41173         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41174         (open64): Do not use BP_SYM in weak_alias.
41175         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41176         (fegetenv): Do not use BP_SYM in versioned symbols.
41177         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41178         (fesetenv): Do not use BP_SYM in versioned symbols.
41179         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41180         (feupdateenv): Do not use BP_SYM in versioned symbols.
41181         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41182         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41183         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41184         (feraiseexcept): Do not use BP_SYM in versioned symbols.
41185         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41186         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41187         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41188         <bp-sym.h>.
41189         (__libc_start_main): Do not use BP_SYM.
41191 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41194         redundant return line.
41195         (norm): Likewise.
41196         (denorm): Likewise.
41197         (dbl_mp): Likewise.
41198         (sub_magnitudes): Likewise.
41199         (__add): Likewise.
41200         (__sub): Likewise.
41201         (__mul): Likewise.
41202         (__inv): Likewise.
41203         (__dvd): Likewise.
41204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41205         (norm): Likewise.
41206         (denorm): Likewise.
41207         (dbl_mp): Likewise.
41208         (sub_magnitudes): Likewise.
41209         (__add): Likewise.
41210         (__sub): Likewise.
41211         (__mul): Likewise.
41212         (__inv): Likewise.
41213         (__dvd): Likewise.
41215         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41216         instead of __mul.
41217         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41218         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41219         (cc32): Likewise.
41221         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41222         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41223         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41224         of __mul for squares.
41225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41226         function
41227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41228         Likewise.
41229         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41230         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41232 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
41234         [BZ #13550]
41235         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41236         code.
41237         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41238         prototype or function definition.  Rename ubp_* variables and
41239         parameters.  Remove argv definitions conditional on
41240         [__BOUNDED_POINTERS__].
41241         * debug/backtrace.c (__backtrace): Do not use __unbounded.
41242         * elf/dl-runtime.c (_dl_fixup): Likewise.
41243         * include/set-hooks.h (RUN_HOOK): Likewise.
41244         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41245         definition.
41246         * string/strcpy.c (strcpy): Do not use __unbounded.
41247         * sysdeps/generic/frame.h (struct layout): Likewise.
41248         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41249         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41250         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41251         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41252         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41253         (__backtrace): Likewise.
41254         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41255         use __ptrvalue.
41256         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41257         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41258         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41259         Likewise.
41260         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41261         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41262         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41263         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41264         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41265         Do not use __unbounded.
41266         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41267         Rename __unboundedrlimits parameter to rlimits in prototype.
41268         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41269         Do not use __unbounded.
41270         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41271         not use __ptrvalue.
41272         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41273         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41274         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41275         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41276         __ptrvalue or __unbounded.
41277         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41278         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41279         use __unbounded.
41280         (__new_msgctl): Do not use __ptrvalue.
41281         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41282         __unbounded.
41283         (__libc_msgrcv): Do not use __ptrvalue.
41284         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41285         startup_info): Do not use __unbounded.
41286         (__libc_start_main): Likewise.  Rename ubp_* variables and
41287         parameters.  Remove argv definitions conditional on
41288         [__BOUNDED_POINTERS__].
41289         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41290         __ptrvalue.
41291         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41292         use __unbounded.
41293         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41294         or __ptrvalue.
41295         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41296         use __unbounded.
41297         (__new_shmctl): Do not use __ptrvalue.
41298         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41299         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41300         Likewise.
41301         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41302         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41303         (__libc_sigaction): Likewise.
41304         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41305         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41306         Likewise.
41307         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41309 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
41311         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41313         * string/mempcpy.c: Implement by calling memcpy.
41315 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41317         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41319         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41320         evaluation.
41322         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41323         values in the mantissa.
41325         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41326         minimize writes to Z.
41327         (sub_magnitudes): Simplify code a bit.
41329 2013-02-12  Roland McGrath  <roland@hack.frob.com>
41331         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41332         from the message.  The linker prefixes all warnings with that already.
41334 2013-02-12  Andreas Schwab  <schwab@suse.de>
41336         [BZ #15078]
41337         * posix/regexec.c (extend_buffers): Add parameter min_len.
41338         (check_matching): Pass minimum needed length.
41339         (clean_state_log_if_needed): Likewise.
41340         (get_subexp): Likewise.
41341         * posix/Makefile (tests): Add bug-regex34.
41342         (bug-regex34-ENV): Define.
41343         * posix/bug-regex34.c: New file.
41345         [BZ #11561]
41346         * posix/regcomp.c (parse_bracket_exp): When looking up collating
41347         elements compare against the byte sequence of it, not its name.
41348         * posix/Makefile (tests): Add bug-regex35.
41349         (bug-regex35-ENV): Define.
41350         * posix/bug-regex35.c: New file.
41352 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41354         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
41355         comment.
41356         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41357         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41358         (CHECK_EOL): Add undef.
41360 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
41362         * bits/stdlib-bsearch.h: New file.
41363         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41364         * stdlib/stdlib.h: Likewise.
41366 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41368         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41369         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41370         declaration.
41371         * manual/search.texi (Array Search Function): Add missing const in
41372         lfind prototype.
41373         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41374         declaration to use rlim_t.
41375         (Basic Scheduling Functions): Remove erroneous const from
41376         sched_getparam prototype.  Remove erroneous * from
41377         sched_get_priority_max and sched_get_priority_min prototypes.
41378         (Resource Usage): Fix summary @comment on vtimes to refer to
41379         sys/vtimes.h rather than vtimes.h.
41380         Add missing *s in vtimes prototype.
41381         (Limits on Resources): Fix ulimit prototype to return long int.
41382         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41383         prototypes to use long int rather than double.
41384         (BSD Random): Fix initstate and setstate to use char *, not void *.
41385         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41386         prototype to make second argument 'struct aiocb64 *const[]'.
41387         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41388         (Status of AIO Operations): Remove erroneous const in aio_return and
41389         aio_return64 prototypes.
41390         (Synchronizing I/O): Fix sync prototype to return void.
41391         * manual/startup.texi (Suboptions): Remove an erroneous const in
41392         getsubopt prototype.
41393         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41394         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41395         use size_t rather than int.
41396         (Scanning All Users): Likewise for getpwent_r.
41397         (Setting Groups): Add missing const to setgroups prototype.
41398         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41399         * manual/socket.texi (Host Names): Fix gethostbyaddr and
41400         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41401         'const void *' rather than 'const char *'.
41402         (Host Address Functions): Likewise for inet_ntop.
41403         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41404         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41405         ssize_t for return value.
41406         (Sending Data): Likewise for send, sendto, sendmsg.
41407         (Socket Option Functions): Add a missing const in setsockopt prototype.
41408         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41409         use wchar_t for the argument.
41410         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41411         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41412         take no arguments.
41413         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41414         double/float/long double for second argument.
41415         Fix return types of significand, significandf, significandl.
41416         * manual/filesys.texi (Setting Permissions): Use mode_t for second
41417         argument in fchmod prototype.
41418         (File Owner): Use uid_t and gid_t in fchown prototype.
41419         (File Times): Add const to utimes, futimes, and lutimes prototypes.
41420         (Making Special Files): Use mode_t and dev_t in mknod prototype.
41421         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41422         use 'const struct dirent **' as argument types to CMP function pointer
41423         argument.
41424         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41425         (File Times): Fix summary magic @comment for struct utimbuf and utime
41426         to refer to utime.h, not time.h.
41427         * manual/string.texi (Argz Functions): Add missing const in
41428         argz_extract and argz_next prototypes.
41429         (Finding Tokens in a String): Likewise for basename.
41430         (String/Array Comparison): Fix typo in wcscasecmp prototype.
41431         (Copying and Concatenation): Fix typo in wmemmove prototype.
41432         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41433         (Signal Stack): Remove erroneous const in sigstack prototype.
41434         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41435         prototype.
41436         (Simple Calendar Time): Likewise for stime.
41437         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41438         prototype.
41439         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41440         say sys/sysctl.h instead.
41441         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41442         and vsyslog prototypes.
41444 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41446         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41447         Remove.
41449 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41451         * misc/sys/mman.h: Fix typo in mremap comment.
41453 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41455         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41456         the '\0' terminator.
41458 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41460         [BZ #13550]
41461         * debug/segfault.c: Don't include <bp-checks.h>.
41462         * sysdeps/generic/bp-checks.h: Remove file.
41463         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41464         (__GETDENTS): Don't use CHECK_N.
41465         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41466         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41467         (__getgroups): Don't use CHECK_N.
41468         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41469         (setgroups): Don't use CHECK_N.
41470         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41471         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41472         (__libc_msgrcv): Don't use CHECK_N.
41473         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41474         (__libc_msgsnd): Don't use CHECK_N.
41475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41476         <bp-checks.h>.
41477         (__libc_pread): Don't use CHECK_N.
41478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41479         include <bp-checks.h>.
41480         (__libc_pread64): Don't use CHECK_N.
41481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41482         include <bp-checks.h>.
41483         (__libc_pwrite): Don't use CHECK_N.
41484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41485         include <bp-checks.h>.
41486         (__libc_pwrite64): Don't use CHECK_N.
41487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41488         <bp-checks.h>.
41489         (__libc_pread): Don't use CHECK_N.
41490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41491         include <bp-checks.h>.
41492         (__libc_pread64): Don't use CHECK_N.
41493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41494         include <bp-checks.h>.
41495         (__libc_pwrite): Don't use CHECK_N.
41496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41497         include <bp-checks.h>.
41498         (__libc_pwrite64): Don't use CHECK_N.
41499         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41500         (do_pread): Don't use CHECK_N.
41501         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41502         (do_pread64): Don't use CHECK_N.
41503         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41504         (do_pwrite): Don't use CHECK_N.
41505         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41506         (do_pwrite64): Don't use CHECK_N.
41507         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41508         (__libc_readv): Don't use CHECK_N.
41509         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41510         (semop): Don't use CHECK_N.
41511         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41512         <bp-checks.h>.
41513         (semtimedop): Don't use CHECK_N.
41514         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41515         (__libc_pread): Don't use CHECK_N.
41516         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41517         <bp-checks.h>.
41518         (__libc_pread64): Don't use CHECK_N.
41519         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41520         <bp-checks.h>.
41521         (__libc_pwrite): Don't use CHECK_N.
41522         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41523         <bp-checks.h>.
41524         (__libc_pwrite64): Don't use CHECK_N.
41525         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41526         <bp-checks.h>.
41527         (__libc_msgrcv): Don't use CHECK_N.
41528         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41529         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
41530         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41531         (__libc_writev): Don't use CHECK_N.
41533 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41535         * string/strcpy.c: Removed unused variable.
41537         * Makeconfig (+sysdep-includes): Define with := rather than =.
41538         Use an existing include/ subdir of each sysdeps dir before it.
41540 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41542         * nscd/connection.c (register_traced_file): Comment function.
41543         [HAVE_INOTIFY] (union __inev): Define.
41544         [HAVE_INOTIFY] (inotify_check_files): New function.
41545         [HAVE_INOTIFY] (clear_db_cache): Likewise.
41546         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41547         clear_db_cache.
41548         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41550 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41552         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41553         loaded if not already and that a failure is permanent.
41555 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41557         [BZ #15006]
41558         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41559         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41561 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41563         [BZ #13550]
41564         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41565         (CHECK_1_NULL_OK): Likewise.
41566         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41567         (__fxstat): Do not use CHECK_1.
41568         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41569         <bp-checks.h>.
41570         (___fxstat64): Do not use CHECK_1.
41571         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41572         <bp-checks.h>.
41573         (__fxstatat): Do not use CHECK_1.
41574         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41575         <bp-checks.h>.
41576         (__fxstatat64): Do not use CHECK_1.
41577         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41578         <bp-checks.h>.
41579         (__fxstat): Do not use CHECK_1.
41580         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41581         <bp-checks.h>.
41582         (__fxstatat): Do not use CHECK_1.
41583         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41584         <bp-checks.h>.
41585         (__getresgid): Do not use CHECK_1.
41586         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41587         <bp-checks.h>.
41588         (__getresuid): Do not use CHECK_1.
41589         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41590         <bp-checks.h>.
41591         (__lxstat): Do not use CHECK_1.
41592         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41593         <bp-checks.h>.
41594         (__old_msgctl): Do not use CHECK_1.
41595         (__new_msgctl): Likewise.
41596         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41597         <bp-checks.h>.
41598         (__new_setrlimit): Do not use CHECK_1.
41599         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41600         <bp-checks.h>.
41601         (__old_shmctl): Do not use CHECK_1.
41602         (__new_shmctl): Likewise.
41603         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41604         <bp-checks.h>.
41605         (__xstat): Do not use CHECK_1.
41606         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41607         (__lxstat): Do not use CHECK_1.
41608         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41609         <bp-checks.h>.
41610         (___lxstat64): Do not use CHECK_1.
41611         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41612         (__old_msgctl): Do not use CHECK_1.
41613         (__new_msgctl): Likewise.
41614         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41615         <bp-checks.h>.
41616         (__gettimeofday): Do not use CHECK_1.
41617         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41618         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41619         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41620         <bp-checks.h>.
41621         (__gettimeofday): Do not use CHECK_1.
41622         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41623         (__old_shmctl): Do not use CHECK_1_NULL_OK.
41624         (__new_shmctl): Do not use CHECK_1.
41625         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41626         <bp-checks.h>.
41627         (do_sigtimedwait): Do not use CHECK_1.
41628         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41629         <bp-checks.h>.
41630         (do_sigwaitinfo): Do not use CHECK_1.
41631         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41632         <bp-checks.h>.
41633         (msgctl): Do not use CHECK_1.
41634         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41635         <bp-checks.h>.
41636         (shmctl): Do not use CHECK_1.
41637         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41638         (ustat): Do not use CHECK_1.
41639         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41640         <bp-checks.h>.
41641         (__fxstat): Do not use CHECK_1.
41642         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41643         <bp-checks.h>.
41644         (__fxstatat): Do not use CHECK_1.
41645         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41646         <bp-checks.h>.
41647         (__lxstat): Do not use CHECK_1.
41648         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41649         <bp-checks.h>.
41650         (__xstat): Do not use CHECK_1.
41651         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41652         (__xstat): Do not use CHECK_1.
41653         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41654         (___xstat64): Do not use CHECK_1.
41656         [BZ #13550]
41657         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41658         definitions.
41659         (CHECK_BOUNDS_HIGH): Likewise.
41660         * string/strcpy.c: Do not include <bp-checks.h>.
41661         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41663 2013-02-07  Roland McGrath  <roland@hack.frob.com>
41665         * nscd/nscd-client.h (__nscd_drop_map_ref):
41666         Add __attribute__ ((unused)).
41667         * nis/nss-nisplus.h (niserr2nss): Likewise.
41669         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41670         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41672         * csu/libc-tls.c (init_static_tls, init_slotinfo):
41673         Remove inline keyword.
41674         * include/rounding-mode.h (round_away): Likewise.
41675         * libio/wfileops.c (adjust_wide_data): Likewise.
41676         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41677         (__m128i_strloadu_tolower): Likewise.
41678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41679         (__m128i_strloadu_tolower): Likewise.
41680         * time/mktime.c (ydhms_diff): Likewise.
41681         * locale/elem-hash.h (elem_hash): Likewise.
41682         * locale/setlocale.c (setdata): Likewise.
41683         * posix/regex_internal.h (re_string_char_size_at): Likewise.
41684         (re_string_wchar_at): Likewise.
41685         (bitset_not, bitset_merge, bitset_mask): Likewise.
41686         [!(__GNUC__ > 3)] (inline): Remove macro.
41687         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41688         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41689         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41690         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41691         * string/memcmp.c (memcmp_bytes): Likewise.
41692         * locale/programs/locarchive.c (compute_hashval): Likewise.
41693         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41694         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41695         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41696         * nss/getent.c (print_rpc, print_protocols): Likewise.
41697         (print_passwd, print_group, print_aliases): Likewise.
41698         * nis/nss-nisplus.h (niserr2nss): Likewise.
41699         * nscd/connections.c (restart_p): Likewise.
41700         Change return type to bool.
41702 2013-02-05  Roland McGrath  <roland@hack.frob.com>
41704         * Makeconfig (all-Depend-files): Add existing
41705         $(sorted-subdirs:=/Depend) files.
41706         (all-subdirs): Remove nss.
41707         * sysdeps/unix/inet/Subdirs: Add it here instead.
41708         * hesiod/Depend: New file.
41710         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41711         instead of calling alloca.
41713         * io/lseek.c (__lseek): Rename to __libc_lseek.
41714         Define __lseek as an alias.
41716         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41718 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
41720         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41721         else clause and remove check for non-standard endianness.
41723 2013-02-04  David S. Miller  <davem@davemloft.net>
41725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41727 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
41729         [BZ #13550]
41730         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41731         (__ubp_memchr): Remove prototype.
41732         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41733         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41734         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41735         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41736         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41737         Remove alias.
41738         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41739         (__ubp_memchr): Likewise.
41740         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41741         (__ubp_memchr): Likewise.
41742         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41743         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41744         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41745         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41746         CHECK_STRING.
41747         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41748         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41749         (__getcwd): Do not use CHECK_STRING.
41750         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41751         <bp-checks.h>.
41752         (__real_chown): Do not use CHECK_STRING.
41753         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41754         <bp-checks.h>.
41755         (fchownat): Do not use CHECK_STRING.
41756         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41757         CHECK_STRING.
41758         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41759         <bp-checks.h>.
41760         (__lchown): Do not use CHECK_STRING.
41761         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41762         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41763         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41764         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41766         include <bp-checks.h>.
41767         (truncate64): Do not use CHECK_STRING.
41768         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41769         <bp-checks.h>.
41770         (__real_chown): Do not use CHECK_STRING.
41771         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41772         <bp-checks.h>.
41773         (__lchown): Do not use CHECK_STRING.
41774         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41775         <bp-checks.h>.
41776         (__chown): Do not use CHECK_STRING.
41777         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41778         <bp-checks.h>.
41779         (truncate64): Do not use CHECK_STRING.
41780         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41781         Likewise.
41782         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41783         (__xmknod): Do not use CHECK_STRING.
41784         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41785         <bp-checks.h>.
41786         (__xmknodat): Do not use CHECK_STRING.
41787         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41788         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41790 2013-02-04  Andreas Schwab  <schwab@suse.de>
41792         [BZ #14142]
41793         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41794         * include/netdb.h: Likewise for h_errno.
41795         * elf/tst-stackguard1.c: Include <tls.h>.
41797 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
41799         * elf/link.h (struct link_map): Extend the l_addr comment.
41800         * include/link.h (struct link_map): Likewise.
41802 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
41804         [BZ #13550]
41805         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41806         (BOUNDED_1): Remove macro.
41807         * debug/backtrace.c: Don't include <bp-checks.h>.
41808         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41809         (__backtrace): Likewise.
41810         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41811         <bp-checks.h>.
41812         (__backtrace): Don't use BOUNDED_1.
41813         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41814         <bp-checks.h>.
41815         (__backtrace): Don't use BOUNDED_1.
41816         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41817         (__backtrace): Don't use BOUNDED_1.
41818         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41819         (shmat): Don't use BOUNDED_N.
41821 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
41823         [BZ #13550]
41824         * sysdeps/generic/bp-start.h: Remove file.
41825         * csu/libc-start.c: Don't include <bp-start.h>.
41826         (LIBC_START_MAIN): Set up __environ directly instead of using
41827         INIT_ARGV_and_ENVIRON.
41828         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41829         <bp-start.h>.
41831         [BZ #13550]
41832         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41833         definitions.
41834         (CHECK_FCNTL): Likewise.
41835         (CHECK_N_PAGES): Likewise.
41837         [BZ #13550]
41838         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41839         definitions.
41840         (CHECK_SIGSET_NULL_OK): Likewise.
41841         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41842         <bp-checks.h>.
41843         (sigpending): Don't use CHECK_SIGSET.
41844         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41845         <bp-checks.h>.
41846         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41847         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41848         <bp-checks.h>.
41849         (do_sigsuspend): Don't use CHECK_SIGSET.
41850         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41851         use CHECK_SIGSET.
41852         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41853         (do_sigwait): Don't use CHECK_SIGSET.
41854         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41855         use CHECK_SIGSET.
41856         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41857         include <bp-checks.h>.
41858         (sigpending): Don't use CHECK_SIGSET.
41859         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41860         include <bp-checks.h>.
41861         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41862         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41863         <bp-checks.h>.
41864         (sigpending): Don't use CHECK_SIGSET.
41865         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41866         <bp-checks.h>.
41867         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41869         [BZ #13550]
41870         * sysdeps/generic/bp-semctl.h: Remove file.
41871         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41872         <bp-checks.h> and <bp-semctl.h>.
41873         (__old_semctl): Don't use CHECK_SEMCTL.
41874         (__new_semctl): Likewise.
41875         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41876         and <bp-semctl.h>.
41877         (__old_semctl): Don't use CHECK_SEMCTL.
41878         (__new_semctl): Likewise.
41879         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41880         <bp-checks.h> and <bp-semctl.h>.
41881         (__old_semctl): Don't use CHECK_SEMCTL.
41882         (__new_semctl): Likewise.
41883         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41884         <bp-checks.h> and <bp-semctl.h>.
41885         (semctl): Don't use CHECK_SEMCTL.
41887         [BZ #13550]
41888         * Makerules (elide-bp-thunks): Remove variable.
41889         (elide-routines.oS): Don't use $(elide-bp-thunks).
41890         (elide-routines.os): Likewise.
41891         (elide-routines.o): Likewise.
41892         (elide-routines.op): Likewise.
41893         (elide-routines.og): Likewise.
41894         (objects): Don't use $(bp-thunks).
41895         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41896         include.
41897         (common-generated): Do not add s-proto-bp.d.
41898         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41899         (int): Likewise.
41900         (typ): Likewise.
41901         Do not generate makefile rules for bounded-pointer thunks.
41902         * sysdeps/generic/bp-thunks.h: Remove file.
41903         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41904         * sysdeps/unix/s-proto-bp.S: Likewise.
41906         [BZ #15062]
41907         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41908         parts of result separately when argument is not close to line from
41909         -i to i and one part of argument is small.
41910         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41911         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41912         * math/libm-test.inc (cacos_test): Add more tests.
41913         (casin_test): Likewise.
41914         (casinh_test): Likewise.
41915         * sysdeps/i386/fpu/libm-test-ulps: Update.
41916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41918 2013-01-31  David S. Miller  <davem@davemloft.net>
41920         * po/de.po: Update from translation team.
41922 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
41924         * time/tzfile.c: Include stdint.h for SIZE_MAX.
41926 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
41928         * configure.in (_AC_PROG_CC_C89): New definition.
41929         * configure: Regenerate.
41931         * configure.in (AC_PROG_CPP): New definition.
41932         * configure: Regenerate.
41934 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
41936         * debug/tst-backtrace.h: New file.
41937         * debug/tst-backtrace2.c: Include tst-backtrace.h.
41938         (ret): Remove variable.
41939         (x): Likewise.
41940         (FAIL): Remove macro.
41941         (NO_INLINE): Likewise.
41942         (fn1): Use match function instead of strstr.
41943         * debug/tst-backtrace3.c: Include tst-backtrace.h.
41944         (ret): Remove variable.
41945         (x): Likewise.
41946         (FAIL): Remove macro.
41947         (NO_INLINE): Likewise.
41948         (fn): Use match function instead of strstr.
41949         * debug/tst-backtrace4.c: Include tst-backtrace.h.
41950         (ret): Remove variable.
41951         (x): Likewise.
41952         (FAIL): Remove macro.
41953         (NO_INLINE): Likewise.
41954         (handle_signal): Use match function instead of strstr.
41955         * debug/tst-backtrace5.c: Include tst-backtrace.h.
41956         (ret): Remove variable.
41957         (x): Likewise.
41958         (FAIL): Remove macro.
41959         (NO_INLINE): Likewise.
41960         (handle_signal): Use match function instead of strstr.
41962 2013-01-23  Roland McGrath  <roland@hack.frob.com>
41964         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41966 2013-01-23  David S. Miller  <davem@davemloft.net>
41968         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41969         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41970         argument of CAS if possible.
41971         * sysdeps/sparc/sparc64/bits/atomic.h
41972         (__arch_compare_and_exchange_val_32_acq): Likewise.
41973         (__arch_compare_and_exchange_val_64_acq): Likewise.
41975 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
41977         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41978         * sysdeps/posix/ulimit.c: ... this.
41979         Include <limits.h>.
41980         * sysdeps/unix/bsd/ulimit.c: Remove file.
41982 2013-01-23  Adam Conrad  <adconrad@0c3.net>
41984         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41985         (LDFLAGS-tst-array5): Likewise.
41987 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
41989         [BZ #15036]
41990         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41991         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41992         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41993         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41995 2013-01-21  David S. Miller  <davem@davemloft.net>
41997         * sysdeps/sparc/backtrace.c: New file.
41998         * sysdeps/sparc/sparc32/backtrace.h: New file.
41999         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
42000         * sysdeps/sparc/sparc64/backtrace.h: New file.
42001         * sysdeps/sparc/sparc64/backtrace.c: Delete.
42002         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
42003         -funwind-tables.
42005 2013-01-21  Andreas Schwab  <schwab@suse.de>
42007         [BZ #15020]
42008         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
42009         closed its stdout.
42011 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
42013         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
42014         "mpa2.h".
42015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42017 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
42018             Mark Mitchell  <mark@codesourcery.com>
42019             Tom de Vries  <tom@codesourcery.com>
42020             Paul Pluzhnikov  <ppluzhnikov@google.com>
42022         * debug/tst-backtrace2.c: New file.
42023         * debug/tst-backtrace3.c: Likewise.
42024         * debug/tst-backtrace4.c: Likewise.
42025         * debug/tst-backtrace5.c: Likewise.
42026         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42027         (CFLAGS-tst-backtrace3.c): Likewise.
42028         (CFLAGS-tst-backtrace4.c): Likewise.
42029         (CFLAGS-tst-backtrace5.c): Likewise.
42030         (LDFLAGS-tst-backtrace2): Likewise.
42031         (LDFLAGS-tst-backtrace3): Likewise.
42032         (LDFLAGS-tst-backtrace4): Likewise.
42033         (LDFLAGS-tst-backtrace5): Likewise.
42034         (tests): Add new tests tst-backtrace2, tst-backtrace3,
42035         tst-backtrace4 and tst-backtrace5.
42037 2013-01-18  Anton Blanchard  <anton@samba.org>
42038             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42040         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42041         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42042         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42043         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42045         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42046         "+r" and remove output regs list as redundant.  Add explicit inline
42047         asm to specify register of return val to work around compiler codegen
42048         bug.  Remove (int) cast on return value.  Add return type parameter to
42049         use in macro so that this macro does not truncate return value for
42050         64-bit values.
42051         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42052         pass to INTERNAL_VSYSCALL_NCS.
42053         (INLINE_VSYSCALL): Add 'long int' as return type to
42054         INTERNAL_VSYSCALL_NCS macro invocation.
42055         (INTERNAL_VSYSCALL): Add 'long int' as return type to
42056         INTERNAL_VSYSCALL_NCS macro invocation.
42057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42059 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42061         [BZ #14496]
42062         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42063         Fix application of SIMD FP exception mask.
42065         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42066         mp_no from a power of two.
42067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42068         __mpexp_twomm1.  Use __pow_mp.
42070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42071         multiplication.
42073 2013-01-17  David S. Miller  <davem@davemloft.net>
42075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42077 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42079         [BZ #15023]
42080         * include/complex.h: Condition contents on [!_COMPLEX_H].
42081         (__kernel_casinhf): New prototype.
42082         (__kernel_casinh): Likewise.
42083         (__kernel_casinhl): Likewise.
42084         * math/Makefile (libm_calls): Add k_casinh.
42085         * math/k_casinh.c: New file.
42086         * math/k_casinhf.c: Likewise.
42087         * math/k_casinhl.c: Likewise.
42088         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42089         finite nonzero arguments.
42090         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42091         finite nonzero arguments.
42092         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42093         finite nonzero arguments.
42094         * math/s_casinh.c: Do not include <float.h>.
42095         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42096         * math/s_casinhf.c: Do not include <float.h>.
42097         (__casinhf): Move code for finite nonzero arguments to
42098         k_casinhf.c.
42099         * math/s_casinhl.c: Do not include <float.h>.
42100         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42101         redefine.
42102         (__casinhl): Move code for finite nonzero arguments to
42103         k_casinhl.c.
42104         * math/libm-test.inc (cacos_test): Add more tests.
42105         * sysdeps/i386/fpu/libm-test-ulps: Update.
42106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42108 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
42110         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42111         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42112         [!HAVE_MREMAP]: Remove [defined linux] case.
42113         * malloc/arena.c: Do not include <malloc-sysdep.h>.
42115 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42117         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42119 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
42121         * elf/elf.h (R_386_SIZE32): New relocation.
42122         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42123         R_386_SIZE32.
42124         (elf_machine_rela): Likewise.
42125         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42126         R_X86_64_SIZE64 and R_X86_64_SIZE32.
42128 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42130         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42131         (FP_FAST_FMA): Do not define.
42132         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42133         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42134         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42135         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42136         !_SOFT_FLOAT]: Likewise.
42137         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42138         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42139         value.
42140         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42141         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42142         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42143         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42144         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42145         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42146         file.
42148 2013-01-16  Andreas Schwab  <schwab@suse.de>
42150         [BZ #14327]
42151         * include/stdlib.h (__mktemp): Add declaration.
42152         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42153         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42155 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42157         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42158         definitions.
42159         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42160         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42161         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42162         definitions here.
42163         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42164         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42165         definitions.
42166         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42167         and ONE.
42168         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42169         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42170         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42171         definitions.
42172         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42173         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42174         definitions.
42175         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42177         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42179 2013-01-15  David S. Miller  <davem@davemloft.net>
42181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42182         trunc{,f} to libm-sysdep_routes.
42183         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42185         file.
42186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42188         file.
42189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42190         file.
42191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42193         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42194         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42195         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42196         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42197         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42198         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42201         nearbyint{,f} to libm-sysdep_routes.
42202         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42204         New file.
42205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42206         file.
42207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42208         New file.
42209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42210         file.
42211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42213         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42214         file.
42215         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42216         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42217         file.
42218         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42219         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42220         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42222         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42223         libc_feholdexcept and libc_fesetenv.
42225 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
42227         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42229 2013-01-14  David S. Miller  <davem@davemloft.net>
42231         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42232         (SPARC_ASM_VIS2_IFUNC): Likewise.
42233         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42235         use of 'siam' instruction.
42236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42237         Likewise.
42238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42239         Likewise.
42240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42241         Likewise.
42242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42247         file.
42248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42249         file.
42250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42251         file.
42252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42253         file.
42254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42259         new VIS2 routines.
42260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42263         Likewise.
42264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42266         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42269         routines to libm-sysdep_routines.
42270         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42273         fdim/fdimf to libm-sysdep_routines.
42274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42275         file.
42276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42278         file.
42279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42282         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42283         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42284         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42285         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42287 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42289         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42290         to optimize copies.
42292         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42297         local variable MPTWO.
42298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42299         Likewise.
42301 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42303         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42304         GLOB_NOESCAPE.
42306 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42308         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42310 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42312         * manual/pattern.texi (glob_t): Document gl_flags.
42313         (glob64_t): Likewise.
42315 2013-01-11  David S. Miller  <davem@davemloft.net>
42317         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42318         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42319         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
42320         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42321         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42322         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42323         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42324         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42325         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42326         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42327         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42328         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42329         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42331         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42332         sparc V9 rather than using V8 code.
42333         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42334         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42336         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42337         Move to...
42338         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42339         Here.
42341 2013-01-11  Roland McGrath  <roland@hack.frob.com>
42343         [BZ #14941]
42344         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42345         not in the main loop.
42346         * configure: Regenerated.
42348 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
42350         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42351         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42352         to just #else.
42353         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
42354         [!__GLIBC_HAVE_LONG_LONG] case.
42355         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42356         condition to just #else.
42357         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42358         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42359         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42360         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42361         unconditional.
42362         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42363         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42364         #elif condition to just #else.
42365         * sysdeps/unix/sysv/linux/sys/sysmacros.h
42366         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42367         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42368         #elif condition to just #else.
42370 2013-01-11  Steve Ellcey  <sellcey@mips.com>
42372         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42373         (EF_MIPS_ARCH_64): Fix value.
42374         (EF_MIPS_ARCH_32R2): New.
42375         (EF_MIPS_ARCH_64R2): New.
42377 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
42379         * Makeconfig (+link-pie-before-libc): New.
42380         (+link-pie-after-libc): Likewise.
42381         (+link-pie-tests): Likewise.
42382         (+link-pie): Rewritten.
42383         (link-before-libc): Remove $(config-LDFLAGS).
42384         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42385         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42386         (config-LDFLAGS): Renamed to ...
42387         (rtld-LDFLAGS): This.
42388         (rtld-tests-LDFLAGS): New macro.
42389         (link-libc-rpath-link): Likewise.
42390         (link-libc-tests-rpath-link): Likewise.
42391         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42392         (link-libc): Prepand $(link-libc-rpath-link).
42393         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42394         (test-program-prefix): New macro.
42395         (test-via-rtld-prefix): Likewise.
42396         (test-program-cmd): Likewise.
42397         (host-test-program-cmd): Likewise.
42398         * Makefile ($(common-objpfx)testrun.sh): Replace
42399         $(run-program-prefix) with $(test-program-prefix).
42400         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42401         $(rtld-LDFLAGS).
42402         ($(common-objpfx)shlib.lds): Likewise.
42403         (build-module-helper): Likewise.
42404         ($(common-objpfx)format.lds): Likewise.
42405         * Rules (binaries-pie-tests): New.
42406         (binaries-pie-notests): Likewise.
42407         (binaries-pie): Rewritten.
42408         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42409         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42410         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42411         (make-test-out): Replace $(host-built-program-cmd) with
42412         $(host-test-program-cmd).
42413         * config.make.in (build-hardcoded-path-in-tests): New variable.
42414         * configure.in (--enable-hardcoded-path-in-tests): New configure
42415         option.
42416         (hardcoded_path_in_tests): New AC_SUBST.
42417         * configure: Regenerated.
42418         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42419         $(built-program-cmd) with $(test-program-cmd).
42420         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42421         (test_program_cmd): This.
42422         * elf/Makefile ($(objpfx)order.out): Run test with
42423         $(test-program-prefix).
42424         ($(objpfx)order2.out): Likewise.
42425         ($(objpfx)tst-initorder.out): Likewise.
42426         ($(objpfx)tst-initorder2.out): Likewise.
42427         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42428         $(test-program-cmd).
42429         ($(objpfx)tst-array1-static.out): Likewise.
42430         ($(objpfx)tst-array2.out): Likewise.
42431         ($(objpfx)tst-array3.out): Likewise.
42432         ($(objpfx)tst-array4.out): Likewise.
42433         ($(objpfx)tst-array5.out): Likewise.
42434         ($(objpfx)tst-array5-static.out): Likewise.
42435         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42436         $(test-program-cmd).
42437         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42438         $(run-program-prefix) with $(test-program-prefix).
42439         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42440         (test_program_prefix): This.
42441         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42442         $(run-program-prefix) with $(test-program-prefix).
42443         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42444         (test_program_prefix): This.
42445         * iconvdata/tst-tables.sh: Likewise.
42446         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42447         $(run-program-prefix) with $(test-program-prefix).
42448         ($(objpfx)tst-translit.out): Likewise.
42449         ($(objpfx)tst-gettext2.out): Likewise.
42450         ($(objpfx)tst-gettext4.out): Likewise.
42451         ($(objpfx)tst-gettext6.out): Likewise.
42452         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42453         (test_program_prefix): This.
42454         * intl/tst-gettext2.sh: Likewise.
42455         * intl/tst-gettext4.sh  Likewise.
42456         * intl/tst-gettext6.sh: Likewise.
42457         * intl/tst-translit.sh: Likewise.
42458         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42459         with $(test-program-cmd).
42460         * libio/Makefile ($(objpfx)test-freopen.out): Replace
42461         $(run-program-prefix) with $(test-program-prefix).
42462         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42463         (test_program_prefix): This.
42464         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42465         $(run-program-prefix) with $(test-program-prefix).
42466         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42467         (test_program_prefix): This.
42468         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42469         * posix/Makefile ($(objpfx)globtest.out): Replace
42470         $(run-via-rtld-prefix) and $(test-wrapper) with
42471         $(test-program-prefix) and $(test-via-rtld-prefix).
42472         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42473         $(test-program-prefix).
42474         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42475         $(host-test-program-cmd).
42476         (tst-spawn-ARGS): Likewise.
42477         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42478         $(test-program-prefix).
42479         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42480         (test_via_rtld_prefix): This.
42481         (test_wrapper): Renamed to ...
42482         (test_program_prefix): This.
42483         (run_program_prefix): Replaced by test_program_prefix.
42484         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42485         (test_program_prefix): This.
42486         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42487         with $(host-test-program-cmd).
42488         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42489         $(run-program-prefix) with $(test-program-prefix).
42490         ($(objpfx)tst-printf.out): Likewise.
42491         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42492         $(test-program-cmd).
42493         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42494         (test_program_prefix): This.
42495         * stdio-common/tst-unbputc.sh: Likewise.
42496         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42497         $(run-program-prefix) with $(test-program-prefix).
42498         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42499         (test_program_prefix): This.
42500         * string/Makefile ($(objpfx)tst-svc.out):  Replace
42501         $(built-program-cmd) with $(test-program-cmd).
42503 2013-01-11  Andreas Jaeger  <aj@suse.de>
42505         [BZ #15003]
42506         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42507         value. Sync with Linux 3.7.
42509 2013-01-10  David S. Miller  <davem@davemloft.net>
42511         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42512         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42513         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42515 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42517         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42518         never set.
42519         * configure: Regenerated.
42521 2013-01-10  David S. Miller  <davem@davemloft.net>
42523         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42524         sparc V9 rather than using V8 code.
42525         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42526         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42528 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42530         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42531         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42532         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42533         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42534         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42535         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42536         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42537         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42538         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42539         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42540         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42541         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42542         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42543         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42544         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42545         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42546         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42547         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42548         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42549         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42550         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42551         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42552         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42553         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42554         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42555         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42556         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42558 2013-01-10  David S. Miller  <davem@davemloft.net>
42560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42562 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42564         * posix/Makefile (tests-static): New variable.
42565         (tests): Add $(tests-static).
42566         (tst-exec-static-ARGS): New variable.
42567         (tst-spawn-static-ARGS): Likewise.
42568         * posix/tst-exec-static.c: New file.
42569         * posix/tst-spawn-static.c: Likewise.
42570         * posix/tst-exec.c: Support run directly.
42571         * posix/tst-spawn.c: Likewise.
42573 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
42575         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42576         long.
42577         * math/bits/mathcalls.h (llrint): Likewise.
42578         (llround): Likewise.
42579         * stdlib/stdlib.h (struct drand48_data): Likewise.
42580         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42581         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42582         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42583         Likewise.
42584         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42585         Likewise.
42586         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42587         (elf_greg_t): Likewise.
42588         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42589         (__jmp_buf): Likewise.
42590         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42591         definitions.
42592         (llrint): Likewise, for all definitions.
42593         (llrintl): Likewise.
42595         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42596         Remove [__GNUC__] condition.
42597         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42598         condition to just [__USE_ISOC99].
42599         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42601 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42603         [BZ #14200]
42604         * sysdeps/unix/sysv/linux/x86/bits/environments.h
42605         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42606         defined.
42607         (_POSIX_V6_ILP32_OFF32): Likewise.
42608         (_XBS5_ILP32_OFF32): Likewise.
42609         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42610         (__ILP32_OFFBIG_LDFLAGS): Likewise.
42612 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42614         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42616         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42617         doubles __mpexp_twomm1.  Adjust usage.
42618         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42619         Remove.
42621 2013-01-10  Andreas Schwab  <schwab@suse.de>
42623         [BZ #14964]
42624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42625         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42627 2013-01-09  David S. Miller  <davem@davemloft.net>
42629         [BZ #15003]
42630         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42631         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42632         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42633         (TCP_FASTOPEN): Define.
42634         (tcp_repair_opt): New structure.
42635         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42636         enum values.
42637         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42638         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42639         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42640         (tcp_cookie_transactions): New structure.
42642 2013-01-09  Anton Blanchard  <anton@samba.org>
42644         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42645         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42646         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42647         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42649 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
42651         * include/features.h (__USE_ANSI): Remove.
42653 2013-01-09  Roland McGrath  <roland@hack.frob.com>
42655         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42657         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42659 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
42661         * sysdeps/s390/fpu/libm-test-ulps: Update.
42663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42665         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42666         (__acr): Likewise.
42667         (__cpy): Likewise.
42668         (norm): Likewise.
42669         (denorm): Likewise.
42670         (__mp_dbl): Likewise.
42671         (__dbl_mp): Likewise.
42672         (add_magnitudes): Likewise.
42673         (sub_magnitudes): Likewise.
42674         (__add): Likewise.
42675         (__sub): Likewise.
42676         (__mul): Likewise.
42677         (__inv): Likewise.
42678         (__dvd): Likewise.
42679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42680         (__acr): Likewise.
42681         (__cpy): Likewise.
42682         (norm): Likewise.
42683         (denorm): Likewise.
42684         (__mp_dbl): Likewise.
42685         (__dbl_mp): Likewise.
42686         (add_magnitudes): Likewise.
42687         (sub_magnitudes): Likewise.
42688         (__add): Likewise.
42689         (__sub): Likewise.
42690         (__mul): Likewise.
42691         (__inv): Likewise.
42692         (__dvd): Likewise.
42693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42694         (__acr): Likewise.
42695         (__cpy): Likewise.
42696         (norm): Likewise.
42697         (denorm): Likewise.
42698         (__mp_dbl): Likewise.
42699         (__dbl_mp): Likewise.
42700         (add_magnitudes): Likewise.
42701         (sub_magnitudes): Likewise.
42702         (__add): Likewise.
42703         (__sub): Likewise.
42704         (__mul): Likewise.
42705         (__inv): Likewise.
42706         (__dvd): Likewise.
42708 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
42710         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42711         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42712         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42713         2 && __USE_EXTERN_INLINES]: Likewise.
42715 2013-01-08  Andreas Jaeger  <aj@suse.de>
42717         [BZ# 14985]
42718         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42719         Remove.
42720         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42721         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42723 2013-01-07  Anton Blanchard  <anton@samba.org>
42725         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42726         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42727         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42728         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42729         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42730         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42731         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42732         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42734         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42735         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42736         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42738         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42739         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42740         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42741         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42742         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42743         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42744         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42745         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42746         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42747         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42748         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42749         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42750         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42751         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42752         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42753         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42754         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42755         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42757         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42758         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42759         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42760         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42761         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42762         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42763         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42765         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42767         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42769 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
42771         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42772         (__MALLOC_PMT): Likewise.
42773         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42774         [__GNUC__], only on [_LIBC].
42775         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42776         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42777         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42778         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42779         forward declaration.
42780         (realloc_hook_ini): Likewise.
42781         (memalign_hook_ini): Likewise.
42782         (__libc_memalign): Do not use __MALLOC_PMT in variable
42783         declaration.
42784         (__libc_valloc): Likewise.
42785         (__libc_pvalloc): Likewise.
42786         (__libc_calloc): Likewise.
42787         (__posix_memalign): Likewise.
42789         [BZ #14996]
42790         * math/s_casinh.c: Include <float.h>.
42791         (__casinh): Do not do computation with squaring and square root
42792         for large arguments.
42793         * math/s_casinhf.c: Include <float.h>.
42794         (__casinhf): Do not do computation with squaring and square root
42795         for large arguments.
42796         * math/s_casinhl.c: Include <float.h>.
42797         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42798         (__casinhl): Do not do computation with squaring and square root
42799         for large arguments.
42800         * math/libm-test.inc (casin_test): Add more tests.
42801         (casinh_test): Likewise.
42802         * sysdeps/i386/fpu/libm-test-ulps: Update.
42803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42805 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
42807         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42808         (__x86_64_raw_data_cache_size): Likewise.
42809         (__x86_64_data_cache_size_half): Likewise.
42810         (__x86_64_raw_data_cache_size_half): Likewise.
42811         (__x86_64_shared_cache_size): Likewise.
42812         (__x86_64_raw_shared_cache_size): Likewise.
42813         (__x86_64_shared_cache_size_half): Likewise.
42814         (__x86_64_raw_shared_cache_size_half): Likewise.
42815         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42816         to ...
42817         (__x86_data_cache_size): This.
42818         (__x86_64_raw_data_cache_size): Renamed to ...
42819         (__x86_raw_data_cache_size): This.
42820         (__x86_64_data_cache_size_half): Renamed to ...
42821         (__x86_data_cache_size_half): This.
42822         (__x86_64_raw_data_cache_size_half): Renamed to ...
42823         (__x86_raw_data_cache_size_half): This.
42824         (__x86_64_shared_cache_size): Renamed to ...
42825         (__x86_shared_cache_size): This.
42826         (__x86_64_raw_shared_cache_size): Renamed to ...
42827         (__x86_raw_shared_cache_size): This.
42828         (__x86_64_shared_cache_size_half): Renamed to ...
42829         (__x86_shared_cache_size_half): This.
42830         (__x86_64_raw_shared_cache_size_half): Renamed to ...
42831         (__x86_raw_shared_cache_size_half): This.
42832         * sysdeps/x86_64/memcpy.S: Updated.
42833         * sysdeps/x86_64/memset.S: Likewise.
42834         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42835         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42836         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42838 2013-01-04  David S. Miller  <davem@davemloft.net>
42840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42842 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
42844         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42845         1 to avoid redefinition warning.
42846         (__USE_GNU): Don't define.
42847         (init_signaling_nan): Protoize.
42849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42851 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42853         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42855         (__cpymn): Likewise.
42856         (norm): Remove commented code.
42857         (denorm): Likewise.
42858         (__mp_dbl): Likewise.
42859         (__inv): Likewise.
42860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42861         (__cpymn): Likewise.
42862         (norm): Remove commented code.
42863         (denorm): Likewise.
42864         (__mp_dbl): Likewise.
42865         (__inv): Likewise.
42867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42868         mp_no value for 1.0 and 2.0.
42869         (norm): Use RADIXI instead of radixi.d.
42870         (denorm): Likewise.
42871         (__mul): Use 0.0 instead of zero.d.
42872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42873         mp_no value for 1.0 and 2.0.
42874         (norm): Use RADIXI instead of radixi.d.
42875         (denorm): Likewise.
42876         (__mul): Use 0.0 instead of zero.d.
42878 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
42880         [BZ #14994]
42881         * math/s_casinh.c (__casinh): Reduce finite argument to first
42882         quadrant then set signs of results at the end.
42883         * math/s_casinhf.c (__casinhf): Likewise.
42884         * math/s_casinhl.c (__casinhl): Likewise.
42885         * math/libm-test.inc (casin_test): Add more tests.
42886         (casinh_test): Likewise.
42887         * sysdeps/i386/fpu/libm-test-ulps: Update.
42888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42890 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42892         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42894         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42896         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42897         declarations.
42898         (denorm): Likewise.
42899         (__mp_dbl): Likewise.
42900         (__inv): Likewise.
42902         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42903         and adjust the header comment.
42905         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42906         variable name from declaration.
42908 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
42910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42911         Initialize COMMON_CPUID_INDEX_7 element.
42912         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42913         (CPUID_RTM): Likewise.
42914         (HAS_RTM): Likewise.
42915         (COMMON_CPUID_INDEX_7): New enum.
42917 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
42919         [BZ #14981]
42920         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42921         size is zero, record memory as freed.
42923 2013-01-03  Andreas Jaeger  <aj@suse.de>
42925         * po/ia.po: Add new Interlingua translation.
42927 2012-01-03  Allan McRae  <allan@archlinux.org>
42929         * locale/programs/localedef.c: Fix description of '--posix' flag.
42931 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
42933         * NEWS: Update dates in second copyright notice.
42934         * README: Update copyright dates in example.
42935         * manual/libc.texinfo: Update copyright dates.
42936         * scripts/test-installation.pl: Update copyright date in --version
42937         output.
42939         * hurd/ctty-input.c: Fix copyright notice formatting.
42940         * hurd/ctty-output.c: Likewise.
42941         * hurd/dtable.c: Likewise.
42942         * hurd/hurd-raise.c: Likewise.
42943         * hurd/hurdprio.c: Likewise.
42944         * hurd/msgportdemux.c: Likewise.
42945         * misc/sys/file.h: Likewise.
42946         * misc/sys/ioctl.h: Likewise.
42947         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42948         * sysdeps/mach/hurd/chdir.c: Likewise.
42949         * sysdeps/mach/hurd/fchdir.c: Likewise.
42950         * sysdeps/mach/hurd/rename.c: Likewise.
42951         * sysdeps/mach/hurd/rmdir.c: Likewise.
42952         * sysdeps/mach/hurd/seekdir.c: Likewise.
42953         * sysdeps/mach/hurd/setsid.c: Likewise.
42954         * sysdeps/posix/wait3.c: Likewise.
42956         * All files with FSF copyright notices: Update copyright dates
42957         using scripts/update-copyrights.
42958         * intl/plural.c: Regenerated.
42959         * locale/programs/charmap-kw.h: Likewise.
42960         * locale/programs/locfile-kw.h: Likewise.
42962 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42964         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42965         four values.
42967         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42968         calculation loop and add branch prediction.
42970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42971         check access beyond bounds of m1np.
42973         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42974         MPTWO.
42975         (__inv): Remove local variable MPTWO to use the global
42976         constant.
42977         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42978         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42979         variable MPTWO.
42980         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42981         MP3HALFS static const.
42983 2013-01-01  David S. Miller  <davem@davemloft.net>
42985         * po/ca.po: Update from translation team.
42987 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
42989         * scripts/update-copyrights: New file.
42990         * Makeconfig: Reformat copyright notice.
42991         * ctype/ctype.h: Likewise.
42992         * debug/swprintf_chk.c: Likewise.
42993         * elf/dl-cache.c: Likewise.
42994         * elf/dl-debug.c: Likewise.
42995         * elf/dl-object.c: Likewise.
42996         * grp/initgroups.c: Likewise.
42997         * hurd/Makefile: Likewise.
42998         * hurd/hurd/signal.h: Likewise.
42999         * hurd/hurdfault.c: Likewise.
43000         * hurd/hurdioctl.c: Likewise.
43001         * hurd/hurdlookup.c: Likewise.
43002         * hurd/intr-msg.c: Likewise.
43003         * iconv/gconv_open.c: Likewise.
43004         * libio/swprintf.c: Likewise.
43005         * locale/lc-ctype.c: Likewise.
43006         * locale/nl_langinfo.c: Likewise.
43007         * mach/Machrules: Likewise.
43008         * mach/Makefile: Likewise.
43009         * malloc/obstack.h: Likewise.
43010         * manual/Makefile: Likewise.
43011         * manual/tsort.awk: Likewise.
43012         * misc/bits/stab.def: Likewise.
43013         * nis/nis_print_group_entry.c: Likewise.
43014         * nis/nis_table.c: Likewise.
43015         * nis/nss_compat/compat-pwd.c: Likewise.
43016         * nis/nss_compat/compat-spwd.c: Likewise.
43017         * po/Makefile: Likewise.
43018         * posix/fnmatch.c: Likewise.
43019         * posix/regex.h: Likewise.
43020         * resolv/Makefile: Likewise.
43021         * resolv/nss_dns/dns-network.c: Likewise.
43022         * resolv/res_hconf.c: Likewise.
43023         * scripts/gen-sorted.awk: Likewise.
43024         * soft-fp/soft-fp.h: Likewise.
43025         * stdio-common/printf.h: Likewise.
43026         * stdlib/monetary.h: Likewise.
43027         * stdlib/random.c: Likewise.
43028         * stdlib/random_r.c: Likewise.
43029         * sysdeps/generic/Makefile: Likewise.
43030         * sysdeps/gnu/Makefile: Likewise.
43031         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43032         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43033         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43034         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43035         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43036         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43037         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43038         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43039         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43040         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43041         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43042         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43043         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43044         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43045         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43046         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43047         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43048         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43049         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43050         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43051         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43052         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43053         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43054         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43055         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43056         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43057         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43058         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43059         * sysdeps/mach/hurd/errnos.awk: Likewise.
43060         * sysdeps/mach/hurd/fork.c: Likewise.
43061         * sysdeps/mach/hurd/getcwd.c: Likewise.
43062         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43063         * sysdeps/mach/hurd/mmap.c: Likewise.
43064         * sysdeps/mach/hurd/utimes.c: Likewise.
43065         * sysdeps/mach/hurd/xmknod.c: Likewise.
43066         * sysdeps/posix/profil.c: Likewise.
43067         * sysdeps/posix/readdir_r.c: Likewise.
43068         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43069         * sysdeps/powerpc/bits/setjmp.h: Likewise.
43070         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43071         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43073         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43074         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43075         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43077         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43078         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43079         * sysdeps/pthread/lio_listio.c: Likewise.
43080         * sysdeps/sparc/dl-procinfo.h: Likewise.
43081         * sysdeps/unix/i386/sysdep.S: Likewise.
43082         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43083         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43084         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43085         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43087         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43088         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43089         * sysdeps/unix/sysv/linux/speed.c: Likewise.
43090         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43091         * sysdeps/wordsize-32/divdi3.c: Likewise.
43092         * time/sys/time.h: Likewise.
43093         * wcsmbs/Makefile: Likewise.
43095 2013-01-01  David S. Miller  <davem@davemloft.net>
43097         * po/fr.po: Update from translation team.
43099         * catgets/gencat.c: Update copyright year.
43100         * csu/version.c: Likewise.
43101         * debug/catchsegv.sh: Likewise.
43102         * debug/pcprofiledump.c: Likewise.
43103         * debug/xtrace.sh: Likewise.
43104         * elf/ldconfig.c: Likewise.
43105         * elf/ldd.bash.in: Likewise.
43106         * elf/pldd.c: Likewise.
43107         * elf/sotruss.ksh: Likewise.
43108         * elf/sprof.c: Likewise.
43109         * iconv/iconv_prog.c: Likewise.
43110         * iconv/iconvconfig.c: Likewise.
43111         * locale/programs/locale.c: Likewise.
43112         * locale/programs/localedef.c: Likewise.
43113         * login/programs/pt_chown.c: Likewise.
43114         * malloc/memusage.sh: Likewise.
43115         * malloc/memusagestat.c: Likewise.
43116         * malloc/mtrace.pl: Likewise.
43117         * nscd/nscd.c: Likewise.
43118         * nss/getent.c: Likewise.
43119         * nss/makedb.c: Likewise.
43120         * posix/getconf.c: Likewise.
43122 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43124         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43125         numbers.
43127 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
43129         * math/bits/mathcalls.h (modf): Use __nonnull.
43131 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43133         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43134         (split): Use macro CN instead of the bare value.
43135         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43136         could be used.
43137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43138         instead of the bare value.
43139         (power1): Likewise.
43141 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43144         __ATAN_TWOM.
43145         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43147         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43148         their values.
43149         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43150         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43151         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43152         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43154 2012-12-28  Andreas Jaeger  <aj@suse.de>
43156         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
43157         values are from Linux 3.7.
43159         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43160         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
43162 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43164         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43165         TRUE case.
43167         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43168         (norm): Likewise.
43169         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43170         variables with preprocessor constants.
43171         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43172         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43173         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43175 2012-12-27  Bruno Haible  <bruno@clisp.org>
43177         [BZ #14317]
43178         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43179         only if needed.
43181 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43184         and use variable directly.
43185         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43187         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43188         MPONE.
43189         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43190         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43191         variable MPONE.
43192         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43194         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43195         include directive.  Remove local variable MPONE.
43196         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43197         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43198         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43200 2012-12-25  David S. Miller  <davem@davemloft.net>
43202         * version.h (RELEASE): Set to "development".
43203         (VERSION): Set to "2.17.90".
43204         * NEWS: Add 2.18 section.
43206 2012-12-21  David S. Miller  <davem@davemloft.net>
43208         * po/hr.po: Update from translation team.
43210 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43212         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43214 2012-12-19  Steve Ellcey  <sellcey@mips.com>
43216         * NEWS:  Mention new memcpy for MIPS.
43218 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43220         * manual/contrib.texi (Contributors): Spelling correction.
43222 2012-12-15  David S. Miller  <davem@davemloft.net>
43224         * po/ru.po: Update from translation team.
43226 2012-12-13  David S. Miller  <davem@davemloft.net>
43228         * NEWS: Mention IFUNC testsuite enhancements.
43230         * po/pl.po: Update from translation team.
43231         * po/bg.po: Likewise.
43233         * manual/contrib.texi (Contributors): Update entries for Hongjiu
43234         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
43236 2012-12-11  David S. Miller  <davem@davemloft.net>
43238         * po/sv.po: Update from translation team.
43240         * po/vi.po: Update from translation team.
43242         * po/cs.po: Update from translation team.
43244         * po/de.po: Update from translation team.
43245         * po/eo.po: Likewise.
43246         * po/nl.po: Likewise.
43248 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43250         [BZ #14246]
43251         * manual/argp.texi (Argp Helper Functions): Move node to follow
43252         Argp Parsing State.
43254         [BZ #14872]
43255         * manual/conf.texi (Limits on File System Capacity): Mention if
43256         terminating null is included in the max size.
43258 2012-12-10  Andreas Jaeger  <aj@suse.de>
43260         * po/cs.po: Update from translation team.
43262 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43264         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43265         void pointer and cast to uintptr_t.
43266         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43267         path.
43268         * sysdeps/s390/s390-64/memcpy.S: Likewise.
43269         * sysdeps/s390/s390-64/memset.S: Likewise.
43271 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
43273         [BZ #14833]
43274         * menual/message.texi (Message Translation): Fix typos.
43275         (Helper programs for gettext): Likewise.
43277 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
43279         [BZ #14898]
43280         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43281         Change to -1.
43283 2012-12-07  David S. Miller  <davem@davemloft.net>
43285         * po/libc.pot: Update.
43287 2012-12-07  Richard Henderson  <rth@redhat.com>
43289         [BZ #10114]
43290         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43291         normal/normal case to before the switch.
43292         (_FP_DIV): Likewise.
43294 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
43295             Mike Frysinger  <vapier@gentoo.org>
43297         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43298         check for __NR_fadvise64_64.
43300 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
43302         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43303         0, not just to plain "0" as a statement.
43304         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43305         with cw.
43307 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
43309         * NEWS: Use sourceware.org in Bugzilla URL.
43311 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43314         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43316         * stdio-common/tst-put-error.c (do_test): Add newline to the
43317         padded test to ensure flush.
43319 2012-12-05  Jeff Law  <law@redhat.com>
43321         * sunrpc/etc.rpc (fedfs_admin): Add entry.
43323 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
43325         * README: Don't refer to ports add-on as distributed separately.
43326         Mention AArch64 in list of systems supported in the ports add-on.
43328         * LICENSES: Add more non-FSF copyright and license notices.
43330         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43331         ((unused)).
43333         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43335         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43336         10000 as width of padded output.
43338 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43340         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43342         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43343         variable LX with __attribute__ ((unused)).
43344         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43345         Likewise.
43346         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43347         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43348         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43349         with __attribute__ ((unused)).
43351 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
43353         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43355 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43357         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43358         (CFLAGS-nldbl-acos.c): New variable.
43359         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43360         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43361         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43362         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43363         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43364         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43365         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43366         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43367         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43368         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43369         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43370         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43371         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43372         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43373         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43374         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43375         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43376         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43377         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43378         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43379         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43380         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43381         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43382         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43383         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43384         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43385         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43386         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43387         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43388         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43389         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43390         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43391         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43392         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43393         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43394         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43395         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43396         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43397         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43398         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43399         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43400         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43401         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43402         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43403         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43404         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43405         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43406         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43407         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43408         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43409         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43410         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43411         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43412         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43413         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43414         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43415         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43416         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43417         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43418         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43419         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43420         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43421         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43422         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43423         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43424         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43425         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43426         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43427         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43428         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43429         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43430         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43431         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43432         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43433         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43434         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43435         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43436         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43437         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43438         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43439         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43440         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43441         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43442         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43443         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43444         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43445         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43446         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43447         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43448         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43449         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43450         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43451         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43452         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43453         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43454         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43455         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43458         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43460         [BZ #14914]
43461         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43462         whole low double instead of just low 47 bits when splitting values
43463         into two parts.
43465 2012-12-03  Allan McRae  <allan@archlinux.org>
43467         * manual/stdio.texi (Predefined Printf Handlers): Remove
43468         @hsep and @vsep usage.
43470 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
43472         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43473         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43475 2012-12-03  Jeff Law  <law@redhat.com>
43477         * time/sys/time.h (settimeofday): Do not mark TV argument
43478         as __nonnull.
43480 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
43482         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43483         when currently writing and seek to current position when not.
43484         * libio/Makefile (tests): Remove bug-fclose1.
43485         * libio/bug-fclose1.c: Delete.
43487 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
43489         * manual/arith.texi (feenableexcept): Fix typo.
43490         (fedisableexcept): Likewise.
43492 2012-11-30  Roland McGrath  <roland@hack.frob.com>
43494         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43495         second, differently-typed declaration, rather than a cast.
43497 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43499         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43500         * include/rpc/svc.h: ... here.
43502 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
43504         [BZ #13013]
43505         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43506         depending n and resplen2 to catch cases where answer
43507         equals answerp2.
43509 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
43511         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43512         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43514 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
43516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43518 2012-11-29  Roland McGrath  <roland@hack.frob.com>
43520         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43522 2012-11-28  Jeff Law  <law@redhat.com>
43524         [BZ #13761]
43525         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43526         dataset_temporary.  Track alloca usage into alloca_used.
43527         If dataset is large allocate and release it via malloc/free.
43529 2012-06-04  Florian Weimer  <fweimer@redhat.com>
43531         [BZ #14197]
43532         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43534 2012-11-28  David S. Miller  <davem@davemloft.net>
43536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43538 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43540         [BZ #14803]
43541         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43542         of pi/2 rounded to nearest to 64 bits.
43543         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43544         nearest to 64 bits.
43545         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43546         bits.
43548 2012-11-28  Jeff Law <law@redhat.com>
43549             Martin Osvald <mosvald@redhat.com>
43551         [BZ #14889]
43552         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43553         * sunrpc/svc.c: Include time.h.
43554         (__svc_accept_failed): New function.
43555         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43556         any reason other than EINTR, call __svc_accept_failed.
43557         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43558         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43560 2012-11-28  Andreas Schwab  <schwab@suse.de>
43562         * scripts/abilist.awk: Also handle indirect functions in .opd
43563         section.
43565 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43567         [BZ #13881]
43568         * sysdeps/x86/fpu/powl_helper.c: New file.
43569         * sysdeps/x86/fpu/Makefile: Likewise.
43570         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43571         (p3): New object.
43572         (__ieee754_powl): Use __powl_helper for finite arguments except
43573         integer exponents below 8.
43574         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43575         (p3): New object.
43576         (__ieee754_powl): Use __powl_helper for finite arguments except
43577         integer exponents below 8.
43578         * math/libm-test.inc (pow_test): Add more tests and enable some
43579         previously disabled tests.
43580         * sysdeps/i386/fpu/libm-test-ulps: Update.
43581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43583 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43584             Carlos O'Donell  <carlos_odonell@mentor.com>
43586         * nss/makedb.c (is_prime): Assert that input is odd and greater
43587         than 4.  Note that fact in a comment too.
43588         (next_prime): Add 4 to input.
43590 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43592         [BZ #11741]
43593         * libio/Makefile (tests): Add test case tst-fwrite-error.
43594         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43595         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43596         * libio/tst-fwrite-error.c: New test case.
43598 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
43600         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43601         before casting to void *.
43602         * include/libc-internal.h (__pointer_type): New macro.
43603         (__integer_if_pointer_type_sub): Likewise.
43604         (__integer_if_pointer_type): Likewise.
43605         (cast_to_integer): Likewise.
43606         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43607         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43608         before casting to atomic64_t.
43609         (atomic_exchange_acq): Likewise.
43610         (__arch_exchange_and_add_body): Likewise.
43611         (__arch_add_body): Likewise.
43612         (atomic_add_negative): Likewise.
43613         (atomic_add_zero): Likewise.
43615 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
43617         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43618         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43619         (add_fdes): Likewise.
43620         (linear_search_fdes): Likewise.
43621         (binary_search_unencoded_fdes): Likewise.
43623 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
43625         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43627 2012-11-24  Adam Conrad  <adconrad@0c3.net>
43629         * configure.in: Autodetect C++ header directories.
43630         * configure: Regenerated.
43632 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
43634         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43636 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
43638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43640 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
43642         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43643         LDBL_MANT_DIG == 106]: Disable some tests.
43644         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43645         Likewise.
43646         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43647         Likewise.
43649         [BZ #14871]
43650         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43651         input for small inputs.  Return +/- pi/2 for large inputs.
43652         * math/libm-test.inc (atan_test): Add more tests.
43654         * sysdeps/generic/unwind-dw2-fde-glibc.c
43655         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43656         __attribute__ ((unused)).
43658         [BZ #14645]
43659         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43660         x * y if x and y are nonzero and z is zero.
43662         [BZ #14811]
43663         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43664         nonzero exponents with absolute value below 0x1p-117 to +/-
43665         0x1p-117.
43667         [BZ #14869]
43668         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43669         up arguments below 2**-450, not just those below 2**-500.
43670         * math/libm-test.inc (hypot_test): Add another test.
43672         [BZ #14868]
43673         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43674         Return a+b for ratio over 2**120, not 2**60.
43675         * math/libm-test.inc (hypot_test): Add another test.
43677         * math/libm-test.inc (clog_test): Use
43678         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43679         (clog10_test): Likewise.
43681         [BZ #6778]
43682         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43684 2012-11-22  Andreas Schwab  <schwab@suse.de>
43686         * sysdeps/i386/fpu/libm-test-ulps: Update.
43688 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
43690         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43691         printf output with newline.
43693 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
43695         [BZ #14865]
43696         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43697         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43698         -z nodlopen, -z initfirst and -z execstack support.
43699         * configure: Regenerated.
43701         * elf/elf.h (DF_1_NODIRECT): New macro.
43702         (DF_1_IGNMULDEF): Likewise.
43703         (DF_1_NOKSYMS): Likewise.
43704         (DF_1_NOHDR): Likewise.
43705         (DF_1_EDITED): Likewise.
43706         (DF_1_NORELOC): Likewise.
43707         (DF_1_SYMINTPOSE): Likewise.
43708         (DF_1_GLOBAUDIT): Likewise.
43709         (DF_1_SINGLETON): Likewise.
43710         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43711         DT_1_SUPPORTED_MASK bits.
43712         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43714 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
43716         * sysdeps/unix/make-syscalls.sh: Document prefixes.
43718 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
43720         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43721         macro.
43723         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43724         (sendmmsg): Move declarations...
43725         * socket/sys/socket.h: ... here.
43726         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43727         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43728         include it from...
43729         * socket/recvmmsg.c: ... this new file.
43730         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43731         (sendmmsg): Rename to __sendmmsg, create weak alias and make
43732         definition of __sendmmsg hidden.
43733         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43734         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43735         Move ENOSYS stub into and include it from...
43736         * socket/sendmmsg.c: ... this new file.
43737         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43738         (sysdep_routines): Move recvmmsg and sendmmsg...
43739         * socket/Makefile (routines): ... here.
43740         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43741         (GLIBC_PRIVATE): Add __sendmmsg.
43742         * include/sys/socket.h (__sendmmsg): Add declarations.
43743         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43744         sendmmsg.
43746 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
43748         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43749         variable I1 with __attribute__ ((unused)).
43750         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43752 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
43754         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43755         DUMMY variables with __attribute__ ((unused)).
43757         * bits/byteswap.h: Include <bits/types.h>.
43758         (__bswap_64): Use __uint64_t instead of unsigned long long int.
43760 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
43762         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43763         string_t.  Do not manually set errno.
43764         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43765         length with __strnlen.  Make sure to both set errno and return it on
43766         failure.
43768 2012-11-19  David S. Miller  <davem@davemloft.net>
43770         With help from Joseph Myers.
43771         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43772         very large arguments properly.
43773         * math/libm-test.inc (atan_test): New tests.
43774         (atan2_test): New tests.
43775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43778 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
43780         [BZ #14856]
43781         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43782         Define to 3.
43784         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43785         [POSIX] (EADDRNOTAVAIL): Likewise.
43786         [POSIX] (EAFNOSUPPORT): Likewise.
43787         [POSIX] (EALREADY): Likewise.
43788         [POSIX] (ECONNABORTED): Likewise.
43789         [POSIX] (ECONNREFUSED): Likewise.
43790         [POSIX] (ECONNRESET): Likewise.
43791         [POSIX] (EDESTADDRREQ): Likewise.
43792         [POSIX] (EDQUOT): Likewise.
43793         [POSIX] (EHOSTUNREACH): Likewise.
43794         [POSIX] (EIDRM): Likewise.
43795         [POSIX] (EISCONN): Likewise.
43796         [POSIX] (ELOOP): Likewise.
43797         [POSIX] (EMULTIHOP): Likewise.
43798         [POSIX] (ENETDOWN): Likewise.
43799         [POSIX] (ENETUNREACH): Likewise.
43800         [POSIX] (ENOBUFS): Likewise.
43801         [POSIX] (ENODATA): Likewise.
43802         [POSIX] (ENOLINK): Likewise.
43803         [POSIX] (ENOMSG): Likewise.
43804         [POSIX] (ENOPROTOOPT): Likewise.
43805         [POSIX] (ENOSR): Likewise.
43806         [POSIX] (ENOSTR): Likewise.
43807         [POSIX] (ENOTCONN): Likewise.
43808         [POSIX] (ENOTSOCK): Likewise.
43809         [POSIX] (EOPNOTSUPP): Likewise.
43810         [POSIX] (EOVERFLOW): Likewise.
43811         [POSIX] (EPROTO): Likewise.
43812         [POSIX] (EPROTONOSUPPORT): Likewise.
43813         [POSIX] (EPROTOTYPE): Likewise.
43814         [POSIX] (ESTALE): Likewise.
43815         [POSIX] (ETIME): Likewise.
43816         [POSIX] (ETXTBSY): Likewise.
43817         [POSIX] (EWOULDBLOCK): Likewise.
43818         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43819         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43820         [POSIX] (SEEK_CUR): Likewise.
43821         [POSIX] (SEEK_END): Likewise.
43822         [POSIX || UNIX98] (mode_t): Do not require.
43823         [POSIX] (off_t): Likewise.
43824         [POSIX] (pid_t): Likewise.
43825         [POSIX] (sys/stat.h): Do not allow header.
43826         [POSIX] (unistd.h): Likewise.
43827         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43828         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43829         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43830         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43831         require.
43832         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43833         sigevent): Specify elements.
43834         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43835         entry.
43836         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43837         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43839         * conform/data/cpio.h-data [POSIX]: Disable whole file.
43840         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43841         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43842         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43843         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43844         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43845         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43846         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43847         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43848         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43849         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43850         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43851         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43852         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43853         Likewise.
43854         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43855         Likewise.
43856         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43857         Likewise.
43858         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43859         Likewise.
43860         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43861         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43862         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43863         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43864         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43865         Specify lower bound on value.
43866         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43867         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43868         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43869         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43870         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43871         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43872         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43873         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43874         value.
43875         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43876         as optional.
43877         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43878         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43879         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43880         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43881         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43882         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43883         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43884         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43885         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43886         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43887         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43888         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43889         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43890         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43891         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43892         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43893         entry.
43894         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43895         optional.
43896         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43897         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43898         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43899         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43900         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43901         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43902         Likewise.
43903         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43904         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43905         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43906         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43907         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
43908         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43909         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43910         as optional.
43911         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43912         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43913         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43914         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43915         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43916         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43917         specify as optional.
43918         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43919         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43920         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43921         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43922         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43923         [XPG3] (NL_LANGMAX): Likewise.
43924         [POSIX || XPG3] (NL_MSGMAX): Likewise.
43925         [POSIX || XPG3] (NL_NMAX): Likewise.
43926         [POSIX || XPG3] (NL_SETMAX): Likewise.
43927         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43928         [XPG3] (NZERO): Likewise.
43929         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43930         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43931         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43932         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43933         (REG_ERANGE): Expect.
43934         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43935         optional-constant.
43936         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43937         Use (void) in prototype.
43938         [POSIX] (*_t): Allow.
43939         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43940         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43941         (WRDE_BADVAL): Expect.
43943         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43944         expect.
43945         [XPG3 || XPG4] (O_RSYNC): Likewise.
43946         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43947         Likewise.
43948         [XPG3 || XPG4] (pthread_sigmask): Likewise.
43949         [XPG3 || XPG4] (sigqueue): Likewise.
43950         [XPG3 || XPG4] (sigtimedwait): Likewise.
43951         [XPG3 || XPG4] (sigwaitinfo): Likewise.
43952         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43953         [XPG3 || XPG4] (vsnprintf): Likewise.
43954         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43955         Likewise.
43956         [XPG3 || XPG4] (blksize_t): Likewise.
43957         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43958         Likewise.
43959         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43960         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43961         [XPG3 || XPG4] (struct itimerspec): Likewise.
43962         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43963         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43964         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43965         [XPG3 || XPG4] (clockid_t): Likewise.
43966         [XPG3 || XPG4] (timer_t): Likewise.
43967         [XPG3 || XPG4] (clock_getres): Likewise.
43968         [XPG3 || XPG4] (clock_gettime): Likewise.
43969         [XPG3 || XPG4] (clock_settime): Likewise.
43970         [XPG3 || XPG4] (nanosleep): Likewise.
43971         [XPG3 || XPG4] (timer_create): Likewise.
43972         [XPG3 || XPG4] (timer_delete): Likewise.
43973         [XPG3 || XPG4] (timer_gettime): Likewise.
43974         [XPG3 || XPG4] (timer_getoverrun): Likewise.
43975         [XPG3 || XPG4] (timer_settime): Likewise.
43976         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43977         [XPG3 || XPG4] (getlogin_r): Likewise.
43978         [XPG3 || XPG4] (pread): Likewise.
43979         [XPG3 || XPG4] (pthread_atfork): Likewise.
43980         [XPG3 || XPG4] (pwrite): Likewise.
43982         [BZ #14835]
43983         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43984         <bits/siginfo.h>.
43986 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
43988         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43989         finalizing MALLSTREAM.
43991         * sysdeps/mach/hurd/syncfs.c: New file.
43993 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43995         [BZ #14719]
43996         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43997         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43998         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43999         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
44000         (_nss_dns_gethostbyname4_r): Likewise.
44001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
44002         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
44004 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
44006         [BZ #13763]
44007         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
44009 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
44011         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
44012         * elf/cache.c (print_entry): Print ",AArch64" for
44013         FLAG_AARCH64_LIB64
44015         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
44016         * elf/cache.c (print_entry): Print ",hard-float" for
44017         FLAG_ARM_LIBHF.
44019 2012-11-18  David S. Miller  <davem@davemloft.net>
44021         With help from Joseph Myers.
44022         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
44023         cutoff to 2**-13.
44024         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44025         cutoff to 2**-25.
44026         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44027         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44028         small.
44029         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44030         * math/libm-test.inc (y0_test): New tests.
44031         (y1_test): New tests.
44032         * sysdeps/i386/fpu/libm-test-ulps: Update.
44033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44036 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
44038         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44039         64-bit targets.
44040         * configure: Regenerated.
44042 2012-11-17  David S. Miller  <davem@davemloft.net>
44044         [BZ #14811]
44045         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44046         nonzero exponents with absolute value below 0x1p-128 to +/-
44047         0x1p-128.
44049 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
44051         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44053         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44055         * posix/getconf-speclist.c: New file.
44056         * posix/posix-envs.def: Likewise.
44057         * posix/confstr.c (START_ENV_GROUP): New macro.
44058         (END_ENV_GROUP): Likewise.
44059         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44060         (KNOWN_PRESENT_ENV_STRING): Likewise.
44061         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44062         (UNKNOWN_ENVIRONMENT): Likewise.
44063         (confstr): Include posix-envs.def instead of handling
44064         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44065         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44066         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44067         (END_ENV_GROUP): Likewise.
44068         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44069         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44070         (UNKNOWN_ENVIRONMENT): Likewise.
44071         (__sysconf): Include posix-envs.def instead of handling associated
44072         cases directly here.
44073         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44074         preprocessing getconf-speclist.c rather than running getconf or
44075         generating empty file.
44077 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
44079         * scripts/check-local-headers.sh: Ignore 'mach' headers.
44081 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
44083         [BZ #14672]
44084         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44086 2012-11-16  David S. Miller  <davem@davemloft.net>
44088         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44089         smaller than LDBL_EPSILON/2.0L, just return xm1.
44091 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
44093         * elf/tst-array1.c (init): Set constructor priority to 1000.
44094         (fini): Set destructor priority to 1000.
44095         * elf/tst-array2dep.c: Likewise.
44097 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44099         [BZ #11741]
44100         * libio/fileops.c (_IO_new_file_write): Correctly return error.
44101         (_IO_new_file_xsputn): Also return EOF if none of the input
44102         data was written when overflow failed.
44103         * libio/iopadn.c (_IO_padn): Likewise.
44104         * libio/iowpadn.c (_IO_wpadn): Likewise.
44105         * stdio-common/tst-put-error.c: Add copyright notice.
44106         (do_test): Add case for printing padded string.
44107         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44108         _IO_padn returned error.
44109         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44110         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44111         return EOF.
44113 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44115         * libio/libioP.h: Add comment note that the references to C++
44116         bits are now obsolete.
44118 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44120         * math/libm-test.inc (check_complex): Use asprintf.
44122 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
44124         * debug/pcprofiledump.c (print_version): Update copyright year.
44125         * malloc/memusagestat.c (print_version): Likewise.
44127 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
44129         [BZ #14831]
44130         * elf/Makefile (tests): Add tst-audit8.
44131         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44132         ($(objpfx)tst-audit8.out): New target.
44133         (tst-audit8-ENV): New variable.
44134         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44135         audit if l_reloc_result is NULL.
44136         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44137         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44138         * elf/tst-audit8.c: New file.
44140 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44142         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44143         * misc/Makefile (CFLAGS-select.c): Define.
44144         * posix/Makefile (CFLAGS-pause.c): Define.
44146 2012-11-13  David S. Miller  <davem@davemloft.net>
44148         * crypt/Makefile: Move test targets after toplevel Rules
44149         inclusion.  Grab any necessary sysdep routines when linking.
44150         * crypt/md5.c (md5_process_block): Remove define, we will always
44151         name it __md5_process_block.
44152         (md5_finish_ctx): Update md5_process_block call.
44153         (md5_stream): Likewise.
44154         (md5_process_bytes): Likewise.
44155         (md5_process_block): Rename to __md5_process_block and move to ...
44156         * crypt/md5-block.c: ... here.
44157         * crypt/sha256.c (sha256_process_block): Move to ...
44158         * crypt/sha256-block.c: ... here.
44159         * crypt/sha512.c (sha512_process_block): Move to ...
44160         * crypt/sha512-block.c: ... here.
44161         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44162         path.
44163         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44164         * sysdeps/sparc/sparc64/multiarch/Makefile
44165         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44166         crypt subdir.
44167         (localedef-aux): Add md5 crypto assembler when in locale subdir.
44168         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44169         multiarch changes.
44170         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44171         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44172         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44173         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44174         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44175         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44176         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44177         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44178         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44179         file.
44180         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44181         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44182         file.
44183         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44185 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
44187         * timezone/tzselect.ksh: Update from tzcode git revision
44188         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44189         * timezone/zdump.c: Likewise.
44190         * timezone/zic.c: Likewise.
44191         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44192         in TZVERSION setting, not $(PKGVERSION).
44193         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
44194         REPORT_BUGS_TO settings.
44196         [BZ #14838]
44197         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44198         macro.
44200 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44202         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44203         detection to immediately after _FP_ROUND().
44204         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44205         bits are 0.
44207 2012-11-11  David S. Miller  <davem@davemloft.net>
44209         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44210         inttypes.h
44211         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44212         __close rather than their public counterparts.
44214 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
44216         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44217         file.
44218         [UNIX98] (sem_timedwait): Do not expect.
44219         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44220         [XPG4 || UNIX98] (sockatmark): Do not expect.
44221         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44222         (clock_getcpuclockid): Do not expect.
44223         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44224         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44225         Do not expect.
44226         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44227         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44228         [UNIX98] (vwscanf): Likewise.
44229         [UNIX98] (vswscanf): Likewise.
44231 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
44233         * timezone/version.h: Remove file.
44234         * timezone/README: Do not refer to version.h.
44235         * timezone/Makefile ($(objpfx)zic.o): New dependency on
44236         $(objpfx)version.h.
44237         ($(objpfx)zdump.o): Likewise.
44238         ($(objpfx)version.h): New target.
44240         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44241         2012i.
44242         * timezone/README: Don't mention modification to tzselect.ksh.
44243         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44244         work on unmodified tzselect.ksh.  Substitute version numbers in
44245         tzselect.ksh.
44247         * Makefile (format-me): Remove.
44248         (INSTALL): Adjust indentation.  Use commands directly instead of
44249         using $(format-me).
44251         * aclocal.m4 (ACX_PKGVERSION): New macro.
44252         (ACX_BUGURL): Likewise.
44253         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44254         (PKGVERSION): New AC_DEFINE_UNQUOTED.
44255         (REPORT_BUGS_TO): Likewise.
44256         * configure: Regenerated.
44257         * config.h.in (PKGVERSION): New macro.
44258         (REPORT_BUGS_TO): Likewise.
44259         * config.make.in (PKGVERSION): New variable.
44260         (PKGVERSION_TEXI): Likewise.
44261         (REPORT_BUGS_TO): Likewise.
44262         (REPORT_BUGS_TEXI): Likewise.
44263         * Makefile (format-me): Use -I$(common-objpfx)manual.
44264         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44265         ($(common-objpfx)manual/%): New target.
44266         (manual/%): Remove target.
44267         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44268         (print_version): Use PKGVERSION.
44269         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44270         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44271         and REPORT_BUGS_TO.
44272         ($(objpfx)xtrace): Likewise.
44273         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44274         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44275         (print_version): Use PKGVERSION.
44276         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44277         (do_version): Use PKGVERSION.
44278         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44279         REPORT_BUGS_TO.
44280         (common-ldd-rewrite): Likewise.
44281         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44282         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44283         (print_version): Use PKGVERSION.
44284         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44285         * elf/pldd.c (argp_program_bug_address): Remove variable.
44286         (more_help): New function.
44287         (argp): Use more_help.
44288         (print_version): Use PKGVERSION.
44289         * elf/sln.c (main): Use PKGVERSION.
44290         (usage): Use REPORT_BUGS_TO.
44291         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44292         (top level): Use PKGVERSION.
44293         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44294         (print_version): Use PKGVERSION.
44295         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44296         (print_version): Use PKGVERSION.
44297         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44298         (print_version): Use PKGVERSION.
44299         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44300         (print_version): Use PKGVERSION.
44301         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44302         (print_version): Use PKGVERSION.
44303         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44304         (print_version): Use PKGVERSION.
44305         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44306         and BUGURL.
44307         ($(objpfx)memusage): Likewise.
44308         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44309         (do_version): Use PKGVERSION.
44310         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44311         (print_version): Use PKGVERSION.
44312         * malloc/mtrace.pl ($PACKAGE): Remove variable.
44313         ($PKGVERSION): New variable.
44314         ($REPORT_BUGS_TO): Likewise.
44315         (usage): Use $REPORT_BUGS_TO.
44316         (top level): Use $PKGVERSION.
44317         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44318         ($(objpfx)pkgvers.texi): New rule.
44319         ($(objpfx)stamp-pkgvers): Likewise.
44320         * manual/install.texi: Include pkgvers.texi.
44321         (--with-pkgversion): Document new configure option.
44322         (--with-bugurl): Likewise.
44323         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44324         than necessarily for this particular distribution.  Use
44325         REPORT_BUGS_TO for where to report bugs.
44326         * INSTALL: Regenerated.
44327         * manual/libc.texinfo: Include pkgvers.texi.
44328         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44329         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44330         (print_version): Use PKGVERSION.
44331         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44332         (print_version): Use PKGVERSION.
44333         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44334         (print_version): Use PKGVERSION.
44335         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44336         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44337         macro.
44338         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44339         (print_version): Use PKGVERSION.
44340         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44341         (print_version): Use PKGVERSION.
44342         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44343         and PKGVERSION.
44345         * timezone/checktab.awk: Update from tzcode 2012i.
44346         * timezone/ialloc.c: Likewise.
44347         * timezone/private.h: Likewise.
44348         * timezone/scheck.c: Likewise.
44349         * timezone/tzfile.h: Likewise.
44350         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44351         (TZVERSION): Hardcode tzcode version number.
44352         * timezone/zdump.c: Update from tzcode 2012i.
44353         * timezone/zic.c: Likewise.
44354         * timezone/version.h: New file.
44355         * timezone/README: Describe version.h.  Update upstream location.
44357         [BZ #14824]
44358         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44359         (mktemp): Enable declaration.
44360         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44362         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44364         Likewise.
44365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44366         Likewise.
44367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44368         Likewise.
44369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44370         Likewise.
44371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44372         Likewise.
44373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44374         Likewise.
44376         [BZ #14821]
44377         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44378         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
44379         for copies of such integer values.
44380         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44381         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44383 2012-11-09  Andreas Jaeger  <aj@suse.de>
44385         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44386         definitions and declarations that are provided by
44387         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44389 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44391         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44392         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44393         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44394         definition.
44396 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44398         * elf/elf.h: Update comment before AArch64 relocations.
44400 2012-11-07  David S. Miller  <davem@davemloft.net>
44402         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44403         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44404         (__start_context): Declare.
44405         (__makecontext_ret): Delete.
44406         (__makecontext): Hook up __start_context instead of
44407         __makecontext_ret.
44408         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44409         (sysdep_routines): Add __start_context when in stdlib.
44411 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44413         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44414         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44415         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
44416         hardcoded "nm".
44417         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
44418         (READELF): New variable.  Use it instead of hardcoded "readelf".
44420 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44422         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44423         * sysdeps/x86/Makefile: Here.
44424         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44425         * sysdeps/x86/tst-xmmymm.sh: This.
44427 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44429         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44430         expectations.
44431         [UNIX98] (pthread_barrier_t): Do not expect.
44432         [UNIX98] (pthread_barrierattr_t): Likewise.
44433         [UNIX98] (pthread_spinlock_t): Likewise.
44434         [UNIX98] (pthread_barrier_destroy): Likewise.
44435         [UNIX98] (pthread_barrier_init): Likewise.
44436         [UNIX98] (pthread_barrier_wait): Likewise.
44437         [UNIX98] (pthread_barrierattr_destroy): Likewise.
44438         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44439         [UNIX98] (pthread_barrierattr_init): Likewise.
44440         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44441         [UNIX98] (pthread_getcpuclockid): Likewise.
44442         [UNIX98] (pthread_mutex_timedlock): Likewise.
44443         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44444         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44445         [UNIX98] (pthread_sigmask): Likewise.
44446         [UNIX98] (pthread_spin_destroy): Likewise.
44447         [UNIX98] (pthread_spin_init): Likewise.
44448         [UNIX98] (pthread_spin_lock): Likewise.
44449         [UNIX98] (pthread_spin_trylock): Likewise.
44450         [UNIX98] (pthread_spin_unlock): Likewise.
44451         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44452         Do not expect.
44453         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44454         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44455         [XPG3 || XPG4] (pthread_cond_t): Likewise.
44456         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44457         [XPG3 || XPG4] (pthread_key_t): Likewise.
44458         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44459         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44460         [XPG3 || XPG4] (pthread_once_t): Likewise.
44461         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44462         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44463         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44464         [XPG3 || XPG4] (pthread_t): Likewise.
44466         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44467         not expect.
44468         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44470         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44471         Change function return type to int.
44473         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44474         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44475         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44476         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44477         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44478         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44479         [!POSIX] (posix_madvise): Likewise.
44480         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44481         && !UNIX98].
44482         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44483         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44484         (mode_t): Likewise.
44485         (posix_mem_offset): Likewise.
44486         (posix_typed_mem_get_info): Likewise.
44487         (posix_typed_mem_open): Likewise.
44489         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44490         Change condition to [XOPEN2K8].
44492         * conform/conformtest.pl: Preprocess allow-header data with -x c
44493         instead of from stdin.
44494         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44495         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44496         [C99-based standards] (cerfc): Likewise.
44497         [C99-based standards] (cexp2): Likewise.
44498         [C99-based standards] (cexpm1): Likewise.
44499         [C99-based standards] (clog10): Likewise.
44500         [C99-based standards] (clog1p): Likewise.
44501         [C99-based standards] (clog2): Likewise.
44502         [C99-based standards] (clgamma): Likewise.
44503         [C99-based standards] (ctgamma): Likewise.
44504         [C99-based standards] (cerff): Likewise.
44505         [C99-based standards] (cerfcf): Likewise.
44506         [C99-based standards] (cexp2f): Likewise.
44507         [C99-based standards] (cexpm1f): Likewise.
44508         [C99-based standards] (clog10f): Likewise.
44509         [C99-based standards] (clog1pf): Likewise.
44510         [C99-based standards] (clog2f): Likewise.
44511         [C99-based standards] (clgammaf): Likewise.
44512         [C99-based standards] (ctgammaf): Likewise.
44513         [C99-based standards] (cerfl): Likewise.
44514         [C99-based standards] (cerfcl): Likewise.
44515         [C99-based standards] (cexp2l): Likewise.
44516         [C99-based standards] (cexpm1l): Likewise.
44517         [C99-based standards] (clog10l): Likewise.
44518         [C99-based standards] (clog1pl): Likewise.
44519         [C99-based standards] (clog2l): Likewise.
44520         [C99-based standards] (clgammal): Likewise.
44521         [C99-based standards] (ctgammal): Likewise.
44522         * conform/data/inttypes.h-data [C99-based standards]: Include
44523         stdint.h-data.  Remove all expectations for stdint.h contents.
44524         [C99-based standards] (PRI*): Do not allow.
44525         [C99-based standards] (SCN*): Likewise.
44526         [C99-based standards] (*_t): Likewise.
44527         [C99-based-standards] (PRId8): Expect macro.
44528         [C99-based-standards] (PRIi8): Likewise.
44529         [C99-based-standards] (PRIo8): Likewise.
44530         [C99-based-standards] (PRIu8): Likewise.
44531         [C99-based-standards] (PRIx8): Likewise.
44532         [C99-based-standards] (PRIX8): Likewise.
44533         [C99-based-standards] (SCNd8): Likewise.
44534         [C99-based-standards] (SCNi8): Likewise.
44535         [C99-based-standards] (SCNo8): Likewise.
44536         [C99-based-standards] (SCNu8): Likewise.
44537         [C99-based-standards] (SCNx8): Likewise.
44538         [C99-based-standards] (PRIdLEAST8): Likewise.
44539         [C99-based-standards] (PRIiLEAST8): Likewise.
44540         [C99-based-standards] (PRIoLEAST8): Likewise.
44541         [C99-based-standards] (PRIuLEAST8): Likewise.
44542         [C99-based-standards] (PRIxLEAST8): Likewise.
44543         [C99-based-standards] (PRIXLEAST8): Likewise.
44544         [C99-based-standards] (SCNdLEAST8): Likewise.
44545         [C99-based-standards] (SCNiLEAST8): Likewise.
44546         [C99-based-standards] (SCNoLEAST8): Likewise.
44547         [C99-based-standards] (SCNuLEAST8): Likewise.
44548         [C99-based-standards] (SCNxLEAST8): Likewise.
44549         [C99-based-standards] (PRIdFAST8): Likewise.
44550         [C99-based-standards] (PRIiFAST8): Likewise.
44551         [C99-based-standards] (PRIoFAST8): Likewise.
44552         [C99-based-standards] (PRIuFAST8): Likewise.
44553         [C99-based-standards] (PRIxFAST8): Likewise.
44554         [C99-based-standards] (PRIXFAST8): Likewise.
44555         [C99-based-standards] (SCNdFAST8): Likewise.
44556         [C99-based-standards] (SCNiFAST8): Likewise.
44557         [C99-based-standards] (SCNoFAST8): Likewise.
44558         [C99-based-standards] (SCNuFAST8): Likewise.
44559         [C99-based-standards] (SCNxFAST8): Likewise.
44560         [C99-based-standards] (PRId16): Likewise.
44561         [C99-based-standards] (PRIi16): Likewise.
44562         [C99-based-standards] (PRIo16): Likewise.
44563         [C99-based-standards] (PRIu16): Likewise.
44564         [C99-based-standards] (PRIx16): Likewise.
44565         [C99-based-standards] (PRIX16): Likewise.
44566         [C99-based-standards] (SCNd16): Likewise.
44567         [C99-based-standards] (SCNi16): Likewise.
44568         [C99-based-standards] (SCNo16): Likewise.
44569         [C99-based-standards] (SCNu16): Likewise.
44570         [C99-based-standards] (SCNx16): Likewise.
44571         [C99-based-standards] (PRIdLEAST16): Likewise.
44572         [C99-based-standards] (PRIiLEAST16): Likewise.
44573         [C99-based-standards] (PRIoLEAST16): Likewise.
44574         [C99-based-standards] (PRIuLEAST16): Likewise.
44575         [C99-based-standards] (PRIxLEAST16): Likewise.
44576         [C99-based-standards] (PRIXLEAST16): Likewise.
44577         [C99-based-standards] (SCNdLEAST16): Likewise.
44578         [C99-based-standards] (SCNiLEAST16): Likewise.
44579         [C99-based-standards] (SCNoLEAST16): Likewise.
44580         [C99-based-standards] (SCNuLEAST16): Likewise.
44581         [C99-based-standards] (SCNxLEAST16): Likewise.
44582         [C99-based-standards] (PRIdFAST16): Likewise.
44583         [C99-based-standards] (PRIiFAST16): Likewise.
44584         [C99-based-standards] (PRIoFAST16): Likewise.
44585         [C99-based-standards] (PRIuFAST16): Likewise.
44586         [C99-based-standards] (PRIxFAST16): Likewise.
44587         [C99-based-standards] (PRIXFAST16): Likewise.
44588         [C99-based-standards] (SCNdFAST16): Likewise.
44589         [C99-based-standards] (SCNiFAST16): Likewise.
44590         [C99-based-standards] (SCNoFAST16): Likewise.
44591         [C99-based-standards] (SCNuFAST16): Likewise.
44592         [C99-based-standards] (SCNxFAST16): Likewise.
44593         [C99-based-standards] (PRId32): Likewise.
44594         [C99-based-standards] (PRIi32): Likewise.
44595         [C99-based-standards] (PRIo32): Likewise.
44596         [C99-based-standards] (PRIu32): Likewise.
44597         [C99-based-standards] (PRIx32): Likewise.
44598         [C99-based-standards] (PRIX32): Likewise.
44599         [C99-based-standards] (SCNd32): Likewise.
44600         [C99-based-standards] (SCNi32): Likewise.
44601         [C99-based-standards] (SCNo32): Likewise.
44602         [C99-based-standards] (SCNu32): Likewise.
44603         [C99-based-standards] (SCNx32): Likewise.
44604         [C99-based-standards] (PRIdLEAST32): Likewise.
44605         [C99-based-standards] (PRIiLEAST32): Likewise.
44606         [C99-based-standards] (PRIoLEAST32): Likewise.
44607         [C99-based-standards] (PRIuLEAST32): Likewise.
44608         [C99-based-standards] (PRIxLEAST32): Likewise.
44609         [C99-based-standards] (PRIXLEAST32): Likewise.
44610         [C99-based-standards] (SCNdLEAST32): Likewise.
44611         [C99-based-standards] (SCNiLEAST32): Likewise.
44612         [C99-based-standards] (SCNoLEAST32): Likewise.
44613         [C99-based-standards] (SCNuLEAST32): Likewise.
44614         [C99-based-standards] (SCNxLEAST32): Likewise.
44615         [C99-based-standards] (PRIdFAST32): Likewise.
44616         [C99-based-standards] (PRIiFAST32): Likewise.
44617         [C99-based-standards] (PRIoFAST32): Likewise.
44618         [C99-based-standards] (PRIuFAST32): Likewise.
44619         [C99-based-standards] (PRIxFAST32): Likewise.
44620         [C99-based-standards] (PRIXFAST32): Likewise.
44621         [C99-based-standards] (SCNdFAST32): Likewise.
44622         [C99-based-standards] (SCNiFAST32): Likewise.
44623         [C99-based-standards] (SCNoFAST32): Likewise.
44624         [C99-based-standards] (SCNuFAST32): Likewise.
44625         [C99-based-standards] (SCNxFAST32): Likewise.
44626         [C99-based-standards] (PRId64): Likewise.
44627         [C99-based-standards] (PRIi64): Likewise.
44628         [C99-based-standards] (PRIo64): Likewise.
44629         [C99-based-standards] (PRIu64): Likewise.
44630         [C99-based-standards] (PRIx64): Likewise.
44631         [C99-based-standards] (PRIX64): Likewise.
44632         [C99-based-standards] (SCNd64): Likewise.
44633         [C99-based-standards] (SCNi64): Likewise.
44634         [C99-based-standards] (SCNo64): Likewise.
44635         [C99-based-standards] (SCNu64): Likewise.
44636         [C99-based-standards] (SCNx64): Likewise.
44637         [C99-based-standards] (PRIdLEAST64): Likewise.
44638         [C99-based-standards] (PRIiLEAST64): Likewise.
44639         [C99-based-standards] (PRIoLEAST64): Likewise.
44640         [C99-based-standards] (PRIuLEAST64): Likewise.
44641         [C99-based-standards] (PRIxLEAST64): Likewise.
44642         [C99-based-standards] (PRIXLEAST64): Likewise.
44643         [C99-based-standards] (SCNdLEAST64): Likewise.
44644         [C99-based-standards] (SCNiLEAST64): Likewise.
44645         [C99-based-standards] (SCNoLEAST64): Likewise.
44646         [C99-based-standards] (SCNuLEAST64): Likewise.
44647         [C99-based-standards] (SCNxLEAST64): Likewise.
44648         [C99-based-standards] (PRIdFAST64): Likewise.
44649         [C99-based-standards] (PRIiFAST64): Likewise.
44650         [C99-based-standards] (PRIoFAST64): Likewise.
44651         [C99-based-standards] (PRIuFAST64): Likewise.
44652         [C99-based-standards] (PRIxFAST64): Likewise.
44653         [C99-based-standards] (PRIXFAST64): Likewise.
44654         [C99-based-standards] (SCNdFAST64): Likewise.
44655         [C99-based-standards] (SCNiFAST64): Likewise.
44656         [C99-based-standards] (SCNoFAST64): Likewise.
44657         [C99-based-standards] (SCNuFAST64): Likewise.
44658         [C99-based-standards] (SCNxFAST64): Likewise.
44659         [C99-based-standards] (PRIdMAX): Likewise.
44660         [C99-based-standards] (PRIiMAX): Likewise.
44661         [C99-based-standards] (PRIoMAX): Likewise.
44662         [C99-based-standards] (PRIuMAX): Likewise.
44663         [C99-based-standards] (PRIxMAX): Likewise.
44664         [C99-based-standards] (PRIXMAX): Likewise.
44665         [C99-based-standards] (SCNdMAX): Likewise.
44666         [C99-based-standards] (SCNiMAX): Likewise.
44667         [C99-based-standards] (SCNoMAX): Likewise.
44668         [C99-based-standards] (SCNuMAX): Likewise.
44669         [C99-based-standards] (SCNxMAX): Likewise.
44670         [C99-based-standards] (PRIdPTR): Likewise.
44671         [C99-based-standards] (PRIiPTR): Likewise.
44672         [C99-based-standards] (PRIoPTR): Likewise.
44673         [C99-based-standards] (PRIuPTR): Likewise.
44674         [C99-based-standards] (PRIxPTR): Likewise.
44675         [C99-based-standards] (PRIXPTR): Likewise.
44676         [C99-based-standards] (SCNdPTR): Likewise.
44677         [C99-based-standards] (SCNiPTR): Likewise.
44678         [C99-based-standards] (SCNoPTR): Likewise.
44679         [C99-based-standards] (SCNuPTR): Likewise.
44680         [C99-based-standards] (SCNxPTR): Likewise.
44681         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44682         allow.
44683         * conform/data/stdint.h-data: Update comments to clarify
44684         requirements.
44685         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
44686         type.
44687         [C99-based standards] (INT8_MAX): Likewise.
44688         [C99-based standards] (INT16_MIN): Likewise.
44689         [C99-based standards] (INT16_MAX): Likewise.
44690         [C99-based standards] (INT32_MIN): Likewise.
44691         [C99-based standards] (INT32_MAX): Likewise.
44692         [C99-based standards] (INT64_MIN): Likewise.
44693         [C99-based standards] (INT64_MAX): Likewise.
44694         [C99-based standards] (UINT8_MAX): Likewise.
44695         [C99-based standards] (UINT16_MAX): Likewise.
44696         [C99-based standards] (UINT32_MAX): Likewise.
44697         [C99-based standards] (UINT64_MAX): Likewise.
44698         [C99-based standards] (INT_LEAST8_MIN): Likewise.
44699         [C99-based standards] (INT_LEAST8_MAX): Likewise.
44700         [C99-based standards] (INT_LEAST16_MIN): Likewise.
44701         [C99-based standards] (INT_LEAST16_MAX): Likewise.
44702         [C99-based standards] (INT_LEAST32_MIN): Likewise.
44703         [C99-based standards] (INT_LEAST32_MAX): Likewise.
44704         [C99-based standards] (INT_LEAST64_MIN): Likewise.
44705         [C99-based standards] (INT_LEAST64_MAX): Likewise.
44706         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44707         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44708         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44709         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44710         [C99-based standards] (INT_FAST8_MIN): Likewise.
44711         [C99-based standards] (INT_FAST8_MAX): Likewise.
44712         [C99-based standards] (INT_FAST16_MIN): Likewise.
44713         [C99-based standards] (INT_FAST16_MAX): Likewise.
44714         [C99-based standards] (INT_FAST32_MIN): Likewise.
44715         [C99-based standards] (INT_FAST32_MAX): Likewise.
44716         [C99-based standards] (INT_FAST64_MIN): Likewise.
44717         [C99-based standards] (INT_FAST64_MAX): Likewise.
44718         [C99-based standards] (UINT_FAST8_MAX): Likewise.
44719         [C99-based standards] (UINT_FAST16_MAX): Likewise.
44720         [C99-based standards] (UINT_FAST32_MAX): Likewise.
44721         [C99-based standards] (UINT_FAST64_MAX): Likewise.
44722         [C99-based standards] (INTPTR_MIN): Likewise.
44723         [C99-based standards] (INTPTR_MAX): Likewise.
44724         [C99-based standards] (UINTPTR_MAX): Likewise.
44725         [C99-based standards] (INTMAX_MIN): Likewise.
44726         [C99-based standards] (INTMAX_MAX): Likewise.
44727         [C99-based standards] (UINTMAX_MAX): Likewise.
44728         [C99-based standards] (PTRDIFF_MIN): Likewise.
44729         [C99-based standards] (PTRDIFF_MAX): Likewise.
44730         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44731         [C99-based standards] (SIZE_MAX): Likewise.
44732         [C99-based standards] (WCHAR_MAX): Likewise.
44733         [C99-based standards] (WINT_MAX): Likewise.
44734         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
44735         constraint on value.
44736         [C99-based standards] (WCHAR_MIN): Likewise.
44737         [C99-based standards] (WINT_MIN): Likewise.
44738         [C99-based standards] (*_t): Allow.
44739         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44740         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44741         Include math.h-data and complex.h-data.  Remove all expectations
44742         of math.h and complex.h contents.
44743         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44744         at end of line.
44745         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44746         (struct tm): Expect tag.
44747         [C99-based-standards] (wcstof): Expect function.
44748         [C99-based-standards] (wcstold): Likewise.
44749         [C99-based-standards] (wcstoll): Likewise.
44750         [C99-based-standards] (wcstoull): Likewise.
44751         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44752         macro-int-constant.  Specify type.
44753         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
44754         constraint on value.
44755         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44756         Specify type.
44757         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44758         Specify value.
44759         [ISO C standards]: Do not allow headers.
44760         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44761         wcs[abcdefghijklmnopqrstuvwxyz]*.
44762         [ISO C standards] (*_t): Do not allow.
44763         * conform/data/wctype.h-data [C99-based standards] (iswblank):
44764         Expect function.
44765         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44766         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44767         Specify type.
44768         [ISO C standards]: Do not allow headers.
44769         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44770         is[abcdefghijklmnopqrstuvwxyz]*.
44771         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44772         to[abcdefghijklmnopqrstuvwxyz]*.
44773         [ISO C standards] (*_t): Do not allow.
44774         * conform/data/stdalign.h-data: New file.
44775         * conform/data/stdbool.h-data: Likewise.
44776         * conform/data/stdnoreturn.h-data: Likewise.
44778 2012-11-07  Roland McGrath  <roland@hack.frob.com>
44780         [BZ #14815]
44781         * manual/filesys.texi (Directory Entries): Typo fix.
44782         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44784 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44786         * elf/elf.h (EM_AARCH64): New macro.
44787         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44788         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44789         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44790         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44791         (R_AARCH64_TLSDESC): Likewise.
44792         (NT_ARM_TLS): Likewise.
44793         (NT_ARM_HW_BREAK): Likewise.
44794         (NT_ARM_HW_WATCH): Likewise.
44796 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44798         [BZ #14811]
44799         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44800         (__ieee754_powl): Saturate nonzero exponents with absolute value
44801         below 0x1p-79 to +/- 0x1p-79.
44802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44803         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44804         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44805         nonzero exponents with absolute value below 0x1p-32 to +/-
44806         0x1p-32.
44807         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44808         (__ieee754_powl): Saturate nonzero exponents with absolute value
44809         below 0x1p-79 to +/- 0x1p-79.
44810         * math/libm-test.inc (pow_test): Add more tests.
44812 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44814         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44815         _dl_s390_cap_flags with kernel. Increase string length.
44816         (_dl_s390_platforms): Add z196 and zEC12.
44818 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44820         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44821         Change XOPEN21K to XOPEN2K.
44823 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
44825         * string/memmove.c: Use memcpy when possible.
44827 2012-11-06  Andreas Jaeger  <aj@suse.de>
44829         * po/eo.po: Update from translation team.
44831 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
44833         [BZ #14793]
44834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44835         exponent and small x and y exponents, scale x or y up.  Increase
44836         by 2 the exponent used in scaling up.
44837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44838         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44839         * math/libm-test.inc (fma_test): Add more tests.
44840         (fma_test_towardzero): Likewise.
44841         (fma_test_downward): Likewise.
44842         (fma_test_upward): Likewise.
44844 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
44846         [BZ #14805]
44847         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44848         fenv_t *.
44850         [BZ #14801]
44851         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44852         namespace for names of struct fields.
44853         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44854         fenv_t fields.
44855         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44856         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44858 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44860         [BZ #3665]
44861         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44863 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
44865         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44866         PTR_DEMANGLE.
44868         [BZ #5246]
44869         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44870         PTR_DEMANGLE.
44872 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
44874         [BZ #14797]
44875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44876         definitely overflow as x * y not x * y + z.
44877         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44879         * math/libm-test.inc (fma_test): Add more tests.
44880         (fma_test_towardzero): Likewise.
44881         (fma_test_downward): Likewise.
44882         (fma_test_upward): Likewise.
44884 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
44886         [BZ #157]
44888         * include/stub-tag.h: Remove file.
44889         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44890         '#include' of it.
44891         * manual/maint.texi (Porting): Don't reference it.
44892         * Makerules ($(objpfx)stubs): Likewise.
44893         * dirent/closedir.c: Don't include <stub-tag.h>.
44894         * dirent/dirfd.c: Likewise.
44895         * dirent/fdopendir.c: Likewise.
44896         * dirent/getdents.c: Likewise.
44897         * dirent/getdents64.c: Likewise.
44898         * dirent/opendir.c: Likewise.
44899         * dirent/readdir.c: Likewise.
44900         * dirent/readdir64.c: Likewise.
44901         * dirent/readdir64_r.c: Likewise.
44902         * dirent/readdir_r.c: Likewise.
44903         * dirent/rewinddir.c: Likewise.
44904         * dirent/seekdir.c: Likewise.
44905         * dirent/telldir.c: Likewise.
44906         * gmon/profil.c: Likewise.
44907         * grp/setgroups.c: Likewise.
44908         * inet/if_index.c: Likewise.
44909         * io/access.c: Likewise.
44910         * io/chdir.c: Likewise.
44911         * io/chmod.c: Likewise.
44912         * io/chown.c: Likewise.
44913         * io/close.c: Likewise.
44914         * io/dup.c: Likewise.
44915         * io/dup2.c: Likewise.
44916         * io/dup3.c: Likewise.
44917         * io/euidaccess.c: Likewise.
44918         * io/faccessat.c: Likewise.
44919         * io/fchdir.c: Likewise.
44920         * io/fchmod.c: Likewise.
44921         * io/fchmodat.c: Likewise.
44922         * io/fchown.c: Likewise.
44923         * io/fchownat.c: Likewise.
44924         * io/fcntl.c: Likewise.
44925         * io/flock.c: Likewise.
44926         * io/fstatfs.c: Likewise.
44927         * io/fstatfs64.c: Likewise.
44928         * io/fstatvfs.c: Likewise.
44929         * io/fstatvfs64.c: Likewise.
44930         * io/futimens.c: Likewise.
44931         * io/fxstat.c: Likewise.
44932         * io/fxstat64.c: Likewise.
44933         * io/fxstatat.c: Likewise.
44934         * io/fxstatat64.c: Likewise.
44935         * io/getcwd.c: Likewise.
44936         * io/isatty.c: Likewise.
44937         * io/lchmod.c: Likewise.
44938         * io/lchown.c: Likewise.
44939         * io/link.c: Likewise.
44940         * io/linkat.c: Likewise.
44941         * io/lseek.c: Likewise.
44942         * io/lseek64.c: Likewise.
44943         * io/lxstat64.c: Likewise.
44944         * io/mkdir.c: Likewise.
44945         * io/mkdirat.c: Likewise.
44946         * io/mkfifo.c: Likewise.
44947         * io/mkfifoat.c: Likewise.
44948         * io/open.c: Likewise.
44949         * io/open64.c: Likewise.
44950         * io/openat.c: Likewise.
44951         * io/openat64.c: Likewise.
44952         * io/pipe.c: Likewise.
44953         * io/pipe2.c: Likewise.
44954         * io/poll.c: Likewise.
44955         * io/posix_fadvise.c: Likewise.
44956         * io/posix_fadvise64.c: Likewise.
44957         * io/posix_fallocate.c: Likewise.
44958         * io/posix_fallocate64.c: Likewise.
44959         * io/read.c: Likewise.
44960         * io/readlink.c: Likewise.
44961         * io/readlinkat.c: Likewise.
44962         * io/rmdir.c: Likewise.
44963         * io/sendfile.c: Likewise.
44964         * io/sendfile64.c: Likewise.
44965         * io/statfs.c: Likewise.
44966         * io/statfs64.c: Likewise.
44967         * io/statvfs.c: Likewise.
44968         * io/statvfs64.c: Likewise.
44969         * io/symlink.c: Likewise.
44970         * io/symlinkat.c: Likewise.
44971         * io/ttyname.c: Likewise.
44972         * io/ttyname_r.c: Likewise.
44973         * io/umask.c: Likewise.
44974         * io/unlink.c: Likewise.
44975         * io/unlinkat.c: Likewise.
44976         * io/utime.c: Likewise.
44977         * io/utimensat.c: Likewise.
44978         * io/write.c: Likewise.
44979         * io/xmknod.c: Likewise.
44980         * io/xmknodat.c: Likewise.
44981         * io/xstat.c: Likewise.
44982         * io/xstat64.c: Likewise.
44983         * login/getpt.c: Likewise.
44984         * login/grantpt.c: Likewise.
44985         * login/unlockpt.c: Likewise.
44986         * math/e_acoshl.c: Likewise.
44987         * math/e_acosl.c: Likewise.
44988         * math/e_asinl.c: Likewise.
44989         * math/e_atan2l.c: Likewise.
44990         * math/e_atanhl.c: Likewise.
44991         * math/e_coshl.c: Likewise.
44992         * math/e_expl.c: Likewise.
44993         * math/e_fmodl.c: Likewise.
44994         * math/e_gammal_r.c: Likewise.
44995         * math/e_hypotl.c: Likewise.
44996         * math/e_j0l.c: Likewise.
44997         * math/e_j1l.c: Likewise.
44998         * math/e_jnl.c: Likewise.
44999         * math/e_lgammal_r.c: Likewise.
45000         * math/e_log10l.c: Likewise.
45001         * math/e_log2l.c: Likewise.
45002         * math/e_logl.c: Likewise.
45003         * math/e_powl.c: Likewise.
45004         * math/e_rem_pio2l.c: Likewise.
45005         * math/e_sinhl.c: Likewise.
45006         * math/e_sqrtl.c: Likewise.
45007         * math/fclrexcpt.c: Likewise.
45008         * math/fedisblxcpt.c: Likewise.
45009         * math/feenablxcpt.c: Likewise.
45010         * math/fegetenv.c: Likewise.
45011         * math/fegetexcept.c: Likewise.
45012         * math/fegetround.c: Likewise.
45013         * math/feholdexcpt.c: Likewise.
45014         * math/fesetenv.c: Likewise.
45015         * math/fesetround.c: Likewise.
45016         * math/feupdateenv.c: Likewise.
45017         * math/fgetexcptflg.c: Likewise.
45018         * math/fraiseexcpt.c: Likewise.
45019         * math/fsetexcptflg.c: Likewise.
45020         * math/ftestexcept.c: Likewise.
45021         * math/k_cosl.c: Likewise.
45022         * math/k_rem_pio2l.c: Likewise.
45023         * math/k_sinl.c: Likewise.
45024         * math/k_tanl.c: Likewise.
45025         * math/s_asinhl.c: Likewise.
45026         * math/s_atanl.c: Likewise.
45027         * math/s_cbrtl.c: Likewise.
45028         * math/s_erfl.c: Likewise.
45029         * math/s_expm1l.c: Likewise.
45030         * math/s_log1pl.c: Likewise.
45031         * math/s_tanhl.c: Likewise.
45032         * misc/acct.c: Likewise.
45033         * misc/brk.c: Likewise.
45034         * misc/chflags.c: Likewise.
45035         * misc/chroot.c: Likewise.
45036         * misc/fchflags.c: Likewise.
45037         * misc/fgetxattr.c: Likewise.
45038         * misc/flistxattr.c: Likewise.
45039         * misc/fremovexattr.c: Likewise.
45040         * misc/fsetxattr.c: Likewise.
45041         * misc/fsync.c: Likewise.
45042         * misc/ftruncate.c: Likewise.
45043         * misc/futimes.c: Likewise.
45044         * misc/futimesat.c: Likewise.
45045         * misc/getdomain.c: Likewise.
45046         * misc/getdtsz.c: Likewise.
45047         * misc/gethostid.c: Likewise.
45048         * misc/gethostname.c: Likewise.
45049         * misc/getloadavg.c: Likewise.
45050         * misc/getpagesize.c: Likewise.
45051         * misc/getsysstats.c: Likewise.
45052         * misc/getxattr.c: Likewise.
45053         * misc/gtty.c: Likewise.
45054         * misc/ioctl.c: Likewise.
45055         * misc/lgetxattr.c: Likewise.
45056         * misc/listxattr.c: Likewise.
45057         * misc/llistxattr.c: Likewise.
45058         * misc/lremovexattr.c: Likewise.
45059         * misc/lsetxattr.c: Likewise.
45060         * misc/lutimes.c: Likewise.
45061         * misc/madvise.c: Likewise.
45062         * misc/mincore.c: Likewise.
45063         * misc/mlock.c: Likewise.
45064         * misc/mlockall.c: Likewise.
45065         * misc/mmap.c: Likewise.
45066         * misc/mprotect.c: Likewise.
45067         * misc/msync.c: Likewise.
45068         * misc/munlock.c: Likewise.
45069         * misc/munlockall.c: Likewise.
45070         * misc/munmap.c: Likewise.
45071         * misc/preadv.c: Likewise.
45072         * misc/preadv64.c: Likewise.
45073         * misc/ptrace.c: Likewise.
45074         * misc/pwritev.c: Likewise.
45075         * misc/pwritev64.c: Likewise.
45076         * misc/readv.c: Likewise.
45077         * misc/reboot.c: Likewise.
45078         * misc/remap_file_pages.c: Likewise.
45079         * misc/removexattr.c: Likewise.
45080         * misc/revoke.c: Likewise.
45081         * misc/select.c: Likewise.
45082         * misc/setdomain.c: Likewise.
45083         * misc/setegid.c: Likewise.
45084         * misc/seteuid.c: Likewise.
45085         * misc/sethostid.c: Likewise.
45086         * misc/sethostname.c: Likewise.
45087         * misc/setregid.c: Likewise.
45088         * misc/setreuid.c: Likewise.
45089         * misc/setxattr.c: Likewise.
45090         * misc/sstk.c: Likewise.
45091         * misc/stty.c: Likewise.
45092         * misc/swapoff.c: Likewise.
45093         * misc/swapon.c: Likewise.
45094         * misc/sync.c: Likewise.
45095         * misc/syncfs.c: Likewise.
45096         * misc/syscall.c: Likewise.
45097         * misc/truncate.c: Likewise.
45098         * misc/ualarm.c: Likewise.
45099         * misc/usleep.c: Likewise.
45100         * misc/ustat.c: Likewise.
45101         * misc/utimes.c: Likewise.
45102         * misc/vhangup.c: Likewise.
45103         * misc/writev.c: Likewise.
45104         * posix/_exit.c: Likewise.
45105         * posix/alarm.c: Likewise.
45106         * posix/execve.c: Likewise.
45107         * posix/fexecve.c: Likewise.
45108         * posix/fork.c: Likewise.
45109         * posix/fpathconf.c: Likewise.
45110         * posix/getaddrinfo.c: Likewise.
45111         * posix/getegid.c: Likewise.
45112         * posix/geteuid.c: Likewise.
45113         * posix/getgid.c: Likewise.
45114         * posix/getgroups.c: Likewise.
45115         * posix/getlogin.c: Likewise.
45116         * posix/getlogin_r.c: Likewise.
45117         * posix/getpgid.c: Likewise.
45118         * posix/getpid.c: Likewise.
45119         * posix/getppid.c: Likewise.
45120         * posix/getresgid.c: Likewise.
45121         * posix/getresuid.c: Likewise.
45122         * posix/getsid.c: Likewise.
45123         * posix/getuid.c: Likewise.
45124         * posix/glob64.c: Likewise.
45125         * posix/nanosleep.c: Likewise.
45126         * posix/pathconf.c: Likewise.
45127         * posix/pause.c: Likewise.
45128         * posix/posix_madvise.c: Likewise.
45129         * posix/pread.c: Likewise.
45130         * posix/pread64.c: Likewise.
45131         * posix/pwrite.c: Likewise.
45132         * posix/pwrite64.c: Likewise.
45133         * posix/sched_getaffinity.c: Likewise.
45134         * posix/sched_getp.c: Likewise.
45135         * posix/sched_gets.c: Likewise.
45136         * posix/sched_primax.c: Likewise.
45137         * posix/sched_primin.c: Likewise.
45138         * posix/sched_rr_gi.c: Likewise.
45139         * posix/sched_setaffinity.c: Likewise.
45140         * posix/sched_setp.c: Likewise.
45141         * posix/sched_sets.c: Likewise.
45142         * posix/sched_yield.c: Likewise.
45143         * posix/setgid.c: Likewise.
45144         * posix/setlogin.c: Likewise.
45145         * posix/setpgid.c: Likewise.
45146         * posix/setresgid.c: Likewise.
45147         * posix/setresuid.c: Likewise.
45148         * posix/setsid.c: Likewise.
45149         * posix/setuid.c: Likewise.
45150         * posix/sleep.c: Likewise.
45151         * posix/spawni.c: Likewise.
45152         * posix/sysconf.c: Likewise.
45153         * posix/times.c: Likewise.
45154         * posix/wait.c: Likewise.
45155         * posix/wait3.c: Likewise.
45156         * posix/wait4.c: Likewise.
45157         * posix/waitpid.c: Likewise.
45158         * resolv/gai_sigqueue.c: Likewise.
45159         * resource/getpriority.c: Likewise.
45160         * resource/getrlimit.c: Likewise.
45161         * resource/getrusage.c: Likewise.
45162         * resource/nice.c: Likewise.
45163         * resource/setpriority.c: Likewise.
45164         * resource/setrlimit.c: Likewise.
45165         * resource/ulimit.c: Likewise.
45166         * rt/aio_cancel.c: Likewise.
45167         * rt/aio_fsync.c: Likewise.
45168         * rt/aio_read.c: Likewise.
45169         * rt/aio_sigqueue.c: Likewise.
45170         * rt/aio_suspend.c: Likewise.
45171         * rt/aio_write.c: Likewise.
45172         * rt/clock_getres.c: Likewise.
45173         * rt/clock_gettime.c: Likewise.
45174         * rt/clock_nanosleep.c: Likewise.
45175         * rt/clock_settime.c: Likewise.
45176         * rt/lio_listio.c: Likewise.
45177         * rt/mq_close.c: Likewise.
45178         * rt/mq_getattr.c: Likewise.
45179         * rt/mq_notify.c: Likewise.
45180         * rt/mq_open.c: Likewise.
45181         * rt/mq_receive.c: Likewise.
45182         * rt/mq_send.c: Likewise.
45183         * rt/mq_setattr.c: Likewise.
45184         * rt/mq_timedreceive.c: Likewise.
45185         * rt/mq_timedsend.c: Likewise.
45186         * rt/mq_unlink.c: Likewise.
45187         * rt/shm_open.c: Likewise.
45188         * rt/shm_unlink.c: Likewise.
45189         * rt/timer_create.c: Likewise.
45190         * rt/timer_delete.c: Likewise.
45191         * rt/timer_getoverr.c: Likewise.
45192         * rt/timer_gettime.c: Likewise.
45193         * rt/timer_settime.c: Likewise.
45194         * setjmp/__longjmp.c: Likewise.
45195         * setjmp/setjmp.c: Likewise.
45196         * signal/kill.c: Likewise.
45197         * signal/killpg.c: Likewise.
45198         * signal/raise.c: Likewise.
45199         * signal/sigaction.c: Likewise.
45200         * signal/sigaltstack.c: Likewise.
45201         * signal/sigblock.c: Likewise.
45202         * signal/sigignore.c: Likewise.
45203         * signal/sigintr.c: Likewise.
45204         * signal/signal.c: Likewise.
45205         * signal/sigpause.c: Likewise.
45206         * signal/sigpending.c: Likewise.
45207         * signal/sigqueue.c: Likewise.
45208         * signal/sigreturn.c: Likewise.
45209         * signal/sigset.c: Likewise.
45210         * signal/sigsetmask.c: Likewise.
45211         * signal/sigstack.c: Likewise.
45212         * signal/sigsuspend.c: Likewise.
45213         * signal/sigtimedwait.c: Likewise.
45214         * signal/sigvec.c: Likewise.
45215         * signal/sigwait.c: Likewise.
45216         * signal/sigwaitinfo.c: Likewise.
45217         * signal/sysv_signal.c: Likewise.
45218         * socket/accept.c: Likewise.
45219         * socket/accept4.c: Likewise.
45220         * socket/bind.c: Likewise.
45221         * socket/connect.c: Likewise.
45222         * socket/getpeername.c: Likewise.
45223         * socket/getsockname.c: Likewise.
45224         * socket/getsockopt.c: Likewise.
45225         * socket/isfdtype.c: Likewise.
45226         * socket/listen.c: Likewise.
45227         * socket/recv.c: Likewise.
45228         * socket/recvfrom.c: Likewise.
45229         * socket/recvmsg.c: Likewise.
45230         * socket/send.c: Likewise.
45231         * socket/sendmsg.c: Likewise.
45232         * socket/sendto.c: Likewise.
45233         * socket/setsockopt.c: Likewise.
45234         * socket/shutdown.c: Likewise.
45235         * socket/sockatmark.c: Likewise.
45236         * socket/socket.c: Likewise.
45237         * socket/socketpair.c: Likewise.
45238         * stdio-common/ctermid.c: Likewise.
45239         * stdio-common/cuserid.c: Likewise.
45240         * stdio-common/remove.c: Likewise.
45241         * stdio-common/rename.c: Likewise.
45242         * stdio-common/renameat.c: Likewise.
45243         * stdio-common/tempname.c: Likewise.
45244         * stdlib/getcontext.c: Likewise.
45245         * stdlib/makecontext.c: Likewise.
45246         * stdlib/setcontext.c: Likewise.
45247         * stdlib/swapcontext.c: Likewise.
45248         * stdlib/system.c: Likewise.
45249         * streams/fattach.c: Likewise.
45250         * streams/fdetach.c: Likewise.
45251         * streams/getmsg.c: Likewise.
45252         * streams/getpmsg.c: Likewise.
45253         * streams/putmsg.c: Likewise.
45254         * streams/putpmsg.c: Likewise.
45255         * sysdeps/unix/bsd/getpt.c: Likewise.
45256         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45257         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45258         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45260         Likewise.
45261         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45262         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45263         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45264         * sysvipc/msgctl.c: Likewise.
45265         * sysvipc/msgget.c: Likewise.
45266         * sysvipc/msgrcv.c: Likewise.
45267         * sysvipc/msgsnd.c: Likewise.
45268         * sysvipc/semctl.c: Likewise.
45269         * sysvipc/semget.c: Likewise.
45270         * sysvipc/semop.c: Likewise.
45271         * sysvipc/semtimedop.c: Likewise.
45272         * sysvipc/shmat.c: Likewise.
45273         * sysvipc/shmctl.c: Likewise.
45274         * sysvipc/shmdt.c: Likewise.
45275         * sysvipc/shmget.c: Likewise.
45276         * termios/tcdrain.c: Likewise.
45277         * termios/tcflow.c: Likewise.
45278         * termios/tcflush.c: Likewise.
45279         * termios/tcgetattr.c: Likewise.
45280         * termios/tcgetpgrp.c: Likewise.
45281         * termios/tcsendbrk.c: Likewise.
45282         * termios/tcsetattr.c: Likewise.
45283         * termios/tcsetpgrp.c: Likewise.
45284         * time/adjtime.c: Likewise.
45285         * time/clock.c: Likewise.
45286         * time/getitimer.c: Likewise.
45287         * time/gettimeofday.c: Likewise.
45288         * time/setitimer.c: Likewise.
45289         * time/settimeofday.c: Likewise.
45290         * time/stime.c: Likewise.
45291         * time/time.c: Likewise.
45293 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
45295         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45296         /usr/old/bin.
45298         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45299         instead of spaces.
45300         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45302 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
45304         [BZ #14796]
45305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45306         FE_TONEAREST before applying Dekker multiplication and Knuth
45307         addition.  Clear inexact exceptions and check for exact zero
45308         results afterwards.
45309         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45310         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45311         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45312         * math/libm-test.inc (fma_test): Add more tests.
45313         (fma_test_towardzero): Likewise.
45314         (fma_test_downward): Likewise.
45315         (fma_test_upward): Likewise.
45316         * sysdeps/generic/math_private.h (default_libc_fesetround): New
45317         function.
45318         (libc_fesetround): New macro.
45319         (libc_fesetroundf): Likewise.
45320         (libc_fesetroundl): Likewise.
45321         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45322         function.
45323         (libc_fesetround_387): Likewise.
45324         (libc_fesetroundf): New macro.
45325         (libc_fesetround): Likewise.
45326         (libc_fesetroundl): Likewise.
45327         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45328         function.
45329         (libc_fesetroundf): New macro.
45330         (libc_fesetround): Likewise.
45331         (libc_fesetroundl): Likewise.
45332         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45333         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45334         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45335         libm_hidden_ver.
45336         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45337         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45338         libm_hidden_def.
45339         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45340         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45341         libm_hidden_ver.
45342         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45343         libm_hidden_def.
45345         [BZ #3439]
45346         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45347         integer constant usable in #if and use that to give value to enum
45348         constant.
45349         (FE_DIVBYZERO): Likewise.
45350         (FE_UNDERFLOW): Likewise.
45351         (FE_OVERFLOW): Likewise.
45352         (FE_INVALID): Likewise.
45353         (FE_INVALID_SNAN): Likewise.
45354         (FE_INVALID_ISI): Likewise.
45355         (FE_INVALID_IDI): Likewise.
45356         (FE_INVALID_ZDZ): Likewise.
45357         (FE_INVALID_IMZ): Likewise.
45358         (FE_INVALID_COMPARE): Likewise.
45359         (FE_INVALID_SOFTWARE): Likewise.
45360         (FE_INVALID_SQRT): Likewise.
45361         (FE_INVALID_INTEGER_CONVERSION): Likewise.
45362         (FE_TONEAREST): Likewise.
45363         (FE_TOWARDZERO): Likewise.
45364         (FE_UPWARD): Likewise.
45365         (FE_DOWNWARD): Likewise.
45366         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45367         (FE_DIVBYZERO): Likewise.
45368         (FE_OVERFLOW): Likewise.
45369         (FE_UNDERFLOW): Likewise.
45370         (FE_INEXACT): Likewise.
45371         (FE_TONEAREST): Likewise.
45372         (FE_DOWNWARD): Likewise.
45373         (FE_UPWARD): Likewise.
45374         (FE_TOWARDZERO): Likewise.
45375         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45376         (FE_UNDERFLOW): Likewise.
45377         (FE_OVERFLOW): Likewise.
45378         (FE_DIVBYZERO): Likewise.
45379         (FE_INVALID): Likewise.
45380         (FE_TONEAREST): Likewise.
45381         (FE_TOWARDZERO): Likewise.
45382         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45383         (FE_OVERFLOW): Likewise.
45384         (FE_UNDERFLOW): Likewise.
45385         (FE_DIVBYZERO): Likewise.
45386         (FE_INEXACT): Likewise.
45387         (FE_TONEAREST): Likewise.
45388         (FE_TOWARDZERO): Likewise.
45389         (FE_UPWARD): Likewise.
45390         (FE_DOWNWARD): Likewise.
45391         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45392         (FE_DIVBYZERO): Likewise.
45393         (FE_OVERFLOW): Likewise.
45394         (FE_UNDERFLOW): Likewise.
45395         (FE_INEXACT): Likewise.
45396         (FE_TONEAREST): Likewise.
45397         (FE_DOWNWARD): Likewise.
45398         (FE_UPWARD): Likewise.
45399         (FE_TOWARDZERO): Likewise.
45401 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
45403         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45405 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
45407         * scripts/cross-test-ssh.sh (command): Use newlines to separate
45408         commands.  Quote $PWD.
45409         (blacklist_exports): Don't use remove_newlines.  Replace "declare
45410         -x" by "export".
45411         (remove_newlines): Remove.
45413 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
45415         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45416         * stdlib/stdlib.h (atof): Moved to ...
45417         * include/bits/stdlib-float.h: Here.  New file.
45418         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45419         * stdlib/bits/stdlib-float.h: New file.
45420         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45421         -mno-sse -mno-mmx.
45422         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45423         <xmmintrin.h>.
45425 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
45427         * conform/conformtest.pl (@headers): Add fenv.h.
45428         * conform/data/fenv.h-data: New file.
45429         * include/fenv.h [_ISOMAC]: Disable all contents of file except
45430         include of <math/fenv.h>.
45432         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45433         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45434         && !UNIX98].  Enables tests for XOPEN2K8.
45435         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45436         POSIX2008]: Likewise.
45438         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45439         (struct rusage): Do not expect type or its members.
45441         [BZ #3439]
45442         * math/math.h (FP_NAN): Define macro to integer constant usable in
45443         #if and use that to give value to enum constant.
45444         (FP_INFINITE): Likewise.
45445         (FP_ZERO): Likewise.
45446         (FP_SUBNORMAL): Likewise.
45447         (FP_NORMAL): Likewise.
45449 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
45451         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45452         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45453         arguments.
45455 2012-11-02  Roland McGrath  <roland@hack.frob.com>
45457         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45458         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45459         autoconf-time if not.
45460         * configure.in: Remove AC_PREREQ.
45462 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45464         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45465         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45466         of the internal implementation.
45468 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
45470         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45471         except include of <misc/sys/syslog.h>.
45473 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45476         function returns with a NULL context exit with zero.
45478 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45480         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45482 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
45484         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45485         (run_program_cmd): This.
45486         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45487         (tst_langinfo): New variable.  Use it.
45489 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
45491         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45492         floating point opcodes.
45494 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45496         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45497         variable.
45499         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45501         * sysdeps/mach/hurd/powerpc: Remove directory.
45502         * sysdeps/mach/powerpc: Likewise.
45504 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45506         * scripts/check-local-headers.sh: Ignore c++ headers.
45508 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45510         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45511         __libc_cleanup_region_start argument.
45513 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
45515         [BZ #14784]
45516         [BZ #14785]
45517         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45518         x * y using scaling, not as x * y + z.
45519         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45520         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45521         * math/libm-test.inc (fma_test): Add more tests.
45522         (fma_test_towardzero): Likewise.
45523         (fma_test_downward): Likewise.
45524         (fma_test_upward): Likewise.
45526 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45528         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45530 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45532         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45533         New variable.
45535 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
45537         * rt/tst-shm.c (worker): Correct checking for mmap failure.
45539 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45542         Fix sort order.
45543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45544         Likewise.
45546 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45549         Fix the order of the list for glibc 2.17.
45550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45551         Likewise.
45553 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45557 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45559         [BZ #14610]
45560         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45561         for low part of x being zero before using __atanl (y).
45562         * math/libm-test.inc (atan2_test): Add another test.
45564         * manual/install.texi (Configuring and compiling): Document
45565         general use of test-wrapper and test-wrapper-env.
45566         * INSTALL: Regenerated.
45568         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45569         (__fma): Do not extract and scale down low bits on after-rounding
45570         systems when result rounded to normal precision would have normal
45571         exponent.
45572         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45573         (__fmal): Do not extract and scale down low bits on after-rounding
45574         systems when result rounded to normal precision would have normal
45575         exponent.
45576         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45577         (__fmal): Do not extract and scale down low bits on after-rounding
45578         systems when result rounded to normal precision would have normal
45579         exponent.
45580         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45581         macro.
45582         (fma_test): Add more tests.
45583         (fma_test_towardzero): Likewise.
45584         (fma_test_downward): Likewise.
45585         (fma_test_upward): Likewise.
45587 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
45589         * sysdeps/i386/tininess.h: Renamed to ...
45590         * sysdeps/x86/tininess.h: This.
45591         * sysdeps/x86_64/tininess.h: Removed.
45593 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45595         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45596         input.  Use $(build-program-cmd).
45597         ($(objpfx)tst-array1-static.out): Likewise.
45598         ($(objpfx)tst-array2.out): Likewise.
45599         ($(objpfx)tst-array3.out): Likewise.
45600         ($(objpfx)tst-array4.out): Likewise.
45601         ($(objpfx)tst-array5.out): Likewise.
45602         ($(objpfx)tst-array5-static.out): Likewise.
45604 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
45606         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45607         if defined.
45609         * nss/nsswitch.h (nss_interface_function): Provide new
45610         macro for use with NSS functions.
45611         * grp/initgroups.c: Use new macro.
45612         * nss/getXXbyYY.c: Likewise.
45613         * nss/getXXbyYY_r.c: Likewise.
45614         * nss/getXXent.c: Likewise.
45615         * nss/getXXent_r.c: Likewise.
45616         * sysdeps/posix/getaddrinfo.c: Likewise.
45618 2012-10-30  Andreas Jaeger  <aj@suse.de>
45620         * po/ru.po: Update Russion translation from translation project.
45622 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45624         [BZ #14152]
45625         [BZ #14783]
45626         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45627         result and shift together with sticky bit instead of replicating
45628         round-to-nearest rounding.
45629         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45630         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45631         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
45632         missing underflow exceptions.
45633         (fma_test_towardzero): Add more tests.
45634         (fma_test_downward): Likewise.
45635         (fma_test_upward): Likewise.
45637         [BZ #14047]
45638         * sysdeps/generic/tininess.h: New file.
45639         * sysdeps/i386/tininess.h: Likewise.
45640         * sysdeps/sh/tininess.h: Likewise.
45641         * sysdeps/x86_64/tininess.h: Likewise.
45642         * stdlib/tst-strtod-underflow.c: Likewise.
45643         * stdlib/tst-tininess.c: Likewise.
45644         * stdlib/strtod_l.c: Include <tininess.h>.
45645         (round_and_return): Do not set errno for exact underflow cases.
45646         Force an underflow exception when setting errno for underflow.
45647         Determine underflow based on rounding to normal precision if
45648         TININESS_AFTER_ROUNDING.
45649         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45650         ERANGE for exact underflow cases.
45651         * stdlib/Makefile (tests): Add tst-tininess and
45652         tst-strtod-underflow.
45653         ($(objpfx)tst-tininess): Use $(link-libm).
45654         ($(objpfx)tst-strtod-underflow): Likewise.
45656 2012-10-30  Andreas Jaeger  <aj@suse.de>
45658         [BZ#14767]
45659         * elf/Makefile (tests): Remove conditional for have-initfini-array
45660         since this is now always required and the variable does not exist
45661         anymore.
45662         (tests-static): Likewise.
45663         (modules-names): Likewise.
45665         * po/eo.po: Add Esperanto translation from translation project.
45667         * elf/tst-array1.c (fini_array): Make writeable so that it can be
45668         merged with constructor/destructor.
45669         (init_array): Likewise.
45670         * elf/tst-array2dep.c (fini_array): Likewise.
45671         (init_array): Likewise.
45673 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
45675         * manual/message.texi: Delete @cartouche tags.
45677 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
45679         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45680         EOPNOTSUPP.
45681         * sysdeps/mach/hurd/fsync.c: Likewise.
45683         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45684         [_POSIX_REALTIME_SIGNALS]: Change condition to
45685         [_POSIX_REALTIME_SIGNALS > 0].
45687 2012-10-27  Andreas Jaeger  <aj@suse.de>
45689         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45690         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45691         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45692         [__WORDSIZE != 64]: Likewise.
45694 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
45696         *  iconvdata/tst-table.sh: Remove ${SHELL}.
45697         *  iconvdata/tst-tables.sh: Likewise.
45699 2012-10-25  David S. Miller  <davem@davemloft.net>
45701         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45702         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45703         of strtoull.
45705         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45706         ifunc-impl-list.c
45707         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45708         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45709         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45710         file.
45712 2012-10-25  Roland McGrath  <roland@hack.frob.com>
45714         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45715         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45716         __getdirentries.
45718 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
45719             Jim Blandy  <jimb@codesourcery.com>
45721         * scripts/cross-test-ssh.sh: New file.
45722         * manual/install.texi (Configuring and compiling): Document use of
45723         cross-test-ssh.sh.
45724         * INSTALL: Regenerated.
45726 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
45728         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45729         EOPNOTSUPP.
45731 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
45733         * Makeconfig (run-program-prefix): Fix comment.
45735 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
45736             Jim Blandy  <jimb@codesourcery.com>
45738         * Makeconfig (test-wrapper): New variable,
45739         (test-wrapper-env): Likewise.
45740         [$(cross-compiling) = yes && $(test-wrapper) != ""]
45741         (run-built-tests): Define to yes.
45742         (run-program-prefix): Use $(test-wrapper).
45743         (built-program-cmd): Likewise.
45744         * Rules (make-test-out): Use $(test-wrapper-env) and
45745         $(host-built-program-cmd).
45746         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45747         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45748         tst-pathopt.sh.
45749         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45750         $(test-wrapper-env) to tst-rtld-load-self.sh.
45751         ($(objpfx)order2.out): Use $(test-wrapper).
45752         ($(objpfx)tst-initorder.out): Likewise.
45753         ($(objpfx)tst-initorder2.out): Likewise.
45754         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45755         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45756         (test_wrapper_env): New variable.  Use it to run ld.so.
45757         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45758         Use it to run ld.so.
45759         (test_wrapper_env): Likewise.
45760         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45761         $(test-wrapper) to run-iconv-test.sh.
45762         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45763         (ICONV): Use $test_wrapper.
45764         * posix/Makefile ($(objpfx)globtest.out): Pass
45765         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45766         globtest.sh, not $(run-program-prefix).
45767         * posix/globtest.sh (run_via_rtld_prefix): New variable.
45768         (test_wrapper): Likewise.
45769         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
45770         set together with run_via_rtld_prefix.
45771         (run_program_prefix): Define in terms of test_wrapper and
45772         run_via_rtld_prefix.
45774 2012-10-24  Roland McGrath  <roland@hack.frob.com>
45776         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45777         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45778         Targets removed.
45780         [BZ #14743]
45781         * include/time.h: Remove librt_hidden_proto (clock_gettime).
45782         Declare __clock_getres, __clock_gettime, __clock_settime,
45783         __clock_nanosleep, and __clock_getcpuclockid.
45784         * rt/clock_gettime.c: Define __clock_gettime as an alias.
45785         Remove librt_hidden_def (clock_gettime).
45786         * sysdeps/unix/clock_gettime.c: Likewise.
45787         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45788         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45789         * rt/clock_getres.c: Define __clock_getres as an alias.
45790         * sysdeps/posix/clock_getres.c: Likewise.
45791         * rt/clock_settime.c: Define __clock_settime as an alias.
45792         * sysdeps/unix/clock_settime.c: Likewise.
45793         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45794         * sysdeps/unix/clock_nanosleep.c: Likewise.
45795         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45796         * rt/clock-compat.c: New file.
45797         * rt/Makefile (librt-routines): Add clock-compat and move
45798         $(clock-routines) to ...
45799         (routines): ... here, new variable.
45800         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45801         Don't add get_clockfreq here.
45802         * rt/Versions (libc: GLIBC_2.17): New version set.
45803         Add clock_* symbols here.
45804         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
45805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45806         (GLIBC_2.17): Add clock_* symbols.
45807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45809         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45811         Likewise.
45812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45813         Likewise.
45814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45818         * NEWS: Mention the move.
45820         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45821         Use __open, __read, __close rather than their public counterparts.
45822         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45823         (__get_clockfreq_via_cpuinfo): Likewise.
45824         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45825         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45827         * config.h.in (HAVE_IFUNC): New #undef.
45828         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45829         was successful.
45830         * configure: Regenerated.
45832 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
45834         * configure.in: Move READELF check to start of file.
45835         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45836         libc_cv_asm_gnu_indirect_function in the process.
45837         * configure: Regenerated.
45839 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
45841         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45842         send the output to /dev/null.
45843         (libc_cv_cc_with_libunwind): Likewise.
45844         (libc_cv_as_noexecstack): Likewise.
45845         * configure: Regenerate.
45847 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
45849         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45851         * posix/globtest.sh (TMPDIR): Do not set.
45852         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45853         (testout): Likewise.
45855 2012-10-24  Andreas Jaeger  <aj@suse.de>
45857         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45858         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45859         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45860         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45861         posix_fadvise64, posix_fallocate64.
45863         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45864         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45865         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45866         Likewise.
45867         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45868         Likewise.
45869         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45871         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45872         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45873         <bits/fcntl-linux.h>.
45874         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45877         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45878         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45879         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45880         [__WORDSIZE != 64]: Likewise.
45882 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
45884         * Makeconfig (run-built-tests): New variable.
45885         * Rules [$(cross-compiling) = yes]: Change condition to
45886         [$(run-built-tests) = no].
45887         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45888         to [$(run-built-tests) = yes].
45889         * elf/Makefile [$(cross-compiling) = no]: Likewise
45890         * grp/Makefile [$(cross-compiling) = no]: Likewise.
45891         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45892         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45893         * intl/Makefile [$(cross-compiling) = no]: Likewise.
45894         * io/Makefile [$(cross-compiling) = no]: Likewise.
45895         * libio/Makefile [$(cross-compiling) = no]: Likewise.
45896         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45897         * misc/Makefile [$(cross-compiling) = no]: Likewise.
45898         * posix/Makefile [$(cross-compiling) = no]: Likewise.
45899         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45900         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45901         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45902         * string/Makefile [$(cross-compiling) = no]: Likewise.
45904         * posix/Makefile ($(objpfx)globtest.out): Pass
45905         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45906         $(rtld-installed-name).
45907         * posix/globtest.sh (elf_objpfx): Remove variable.
45908         (rtld_installed_name): Likewise.
45909         (library_path): Likewise.
45910         (run_program_prefix): New variable.  Use for running globtest
45911         binary.
45913 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
45914             Joseph Myers  <joseph@codesourcery.com>
45916         * Makeconfig (host-built-program-cmd): New variable.
45917         * elf/Makefile (tst-stackguard1-ARGS): Use
45918         $(host-built-program-cmd).
45919         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45920         (tst-spawn-ARGS): Likewise.
45921         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45923 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
45924             Jim Blandy  <jimb@codesourcery.com>
45926         * Makeconfig (run-via-rtld-prefix): New variable.
45927         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45928         (built-program-cmd): Likewise.
45930 2012-10-22  Andreas Jaeger  <aj@suse.de>
45932         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45933         __O_RSYNC if it exists, otherwise to O_SYNC.
45935 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
45936             Joseph Myers  <joseph@codesourcery.com>
45938         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45939         /dev/null.
45940         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45941         from /dev/null
45942         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45943         /dev/null.
45945 2012-10-22  Andreas Jaeger  <aj@suse.de>
45947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45948         Define always.
45949         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45952         bits/fcntl-linux.h.
45954         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45955         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45957         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45958         to __O_LARGEFILE.
45959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45960         to __O_LARGEFILE.
45962 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
45963             Joseph Myers  <joseph@codesourcery.com>
45965         * config.make.in (NM): New variable.
45967 2012-10-21  Andreas Jaeger  <aj@suse.de>
45969         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45970         definitions and declarations that are provided by
45971         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45973 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
45975         [BZ #14683]
45976         * elf/Makefile (tests-static): Add tst-leaks1-static.
45977         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45978         ($(objpfx)tst-leaks1-static): New rule.
45979         ($(objpfx)tst-leaks1-static-mem): Likewise.
45980         (tst-leaks1-static-ENV): New macro.
45981         * elf/dl-open.c (dl_open_worker): Check the main application
45982         only if SHARED is defined.
45983         * elf/tst-leaks1-static.c: New file.
45985 2012-10-20  Andreas Jaeger  <aj@suse.de>
45987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45988         generic values for Linux.
45989         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45990         and declarations that are provided by <bits/fcntl-linux.h> and
45991         include <bits/fcntl-linux.h>.
45992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45995 2012-10-20  Roland McGrath  <roland@hack.frob.com>
45997         * io/fcntl.h: Move include of <bits/types.h> to the top and
45998         include it unconditionally.
46000 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46002         * wcsmbs/Makefile (tests-ifunc): New variable.
46003         (tests): Add $(tests-ifunc).
46004         * wcsmbs/test-wcschr-ifunc.c: New file.
46005         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
46006         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
46007         * wcsmbs/test-wcslen-ifunc.c: Likewise.
46008         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
46009         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
46011         * string/Makefile (tests-ifunc): New variable.
46012         (tests): Add $(tests-ifunc).
46013         * string/test-memccpy.c (TEST_NAME): New macro.
46014         * string/test-memchr.c (TEST_NAME): Likewise.
46015         * string/test-memcmp.c (TEST_NAME): Likewise.
46016         * string/test-memcpy.c (TEST_NAME): Likewise.
46017         * string/test-memmem.c (TEST_NAME): Likewise.
46018         * string/test-memmove.c (TEST_NAME): Likewise.
46019         * string/test-memset.c (TEST_NAME): Likewise.
46020         * string/test-rawmemchr.c (TEST_NAME): Likewise.
46021         * string/test-stpcpy.c (TEST_NAME): Likewise.
46022         * string/test-stpncpy.c (TEST_NAME): Likewise.
46023         * string/test-strcasecmp.c (TEST_NAME): Likewise.
46024         * string/test-strcasestr.c (TEST_NAME): Likewise.
46025         * string/test-strcat.c (TEST_NAME): Likewise.
46026         * string/test-strchr.c (TEST_NAME): Likewise.
46027         * string/test-strcmp.c(TEST_NAME): Likewise.
46028         * string/test-strcpy.c (TEST_NAME): Likewise.
46029         * string/test-strcspn.c (TEST_NAME): Likewise.
46030         * string/test-strlen.c (TEST_NAME): Likewise.
46031         * string/test-strncasecmp.c (TEST_NAME): Likewise.
46032         * string/test-strncmp.c (TEST_NAME): Likewise.
46033         * string/test-strncpy.c (TEST_NAME): Likewise.
46034         * string/test-strnlen.c (TEST_NAME): Likewise.
46035         * string/test-strpbrk.c (TEST_NAME): Likewise.
46036         * string/test-strrchr.c (TEST_NAME): Likewise.
46037         * string/test-strspn.c (TEST_NAME): Likewise.
46038         * string/test-strstr.c (TEST_NAME): Likewise.
46039         * string/test-bcopy-ifunc.c: New file.
46040         * string/test-bzero-ifunc.c: Likewise.
46041         * string/test-memccpy-ifunc.c: Likewise.
46042         * string/test-memchr-ifunc.c: Likewise.
46043         * string/test-memcmp-ifunc.c: Likewise.
46044         * string/test-memcpy-ifunc.c: Likewise.
46045         * string/test-memmem-ifunc.c: Likewise.
46046         * string/test-memmove-ifunc.c: Likewise.
46047         * string/test-mempcpy-ifunc.c: Likewise.
46048         * string/test-memset-ifunc.c: Likewise.
46049         * string/test-rawmemchr-ifunc.c: Likewise.
46050         * string/test-stpcpy-ifunc.c: Likewise.
46051         * string/test-stpncpy-ifunc.c: Likewise.
46052         * string/test-strcasecmp-ifunc.c: Likewise.
46053         * string/test-strcasestr-ifunc.c: Likewise.
46054         * string/test-strcat-ifunc.c: Likewise.
46055         * string/test-strchr-ifunc.c: Likewise.
46056         * string/test-strchrnul-ifunc.c: Likewise.
46057         * string/test-strcmp-ifunc.c: Likewise.
46058         * string/test-strcpy-ifunc.c: Likewise.
46059         * string/test-strcspn-ifunc.c: Likewise.
46060         * string/test-strlen-ifunc.c: Likewise.
46061         * string/test-strncasecmp-ifunc.c: Likewise.
46062         * string/test-strncat-ifunc.c: Likewise.
46063         * string/test-strncmp-ifunc.c: Likewise.
46064         * string/test-strncpy-ifunc.c: Likewise.
46065         * string/test-strnlen-ifunc.c: Likewise.
46066         * string/test-strpbrk-ifunc.c: Likewise.
46067         * string/test-strrchr-ifunc.c: Likewise.
46068         * string/test-strspn-ifunc.c: Likewise.
46069         * string/test-strstr-ifunc.c: Likewise.
46071         * debug/Makefile (tests-ifunc): New variable.
46072         (tests): Add $(tests-ifunc).
46073         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46074         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46075         * debug/test-stpcpy_chk-ifunc.c: New file.
46076         * debug/test-strcpy_chk-ifunc.c: Likewise.
46078 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46080         [BZ #13601]
46081         * elf/dl-load.c (open_verify): Retry read if the entire ELF
46082         header is not read in.
46084 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
46086         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
46087         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
46088         directly.  Pass built executable to script as
46089         $(built-program-cmd).
46090         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
46091         $testprogram without using LD_LIBRARY_PATH and $ldso.
46093         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46094         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46095         $(rtld-installed-name).
46096         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46097         (rtld_installed_name): Likewise.
46098         (library_path): Likewise.
46099         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
46100         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46101         $(run-program-prefix) to tst-tables.sh.
46102         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
46103         it to run tst-table-from and tst-table-to.
46104         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46105         Pass it to tst-table.sh.
46106         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46107         $(run-program-prefix) to tst-gettext.sh.
46108         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46109         tst-translit.sh.
46110         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46111         tst-gettext2.sh.
46112         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
46113         to run tst-gettext.
46114         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
46115         to run tst-gettext2.
46116         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
46117         to run tst-translit.
46118         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46119         $(run-program-prefix) to tst-mtrace.sh.
46120         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
46121         to run tst-mtrace.
46122         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46123         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46124         $(rtld-installed-name).
46125         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46126         (rtld_installed_name): Likewise.
46127         (run_program_prefix): New variable.  Use it to run wordexp-test.
46129         * Makeconfig (ARCH): Remove all definitions.
46130         (machine): Likewise.
46131         [ARCH]: Remove conditional code.
46132         [!objdir]: Give error.
46133         [!objdir] (objpfx): Remove.
46134         [!objdir] (common-objpfx): Likewise.
46135         [!objdir] (common-objdir): Likewise.
46136         * configure.in (config_makefile): Remove.  Hardcode Makefile in
46137         AC_CONFIG_FILES call.
46138         * configure: Regenerated.
46140         [BZ #13888]
46141         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46142         or TMPDIR.
46143         (testout): Likewise.
46145         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46146         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46147         $(rtld-installed-name).
46148         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46149         (rtld_installed_name): Likwise.
46150         (runit): Remove function.
46151         (run_getconf): New variable,  Use it for running getconf binary.
46153 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
46155         [BZ #14716]
46156         * string/test-memmem.c (check_result): New function.
46157         (do_one_test): Use it.
46158         (check1): New function.
46159         (test_main): Use it.
46161 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
46163         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46165 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
46167         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46168         (_G_LSEEK64): Likewise.
46169         (_G_MMAP64): Likewise.
46170         (_G_FSTAT64): Likewise.
46171         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46172         (_G_LSEEK64): Likewise.
46173         (_G_MMAP64): Likewise.
46174         (_G_FSTAT64): Likewise.
46175         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46176         unconditional.  Call __mmap64 directly.
46177         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46178         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
46179         __lseek64 directly.
46180         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46181         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
46182         __mmap64 directly.
46183         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46184         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46185         __lseek64 directly.
46186         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46187         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46188         __lseek64 directly.
46189         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46190         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
46191         __lseek64 directly.
46192         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46193         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
46194         __fxstat64 directly.
46195         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46196         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46197         unconditional.
46198         (freopen64) [!_G_OPEN64]: Remove conditional code.
46199         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46200         unconditional.
46201         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46202         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46203         unconditional.
46204         (ftello64) [!_G_LSEEK64]: Remove conditional code.
46205         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46206         unconditional.
46207         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46208         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46209         unconditional.
46210         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46211         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46212         unconditional.
46213         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46214         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46215         unconditional.
46216         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46217         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46218         unconditional.
46219         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46221 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46223         [BZ #12140]
46224         * manual/memory.texi (Malloc Tunable Parameters): Add note
46225         about free list pointers overwriting some perturb bytes.
46226         Wording suggested by Roland McGrath.
46228 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
46230         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46231         (lgamma_test): Likewise.
46232         (tgamma_test): Likewise.
46234 2012-10-16  Florian Weimer  <fweimer@redhat.com>
46236         [BZ #14700]
46237         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46238         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46240 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
46242         * NEWS: Mention BZ #14716.
46243         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46244         when removing AVAILABLE1_USES_J macro.
46246 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
46248         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46249         (__bswap_64): __uint64_t for unsigned 64-bit int.
46251 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
46253         * include/string.h (memmem): Declare libc hidden alias.
46254         * string/memmem.c (memmem): Define libc hidden alias.
46255         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46256         __read, __close instead of open, read, close.
46258 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
46260         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46261         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46262         global and hidden.
46263         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46264         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46265         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46266         Likewise.
46267         (__rawmemchr_sse2): Likewise.
46268         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46269         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46270         (__strchr_sse2): Likewise.
46271         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46272         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46273         (__strcasecmp_sse2): Likewise.
46274         (__strncasecmp_sse2): Likewise.
46275         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46276         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46277         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46278         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46279         (__strrchr_sse2): Likewise.
46280         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46281         ifunc-impl-list.c.
46282         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46283         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46284         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46285         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46286         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46288         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46289         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46290         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46291         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46292         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46293         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46294         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46295         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46296         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46297         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46298         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46299         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46300         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46301         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46302         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46303         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46304         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46305         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46306         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46307         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46308         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46309         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46310         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46311         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46313         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46314         global and hidden.
46315         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46316         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46317         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46318         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46319         Likewise.
46320         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46321         Likewise.
46322         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46323         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46324         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46325         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46326         ifunc-impl-list.c.
46327         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46328         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46329         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46330         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46331         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46332         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46333         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46334         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46335         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46336         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46337         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46338         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46339         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46340         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46341         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46342         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46343         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46344         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46345         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46346         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46347         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46348         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46349         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46350         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46351         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46352         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46353         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46354         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46355         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46356         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46357         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46358         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46359         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46360         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46361         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46362         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46363         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46364         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46365         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46366         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46367         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46369         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46370         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46371         * include/ifunc-impl-list.h: New file.
46372         * misc/ifunc-impl-list.c: Likewise.
46373         * misc/Makefile (routines): Add ifunc-impl-list.
46374         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46375         * string/test-string.h: Include <ifunc-impl-list.h>.
46376         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46377         TEST_NAME]: New variables.
46378         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46379         are defined.
46380         (test_init): Call __libc_ifunc_impl_list to initialize
46381         func_list if TEST_IFUNC and TEST_NAME are defined.
46383         * string/Makefile (strop-tests): Add bcopy and bzero.
46384         * string/test-bcopy.c: New file.
46385         * string/test-bzero.c: Likewise.
46386         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46387         defined.
46388         * string/test-memset.c: Support bzero test if TEST_BZERO is
46389         defined.
46390         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46391         __libc_memmove.
46392         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46393         __libc_memset.
46394         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46395         of memset.
46397 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
46399         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46400         * configure: Regenerated.
46402         * Makeconfig (+link-static-before-libc): Don't include
46403         $(link-static-libc).
46405         * libio/libio.h (_IO_pos_t): Remove.
46407 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46409         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
46410         McGrath.
46412 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46414         * crypt/crypt-entry.c: Include fips-private.h.
46415         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46416         * crypt/md5c-test.c (main): Tolerate disabled MD5.
46417         * sysdeps/unix/sysv/linux/fips-private.h: New file.
46418         * sysdeps/generic/fips-private.h: New file, dummy fallback.
46420 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46422         * crypt/crypt-private.h: Include stdbool.h.
46423         (_ufc_setup_salt_r): Return bool.
46424         * crypt/crypt-entry.c: Include errno.h.
46425         (__crypt_r): Return NULL with EINVAL for bad salt.
46426         * crypt/crypt_util.c (bad_for_salt): New.
46427         (_ufc_setup_salt_r): Check that salt is long enough and within
46428         the specified alphabet.
46429         * crypt/badsalttest.c: New file.
46430         * crypt/Makefile (tests): Add it.
46431         ($(objpfx)badsalttest): New.
46433 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
46435         * NEWS: Add entry for BZ #14602.
46437 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
46439         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46440         type-generic.
46441         * math/libm-test.inc: Update comment listing what functions and
46442         macros are tested.
46443         (isgreater_test): New function.
46444         (isgreaterequal_test): Likewise.
46445         (isless_test): Likewise.
46446         (islessequal_test): Likewise.
46447         (islessgreater_test): Likewise.
46448         (isunordered_test): Likewise.
46449         (main): Call the new functions.
46451 2012-10-09  Roland McGrath  <roland@hack.frob.com>
46453         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46454         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46455         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46456         * sysdeps/i386/configure: Regenerated.
46457         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46458         * sysdeps/mach/configure: Regenerated.
46459         * sysdeps/mach/hurd/configure: Regenerated.
46460         * sysdeps/powerpc/configure: Regenerated.
46461         * sysdeps/powerpc/powerpc32/configure: Regenerated.
46462         * sysdeps/powerpc/powerpc64/configure: Regenerated.
46463         * sysdeps/s390/s390-32/configure: Regenerated.
46464         * sysdeps/s390/s390-64/configure: Regenerated.
46465         * sysdeps/sh/configure: Regenerated.
46466         * sysdeps/sparc/configure: Regenerated.
46467         * sysdeps/unix/sysv/linux/configure: Regenerated.
46468         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46469         * sysdeps/x86_64/configure: Regenerated.
46471         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46472         defined.  Don't check if MAP is NULL.
46474 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
46476         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46477         (_G_stat64): Likewise.
46478         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46479         (_G_stat64): Likewise.
46480         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46481         instead of struct _G_stat64.
46482         * libio/fileops.c (mmap_remap_check): Likewise.
46483         (decide_maybe_mmap): Likewise.
46484         (_IO_new_file_seekoff): Likewise.
46485         (_IO_file_stat): Likewise.
46486         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46487         _G_off64_t.
46488         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46489         instead of struct _G_stat64.
46490         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46492 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
46494         [BZ #14602]
46495         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46496         Replace with ...
46497         (CHECK_EOL): New macro.
46498         (two_way_short_needle): Check beginning of haystack for EOL.  Use
46499         CHECK_EOL.
46500         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46501         Replace with CHECK_EOL.
46502         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46503         Replace with CHECK_EOL.
46505 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
46507         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46508         type-generic.
46509         * math/libm-test.inc: Update comment listing what functions and
46510         macros are tested.
46511         (finite_test): New function.
46512         (isinf_test): Likewise.
46513         (isnan_test): Likewise.
46514         (fpclassify_test): Test subnormal input.
46515         (isfinite_test): Likewise.
46516         (isnormal_test): Likewise.
46517         (main): Call the new functions.
46519 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
46521         [BZ #14660]
46522         * Makerules (%.dynsym): Force C locale when running
46523         $(OBJDUMP) --dynamic-syms.
46525 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
46527         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46528         <stdint.h>.
46530 2012-10-06  David S. Miller  <davem@davemloft.net>
46532         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46533         upper 32-bits of the length value in %o2 since we use branch-on-register
46534         tests which consider the entire 64-bit register.
46536 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
46538         * string/test-strstr.c (check2): Add a test for page boundary.
46540 2012-10-05  David S. Miller  <davem@davemloft.net>
46542         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46543         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46544         file.
46545         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46546         sysdep_routines.
46547         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46548         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46549         and bzero when HWCAP_SPARC_CRYPTO is present.
46551 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
46553         [BZ #14602]
46554         * string/test-strstr.c (check2): New function.
46555         (test_main): Call check2.
46557         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46558         and bug-strchr1.
46559         * string/bug-strcasestr1.c (do_test): Moved to ...
46560         * string/test-strcasestr.c (check1): Here.  New function.
46561         (do_one_test): Break out result checking code into ...
46562         (check_result): This.  New function.
46563         (do_one_test): Call check_result.
46564         (test_main): Call check1.
46565         * string/bug-strchr1.c (do_test): Moved to ...
46566         * string/test-strchr.c (check1): Here.  New function.
46567         (do_one_test): Break out result checking code into ...
46568         (check_result): This.  New function.
46569         (do_one_test): Call check_result.
46570         (test_main): Call check1.
46571         * string/bug-strstr1.c (main): Moved to ...
46572         * string/test-strstr.c (check1): Here.  New function.
46573         (do_one_test): Break out result checking code into ...
46574         (check_result): This.  New function.
46575         (do_one_test): Call check_result.
46576         (test_main): Call check1.
46577         * string/bug-strcasestr1.c: Removed.
46578         * string/bug-strchr1.c: Likewise.
46579         * string/bug-strstr1.c: Likewise.
46581         * elf/Makefile (dl-routines): Add hwcaps.
46582         * elf/dl-support.c (_dl_important_hwcaps): Removed.
46583         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46584         (_dl_important_hwcaps): Moved to ...
46585         * elf/dl-hwcaps.c: Here.  New file.
46586         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46588         [BZ #14557]
46589         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46590         if IS_IN_rtld isn't defined.
46592         * elf/dl-support.c (_dl_sysinfo_map): New.
46593         Include "get-dynamic-info.h" and "setup-vdso.h".
46594         (_dl_non_dynamic_init): Call setup_vdso.
46595         * elf/dynamic-link.h: Don't include <assert.h>.
46596         (elf_get_dynamic_info): Moved to ...
46597         * elf/get-dynamic-info.h: Here.  New file.
46598         * elf/dynamic-link.h: Include "get-dynamic-info.h".
46599         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46600         * elf/setup-vdso.h: Here.  New file.
46601         * elf/rtld.c: Include "setup-vdso.h".
46602         (dl_main): Call setup_vdso.
46604 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
46606         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46607         creal in comment listing functions tested.  List finite, isinf,
46608         isnan, isless, islessequal, isgreater, isgreaterequal,
46609         islessgreater, isunordered, lgamma_r and pow10 as functions and
46610         macros not tested.  Mention which functions not tested are aliases
46611         for other functions.  Fix typo.  Note that signs of NaNs are not
46612         tested.
46614         * scripts/config.guess: Update from config.git.
46615         * scripts/config.sub: Likewise.
46617 2012-10-04  Roland McGrath  <roland@hack.frob.com>
46619         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46620         * misc/madvise.c (madvise): Renamed to __madvise.
46621         Make madvise a weak alias.
46622         * include/sys/mman.h: Declare __madvise.
46623         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46624         * sysdeps/unix/syscalls.list
46625         (madvise): Make __madvise the strong name, and madvise a weak alias.
46626         * sysdeps/unix/sysv/linux/syscalls.list
46627         (madvise, mmap): Remove redundant entries.
46628         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46629         * malloc/malloc.c (mtrim): Likewise.
46630         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46632 2012-10-03  Roland McGrath  <roland@hack.frob.com>
46634         * sysdeps/mach/hurd/dl-cache.c: File removed.
46635         * config.h.in (USE_LDCONFIG): New #undef.
46636         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46637         * configure: Regenerated.
46638         * elf/Makefile (dl-routines): Add dl-cache only under
46639         [$(use-ldconfig) = yes].
46640         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46641         cache on [USE_LDCONFIG].
46642         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46643         [USE_LDCONFIG].
46644         * elf/rtld.c (dl_main): Likewise.
46646 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
46648         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46649         _SC_LEVEL4_CACHE_LINESIZE.
46651 2012-10-03  Roland McGrath  <roland@hack.frob.com>
46653         * sysdeps/unix/bsd/confstr.h: File removed.
46655 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
46657         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46658         sys/sdt-config.h.
46660 2012-10-02  Roland McGrath  <roland@hack.frob.com>
46662         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46663         Make 'mapoff' field ElfW(Off) rather than off_t.
46665 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
46667         * nscd/Makefile: Remove nscd-cflags and all its users.
46668         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46669         (CFLAGS-nonlib): Add compiler flags for nscd modules.
46671         [BZ #10631]
46672         * malloc.c (malloc_printerr): Clarify error message.
46674 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
46676         [BZ #14648]
46677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46678         Set bit_FMA_Usable if FMA is supported.
46679         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46680         macro.
46681         (bit_FMA4_Usable): Updated.
46682         (index_FMA_Usable): New macro.
46683         (CPUID_FMA): Likewise
46684         (HAS_FMA): Defined with bit_FMA_Usable.
46686 2012-10-01  Roland McGrath  <roland@hack.frob.com>
46688         * bits/types.h (__swblk_t): Type removed.
46689         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46690         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46692         (__SWBLK_T_TYPE): Likewise.
46693         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46694         (__SWBLK_T_TYPE): Likewise.
46695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46696         (__SWBLK_T_TYPE): Likewise.
46697         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46698         (__SWBLK_T_TYPE): Likewise.
46700 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
46701             Honza Horak <hhorak@redhat.com>
46703         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46704         (xdr_mapname): Use YPMAXMAP as maxsize.
46705         (xdr_peername): Use YPMAXPEER as maxsize.
46706         (xdr_keydat): Use YPAXRECORD as maxsize.
46707         (xdr_valdat): Use YPMAXRECORD as maxsize.
46709 2012-10-01  Roland McGrath  <roland@hack.frob.com>
46711         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46713         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46714         * csu/init-first.c: ... here.
46715         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46716         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46717         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46718         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46719         * sysdeps/i386/init-first.c: File removed.
46720         * sysdeps/sh/init-first.c: File removed.
46722 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
46724         [BZ #14645]
46725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46726         if x * y might underflow to zero and z is zero.
46727         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46729         * math/libm-test.inc (min_subnorm_value): New variable.
46730         (fma_test): Add more tests.
46731         (fma_test_towardzero): Likewise.
46732         (fma_test_downward): Likewise
46733         (fma_test_upward): Likewise.
46734         (initialize): Set min_subnorm_value.
46736 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
46738         [BZ #14638]
46739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46740         0 + 0.
46741         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46742         mode for addition resulting in exact zero.
46743         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46745         exact 0 + 0.
46746         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46748         * math/libm-test.inc (fma_test): Add more tests.
46749         (fma_test_towardzero): New function.
46750         (fma_test_downward): Likewise.
46751         (fma_test_upward): Likewise.
46752         (main): Call the new functions.
46754 2012-09-28  David S. Miller  <davem@davemloft.net>
46756         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46758 2012-09-28  Roland McGrath  <roland@hack.frob.com>
46760         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46761         instead of SIGALRM.
46763         * sysdeps/gnu/_G_config.h: Moved to ...
46764         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46765         * sysdeps/mach/hurd/_G_config.h: Moved to ...
46766         * sysdeps/generic/_G_config.h: ... here.
46768         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
46770         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46772         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46773         Conditionalize target on [libnss_test1.so-version].
46775         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46777         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46778         (elfobjdir): Move out of conditionals.
46780         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46781         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46782         (__nss_lookup_function): Conditionalize label remove_from_tree on
46783         [!DO_STATIC_NSS || SHARED], matching its only use.
46785 2012-09-28  David S. Miller  <davem@davemloft.net>
46787         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46788         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46789         file.
46790         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46791         sysdep_routines.
46792         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46793         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46794         when HWCAP_SPARC_CRYPTO is present.
46796 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46798         * io/tst-mknodat.c: Create a FIFO instead of a socket.
46800 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
46802         [BZ #6530]
46803         * stdio-common/vfprintf.c (process_string_arg): Revert
46804         2000-07-22 change.
46806 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
46808         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46809         for testcase.
46810         * stdio-common/tst-sprintf.c: Include <locale.h>
46811         (main): Test sprintf's handling of incomplete multibyte
46812         characters.
46814 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
46816         * elf/dl-runtime.c (VERSYMIDX): Removed.
46817         * elf/dl-version.c (VERSYMIDX): Likewise.
46818         * elf/do-rel.h (VERSYMIDX): Likewise.
46819         (VALIDX): Likewise.
46820         * elf/dynamic-link.h (VERSYMIDX): Likewise.
46821         * elf/rtld.c (VALIDX): Likewise.
46822         (ADDRIDX): Likewise.
46823         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46824         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46825         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46826         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46827         (VALIDX): Likewise.
46828         (ADDRIDX): Likewise.
46830 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46832         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46834 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
46836         [BZ #11438]
46837         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46838         to global scope.
46839         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46840         addresses are in the same scope as 192.0.2/24.
46841         * posix/gai.conf: Document new scope table defaults.
46843 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46845         [BZ #5298]
46846         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46847         for ftell.  Compute offsets from write pointers instead.
46848         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46850 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46852         [BZ #14543]
46853         * libio/Makefile (tests): New test case tst-fseek.
46854         * libio/tst-fseek.c: New test case to verify that fseek/ftell
46855         combination works in wide mode.
46856         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46857         state when the external buffer state changes.
46859 2012-09-27  David S. Miller  <davem@davemloft.net>
46861         [BZ #14376]
46862         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46863         pass reloc->r_addend in as the 'high' argument to
46864         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46868 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
46870         * rt/tst-aio2.c: Include <pthread.h>.
46871         * rt/tst-aio3.c: Likewise.
46873 2012-09-27  Steve Ellcey  <sellcey@mips.com>
46875         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46877 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
46879         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46880         contents on [SHARED].
46882 2012-09-26  Marek Polacek  <polacek@redhat.com>
46884         [BZ #14530]
46885         [BZ #13741]
46886         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46887         for C++ and GCC <4.3 as well as for non GCC compilers.
46889 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46893 2012-09-25  Roland McGrath  <roland@hack.frob.com>
46895         * Makefile.in (all, install): Declare with .PHONY.
46896         Reported by Michael Hope <michael.hope@linaro.org>.
46898 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46900         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46901         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46902         system header.
46903         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46904         Likewise.
46905         (sydep_routines): Add the new and the internal functions.
46906         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46907         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46909         (GLIBC_2.17): Add the new function.
46910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46911         (GLIBC_2.17): Likewise.
46912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46913         (GLIBC_2.17): Likewise.
46914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46915         (GLIBC_2.17): Likewise.
46916         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46918 2012-09-25  Alan Modra  <amodra@gmail.com>
46920         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46921         Add release barrier before setting once_control to say
46922         initialisation is done.  Add hints on lwarx.  Use macro in
46923         place of isync.
46924         (clear_once_control): Add release barrier.
46926 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
46928         [BZ #13629]
46929         * math/s_clog.c (__clog): Handle more values close to |z| = 1
46930         specially.
46931         * math/s_clog10.c (__clog10): Likewise.
46932         * math/s_clog10f.c (__clog10f): Likewise.
46933         * math/s_clog10l.c (__clog10l): Likewise.
46934         * math/s_clogf.c (__clogf): Likewise.
46935         * math/s_clogl.c (__clogl): Likewise.
46936         * math/Makefile (libm-calls): Add x2y2m1.
46937         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46938         (__x2y2m1): Likewise.
46939         (__x2y2m1l): Likewise.
46940         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46941         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46942         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46943         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46944         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46945         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46946         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46947         * sysdeps/i386/fpu/libm-test-ulps: Update.
46948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46950         [BZ #14621]
46951         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46952         int as type of variable DEPTH.
46953         (glob): Use size_t instead of int as type of variables NEWCOUNT
46954         and OLD_PATHC.
46956 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46958         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46959         Add s_sincosf-sse2.
46960         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46961         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46962         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46963         macros for using routine as __sincosf_ia32.
46964         Use macro for function declaration and weak_alias.
46965         * sysdeps/i386/fpu/libm-test-ulps: Update.
46967         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46970         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46971         subnormal argument.
46972         * math/s_cexpf.c (__cexpf): Likewise.
46973         * math/s_csinf.c (__csinf): Likewise.
46974         * math/s_csinhf.c (__csinhf): Likewise.
46975         * math/s_ctanf.c (__ctanf): Likewise.
46976         * math/s_ctanhf.c (__ctanhf): Likewise.
46977         * math/s_ccosh.c (__ccoshf): Likewise.
46978         * math/s_cexp.c (__cexpl): Likewise.
46979         * math/s_csin.c (__csin): Likewise.
46980         * math/s_csinh.c (__csinh): Likewise.
46981         * math/s_ctan.c (__ctan): Likewise.
46982         * math/s_ctanh.c (ctanh): Likewise.
46983         * math/s_ccoshl.c (__ccoshl): Likewise.
46984         * math/s_cexpl.c (__cexpl): Likewise.
46985         * math/s_csinl.c (__csinl): Likewise.
46986         * math/s_csinhl.c (__csinhl): Likewise.
46987         * math/s_ctanl.c (__ctanl): Likewise.
46988         * math/s_ctanhl.c (__ctanhl): Likewise.
46990 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
46992         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46993         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46994         (_IO_off_t): Define to __off_t, not _G_off_t.
46995         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46996         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46997         (_IO_wint_t): Define to wint_t, not _G_wint_t.
46998         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46999         type of __dummy and __dummy2 fields.
47000         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
47001         (_G_ssize_t): Likewise.
47002         (_G_off_t): Likewise.
47003         (_G_pid_t): Likewise.
47004         (_G_uid_t): Likewise.
47005         (_G_wchar_t): Likewise.
47006         (_G_wint_t): Likewise.
47007         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
47008         (_G_ssize_t): Likewise.
47009         (_G_off_t): Likewise.
47010         (_G_pid_t): Likewise.
47011         (_G_uid_t): Likewise.
47012         (_G_wchar_t): Likewise.
47013         (_G_wint_t): Likewise.
47014         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
47015         (_G_ssize_t): Likewise.
47016         (_G_off_t): Likewise.
47017         (_G_pid_t): Likewise.
47018         (_G_uid_t): Likewise.
47019         (_G_wchar_t): Likewise.
47020         (_G_wint_t): Likewise.
47022 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47024         * malloc/arena.c: Include malloc-sysdep.h.
47025         (shrink_heap): Use check_may_shrink_heap to decide if madvise
47026         is sufficient to shrink the heap or an unmap is needed.
47027         * sysdeps/generic/malloc-sysdep.h: New file.  Define
47028         new function check_may_shrink_heap.
47029         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
47030         new function check_may_shrink_heap.
47032 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47034         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47035         comments.
47037 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
47039         * catgets/test-gencat.sh: Add "set -e".
47040         * elf/tst-pathopt.sh: Likewise.
47041         * grp/tst_fgetgrent.sh: Likewise.
47042         * iconvdata/run-iconv-test.sh: Likewise.
47043         * intl/tst-gettext.sh: Likewise.
47044         * intl/tst-gettext2.sh: Likewise.
47045         * intl/tst-gettext4.sh: Likewise.
47046         * intl/tst-gettext6.sh: Likewise.
47047         * intl/tst-translit.sh: Likewise.
47048         * io/ftwtest-sh: Likewise.
47049         * libio/test-freopen.sh: Likewise.
47050         * malloc/tst-mtrace.sh: Likewise.
47051         * posix/globtest.sh: Likewise.
47052         * posix/tst-getconf.sh: Likewise.
47053         * posix/wordexp-tst.sh: Likewise.
47054         * stdio-common/tst-printf.sh: Likewise.
47055         * stdio-common/tst-unbputc.sh: Likewise.
47056         * stdlib/tst-fmtmsg.sh: Likewise.
47057         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47058         * catgets/Makefile: Do not specify -e option when running
47059         testsuite shell scripts.
47060         * elf/Makefile: Likewise.
47061         * grp/Makefile: Likewise.
47062         * iconvdata/Makefile: Likewise.
47063         * intl/Makefile: Likewise.
47064         * io/Makefile: Likewise.
47065         * libio/Makefile: Likewise.
47066         * malloc/Makefile: Likewise.
47067         * posix/Makefile: Likewise.
47068         * stdio-common/Makefile: Likewise.
47069         * stdlib/Makefile: Likewise.
47070         * sysdeps/x86_64/Makefile: Likewise.
47072         * io/ftwtest-sh: Add copyright header.
47073         * posix/globtest.sh: Likewise.
47074         * posix/tst-getconf.sh: Likewise.
47075         * posix/wordexp-tst.sh: Likewise.
47076         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47078 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
47080         [BZ #13679]
47081         * Makeconfig (+link): Defined as $(+link-static) if
47082         $(build-shared) isn't yes.
47083         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47084         isn't yes.
47085         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47087         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47089         [BZ #14562]
47090         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47091         new chunk size with MALLOC_ALIGN_MASK.
47093 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
47095         [BZ #5044]
47096         * stdio-common/printf_fphex.c: Include <stdbool.h> and
47097         <rounding-mode.h>.
47098         (__printf_fphex): Determine rounding using get_rounding_mode and
47099         round_away.
47100         * stdio-common/tst-printf-round.c (struct hex_test): New
47101         structure.
47102         (hex_tests): New variable.
47103         (test_hex_in_one_mode): New function.
47104         (do_test): Also run tests for hex float output.
47106 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
47108         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47109         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47110         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47111         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47112         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47113         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47114         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47115         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47117 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
47119         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47120         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47121         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47122         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47124 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
47126         [BZ #14579]
47127         * elf/rtld.c (dl_main): Limit the check for self loading to normal
47128         mode only.
47129         * elf/tst-rtld-load-self.sh: New test.
47130         * elf/Makefile: Run it.
47132 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
47134         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47135         (tst-writev-ENV): Remove.
47136         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47138 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
47140         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47142 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
47144         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47145         unconditional.
47146         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47147         Likewise.
47148         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47149         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47150         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47151         Likewise.
47153 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
47155         [BZ #14587]
47156         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47157         * config.make.in (have-cpp-asm-debuginfo): Removed.
47158         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47159         * configure: Regenerated.
47161 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
47163         [BZ #5044]
47164         * stdio-common/printf_fp.c: Include <stdbool.h> and
47165         <rounding-mode.h>.
47166         (___printf_fp): Determine rounding using get_rounding_mode and
47167         round_away.
47168         * stdio-common/tst-printf-round.c: New file.
47169         * stdio-common/Makefile (tests): Add tst-printf-round.
47170         (link-libm): New variable.
47171         ($(objpfx)tst-printf-round): Depend in $(link-libm).
47173 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
47175         [BZ #14576]
47176         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47177         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47178         Likewise.
47179         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47180         Likewise.
47182 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
47184         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47185         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47186         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47187         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47189 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
47191         [BZ #14518]
47192         * include/rounding-mode.h: New file.
47193         * sysdeps/generic/get-rounding-mode.h: Likewise.
47194         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47195         * stdlib/strtod_l.c: Include <rounding-mode.h>.
47196         (MAX_VALUE): New macro.
47197         (MIN_VALUE): Likewise.
47198         (overflow_value): New function.
47199         (underflow_value): Likewise.
47200         (round_and_return): Use overflow_value and underflow_value to
47201         determine return values in overflow and underflow cases.  Use
47202         round_away to determine rounding depending on rounding mode.
47203         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47204         determine return values in overflow and underflow cases.
47205         * stdlib/tst-strtod-round.c: Include <fenv.h>.
47206         (struct test_results): New structure.
47207         (struct test): Use struct test_results to store expected results
47208         for all rounding modes.
47209         (TEST): Include expected results for all rounding modes.
47210         (test_in_one_mode): New function.
47211         (do_test): Use test_in_one_mode to compute and check results.
47212         Check results for all rounding modes.
47213         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47214         $(link-libm).
47216 2012-12-09  Allan McRae  <allan@archlinux.org>
47218         * sysdeps/i386/fpu/libm-test-ulps: Update
47220 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
47222         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47223         (_G_int32_t): Likewise.
47224         (_G_uint16_t): Likewise.
47225         (_G_uint32_t): Likewise.
47226         (_G_HAVE_BOOL): Likewise.
47227         (_G_HAVE_ATEXIT): Likewise.
47228         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47229         (_G_HAVE_IO_FILE_OPEN): Likewise.
47230         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47231         (_G_int32_t): Likewise.
47232         (_G_uint16_t): Likewise.
47233         (_G_uint32_t): Likewise.
47234         (_G_HAVE_BOOL): Likewise.
47235         (_G_HAVE_ATEXIT): Likewise.
47236         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47237         (_G_HAVE_IO_FILE_OPEN): Likewise.
47238         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47239         (_G_int32_t): Likewise.
47240         (_G_uint16_t): Likewise.
47241         (_G_uint32_t): Likewise.
47242         (_G_HAVE_BOOL): Likewise.
47243         (_G_HAVE_ATEXIT): Likewise.
47244         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47245         (_G_HAVE_IO_FILE_OPEN): Likewise.
47247 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
47249         * csu/libc-tls.c: Update copyright years.
47251 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
47253         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47254         [!_G_USING_THUNKS]: Remove conditional code.
47255         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47256         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47258         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47259         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47260         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47261         (_G_VTABLE_LABEL_PREFIX): Likewise.
47262         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47263         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47264         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47265         (_G_VTABLE_LABEL_PREFIX): Likewise.
47266         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47267         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47268         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47269         (_G_VTABLE_LABEL_PREFIX): Likewise.
47270         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47272 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
47274         * libio/Makefile: Include ../Makeconfig before tests.
47275         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47276         only if $(build-shared) is yes.
47278         * iconv/gconv_db.c: Update copyright years.
47280 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47282         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47283         unwind info if defined PIC. Fix special cases description.
47284         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47286         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47287         DP_HI_MASK entry.
47288         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47290 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
47292         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47294         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47295         is NULL.
47297         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47298         (LDLIBS-tst-chk4): This.
47299         (LDFLAGS-tst-chk5): Renamed to ...
47300         (LDLIBS-tst-chk5): This.
47301         (LDFLAGS-tst-chk6): Renamed to ...
47302         (LDLIBS-tst-chk6): This.
47303         (LDFLAGS-tst-lfschk4): Renamed to ...
47304         (LDLIBS-tst-lfschk4): This.
47305         (LDFLAGS-tst-lfschk5): Renamed to ...
47306         (LDLIBS-tst-lfschk5): This.
47307         (LDFLAGS-tst-lfschk6): Renamed to ...
47308         (LDLIBS-tst-lfschk6): This.
47310         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47311         on $(common-objpfx)soversions.mk.
47313 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
47315         [BZ #10014]
47316         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47317         example host name.
47319 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47321         * malloc/arena.c (arena_get_retry): New function that gets
47322         another arena for the caller to try its request on.
47323         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47324         current arena cannot fulfill the request.
47325         (__libc_memalign): Likewise.
47326         (__libc_memalign): Likewise.
47327         (__libc_pvalloc): Likewise.
47328         (__libc_calloc): Likewise.
47330 2012-09-05  John Tobey  <john.tobey@gmail.com>
47332         [BZ #13542]
47333         * manual/arith.texi (Operations on Complex): Fix description
47334         of carg branch cut.
47336 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47338         [BZ #10014]
47339         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47340         host name.
47342         [BZ #10038]
47343         * manual/memory.texi (Memory): Make order of menu items match
47344         order of sections.
47346 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47348         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47349         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
47350         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47352 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47354         * csu/libc-tls.c (static_dtv): Renamed to ...
47355         (_dl_static_dtv): This.  Make it global.
47356         (_dl_initial_dtv): Removed.
47357         (__libc_setup_tls): Updated.
47358         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47359         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47360         DL_INITIAL_DTV.
47362 2012-09-06  Petr Machata  <pmachata@redhat.com>
47364         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47365         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47366         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47367         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47369 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47371         [BZ #14545]
47372         * csu/libc-tls.c (_dl_initial_dtv): New variable.
47373         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47374         freeing dtv[-1].
47376 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47378         [BZ #14544]
47379         * Makeconfig (link-static-before-libc): Replace $(+prector)
47380         with $(+prectorT).
47381         (link-static-after-libc): Replace $(+postctor) with
47382         $(+postctorT).
47383         (link-bounded): Replace $(+prector)/$(+postctor) with
47384         $(+prectorT)/$(+postctorT).
47385         (+prectorT): New macro.
47386         (+postctorT): Likewise.
47388 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47390         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47391         (round_str): Handle values above the maximum for IBM long double
47392         as inexact.
47393         * stdlib/tst-strtod-round.c (tests): Regenerated.
47395 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47397         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47398         assembler flag.
47399         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47400         zarch_nohighgprs around the zarch optimized routines.
47401         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47402         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47403         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47404         for zarch.
47406 2012-09-05  David S. Miller  <davem@davemloft.net>
47408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47410         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47411         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47412         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47413         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47414         entries.
47416 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47418         * malloc/arena.c: Fold copyright years.
47419         * malloc/mcheck.c, malloc/memusage.c: Likewise.
47421 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47423         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47425 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47427         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
47429 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47431         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47432         change internal state upon failure.
47434 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47436         * malloc/mcheck.c (mcheck_check_all): Fix typo.
47437         * malloc/memusage.c (mmap): Likewise.
47438         (mmap64, mremap): Likewise.  Adjust name in comment.
47440 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47442         * libio/fileops.c: Fix typos in comments.
47443         * libio/oldfileops.c: Likewise.
47444         * libio/wfileops.c: Likewise.
47446 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47448         [BZ #1349]
47449         * malloc/Makefile (tests): Add tst-malloc-usable test case.
47450         (tst-malloc-usable-ENV): Set environment for test case.
47451         * malloc/hooks.c (malloc_check_get_size): New function to get
47452         requested size.
47453         * malloc/malloc.c (musable): Use malloc_check_get_size.
47454         * malloc/tst-malloc-usable.c: New test case.
47456 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47458         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47460 2012-09-05  Allan McRae  <allan@archlinux.org>
47462         [BZ #13966]
47463         * configure.in (CXX_SYSINCLUDES): Use compiler output to
47464         determine header location.
47465         * configure: Regenerated.
47467 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47469         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47470         float format.
47471         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47472         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47473         format.
47474         (test): Regenerate.
47476 2012-09-04  David S. Miller  <davem@davemloft.net>
47478         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47479         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47480         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47482 2012-09-04  Florian Weimer  <fweimer@redhat.com>
47484         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47485         failures.
47487         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47489 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
47491         [BZ #9914]
47492         * libio/iogetdelim.c: Include <limits.h>.
47493         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47494         + len + 1 would overflow.
47496 2012-09-03  Andreas Jaeger  <aj@suse.de>
47498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47499         * sysdeps/i386/fpu/libm-test-ulps: Update.
47501 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47503         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47504         Add s_sinf-sse2, s_conf-sse2.
47506         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47507         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47508         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47509         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47511         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47512         for using routine as __sinf_ia32.
47513         Use macro for function declaration and weak_alias.
47514         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47515         for using routine as __cosf_ia32.
47516         Use macro for function declaration and weak_alias.
47518         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47519         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47521         * sysdeps/x86_64/fpu/s_sinf.S: New file.
47522         * sysdeps/x86_64/fpu/s_cosf.S: New file.
47523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47525         * math/libm-test.inc (cos_test): Add more test cases.
47526         (sin_test): Likewise.
47527         (sincos_test): Likewise.
47529 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47531         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47532         (IFUNC_RESOLVE): Make pointers to the specialized implementations
47533         hidden.
47534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47536 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
47538         [BZ #14538]
47539         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47540         first element of the GOT.
47541         (elf_machine_load_address): Return the difference between
47542         the runtime address of _DYNAMIC and elf_machine_dynamic ().
47544 2012-09-01  Allan McRae  <allan@archlinux.org>
47546         [BZ #13412]
47547         * configure.in (AWK): Require gawk version 3.0 or later.
47548         * configure: Regenerated.
47550 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
47552         * sysdeps/unix/sysv/linux/kernel-features.h
47553         (__ASSUME_POSIX_CPU_TIMERS): Remove.
47554         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47555         [__NR_clock_getres]: Make code unconditional.
47556         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47557         (clock_getcpuclockid): Remove code left unreachable by removal of
47558         conditionals.
47559         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47560         code unconditional.
47561         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47562         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47563         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47564         Make code unconditional.
47565         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47566         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47567         * sysdeps/unix/sysv/linux/clock_settime.c
47568         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47569         conditional code.
47570         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47571         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47573 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
47575         [BZ #14476]
47576         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47577         scripts/test-installation.pl.
47579         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47580         and $ld_so_version if it is set.
47582 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47584         [BZ #14516]
47585         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47586         failure if reading from procfs failed.
47587         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47589 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47591         * sysdeps/unix/sysv/linux/kernel-features.h
47592         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47593         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47594         Remove conditional code.
47595         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47596         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47597         Remove conditional code.
47598         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47599         * sysdeps/unix/sysv/linux/i386/fxstat.c
47600         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47602         * sysdeps/unix/sysv/linux/i386/fxstatat.c
47603         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47604         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47605         * sysdeps/unix/sysv/linux/i386/lxstat.c
47606         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47607         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47608         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47609         Remove conditional code.
47610         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47611         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47612         Remove conditional code.
47613         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47614         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47615         <kernel-features.h>.
47616         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47617         Remove.
47618         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47619         Remove conditional code.
47620         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47621         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47622         Remove conditional.
47624 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
47626         [BZ #5400]
47627         * NEWS: Add fixed bug number.
47629 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47631         [BZ #14519]
47632         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47633         underflowing exponent in case of negative sign.
47634         * stdlib/tst-strtod-round-data: Add more tests.
47635         * stdlib/tst-strtod-round.c (tests): Regenerated.
47637         [BZ #3479]
47638         * stdlib/strtod_l.c (NDIG): Remove.
47639         (HEXNDIG): Likewise.
47640         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47641         smallest representable value.
47642         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47643         lie within an exact representation of 1/2 ulp of the result.
47644         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47645         unconditionally.
47646         (TENS_P9_IDX): Define unconditionally.
47647         (TENS_P9_SIZE): Likewise.
47648         (TENS_P10_IDX): Likewise.
47649         (TENS_P10_SIZE): Likewise.
47650         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47651         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47652         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47653         entries for 10^2^13 and 10^2^14.
47654         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47655         (TENS_P13_IDX): Define.
47656         (TENS_P13_SIZE): Likewise.
47657         (TENS_P14_IDX): Likewise.
47658         (TENS_P14_SIZE): Likewise.
47659         (_fpioconst_pow10): Change array size to
47660         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
47661         unconditional.
47662         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47663         1024]: Add entries for 10^2^13 and 10^2^14.
47664         [LAST_POW10 > _LAST_POW10]: Remove #error.
47665         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47666         (_fpioconst_pow10): Change array size to
47667         FPIOCONST_POW10_ARRAY_SIZE.
47668         * stdlib/gen-fpioconst.c: New file.
47669         * stdlib/gen-tst-strtod-round.c: Likewise.
47670         * stdlib/tst-strtod-round-data: Likewise.
47671         * stdlib/tst-strtod-round.c: Likewise.
47672         * stdlib/Makefile (tests): Add tst-strtod-round.
47674         [BZ #14459]
47675         * stdlib/strtod_l.c: Include <stdint.h>.
47676         (NDEBUG): Do not define.
47677         (round_and_return): Change EXPONENT parameter to type intmax_t.
47678         Rearrange calculations to avoid internal overflow possibilities.
47679         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47680         Rearrange calculations to avoid internal overflow possibilities.
47681         Assert that number fits inside MPNSIZE limbs.
47682         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47683         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
47684         calculations and add assertions to avoid internal overflow
47685         possibilities.  Add casts to avoid signed/unsigned operations.
47686         * stdlib/tst-strtod-overflow.c: New file.
47687         * stdlib/Makefile (tests): Add tst-strtod-overflow.
47689 2012-08-25  Marek Polacek  <polacek@redhat.com>
47691         * time/time.h: Fix some typos in comments.
47693 2012-08-23  Roland McGrath  <roland@hack.frob.com>
47695         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47696         * posix/tst-rfc3484-2.c: Likewise.
47697         * posix/tst-rfc3484-3.c: Likewise.
47699 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
47701         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47702         (EF_ARM_ABI_FLOAT_HARD): Likewise.
47704 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
47706         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47707         #include of fxstatat64.c.
47709 2012-08-22  Roland McGrath  <roland@hack.frob.com>
47711         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47712         * shadow/getspent_r.c: Likewise.
47713         * shadow/getspnam.c: Likewise.
47714         * shadow/getspnam_r.c: Likewise.
47715         * gshadow/getsgent.c: Likewise.
47716         * gshadow/getsgent_r.c: Likewise.
47717         * gshadow/getsgnam.c: Likewise.
47718         * gshadow/getsgnam_r.c: Likewise.
47719         * inet/getnetbyad.c: Likewise.
47720         * inet/getnetbyad_r.c: Likewise.
47721         * inet/getnetbynm.c: Likewise.
47722         * inet/getnetbynm_r.c: Likewise.
47723         * inet/getnetent.c: Likewise.
47724         * inet/getnetent_r.c: Likewise.
47725         * inet/getproto.c: Likewise.
47726         * inet/getproto_r.c: Likewise.
47727         * inet/getprtent.c: Likewise.
47728         * inet/getprtent_r.c: Likewise.
47729         * inet/getprtname.c: Likewise.
47730         * inet/getprtname_r.c: Likewise.
47731         * inet/getrpcbyname.c: Likewise.
47732         * inet/getrpcbyname_r.c: Likewise.
47733         * inet/getrpcbynumber.c: Likewise.
47734         * inet/getrpcbynumber_r.c: Likewise.
47735         * inet/getrpcent.c: Likewise.
47736         * inet/getrpcent_r.c: Likewise.
47737         * inet/getaliasent.c: Likewise.
47738         * inet/getaliasent_r.c: Likewise.
47739         * inet/getaliasname.c: Likewise.
47740         * inet/getaliasname_r.c: Likewise.
47741         * nscd/getgrgid_r.c: Likewise.
47742         * nscd/getgrnam_r.c: Likewise.
47743         * nscd/gethstbyad_r.c: Likewise.
47744         * nscd/gethstbynm3_r.c: Likewise.
47745         * nscd/getpwnam_r.c: Likewise.
47746         * nscd/getpwuid_r.c: Likewise.
47747         * nscd/getsrvbynm_r.c: Likewise.
47748         * nscd/getsrvbypt_r.c: Likewise.
47749         * nscd/gai.c: Likewise.
47751         * configure.in (build_nscd): New substituted variable, set
47752         by --disable-build-nscd and defaults to $use_nscd.
47753         * configure: Regenerated.
47754         * config.make.in (build-nscd): New substituted variable.
47755         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47756         Change conditional to require [$(build-nscd) = yes] as well.
47757         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47759         [BZ# 13696]
47760         * configure.in (use_nscd): New substituted variable, set by
47761         --disable-nscd.  If enabled, define USE_NSCD.
47762         * configure: Regenerated.
47763         * config.h.in: Add USE_NSCD.
47764         * config.make.in (use-nscd): New substituted variable.
47765         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47766         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47767         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47768         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47769         (CFLAGS-getgrnam_r.c): Likewise.
47770         (CFLAGS-initgroups.c): Likewise.
47771         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47772         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47773         Variables removed.
47774         * inet/getnetgrent_r.c
47775         (nscd_setnetgrent): New function, broken out of ...
47776         (setnetgrent): ... here.  Call it.
47777         (innetgr): Conditionalize nscd bits on [USE_NSCD].
47778         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47779         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47780         * nscd/Makefile (routines, aux): Move definitions after include of
47781         Makeconfig.  Conditionalize on [$(use-nscd) != no].
47782         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47783         Conditionalize on [USE_NSCD].
47784         (is_nscd, nscd_init_cb): Likewise.
47785         (nss_load_library): Conditionalize init callback on [USE_NSCD].
47786         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47787         * nss/nss_db/db-init.c: Likewise.
47788         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47789         [USE_NSCD].
47790         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47791         (make_request): Use it.
47792         (cache_valid_p): New function.
47793         (__check_pf): Use it.
47794         * NEWS: Add item for --disable-nscd.
47796 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
47798         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47799         to support sed >= 4.2.1-20-ga9bf076.
47800         * configure: Regenerated.
47802 2012-08-22  Roland McGrath  <roland@hack.frob.com>
47804         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47805         Conditionalize whole body on [IREL].
47807 2012-08-22  Jeff Law <law@redhat.com>
47809         [BZ #14505]
47810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47811         if the family is PF_UNSPEC.
47813 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
47815         * Makerules (lib-version): Rename from V.
47816         (install-lib-nosubdir): Change V to lib-version.
47818 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
47820         [BZ #14252]
47821         * powerpc32/power6/wcschr.c: New file.
47822         * powerpc32/power6/wcscpy.c: New file.
47823         * powerpc32/power6/wcsrchr.c: New file.
47824         * powerpc64/power6/wcschr.c: New file.
47825         * powerpc64/power6/wcscpy.c: New file.
47826         * powerpc64/power6/wcsrchr.c: New file.
47828 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
47830         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47831         (two_way_short_needle): Use it.
47832         * string/strstr.c (AVAILABLE1_USES_J): Define.
47833         * string/strcasestr.c: Likewise.
47835         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47836         array references.
47837         * string/strcasestr.c (TOLOWER): Make side-effect safe.
47839         [BZ #11607]
47840         * NEWS: Add an entry.
47841         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47842         define their defaults.
47843         (two_way_short_needle): Detect end-of-string on-the-fly.
47844         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47845         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47846         * string/bug-strcasestr1.c: New test.
47847         * string/Makefile: Run it.
47849 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
47851         [BZ #11607]
47852         * string/str-two-way.h (two_way_short_needle): Optimize matching of
47853         the first character.
47855 2012-08-21  Roland McGrath  <roland@hack.frob.com>
47857         * csu/elf-init.c (__libc_csu_irel): Function removed.
47858         * csu/libc-start.c (apply_irel): New function.
47859         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47861 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
47863         * sysdeps/unix/sysv/linux/kernel-features.h
47864         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47865         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47866         <kernel-features.h>.
47867         [__NR_fadvise64_64]: Make code unconditional.
47868         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47869         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47870         !__NR_fadvise64_64)]: Likewise.
47871         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47872         !__NR_fadvise64_64))]: Likewise.
47873         [__NR_fadvise64]: Make code unconditional.
47874         [!__NR_fadvise64]: Remove conditional code.
47875         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47876         <kernel-features.h>.
47877         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47878         unconditional.
47879         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47880         conditional code.
47881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47882         not include <kernel-features.h>.
47883         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47884         unconditional.
47885         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47886         conditional code.
47887         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47888         include <kernel-features.h>.
47889         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47890         unconditional.
47891         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47892         conditional code.
47894 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47896         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47897         slight instruction rearrangements per scrollpipe analysis.
47898         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47900 2012-08-20  Roland McGrath  <roland@hack.frob.com>
47902         * manual/syslog.texi (syslog; vsyslog, closelog):
47903         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47904         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47906         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47907         DSOCAPS to match condition on defining it.
47909 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
47911         * sysdeps/unix/sysv/linux/kernel-features.h
47912         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47914         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47915         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47917         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47918         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47920         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47921         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47923         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47924         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47926         * sysdeps/unix/sysv/linux/kernel-features.h
47927         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47928         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47929         unconditional.
47930         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47931         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47932         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47933         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47934         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47935         Make code unconditional.
47936         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47937         (__mmap64) [!__NR_mmap2]: Likewise.
47938         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47939         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47940         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47941         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47942         [__NR_mmap2]: Make code unconditional.
47943         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47944         (__mmap64) [!__NR_mmap2]: Likewise.
47946 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47948         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47950 2012-08-18  Andreas Jaeger  <aj@suse.de>
47952         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47954 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
47956         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47957         * include/unistd.h (__have_sock_cloexec): Likewise.
47958         (__have_pipe2): Likewise.
47959         (__have_dup3): Likewise.
47961 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
47963         [BZ #9685]
47964         * include/unistd.h (__have_pipe2): Change define into an extern int.
47965         (__have_dup3): Likewise.
47966         * socket/have_sock_cloexec.c: Include fcntl.h.
47967         (__have_pipe2): New variable.
47968         (__have_dup3): Likewise.
47970 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
47972         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47974 2012-08-17  Marek Polacek  <polacek@redhat.com>
47976         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47977         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47979 2012-08-17  Roland McGrath  <roland@hack.frob.com>
47981         * configure.in: Add AC_SUBST for sysheaders.
47982         * configure: Regenerated.
47983         * config.make.in (sysheaders): New substituted variable.
47985         * sysdeps/unix/mkfifo.c: Moved ...
47986         * sysdeps/posix/mkfifo.c: ... here.
47987         * sysdeps/unix/mkfifoat.c: Moved ...
47988         * sysdeps/posix/mkfifoat.c: ... here.
47990         * sysdeps/unix/utime.c: Moved ...
47991         * sysdeps/posix/utime.c: ... here.
47993         * sysdeps/unix/time.c: Moved ...
47994         * sysdeps/posix/time.c: ... here.
47995         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47996         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47998         * sysdeps/unix/nice.c: Moved ...
47999         * sysdeps/posix/nice.c: ... here.
48001         * sysdeps/unix/alarm.c: Moved ...
48002         * sysdeps/posix/alarm.c: ... here.
48004         * intl/Makefile ($(codeset_mo)): Depend on the input file.
48006 2012-08-17  Jeff Law <law@redhat.com>
48008         * intl/Makefile (codeset_mo): New variable.
48009         ($(codeset_mo)): New target.
48010         (tst-codeset.out): Depend on that.  Remove explicit rule.
48011         (tst-gettext3.out, tst-gettext5.out): Likewise.
48012         (LOCPATH-ENV, tst-codeset-ENV): New variables.
48013         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
48014         * intl/tst-codeset.sh: Remove.
48015         * intl/tst-gettext3.sh: Likewise.
48016         * intl/tst-gettext5.sh: Likewise.
48018 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48020         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
48021         * sysdeps/unix/syscalls.list: ... here.
48023         * sysdeps/posix/getaddrinfo.c
48024         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48025         (gaiconf_init, gaiconf_reload): Use them.
48026         [!_STATBUF_ST_NSEC]
48027         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48028         Define using time_t rather than struct timespec.
48030         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48031         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48032         Macros removed.
48033         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48034         [!NO_THREADS].
48035         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48036         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48037         Likewise.
48039         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48040         __libc_cleanup_push argument.
48042         * bits/param.h: New file.
48043         * misc/sys/param.h: New file.
48044         * include/sys/param.h: New file.
48045         * misc/Makefile (headers): Add bits/param.h.
48046         * sysdeps/generic/sys/param.h: File removed.
48047         * sysdeps/unix/sysv/linux/bits/param.h: New file.
48048         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48049         * sysdeps/mach/hurd/bits/param.h: New file.
48050         * sysdeps/mach/hurd/sys/param.h: File removed.
48052         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48053         last change.
48055         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48056         [_IO_MTSAFE_IO].
48057         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48058         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48059         New macros.
48061         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48062         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48063         rather than -D_IO_MTSAFE_IO conditionally.
48064         * stdio-common/Makefile (CPPFLAGS): Likewise.
48065         * wcsmbs/Makefile (CPPFLAGS): Likewise.
48066         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48067         Use $(libio-mtsafe).
48068         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48069         of -D_IO_MTSAFE_IO.
48070         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48071         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48072         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48073         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48074         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48075         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48076         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48077         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48078         (CFLAGS-fread_u_chk.c): Likewise.
48079         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48080         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48081         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48082         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48083         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48084         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48085         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48086         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48087         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48089         * libio/Makefile: Test [$(libc-reentrant) = yes]
48090         instead of [$(filter %REENTRANT, $(defines)) nonempty].
48092         * Makeconfig
48093         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48094         * sysdeps/pthread/configure: File removed.
48095         * sysdeps/pthread/Makeconfig: New file.
48096         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48097         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48099 2012-08-16  Gary Benson  <gbenson@redhat.com>
48101         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48102         unmapping the first object in a namespace.
48104 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48106         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48107         (__internal_setnetgrent): ... this.  Add internal_function to
48108         definition.  Add libc_hidden_def.
48109         (setnetgrent): Update caller.
48110         (internal_endnetgrent): Renamed to ...
48111         (__internal_endnetgrent): ... this.  Add internal_function to
48112         definition.  Add libc_hidden_def.
48113         (endnetgrent): Update caller.
48114         (internal_getnetgrent_r): Renamed to ...
48115         (__internal_getnetgrent_r): ... this.  Add internal_function to
48116         definition.  Add libc_hidden_def.
48117         (__getnetgrent_r): Update caller.
48118         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
48120 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48122         * stdlib/longlong.h: Update from GCC.
48124 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48126         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48127         on _QL, which is set by umul_ppmm but never used.
48128         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48129         variables, which are set by GMP macros but never used.
48130         * stdio-common/_itowa.c (_itowa): Likewise.
48131         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48132         * stdlib/mod_1.c (mpn_mod_1): Likewise.
48134 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
48136         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48137         struct La_sh_regs is not constant.
48138         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48139         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48140         and struct La_sparc64_regs are not constant.
48142 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48144         * sysdeps/unix/sysv/linux/kernel-features.h
48145         (__ASSUME_POSIX_TIMERS): Remove.
48146         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48147         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48148         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48149         Make code unconditional.
48150         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48151         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48152         Make code unconditional.
48153         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48154         * sysdeps/unix/sysv/linux/clock_nanosleep.c
48155         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48156         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48157         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48158         Make code unconditional.
48159         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48160         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48161         (__libc_missing_posix_timers): Remove.
48163 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48165         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48166         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48168         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48170         * elf/dl-sym.c: Include <stdlib.h>.
48172         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48173         constants, which avoids warnings in 32-bit builds.
48175         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48176         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48178         * misc/lseek.c: File moved to ...
48179         * io/lseek.c: ... here.
48181         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48183         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48184         shifting LEN more than 31 bits at once.
48186 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48188         [BZ #14195]
48189         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48190         segmentation fault for a case of two empty input strings.
48191         * string/test-strncasecmp.c (check1): Renamed to...
48192         (bz12205): ...this.
48193         (bz14195): Add new testcase for two empty input strings and N > 0.
48194         (test_main): Call new testcase, adapt for renamed function.
48196 2012-08-15  Andreas Jaeger  <aj@suse.de>
48198         [BZ #14090]
48199         * crypt/md5test2.c: New test, based on test supplied by Serge
48200         Belyshev <belyshev@depni.sinp.msu.ru>.
48201         * crypt/Makefile (xtests): Add md5test-giant..
48202         * crypt/Makefile ($(objpfx)md5test-giant): Add.
48204 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
48206         [BZ #14090]
48207         * crypt/md5.c (md5_process_block): Don't assume the buffer
48208         length is less than 2**32.
48209         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48210         length is less than 2**64.
48212 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48214         * string/str-two-way.h: Include <sys/param.h>.
48215         (MAX): Macro removed.
48217         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48218         Move #define and #undef of memmove to just before and after
48219         including <string.h>.
48221         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48222         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48223         and after including <string.h>.  Move declarations of
48224         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48225         to before #include "string/memmove.c".
48227         * include/dirent.h: Declare __getdirentries.
48229         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48230         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48232 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
48234         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48235         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48236         * sysdeps/i386/configure: Regenerated.
48237         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48238         STABS_CURRENT_FILE, and STABS_FUN.
48239         (END): Remove call to STABS_FUN_END.
48240         (STABS_CURRENT_FILE1): Delete.
48241         (STABS_CURRENT_FILE): Likewise.
48242         (STABS_FUN): Likewise.
48243         (STABS_FUN_END): Likewise.
48244         (STABS_FUN2): Likewise.
48245         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48246         * sysdeps/x86_64/configure: Regenerated.
48248 2012-08-14  Roland McGrath  <roland@hack.frob.com>
48250         * elf/dl-open.c: Include <atomic.h>.
48251         * elf/dl-lookup.c: Likewise.
48253 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
48255         * sysdeps/unix/sysv/linux/kernel-features.h
48256         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48257         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48258         unconditionally.
48259         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48260         unconditionally.
48261         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48262         condition on __ASSUME_CLONE_THREAD_FLAGS.
48264 2012-08-14  Andreas Jaeger  <aj@suse.de>
48266         * sysdeps/i386/fpu/libm-test-ulps: Update.
48268 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
48270         * include/atomic.h (atomic_exchange_and_add): Split into ...
48271         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48272         New atomic macros.
48274 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
48276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48278 2012-08-13  Jeff Law <law@redhat.com>
48280         * manual/stdio.texi (snprintf): Clarify handling of the trailing
48281         null byte in the output string.
48283 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
48285         * sysdeps/unix/sysv/linux/kernel-features.h
48286         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48287         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48288         (__ASSUME_ARG_MAX_STACK_BASED): Define.
48289         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48290         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48291         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
48292         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48294 2012-08-09  Jeff Law <law@redhat.com>
48296         [BZ #13939]
48297         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48298         When avoid_arena is set, don't retry in the that arena.  Pick the
48299         next one, whatever it might be.
48300         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48301         (arena_lock): Pass in new parameter to arena_get2.
48302         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48303         arena_get2.
48304         (__libc_malloc): Unify retrying after main arena failure with
48305         __libc_memalign version.
48306         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48308 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
48310         [BZ #14166]
48311         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48312         to __redirect_strstr.
48313         (__strstr_sse42): Use typeof __redirect_strstr.
48314         (__strstr_ia32): Likewise.
48315         (__libc_strstr): New prototype.
48316         (strstr): Renamed to ...
48317         (__libc_strstr): This.
48318         (strstr): New strong alias of __libc_strstr.
48319         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48320         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48321         __redirect_time.
48322         Include <time.h>.
48323         (__libc_time): New prototype.
48324         (time_ifunc): Replace time with __libc_time.
48325         (time): New strong alias and hidden definition of __libc_time.
48326         (__GI_time): Remove strong alias.
48327         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48328         Include <stddef.h>.
48329         (memmove): Redefined to __redirect_memmove.
48330         (__memmove_sse2): Use typeof __redirect_memmove.
48331         (__memmove_ssse3): Likewise.
48332         (__memmove_ssse3_back): Likewise.
48333         (__libc_memmove): New prototype.
48334         (memmove): Renamed to ...
48335         (__libc_memmove): This.
48336         (memmove): New strong alias of __libc_memmove.
48338 2012-08-08  Mark Salter  <msalter@redhat.com>
48340         * elf/elf.h
48341         (R_MN10300_TLS_GD): Define.
48342         (R_MN10300_TLS_LD): Likewise.
48343         (R_MN10300_TLS_LDO): Likewise.
48344         (R_MN10300_TLS_GOTIE): Likewise.
48345         (R_MN10300_TLS_IE): Likewise.
48346         (R_MN10300_TLS_LE): Likewise.
48347         (R_MN10300_TLS_DTPMOD): Likewise.
48348         (R_MN10300_TLS_DTPOFF): Likewise.
48349         (R_MN10300_TLS_TPOFF): Likewise.
48350         (R_MN10300_SYM_DIFF): Likewise.
48351         (R_MN10300_ALIGN): Likewise.
48352         (R_MN10300_NUM): Update.
48354 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
48356         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48357         Remove.
48359 2012-08-08  Roland McGrath  <roland@hack.frob.com>
48361         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48363         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48364         sysdeps/unix -> sysdeps/posix move.
48365         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48367 2012-08-07      Allan McRae     <allan@archlinux.org>
48369         [BZ #14303]
48370         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48371         (SUNOS_CPP): Likewise.
48372         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48373         not found.
48374         (open_input): Call CPP using execvp.
48376 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48378         * sysdeps/unix/sysv/linux/kernel-features.h
48379         (__ASSUME_PROT_GROWSUPDOWN): Remove.
48380         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48381         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48382         (__ASSUME_WAITID_SYSCALL): Likewise.
48383         * sysdeps/unix/sysv/linux/dl-execstack.c
48384         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48385         code unconditional.
48386         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48387         conditional code.
48388         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48389         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48390         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48391         code.
48392         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48393         unconditional.
48394         [__ASSUME_WAITID_SYSCALL]: Likewise.
48395         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48397 2012-08-07  Roland McGrath  <roland@hack.frob.com>
48399         * sysdeps/unix/closedir.c: Renamed to ...
48400         * sysdeps/posix/closedir.c: ... here.
48401         * sysdeps/unix/dirfd.c: Renamed to ...
48402         * sysdeps/posix/dirfd.c: ... here.
48403         * sysdeps/unix/dirstream.h: Renamed to ...
48404         * sysdeps/posix/dirstream.h: ... here.
48405         * sysdeps/unix/fdopendir.c: Renamed to ...
48406         * sysdeps/posix/fdopendir.c: ... here.
48407         * sysdeps/unix/opendir.c: Renamed to ...
48408         * sysdeps/posix/opendir.c: ... here.
48409         * sysdeps/unix/readdir.c: Renamed to ...
48410         * sysdeps/posix/readdir.c: ... here.
48411         * sysdeps/unix/readdir_r.c: Renamed to ...
48412         * sysdeps/posix/readdir_r.c: ... here.
48413         * sysdeps/unix/rewinddir.c: Renamed to ...
48414         * sysdeps/posix/rewinddir.c: ... here.
48415         * sysdeps/unix/seekdir.c: Renamed to ...
48416         * sysdeps/posix/seekdir.c: ... here.
48417         * sysdeps/unix/telldir.c: Renamed to ...
48418         * sysdeps/posix/telldir.c: ... here.
48419         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48420         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48421         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48422         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48424         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48425         * bits/fcntl.h: ... here.
48427         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48428         not 0.
48429         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48430         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48431         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48432         (struct flock): Move l_start, l_len to the beginning.
48433         Use __pid_t for l_pid.
48434         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48435         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48436         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48437         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48438         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48439         [__USE_LARGEFILE64] (struct flock64): New type.
48440         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48442         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48443         * bits/dirent.h: ... here.
48445         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48446         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48448 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48450         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48451         Change from 2.6.0 to 2.6.16.
48452         * sysdeps/unix/sysv/linux/configure: Regenerated.
48453         * sysdeps/unix/sysv/linux/kernel-features.h
48454         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48455         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48456         version.
48457         (__ASSUME_UTIMES): Likewise.
48458         (__ASSUME_CLONE_STOPPED): Remove.
48459         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48460         architectures, not kernel version.
48461         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48462         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48463         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48464         (__ASSUME_WAITID_SYSCALL): Likewise.
48465         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48466         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48467         * README: State 2.6.16 as minimum Linux kernel version.  Do not
48468         refer to older versions.
48470 2012-08-06  Roland McGrath  <roland@hack.frob.com>
48472         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48473         Define alphasort64 as an alias.
48474         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48475         Define versionsort64 as an alias.
48476         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48477         Define scandir64 as an alias.
48478         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48479         Define scandirat64 as an alias.
48480         * dirent/alphasort64.c (alphasort64):
48481         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48482         * dirent/versionsort64.c: Likewise.
48483         * dirent/scandir64.c: Likewise.
48484         * dirent/scandirat64.c: Likewise.
48485         * sysdeps/wordsize-64/alphasort.c: File removed.
48486         * sysdeps/wordsize-64/alphasort64.c: File removed.
48487         * sysdeps/wordsize-64/scandir.c: File removed.
48488         * sysdeps/wordsize-64/scandir64.c: File removed.
48489         * sysdeps/wordsize-64/scandirat.c: File removed.
48490         * sysdeps/wordsize-64/scandirat64.c: File removed.
48491         * sysdeps/wordsize-64/versionsort.c: File removed.
48492         * sysdeps/wordsize-64/versionsort64.c: File removed.
48493         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48494         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48495         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48496         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48497         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48498         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48499         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48500         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48502         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48503         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48504         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48506         [defined __arch64__ || defined __sparcv9]
48507         (__INO_T_MATCHES_INO64_T): New macro.
48508         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48509         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48510         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48511         * sysdeps/unix/sysv/linux/bits/dirent.h
48512         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48513         (_DIRENT_MATCHES_DIRENT64): New macro.
48515         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48516         Define lockf64 as an alias.
48517         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48518         Define fseeko64 as an alias.
48519         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48520         Define ftello64 as an alias.
48521         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48522         Define _IO_fgetpos64 and fgetpos64 as aliases.
48523         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48524         Define _IO_fsetpos64 and fsetpos64 as aliases.
48525         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48526         Conditionalize body on this.
48527         * libio/fseeko64.c: Likewise.
48528         * libio/ftello64.c: Likewise.
48529         * libio/iofgetpos64.c: Likewise.
48530         * libio/iofsetpos64.c: Likewise.
48531         * sysdeps/wordsize-64/lockf.c: File removed.
48532         * sysdeps/wordsize-64/lockf64.c: File removed.
48533         * sysdeps/wordsize-64/fseeko.c: File removed.
48534         * sysdeps/wordsize-64/fseeko64.c: File removed.
48535         * sysdeps/wordsize-64/ftello.c: File removed.
48536         * sysdeps/wordsize-64/ftello64.c: File removed.
48537         * sysdeps/wordsize-64/iofgetpos.c: File removed.
48538         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48539         * sysdeps/wordsize-64/iofsetpos.c: File removed.
48540         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48541         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48542         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48543         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48544         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48545         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48546         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48547         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48548         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48549         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48550         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48552         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48553         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48554         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48556         [defined __arch64__ || defined __sparcv9]
48557         (__OFF_T_MATCHES_OFF64_T): New macro.
48558         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48559         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48561         (__OFF_T_MATCHES_OFF64_T): New macro.
48563 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48565         * stdlib/secure-getenv.c (__secure_getenv): Replace
48566         GLIBC_2_16 with GLIBC_2_17.
48568 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48570         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48571         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48573 2012-08-03  David S. Miller  <davem@davemloft.net>
48575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48577 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48579         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48580         Remove.
48581         (__ASSUME_CORRECT_SI_PID): Likewise.
48582         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48583         (__ASSUME_TMPFS_NAME): Likewise.
48584         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48585         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48586         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48587         (HAVE_AUX_SECURE): Make definition unconditional.
48588         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48589         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48591 2012-08-03  Roland McGrath  <roland@hack.frob.com>
48593         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48594         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48595         * sysdeps/mach/hurd/eloop-threshold.h: New file.
48596         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48597         __eloop_threshold instead of SYMLOOP_MAX.
48599         * sysdeps/generic/eloop-threshold.h: New file.
48600         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48601         of MAXSYMLINKS.
48602         * elf/chroot_canon.c (chroot_canon): Likewise.
48604 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48606         [BZ #13717]
48607         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48608         Change to 2.6.0 everywhere.
48609         * sysdeps/unix/sysv/linux/configure: Regenerated.
48610         * sysdeps/unix/sysv/linux/kernel-features.h
48611         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48612         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48613         kernel versions.
48614         (__ASSUME_POSIX_TIMERS): Define unconditionally.
48615         (__ASSUME_FUTEX_REQUEUE): Remove.
48616         (__ASSUME_STATFS64): Define unconditionally.
48617         (__ASSUME_AT_SECURE): Likewise.
48618         (__ASSUME_CORRECT_SI_PID): Likewise.
48619         (__ASSUME_TGKILL): Define without depending on kernel version for
48620         i386.
48621         (__ASSUME_UTIMES): Likewise.
48622         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48623         kernel version.
48624         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48625         (__ASSUME_TMPFS_NAME): Likewise.
48626         * README: Update reference to Linux kernel versions.
48628 2012-08-02  Marek Polacek  <polacek@redhat.com>
48630         [BZ# 14150]
48631         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
48632         libc_cv_asm_type_prefix with %.
48633         * configure: Regenerated.
48634         * include/libc-symbols.h: Remove comment about
48635         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48636         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48637         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48638         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48639         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48640         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48641         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48642         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48643         * elf/tst-unique2mod1.c: Likewise.
48644         * elf/tst-unique1mod2.c: Likewise.
48645         * elf/tst-unique1mod1.c: Likewise.
48646         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48647         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48648         Replace ASM_TYPE_DIRECTIVE with .type.
48649         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48650         * sysdeps/i386/sysdep.h: Likewise.
48651         * sysdeps/x86_64/sysdep.h: Likewise.
48652         * sysdeps/sh/sysdep.h: Likewise.
48653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48654         Do not define ASM_TYPE_DIRECTIVE.
48655         * sysdeps/powerpc/sysdep.h: Likewise.
48656         * sysdeps/powerpc/powerpc32/sysdep.h:
48657         Replace ASM_TYPE_DIRECTIVE with .type.
48658         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48659         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48660         * sysdeps/i386/fpu/e_powf.S: Likewise.
48661         * sysdeps/i386/fpu/e_expl.S: Likewise.
48662         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48663         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48664         * sysdeps/i386/fpu/e_pow.S: Likewise.
48665         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48666         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48667         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48668         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48669         * sysdeps/i386/fpu/e_log2.S: Likewise.
48670         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48671         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48672         * sysdeps/i386/fpu/e_powl.S: Likewise.
48673         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48674         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48675         * sysdeps/i386/fpu/e_logl.S: Likewise.
48676         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48677         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48678         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48679         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48680         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48681         * sysdeps/i386/fpu/e_log.S: Likewise.
48682         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48683         * sysdeps/i386/fpu/e_logf.S: Likewise.
48684         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48685         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48686         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48687         * sysdeps/i386/fpu/e_log10.S: Likewise.
48688         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48689         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48690         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48691         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48692         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48693         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48694         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48695         * sysdeps/i386/i686/strtok.S: Likewise.
48696         * sysdeps/i386/i386-mcount.S: Likewise.
48697         * sysdeps/i386/strtok.S: Likewise.
48698         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48699         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48700         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48701         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48702         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48703         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48704         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48705         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48706         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48707         * sysdeps/x86_64/_mcount.S: Likewise.
48708         * sysdeps/x86_64/strtok.S: Likewise.
48709         * sysdeps/sh/_mcount.S: Likewise.
48711 2012-08-01  Roland McGrath  <roland@hack.frob.com>
48713         * libio/iofopen.c: Include <fcntl.h>.
48714         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48715         (_IO_fopen64, fopen64): Define as aliases.
48716         * libio/iofopen64.c: Include <fcntl.h>.
48717         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48718         Conditionalize body on this.
48719         * sysdeps/wordsize-64/iofopen.c: File removed.
48720         * sysdeps/wordsize-64/iofopen64.c: File removed.
48722 2012-08-01  Marek Polacek  <polacek@redhat.com>
48724         * libc/Makeconfig: Use elf in place of binfmt-subdir.
48725         Use dlfcn directly instead of a variable.
48726         (binfmt-subdir): Do not define.
48727         (dlfcn): Likewise.
48729 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
48731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48732         Remove all definitions.
48733         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48734         <kernel-features.h>.
48735         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48736         (miss_F_GETOWN_EX): Remove all definitions.
48737         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48738         macro definition.
48739         [!__ASSUME_FCNTL64]: Remove conditional code.
48740         [__ASSUME_FCNTL64]: Make code unconditional.
48741         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48742         <kernel-features.h>.
48743         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48744         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48745         (lockf64) [__NR_fcntl64]: Make code unconditional.
48746         (lockf64) [__ASSUME_FCNTL64]: Likewise.
48748         * sysdeps/unix/sysv/linux/kernel-features.h
48749         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48750         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48751         Make code unconditional.
48752         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48753         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48755         [__NR_vfork]: Make code unconditional.
48756         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48757         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48759         [__NR_vfork]: Make code unconditional.
48760         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48761         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48763 2012-08-01  Roland McGrath  <roland@hack.frob.com>
48765         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48766         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48768         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48769         Define mkstemp64 as an alias.
48770         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48771         Define mkstemps64 as an alias.
48772         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48773         Define mkostemp64 as an alias.
48774         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48775         Define mkostemps64 as an alias.
48776         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48777         Conditionalize body on this.
48778         * misc/mkostemp64.c: Likewise.
48779         * misc/mkostemps64.c: Likewise.
48780         * misc/mkstemps64.c: Likewise.
48781         * sysdeps/wordsize-64/mkstemp64.c: File removed.
48782         * sysdeps/wordsize-64/mkostemp64.c: File removed.
48783         * sysdeps/wordsize-64/mkostemp.c: File removed.
48784         * sysdeps/wordsize-64/mkstemp.c: File removed.
48785         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48786         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48787         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48788         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48790         [BZ #14138]
48791         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48792         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48793         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48794         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48796         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48797         compat_symbol macros from <shlib-compat.h> rather than the underlying
48798         default_symbol_version and symbol_version macros, so that DEFAULT
48799         lines in shlib-versions are respected.
48800         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48802 2012-08-01  Florian Weimer  <fweimer@redhat.com>
48804         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48805         Declare with warn_unused_result.
48806         (setgid, setregid, setegid, setresgid): Likewise.
48807         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48808         Likewise.
48809         * WUR-REPORT: Remove set*id functions.
48811 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
48813         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48815 2012-07-31  Roland McGrath  <roland@hack.frob.com>
48817         [BZ #10191]
48818         * include/sys/socket.h (__libc_accept, __libc_accept4):
48819         Add attribute_hidden.
48820         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48822         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48823         use of PTR_MANGLE.
48824         * inet/getnetgrent_r.c (setup): Likewise.
48826         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48828 2012-07-31  David S. Miller  <davem@davemloft.net>
48830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48832 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
48834         [BZ #13629]
48835         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48836         value between 1.0 and 2.0 and smaller part has absolute value less
48837         than 1.0.
48838         * math/s_clog10.c (__clog10): Likewise.
48839         * math/s_clog10f.c (__clog10f): Likewise.
48840         * math/s_clog10l.c (__clog10l): Likewise.
48841         * math/s_clogf.c (__clogf): Likewise.
48842         * math/s_clogl.c (__clogl): Likewise.
48843         * math/libm-test.inc (clog_test): Add more tests.
48844         (clog10_test): Likewise.
48845         * sysdeps/i386/fpu/libm-test-ulps: Update.
48846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48848 2012-07-31  Florian Weimer  <fweimer@redhat.com>
48850         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48851         Exit with zero in case no suitable GID is found, and write a
48852         message to standard error.
48854 2012-07-30  Roland McGrath  <roland@hack.frob.com>
48856         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48857         rather than to 1.
48858         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48859         (MAXPATHLEN): Removed.
48860         (NOGROUP, NODEV): New macros.
48861         (setbit, clrbit, isset, isclr): New macros.
48862         (howmany, roundup, powerof2): New macros.
48863         (DEV_BSIZE): New macro.
48865         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48866         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48868         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48869         definition on [!__NO_LONG_DOUBLE_MATH].
48871         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48872         PTR_MANGLE and PTR_DEMANGLE.
48874         * socket/accept4.c (accept4): Rename to __libc_accept4.
48875         Define accept4 as a weak alias.
48877         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48878         on [_DIRENT_HAVE_D_TYPE].
48879         * io/ftw.c (ftw_dir): Likewise.
48881         * io/xmknod.c (__xmknod): Don't check PATH for being null.
48883         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48885         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48886         Use the BSD numbers rather than the arbitrary ones we had.
48887         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48888         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48889         (SIGXCPU, SIGXFSZ): New macros.
48890         (_NSIG): Now 32.
48892         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48893         initializer on [_LIBC_REENTRANT].
48895         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48896         definitions inside [_POSIX_MAPPED_FILES].
48898         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48900         * dirent/opendir.c: Include <fcntl.h>.
48902         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48903         (__libc_getspecific): Likewise.
48904         (__libc_key_create): Likewise.
48906         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48907         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48908         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48909         (tmpfile64): Define as alias.
48910         * sysdeps/wordsize-64/tmpfile.c: File removed.
48911         * sysdeps/wordsize-64/tmpfile64.c: File removed.
48912         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48913         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48915         * stdio-common/vfscanf.c: Include <stdbool.h>.
48916         * nss/makedb.c: Likewise.
48917         * stdio-common/_i18n_number.h: Likewise.
48918         * argp/argp-help.c: Likewise.
48919         * posix/wordexp.c: Likewise.
48920         * sysdeps/posix/spawni.c: Likewise.
48921         * nss/nss_files/files-initgroups.c: Likewise.
48922         * stdio-common/reg-modifier.c: Include <stdlib.h>.
48923         * nss/nss_files/files-initgroups.c: Likewise.
48924         * nss/nss_db/db-netgrp.c: Likewise.
48925         * nss/nss_db/db-initgroups.c: Likewise.
48926         * io/fchmodat.c: Include <sys/stat.h>.
48928         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48929         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48931         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48932         [HAVE_MMAP].
48934         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48935         Add multiple inclusion protection.
48937 2012-07-27  David S. Miller  <davem@davemloft.net>
48939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48941 2012-07-27  Gary Benson  <gbenson@redhat.com>
48943         [BZ #14298]
48944         * elf/rtld.c: Include <stap-probe.h>.
48945         (dl_main): Added static probes "init_start" and "init_complete".
48946         * elf/dl-load.c: Include <stap-probe.h>.
48947         (lose): Take new parameter "nsid".
48948         Added static probe "map_failed".
48949         (_dl_map_object_from_fd): Pass namespace id to lose.
48950         Added static probe "map_start".
48951         (open_verify): Pass namespace id to lose.
48952         * elf/dl-open.c: Include <stap-probe.h>.
48953         (dl_open_worker) Added static probes "map_complete", "reloc_start"
48954         and "reloc_complete".
48955         * elf/dl-close.c: Include <stap-probe.h>.
48956         (_dl_close_worker): Added static probes "unmap_start" and
48957         "unmap_complete".
48958         * elf/rtld-debugger-interface.txt: New file documenting the above.
48960 2012-07-26  Roland McGrath  <roland@hack.frob.com>
48962         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48963         rather than a string variable.
48964         * sunrpc/rpc_main.c (h_output): Likewise.
48965         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48967 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
48969         * inet/check_native.c: New file.
48971 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
48973         [BZ #13629]
48974         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48975         if larger part has absolute value 1.0.
48976         * math/s_clog10.c (__clog10): Likewise.
48977         * math/s_clog10f.c (__clog10f): Likewise.
48978         * math/s_clog10l.c (__clog10l): Likewise.
48979         * math/s_clogf.c (__clogf): Likewise.
48980         * math/s_clogl.c (__clogl): Likewise.
48981         * math/libm-test.inc (clog_test): Add more tests.
48982         (clog10_test): Likewise.
48983         * sysdeps/i386/fpu/libm-test-ulps: Update.
48984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48986         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48987         (pltexit): Likewise.
48988         (La_regs): Likewise.
48989         (La_retval): Likewise.
48990         (int_retval): Likewise.
48991         Update #error for removed macros to refer only to definitions in
48992         tst-audit.h.
48993         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48994         macro.
48995         (pltexit): Likewise.
48996         (La_regs): Likewise.
48997         (La_retval): Likewise.
48998         (int_retval): Likewise.
48999         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
49000         macro.
49001         (pltexit): Likewise.
49002         (La_regs): Likewise.
49003         (La_retval): Likewise.
49004         (int_retval): Likewise.
49005         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
49006         macro.
49007         (pltexit): Likewise.
49008         (La_regs): Likewise.
49009         (La_retval): Likewise.
49010         (int_retval): Likewise.
49011         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
49012         macro.
49013         (pltexit): Likewise.
49014         (La_regs): Likewise.
49015         (La_retval): Likewise.
49016         (int_retval): Likewise.
49017         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
49018         macro.
49019         (pltexit): Likewise.
49020         (La_regs): Likewise.
49021         (La_retval): Likewise.
49022         (int_retval): Likewise.
49023         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49024         macro.
49025         (pltexit): Likewise.
49026         (La_regs): Likewise.
49027         (La_retval): Likewise.
49028         (int_retval): Likewise.
49029         * sysdeps/generic/tst-audit.h: Update comment to refer only to
49030         macro definitions in tst-audit.h.
49031         * sysdeps/i386/tst-audit.h: New file.
49032         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49033         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49034         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49035         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49036         * sysdeps/sh/tst-audit.h: Likewise.
49037         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49038         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49039         * sysdeps/x86_64/tst-audit.h: Likewise.
49041 2012-07-26  Andreas Jaeger  <aj@suse.de>
49043         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49044         ptrace.
49046         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49047         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49048         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49049         PTRACE_O_MASK.
49050         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49051         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49052         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49054         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49055         value.
49057         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49058         _sigsys.
49059         (si_call_addr, si_syscall, si_arch): Define new macro.
49060         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49061         _sigsys.
49062         (si_call_addr, si_syscall, si_arch): Define new marcro.
49063         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49064         _sigsys.
49065         (si_call_addr, si_syscall, si_arch): Define new macro.
49066         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49067         _sigsys.
49068         (si_call_addr, si_syscall, si_arch): Define new macro.
49070 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49072         [BZ #13717]
49073         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49074         Change to 2.4.21 where previously 2.4.1.
49075         * sysdeps/unix/sysv/linux/configure: Regenerated.
49076         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49077         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49078         Linux kernel version.
49079         (__ASSUME_STD_AUXV): Remove.
49080         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49081         kernel version.
49082         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49083         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49084         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49085         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49086         (__ASSUME_NETLINK_SUPPORT): Likewise.
49087         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49088         (__no_netlink_support): Remove conditional definition.
49089         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49090         Remove.
49091         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49092         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49093         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49094         (if_nameindex_ioctl): Remove.
49095         (if_nameindex_netlink): Do not handle __no_netlink_support.
49096         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49097         code.
49098         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49099         Remove conditional code.
49100         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49101         code.
49102         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49103         unconditional.
49104         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49105         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49106         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49107         Remove.
49108         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49109         [!__ASSUME_STD_AUXV]: Remove conditional code.
49110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49111         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49112         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49114         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49115         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49116         code.
49117         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49119         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49120         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49121         conditional code.
49122         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49124         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49125         code.
49126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49127         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49128         conditional code.
49129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49130         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49131         code unconditional.
49132         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49133         conditional code.
49134         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49135         unconditional.
49136         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49137         conditional code.
49138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49139         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49140         unconditional.
49141         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49142         conditional code.
49143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49144         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49145         code unconditional.
49146         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49147         conditional code.
49148         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49149         unconditional.
49150         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49151         conditional code.
49152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49153         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49154         code unconditional.
49155         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49156         conditional code.
49157         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49158         unconditional.
49159         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49160         conditional code.
49162 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
49164         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49165         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49166         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49167         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49168         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49169         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49170         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49171         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49172         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49173         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49174         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49175         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49176         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49177         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49178         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49179         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49180         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49181         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49182         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49184         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49185         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49186         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49188 2012-07-25  Florian Weimer  <fweimer@redhat.com>
49190         * Versions.def: Add GLIBC_2.17.
49191         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49192         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49193         Introduce __libc_secure_getenv.
49194         * stdlib/Versions (2.17): Add secure_getenv
49195         (GLIBC_PRIVATE): Add __libc_secure_getenv.
49196         * stdlib/secure-getenv.c: Rename __secure_getenv to
49197         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
49198         symbol __secure_getenv for GLIBC_2.0.
49199         * stdlib/tst-secure-getenv.c: New.
49200         * stdlib/Makefile (tests): Add testcase.
49201         * manual/startup.texi (Environment Access): Document
49202         secure_getenv.
49203         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49204         __libc_secure_getenv.
49205         * inet/ruserpass.c (ruserpass): Likewise.
49206         * malloc/mtrace.c (mtrace): Likewise.
49207         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49208         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49209         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49210         * sysdeps/posix/tempname.c: Likewise.  Evaluate
49211         HAVE_SECURE_GETENV.
49212         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49213         __secure_getenv to __libc_secure_getenv.
49214         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49216         Likewise.
49217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49218         Likewise.
49219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49227 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49229         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49230         (struct La_i86_retval): Likewise.
49231         (struct La_x86_64_regs): Likewise.
49232         (struct La_x86_64_retval): Likewise.
49233         (struct La_x32_regs): Likewise.
49234         (struct La_x32_retval): Likewise.
49235         (struct La_ppc32_regs): Likewise.
49236         (struct La_ppc32_retval): Likewise.
49237         (struct La_ppc64_regs): Likewise.
49238         (struct La_ppc64_retval): Likewise.
49239         (struct La_sh_regs): Likewise.
49240         (struct La_sh_retval): Likewise.
49241         (struct La_s390_32_regs): Likewise.
49242         (struct La_s390_32_retval): Likewise.
49243         (struct La_s390_64_regs): Likewise.
49244         (struct La_s390_64_retval): Likewise.
49245         (struct La_sparc32_regs): Likewise.
49246         (struct La_sparc32_retval): Likewise.
49247         (struct La_sparc64_regs): Likewise.
49248         (struct La_sparc64_retval): Likewise.
49249         (struct audit_ifaces): Remove architecture-specific pltenter and
49250         pltexit members.
49251         * sysdeps/i386/ldsodefs.h: New file.
49252         * sysdeps/powerpc/ldsodefs.h: Likewise.
49253         * sysdeps/s390/ldsodefs.h: Likewise.
49254         * sysdeps/sh/ldsodefs.h: Likewise.
49255         * sysdeps/sparc/ldsodefs.h: Likewise.
49256         * sysdeps/x86_64/ldsodefs.h: Likewise.
49258 2012-07-25  Marek Polacek  <polacek@redhat.com>
49260         [BZ #6808]
49261         * math/libm-test.inc (yn_test): Add another test.
49262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49263         to ERANGE when the result is +-Inf.
49264         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49265         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49266         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49267         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49269 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
49271         * conform/data/time.h-data (NULL): Use macro-constant.  Require
49272         equal to 0.
49273         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
49274         clock_t.
49275         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
49277 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
49279         * configure.in <sysdeps resolving>: Correct printing
49280         Implies_before.
49281         * configure: Regenerate.
49283 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
49285         * math/w_ilogb.c: Include <limits.h>.
49286         * math/w_ilogbl.c: Likewise.
49288 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49290         * manual/lang.texi (__va_copy): Document primarily as ISO C99
49291         va_copy.  Document allowing for unavailable va_copy only as
49292         pre-C99 compatibility.
49293         * manual/string.texi (Copying and Concatenation): Use va_copy
49294         instead of __va_copy in concat example.
49296 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
49298         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49299         (__sendto): Use create_address_port.  Initialize APORT and deallocate
49300         it if not null.
49302         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49303         with O_NOLINK passed to __file_name_lookup.
49305         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49306         with O_NOLINK passed to __file_name_lookup.
49308         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49309         negative N or less than NGIDS.
49311         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49312         type to string_t.  Set ERANGE as errno and return it if NAME is not big
49313         enough.  Use memcpy instead of strncpy.
49315 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49317         * elf/Makefile (check-data): Remove.
49318         (localplt.data): New vpath directive.
49319         ($(objpfx)check-localplt.out): Use localplt.data from vpath
49320         instead of $(check-data).
49321         * scripts/data/localplt-generic.data: Move to ...
49322         * sysdeps/generic/localplt.data: ... here.
49323         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49324         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49325         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49327         ... here.
49328         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49330         ... here.
49331         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49333         ... here.
49334         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49336         ... here.
49337         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49339         ... here.
49340         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49342         ... here.
49344 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49346         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49347         PPC32 and PPC64 files.
49348         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49349         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49351 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49353         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49354         __makecontext_ret to ...
49355         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49356         ... here and call exit if uc_link is NULL.  New file.
49357         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49358         __makecontext_ret.S.
49359         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49360         __makecontext_ret to ...
49361         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49362         ... here and call exit if uc_link is NULL.  New file.
49363         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49364         __makecontext_ret.S.
49366 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49368         * elf/elf.h (R_390_IRELATIVE): New definition.
49369         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49370         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
49371         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49372         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49373         (elf_machine_lazy_rel): Likewise.
49374         * sysdeps/s390/dl-irel.h: New file.
49375         * sysdeps/s390/s390-64/memcpy.S: New asm code.
49376         * sysdeps/s390/s390-64/memset.S: New asm code.
49377         * sysdeps/s390/s390-64/memcmp.S: New asm code.
49378         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49379         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49380         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49381         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49382         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49383         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49384         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49385         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49386         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49387         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49388         * sysdeps/s390/s390-32/memcpy.S: New asm code.
49389         * sysdeps/s390/s390-32/memset.S: New asm code.
49390         * sysdeps/s390/s390-32/memcmp.S: New asm code.
49392 2012-07-17  Marek Polacek  <polacek@redhat.com>
49394         [BZ #14349]
49395         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49396         * sysdeps/s390/s390-64/configure.in: Likewise.
49397         * sysdeps/sparc/configure.in: Likewise.
49398         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49399         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49400         * sysdeps/i386/configure.in: Likewise.
49401         * sysdeps/x86_64/configure.in: Likewise.
49402         * sysdeps/sh/configure.in: Likewise.
49403         * sysdeps/s390/s390-32/configure: Regenerated.
49404         * sysdeps/s390/s390-64/configure: Likewise.
49405         * sysdeps/x86_64/configure: Likewise.
49406         * sysdeps/sh/configure: Likewise.
49407         * sysdeps/powerpc/powerpc64/configure: Likewise.
49408         * sysdeps/powerpc/powerpc32/configure: Likewise.
49409         * sysdeps/sparc/configure: Likwise.
49410         * sysdeps/i386/configure: Likewise.
49412         * elf/dl-open.c: Comment fixes.
49414 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
49416         * Makefile [CXX] (check-data): Remove.
49417         [CXX] (c++-types.data): New vpath directive.
49418         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49419         vpath.  Do not allow for C++ type data being missing.
49420         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49421         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49422         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49423         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49424         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49425         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49426         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49428         ... here.
49429         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49431         ... here.
49432         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49434         ... here.
49435         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49437         ... here.
49438         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49440         ... here.
49441         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49443         ... here.
49444         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49446         ... here.
49447         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49450         * elf/tls-macros.h (TLS_LE): Move architecture-specific
49451         definitions to architecture-specific files.
49452         (TLS_IE): Likewise.
49453         (TLS_LD): Likewise.
49454         (TLS_GD): Likewise.
49455         * sysdeps/i386/tls-macros.h: New file.
49456         * sysdeps/powerpc/tls-macros.h: Likewise.
49457         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49458         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49459         * sysdeps/sh/tls-macros.h: Likewise.
49460         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49461         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49462         * sysdeps/x86_64/tls-macros.h: Likewise.
49464 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
49466         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49467         zero value for regular exit case.
49469         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49470         (__start_context): Preserve zero value for regular exit case.
49472 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
49473             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49475         * manual/setjmp.texi (setcontext): Clarify normal process
49476         termination when uc_link is the null pointer.
49477         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49478         exit call.
49480 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
49482         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49483         preprocessor.  Test for each exception mask separately.
49485 2012-07-16  Andreas Jaeger  <aj@suse.de>
49487         * po/ru.po: Update from translation team.
49489 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
49491         * conform/data/string.h-data (NULL): Use macro-constant.  Require
49492         equal to 0.
49493         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49494         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49495         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49496         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49497         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49499 2012-07-13  Andreas Jaeger  <aj@suse.de>
49501         * po/fr.po: Update from translation team.
49503 2012-07-12  Marek Polacek  <polacek@redhat.com>
49505         [BZ #14173]
49506         * math/libm-test.inc (yn_test): Add test for BZ #14173.
49507         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49508         loop condition.
49510 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
49512         [BZ #13717]
49513         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49514         Change to 2.4.1 where previously 2.4.0.
49515         * sysdeps/unix/sysv/linux/configure: Regenerated.
49516         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49517         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49518         version.
49519         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49520         (__ASSUME_AT_CLKTCK): Remove.
49521         (__ASSUME_AT_PAGESIZE): Likewise.
49522         (__ASSUME_AT_XID): Likewise.
49523         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49524         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49525         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49526         unconditionally.
49527         (HAVE_AUX_PAGESIZE): Likewise.
49528         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49529         [__ASSUME_AT_CLKTCK]: Make code unconditional.
49530         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49532 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
49534         [BZ #14307]
49535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49536         the temporary buffer used to invoke __gethostbyname2_r,
49537         __gethostbyaddr_r and gethostbyname4_r to make room for struct
49538         host_data / struct gaih_addrtuple.
49539         * resolv/nss_dns/dns-host.c (global scope): Move definition of
49540         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49541         header file nss/nsswitch.h.
49542         * nss/nsswitch.h (global scope): Add definition of implementation
49543         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49544         resolv/nss_dns/dns-host.c).
49546 2012-07-11  Andreas Jaeger  <aj@suse.de>
49548         * po/fr.po: Update from translation team.
49550         * po/sv.po: Update from translation team
49551         * po/fr.po: Another update from translation team.
49553 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49555         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49556         for subnormals or multiply small sinh result by itself.
49557         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49560 2012-07-11  David S. Miller  <davem@davemloft.net>
49562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49564 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
49566         [BZ #14347]
49567         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49568         (INTERNAL_MARK): Shift it here.
49570 2012-07-10  Marek Polacek  <polacek@redhat.com>
49572         [BZ #14151]
49573         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
49574         libc_cv_asm_global_directive with .globl.
49575         * configure: Regenerated.
49576         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49577         with .globl.
49578         * sysdeps/i386/configure: Regenerated.
49579         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49580         with .globl.
49581         * sysdeps/x86_64/configure: Regenerated.
49582         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49583         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49584         * elf/tst-unique2mod2.c: Likewise.
49585         * elf/tst-unique2mod1.c: Likewise.
49586         * elf/tst-unique1mod2.c: Likewise.
49587         * elf/tst-unique1mod1.c: Likewise.
49588         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49589         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49590         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49591         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49592         * sysdeps/mach/sysdep.h: Likewise.
49593         * sysdeps/i386/sysdep.h: Likewise.
49594         * sysdeps/i386/i386-mcount.S: Likewise.
49595         * sysdeps/x86_64/_mcount.S: Likewise.
49596         * sysdeps/x86_64/sysdep.h: Likewise.
49597         * sysdeps/sh/_mcount.S: Likewise.
49598         * sysdeps/sh/sysdep.h: Likewise.
49599         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49600         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49601         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49602         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49603         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49604         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49605         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49606         * locale/localeinfo.h: Likewise.
49607         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49608         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49610 2012-07-09  Roland McGrath  <roland@hack.frob.com>
49612         [BZ #14336]
49613         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49614         system".
49615         * manual/message.texi (The Uniforum approach): Likewise.
49616         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49617         (glibc iconv Implementation): Likewise.
49619 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
49621         [BZ #14337]
49622         * math/s_clog.c (__clog): Avoid scaling a value down where that
49623         could result in underflow.
49624         * math/s_clog10.c (__clog10): Likewise.
49625         * math/s_clog10f.c (__clog10f): Likewise.
49626         * math/s_clog10l.c (__clog10l): Likewise.
49627         * math/s_clogf.c (__clogf): Likewise.
49628         * math/s_clogl.c (__clogl): Likewise.
49629         * math/libm-test.inc (clog_test): Add more tests.
49630         (clog10_test): Likewise.
49631         * sysdeps/i386/fpu/libm-test-ulps: Update.
49632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49634 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
49636         [BZ #14283]
49637         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49638         by 7 not 8 to examine high bit of fractional part.
49640         [BZ #14042]
49641         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49642         for call to __mcount_internal.
49643         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49644         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49645         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49647 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
49649         [BZ #14154]
49650         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49651         approximation for values within 0x1p-13f of an odd multiple of
49652         pi/4.
49653         * math/libm-test.inc (tan_test): Do not allow spurious underflow
49654         exception.  Add more tests.
49655         * sysdeps/i386/fpu/libm-test-ulps: Update.
49657         [BZ #6778]
49658         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49659         inputs and return -1 for them.  Do not check for +Inf in case not
49660         reachable for +Inf.
49661         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49662         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49663         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49664         and return -1 for them.  Do not check for +Inf in case not
49665         reachable for +Inf.
49666         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49667         define.
49668         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49669         and return -1 for them.  Do not check for +Inf in case not
49670         reachable for +Inf.
49671         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
49672         spurious underflow.
49673         * sysdeps/i386/fpu/libm-test-ulps: Update.
49674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49676 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
49678         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49680 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
49682         [BZ #14157]
49683         [BZ #14331]
49684         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49685         could result in spurious underflow.  Scale down values above
49686         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49687         * math/s_csqrtf.c (__csqrtf): Likewise.
49688         * math/s_csqrtl.c (__csqrtl): Likewise.
49689         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
49690         spurious underflow.
49691         * sysdeps/i386/fpu/libm-test-ulps: Update.
49692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49694 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
49696         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49697         xopen-msg.sed.
49698         * catgets/xopen-msg.awk: New file.
49699         * catgets/xopen-msg.sed: Removed.
49701         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49702         po2text.sed.
49703         * intl/po2test.awk: New file.
49704         * intl/po2test.sed: Removed.
49706 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
49708         [BZ #14328]
49709         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49710         or multiply small sinh result by itself.
49711         * math/s_ctanf.c (__ctanf): Likewise.
49712         * math/s_ctanh.c (__ctanh): Likewise.
49713         * math/s_ctanhf.c (__ctanhf): Likewise.
49714         * math/s_ctanhl.c (__ctanhl): Likewise.
49715         * math/s_ctanl.c (__ctanl): Likewise.
49716         * math/libm-test.inc (ctan_test_tonearest): New function.
49717         (ctan_test_towardzero): Likewise.
49718         (ctan_test_downward): Likewise.
49719         (ctan_test_upward): Likewise.
49720         (ctanh_test_tonearest): Likewise.
49721         (ctanh_test_towardzero): Likewise.
49722         (ctanh_test_downward): Likewise.
49723         (ctanh_test_upward): Likewise.
49724         (main): Call these new functions.
49725         * sysdeps/i386/fpu/libm-test-ulps: Update.
49726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49728 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
49730         * .gitignore: Delete /ports entry.
49732 2012-07-03  Andreas Jaeger  <aj@suse.de>
49734         * po/bg.po: Update from translation team.
49735         * po/cs.po: Likewise.
49736         * po/de.po: Likewise.
49737         * po/hr.po: Likewise.
49738         * po/nl.pl: Likewise.
49739         * po/pl.po: Likewise.
49740         * po/vi.po: Likewise.
49742 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
49744         * Makeconfig [!+link] (+link-before-libc): New variable.
49745         [!+link] (+link-after-libc): Likewise.
49746         [!+link] (+link-tests): Likewise.
49747         [!+link] (+link): Define in terms of $(+link-before-libc) and
49748         $(+link-after-libc).
49749         [!+link-static] (+link-static-before-libc): New variable.
49750         [!+link-static] (+link-static-after-libc): Likewise.
49751         [!+link-static] (+link-static-tests): Likewise.
49752         [!+link-static] (+link-static): Define in terms of
49753         $(+link-static-before-libc) and $(+link-static-after-libc).
49754         [build-shared] (link-libc-before-gnulib): New variable.
49755         [build-shared] (link-libc-tests): Likewise.
49756         [build-shared] (link-libc): Define in terms of
49757         $(link-libc-before-gnulib).
49758         [!build-shared] (link-libc-tests): New variable.
49759         (link-libc-static-tests): New variable.
49760         [!gnulib] (gnulib-arch): New variable.
49761         [!gnulib] (gnulib-tests): Likewise.
49762         [!gnulib] (static-gnulib-arch): Likewise.
49763         [!gnulib] (static-gnulib-tests): Likewise.
49764         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
49765         Define with "=" instead of ":=".
49766         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
49767         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
49768         * Rules (binaries-all-notests): New variable.
49769         (binaries-all-tests): Likewise.
49770         (binaries-static-notests): Likewise.
49771         (binaries-static-tests): Likewise.
49772         (binaries-all): Define using $(binaries-all-notests) and
49773         $(binaries-all-tests).
49774         (binaries-static): Define using $(binaries-static-notests) and
49775         $(binaries-static-tests).
49776         (binaries-shared-tests): New variable.
49777         (binaries-shared-notests): Likewise.
49778         (binaries-shared): Remove variable.
49779         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49780         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49781         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49782         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49783         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49784         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49785         * elf/Makefile (sln-modules): New variable.
49786         (extra-objs): Add $(sln-modules:=.o).
49787         (ldconfig-modules): Add static-stubs.
49788         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49789         * elf/static-stubs.c: New file.
49791         [BZ #14283]
49792         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49793         by 7 not 8 to examine high bit of fractional part.  Use volatile
49794         variables when splitting into final array of floats if
49795         __FLT_EVAL_METHOD__ != 0.
49796         * math/libm-test.inc (cos_test): Add another test.
49797         (sin_test): Likewise.
49798         * sysdeps/i386/fpu/libm-test-ulps: Update.
49800         [BZ #14273]
49801         * math/libm-test.inc (cosh_test): Add more tests.
49803         * version.h (RELEASE): Set to "development".
49804         (VERSION): Set to "2.16.90".
49806 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
49808         * NEWS: Update copyright. Remove last-updated date.
49809         Mention math library bug fixes and timezone data changes.
49810         * README: Mention GNU/Hurd, x32, and HPPA support status.
49812 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
49814         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49816 2012-06-27  Andreas Jaeger  <aj@suse.de>
49818         * manual/contrib.texi (Contributors): Add Samuel Thibault.
49820 2012-06-25  Andreas Jaeger  <aj@suse.de>
49822         * sysdeps/s390/fpu/libm-test-ulps: Update.
49824 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
49825             Thomas Schwinge  <thomas@codesourcery.com>
49827         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49828         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49830         fanotify_mark.
49832 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
49834         * sysdeps/mach/start.c: Remove file.
49835         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49836         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49837         * sysdeps/sh/init-first.c: Likewise.
49839         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49840         registers for frame unwinding purposes, add CFI directives.
49841         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49842         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49843         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49844         Likewise.
49846         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49847         __fortify_fail returning.
49848         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49850         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49851         sysdeps/sh/____longjmp_chk.S.
49852         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49853         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49854         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49855         (gen-as-const-headers): Append sigaltstack-offsets.sym.
49857         * sysdeps/sh/abort-instr.h: New file.
49858         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49859         process in case exit returns.
49861         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49862         initialize the GOT register before use.
49864         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49865         calculation of ARGC > 4.
49867         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49868         meaningful names to some local labels.
49870 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49871             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49873         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49874         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49875         (__arch_compare_and_exchange_val_16_acq): Likewise.
49876         (__arch_compare_and_exchange_val_32_acq): Likewise.
49877         (atomic_exchange_and_add): Fix gUSA sequence.
49878         (atomic_add): Likewise.
49879         (atomic_add_negative): Likewise.
49880         (atomic_add_zero): Likewise.
49881         (atomic_bit_test_set): Likewise.
49883 2012-06-22  Andreas Schwab  <schwab@redhat.com>
49885         [BZ #13579]
49886         * include/link.h (struct link_map): Add l_free_initfini.
49887         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49888         l_initfini.
49889         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49890         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49891         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49892         set.
49894 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
49896         * configure.in: Use AC_LANG_SOURCE.
49897         * configure: Regenerate.
49899 2012-06-22  Roland McGrath  <roland@hack.frob.com>
49901         * configure.in (libc_cv_localstatedir): New substituted variable.
49902         * configure: Regenerated.
49903         * config.make.in (localstatedir): New variable, substituted from
49904         libc_cv_localstatedir.
49905         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49906         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49907         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49908         * sysdeps/gnu/configure: Regenerated.
49910 2012-06-21  Jeff Law  <law@redhat.com>
49912         [BZ #14277]
49913         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49914         free.  Simplify list management for _LIBC case.
49916 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
49918         [BZ #14273]
49919         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49920         Clear sign bit of 64-bit integer value before comparing against
49921         overflow value.
49923         * sysdeps/mach/configure: Regenerated.
49925 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
49927         [BZ #14278]
49928         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49930 2012-06-21  Jeff Law  <law@redhat.com>
49932         [BZ #13882]
49933         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
49934         uint16_t for elements in the "seen" array to avoid char overflows.
49935         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49936         * elf/dl-open.c (dl_open_worker): Likewise.
49938 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
49940         * scripts/list-sources.sh: Scan PORTS for translations.
49941         * po/libc.pot: Regenerated.
49943 2012-06-21  Andreas Jaeger  <aj@suse.de>
49945         [BZ #12194]
49946         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49947         warning.
49948         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49949         * bits/byteswap-16.h (__bswap_16): Likewise.
49950         * bits/byteswap.h (__bswap_constant_16): Likewise.
49952 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
49954         [BZ #14117]
49955         * sysdeps/i386/fpu_control.h: Removed.
49956         * sysdeps/x86_64/fpu_control.h: Moved to ...
49957         * sysdeps/x86/fpu_control.h: Here.
49959         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49960         (_FPU_SETCW): Likewise.
49962 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
49964         [BZ #14117]
49965         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49966         * sysdeps/x86/fpu/bits/mathinline.h: This.
49967         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49969         [BZ #14050]
49970         [BZ #14117]
49971         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49972         functions if __x86_64__ is defined.
49974 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
49976         * string/endian.h: Add !__ASSEMBLER__ condition for including
49977         conversion interfaces.
49979 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
49981         [BZ #14241]
49982         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49983         of ABS(x) in calculating zero to negative powers other than odd
49984         integers.
49985         * math/libm-test.inc (pow_test): Add more tests.
49987 2012-06-15  Andreas Jaeger  <aj@suse.de>
49989         * manual/contrib.texi (Contributors): Update entry of Liubov
49990         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49991         Machado Filho.
49993 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
49995         * string/string.h: Add __wur to GNU version of strerror_r.
49997 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
49999         [BZ #14229]
50000         * string/Makefile (tests): Add tst-strtok_r.
50001         * string/tst-strtok_r.c: New file.
50002         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
50003         RAX_LP/RDX_LP on SAVE_PTR.
50005 2012-06-14  Roland McGrath  <roland@hack.frob.com>
50007         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
50009 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
50011         * libm_test.inc (csqrt_test): Allow more spurious underflow
50012         exceptions.
50013         (j0_test): Likewise.
50014         (j1_test): Likewise.
50015         (y0_test): Likewise.
50016         (y1_test): Likewise.
50018 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
50020         * po/Makefile (libc.pot): Use UTF-8 charset.
50022 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
50024         [BZ #14210]
50025         Suppress sign-conversion warning from FD_SET.
50026         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50027         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50028         not unsigned long int.
50029         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50031 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
50033         [BZ #14050]
50034         [BZ #14117]
50035         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50036         __extern_always_inline instead of __extern_inline.
50037         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50038         (__signbit): Likewise.
50039         (__signbitl): Support C++ namespace.
50040         (lrintf): New inline function.
50041         (lrint): Likewise.
50042         (llrintf): Likewise.
50043         (llrint): Likewise.
50044         (fmaxf): Likewise.
50045         (fmax): Likewise.
50046         (fminf): Likewise.
50047         (fmin): Likewise.
50048         (rint): Likewise.
50049         (rintf): Likewise.
50050         (ceil): Likewise.
50051         (ceilf): Likewise.
50052         (floor): Likewise.
50053         (floorf): Likewise.
50054         (nearbyint): Likewise.
50055         (nearbyintf): Likewise.
50057 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
50059         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50060         non-default versions.
50062 2012-06-11  Roland McGrath  <roland@hack.frob.com>
50064         [BZ #14218]
50065         * manual/argp.texi (Argp): Reword argp_parse description slightly.
50067 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
50069         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50070         (FE_UPWARD, FE_DOWNWARD): Don't define.
50071         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50072         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50074         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50075         reading it.
50076         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50077         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50079 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50081         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50082         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50083         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50084         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50086 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
50088         [BZ #14117]
50089         * sysdeps/i386/fpu/bits/fenv.h: Removed.
50090         * sysdeps/i386/fpu/Implies: New file.
50091         * sysdeps/x86_64/fpu/Implies: Likewise.
50092         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50093         * sysdeps/x86/fpu/bits/fenv.h: This.
50095         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50096         __SSE_MATH__.
50098 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50100         [BZ #14134]
50101         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50102         character 0xffff that matches the last element of the
50103         conversion table.
50105 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50107         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50108         fmodl commit.
50110 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50112         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50113         values higher than 25.6283.
50115 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50117         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50118         subnormal exponent extraction and add some __builtin_expect.
50119         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50120         Fix for subnormal mantissa calculation.
50122 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
50124         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50125         cpu2 is -1 and errno is not ENOSYS.
50127 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
50129         [BZ #14117]
50130         * sysdeps/i386/i486/bits/string.h: Renamed to ...
50131         * sysdeps/x86/bits/string.h: This.
50132         * sysdeps/x86_64/bits/string.h: Removed.
50134         * sysdeps/i386/i486/bits/string.h: Define inline functions only
50135         if not compiling for x86-64, but compiling for >= i486.
50137         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50138         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50140         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50141         New macro from Linux kernel 3.4.0.
50142         (FP_XSTATE_MAGIC2): Likewise.
50143         (FP_XSTATE_MAGIC2_SIZE): Likewise.
50144         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50145         (struct _fpx_sw_bytes): New struct.
50146         (struct _xsave_hdr): Likewise.
50147         (struct _ymmh_state): Likewise.
50148         (struct _xstate): Likewise.
50150         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50151         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50152         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50153         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50154         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50155         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50157         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50158         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50159         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50160         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50161         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50162         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50164 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50166         [BZ #13743]
50167         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50168         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50169         (sysdep_headers): Include sys/platform/ppc.h.
50170         * sysdeps/powerpc/test-gettimebase.c: Test for
50171         __ppc_get_timebase() to catch future ISA opcode/insn changes.
50172         * manual/Makefile (appendices): Include platform.texi.
50173         * manual/contrib.texi (Contributors): Update @node pointers.
50174         * manual/maint.texi (Maintenance): Likewise.
50175         (Platform): New node.
50176         * manual/platform.texi: New file.  Document the new features.
50178 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50179             Jakub Jelinek  <jakub@redhat.com>
50181         [BZ #14188]
50182         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50183         where __builtin_expect is unavailable.
50185 2012-06-03  David S. Miller  <davem@davemloft.net>
50187         * stdlib/longlong.h: Updated from GCC.
50189 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
50191         [BZ #14042]
50192         * sysdeps/powerpc/powerpc32/mcount.c: New file.
50193         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50194         __mcount_internal.
50195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50196         (GLIBC_2.16): Likewise.
50198 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50200         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50202 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50205         (default-abi): New variable.
50206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50207         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50208         variable.
50209         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50210         Likewise.
50211         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50212         Likewise.
50213         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50214         Likewise.
50216         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50217         definition.  Document in comment.
50219 2012-06-01  David S. Miller  <davem@davemloft.net>
50221         * stdlib/longlong.h: Updated from GCC.
50223 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50225         [BZ #14117]
50226         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50227         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50228         sys/debugreg.h sys/io.h here.
50229         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50230         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50231         sys/io.h.
50232         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50233         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50234         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50235         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50236         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50237         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50239         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50240         Define only if __x86_64__ is defined.
50242 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50244         [BZ #14048]
50245         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50246         Use int64_t for variable i.
50247         * math/libm-test.inc (fmod_test): Add more tests.
50249         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50250         z computation is not scheduled after fetestexcept.
50251         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50252         Use math_force_eval instead of asm to ensure calculation scheduled
50253         before exception test.
50254         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50255         Ensure a1 + u.d computation is not scheduled after fetestexcept.
50257 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
50259         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50260         computation is not scheduled after fetestexcept.
50262 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50264         [BZ #14117]
50265         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50266         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50268 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50270         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50271         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50273 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50275         [BZ #14117]
50276         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50277         <bits/wordsize.h>.
50278         (__WCHAR_MIN): Support __WORDSIZE == 64.
50279         (__WCHAR_MAX): Likewise.
50281         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50282         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50284         [BZ #14183]
50285         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50286         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50288         [BZ #14117]
50289         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50290         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50292         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50293         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50295         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50296         Defined to 1 if __x86_64__ isn't defined.
50297         (_STAT_VER_LINUX_OLD): New.
50298         (st_atime): Remove duplicate.
50299         (st_mtime): Likewise.
50300         (st_ctime): Likewise.
50302 2012-05-31  David S. Miller  <davem@davemloft.net>
50304         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50305         entries.
50307 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
50309         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50310         gen-libm-test.pl.
50312         [BZ #14132]
50313         * elf/dl-reloc.c: Include <_itoa.h>.
50314         (_dl_reloc_bad_type): Remove use of INTUSE.
50315         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50316         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50317         * stdio-common/psiginfo.c (psiginfo): Likewise.
50318         * stdio-common/psignal.c (psignal): Likewise.
50319         * string/strsignal.c (strsignal): Likewise.
50320         * include/signal.h (_sys_siglist): Declare hidden proto.
50321         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
50322         INTVARDEF with libc_hidden_data_def.
50323         * stdio-common/itoa-udigits.c: Likewise.
50324         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50325         (_itoa_lower_digits_internal): Remove declaration.
50326         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50327         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50328         (_sys_sigabbrev_internal): Remove aliases.
50329         (_sys_siglist): Define hidden alias.
50331 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
50333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50334         bits/sysctl.h.
50336 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50338         [BZ #14117]
50339         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50340         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50342         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50343         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50344         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50345         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50346         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50347         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50349         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50350         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50351         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50353         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50354         with __addr.
50355         (insw): Likewise.
50356         (insl): Likewise.
50357         (outsb): Likewise.
50358         (outsw): Likewise.
50359         (outsl): Likewise.
50361         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50362         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50363         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50365         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50366         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50367         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50368         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50369         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50370         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50372         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50373         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50375         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50376         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50378         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50379         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50380         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50382         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50383         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50384         to ...
50385         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50387         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50388         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50389         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50391         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50392         for x86-64.
50393         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50395 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
50397         * math/math.h (M_El): Use two more decimal places.
50398         (M_LOG2El): Likewise.
50399         (M_LOG10El): Likewise.
50400         (M_LN2l): Likewise.
50401         (M_LN10l): Likewise.
50402         (M_PIl): Likewise.
50403         (M_PI_2l): Likewise.
50404         (M_PI_4l): Likewise.
50405         (M_1_PIl): Likewise.
50406         (M_2_PIl): Likewise.
50407         (M_2_SQRTPIl): Likewise.
50408         (M_SQRT2l): Likewise.
50409         (M_SQRT1_2l): Likewise.
50411 2012-05-31  David S. Miller  <davem@davemloft.net>
50413         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50414         values between float registers.
50415         * sysdeps/sparc/sparc64/memset.S: Likewise.
50416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50418 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
50420         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50421         -D_FORTIFY_SOURCE=1.
50422         (CPPFLAGS-tst-longjmp_chk.c): Define.
50423         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50424         (CPPFLAGS-tst-longjmp_chk2.c): Define.
50425         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50426         CFLAGS-tst-wchar-h.c.
50428 2012-05-31  Marek Polacek  <polacek@redhat.com>
50430         [BZ #14132]
50431         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50432         __endmntent_internal): Remove declaration.
50433         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50434         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50435         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50437 2012-05-30  David S. Miller  <davem@davemloft.net>
50439         * sysdeps/sparc/sparc32/soft-fp/q_util.c
50440         (___Q_simulate_exceptions): Use real FP ops rather than writing
50441         into the %fsr.
50442         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50443         Likewise.
50445 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50447         [BZ #14117]
50448         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50449         * sysdeps/x86/bits/xtitypes.h: This.
50451         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50452         * sysdeps/x86/bits/wordsize.h: This.
50454         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50455         * sysdeps/x86/bits/huge_vall.h: This.
50457         * sysdeps/i386/bits/select.h: Removed.
50458         * sysdeps/x86_64/bits/select.h: Renamed to ...
50459         * sysdeps/x86/bits/select.h: This.
50461         * sysdeps/i386/bits/setjmp.h: Removed.
50462         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50463         * sysdeps/x86/bits/setjmp.h: This.
50465         * sysdeps/i386/bits/mathdef.h: Removed.
50466         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50467         * sysdeps/x86/bits/mathdef.h: This.
50469 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
50471         [BZ #14132]
50472         * include/sys/socket.h (__connect_internal)
50473         (__libc_sa_len_internal): Remove declaration.
50474         (__connect, __libc_sa_len): Declare hidden_proto.
50475         (SA_LEN): Remove use of INTUSE.
50476         * socket/connect.c: Add libc_hidden_def.
50477         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50478         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50479         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50480         alias.
50481         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50482         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50483         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50484         of adding _internal alias.
50486 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50488         [BZ #14117]
50489         * sysdeps/i386/bits/link.h: Removed.
50490         * sysdeps/i386/bits/linkmap.h: Likewise.
50491         * sysdeps/x86_64/bits/link.h: Renamed to ...
50492         * sysdeps/x86/bits/link.h: This.
50493         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50494         * sysdeps/x86/bits/linkmap.h: This.
50496         * sysdeps/i386/bits/endian.h: Removed.
50497         * sysdeps/x86_64/bits/endian.h: Renamed to ...
50498         * sysdeps/x86/bits/endian.h: This.
50500         * sysdeps/i386/bits/byteswap.h: Removed.
50501         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50502         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50503         * sysdeps/x86/bits/byteswap.h: This.
50504         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50505         * sysdeps/x86/bits/byteswap-16.h: This.
50506         * sysdeps/i386/Implies: Add x86.
50507         * sysdeps/x86_64/Implies: Likewise.
50509 2012-05-30  David S. Miller  <davem@davemloft.net>
50511         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50512         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50513         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50514         (FP_TRAPPING_EXCEPTIONS): Define.
50515         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50516         (FP_TRAPPING_EXCEPTIONS): Define.
50517         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50518         subnormals only when inexact has been signalled or underflow
50519         exceptions are enabled.
50520         (_FP_PACK_CANONICAL): Likewise.
50522 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50524         [BZ #14183]
50525         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50526         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50528 2012-05-30  Richard Henderson  <rth@twiddle.net>
50530         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50531         with #ifndef NOT_IN_libc.
50533         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
50534         marked to avoid plt entry.
50536 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50538         [BZ #14112]
50539         * Makeconfig (default-abi): New macro.
50540         (abi-includes): Likewise.
50541         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
50542         $(abi-$(default-abi)-lib-soname) for soname if defined.
50543         ($(common-objpfx)gnu/lib-names.stmp): Generate from
50544         abi-variants.
50545         * Makefile (installed-stubs): Likewise.
50546         * include/stubs-biarch.h: Removed.
50547         * scripts/lib-names.awk: Only handle one library at a time.
50548         * scripts/soversions.awk: Remove WORDSIZE support.
50549         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50550         entries.
50551         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50552         Removed.
50553         (syscall-list-default-condition): Likewise.
50554         (syscall-list-default-condition): Likewise.
50555         (syscall-list-includes): Likewise.
50556         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50557         syscall-list-* with abi-*.  Handle undefined abi-variants.
50558         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50559         * sysdeps/unix/sysv/linux/i386/Implies: New file.
50560         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50561         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50562         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50563         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50564         Removed.
50565         (syscall-list-32-options): Likewise.
50566         (syscall-list-32-condition): Likewise.
50567         (syscall-list-64-options): Likewise.
50568         (syscall-list-64-condition): Likewise.
50569         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50570         macro.
50571         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50572         Renamed to ...
50573         (abi-*): This.
50574         (abi-64-ld-soname): New macro.
50575         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50576         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50577         Renamed to ...
50578         (abi-*): This.
50579         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50580         * sysdeps/x86_64/x32/shlib-versions: Likewise.
50582 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
50584         * sysdeps/unix/sysv/linux/kernel-features.h
50585         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50586         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50587         include <kernel-features.h>.
50588         [!__NR_ftruncate64]: Remove conditional code.
50589         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50590         [__NR_ftruncate64]: Make code unconditional.
50591         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50592         * sysdeps/unix/sysv/linux/truncate64.c: Do not
50593         include <kernel-features.h>.
50594         [!__NR_ftruncate64]: Remove conditional code.
50595         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50596         [__NR_ftruncate64]: Make code unconditional.
50597         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50599         include <kernel-features.h>.
50600         [!__NR_ftruncate64]: Remove conditional code.
50601         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50602         [__NR_ftruncate64]: Make code unconditional.
50603         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50605         include <kernel-features.h>.
50606         [!__NR_ftruncate64]: Remove conditional code.
50607         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50608         [__NR_ftruncate64]: Make code unconditional.
50609         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50611         * configure.in (libc_cv_fpie): Weaken to a compile test using
50612         LIBC_TRY_CC_OPTION.
50613         * configure: Regenerated.
50615 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50621         Refreshed.
50622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50628         Refreshed.
50630 2012-05-27  David S. Miller  <davem@davemloft.net>
50632         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50633         (___Q_zero): New.
50634         (__Q_simulate_exceptions): Return void.  Change to simulate
50635         exceptions by writing into the %fsr.
50636         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50637         (__Qp_handle_exceptions): Likewise.
50638         (numbers): Delete.
50639         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50640         __Qp_handle_exceptions.
50641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50642         __Qp_handle_exceptions.
50643         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50644         as unused and give dummy FP_RND_NEAREST initializer.
50645         (FP_INHIBIT_RESULTS): Define.
50646         (___Q_simulate_exceptions): Update declaration.
50647         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50648         formatting.
50649         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50650         as unused and give dummy FP_RND_NEAREST initializer.
50651         (__Qp_handle_exceptions): Update declaration.
50652         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50653         formatting.
50655 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
50657         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50658         the temporary FPU control word.
50659         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50660         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50661         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50662         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50663         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50664         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50665         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50666         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50667         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50668         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50669         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50671 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50673         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50674         fields.
50676 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
50678         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50679         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50680         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50681         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50682         Likewise.
50683         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50684         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50685         Likewise.
50687 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
50689         * po/h.po: Update from translation team.
50691 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
50693         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50695         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50696         handling of denormals.
50697         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50698         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50699         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50700         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50701         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50703         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50704         Likewise.
50706 2012-05-26  Marek Polacek  <polacek@redhat.com>
50708         [BZ #14152]
50709         * math/libm-test.inc (fma_test): Don't always expect underflow
50710         exception.
50712 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50714         [BZ #12416]
50715         * elf/tst-execstack.c: Include stackinfo.h.
50716         (do_test): Adjust test case to ensure that pthread_getattr_np
50717         behaviour remains the same after marking stack executable.
50719 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
50721         * sysdeps/unix/sysv/linux/kernel-features.h
50722         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50723         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50724         kernel-features.h.
50725         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50726         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50727         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50728         kernel-features.h.
50729         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50730         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50732 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
50734         * configure.in: Define the default includes to being none.
50735         * configure: Regenerated.
50737 2012-05-25  Roland McGrath  <roland@hack.frob.com>
50739         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50740         * sysdeps/x86_64/setjmp.S: Likewise.
50741         * sysdeps/i386/bsd-setjmp.S: Likewise.
50742         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50743         * sysdeps/i386/setjmp.S: Likewise.
50744         * sysdeps/i386/__longjmp.S: Likewise.
50745         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50746         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50748         * include/stap-probe.h: New file.
50749         * configure.in: Handle --enable-systemtap.
50750         * configure: Regenerated.
50751         * config.h.in (USE_STAP_PROBE): New #undef.
50752         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50753         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50754         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50756 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
50758         [BZ #13717]
50759         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50760         to 2.4.0 where earlier.
50761         * sysdeps/unix/sysv/linux/configure: Regenerated.
50762         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50763         <kernel-features.h>.
50764         [__ASSUME_32BITUIDS]: Make code unconditional.
50765         [!__ASSUME_32BITUIDS]: Remove conditional code.
50766         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50767         <kernel-features.h>.
50768         [__ASSUME_32BITUIDS]: Make code unconditional.
50769         [!__ASSUME_32BITUIDS]: Remove conditional code.
50770         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50771         [__ASSUME_32BITUIDS]: Make code unconditional.
50772         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50773         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50774         <kernel-features.h>.
50775         [__ASSUME_32BITUIDS]: Make code unconditional.
50776         [!__ASSUME_32BITUIDS]: Remove conditional code.
50777         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50778         <kernel-features.h>.
50779         [__ASSUME_32BITUIDS]: Make code unconditional.
50780         [!__ASSUME_32BITUIDS]: Remove conditional code.
50781         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50782         <kernel-features.h>.
50783         [__ASSUME_32BITUIDS]: Make code unconditional.
50784         [!__ASSUME_32BITUIDS]: Remove conditional code.
50785         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50786         <kernel-features.h>.
50787         [__ASSUME_32BITUIDS]: Make code unconditional.
50788         [!__ASSUME_32BITUIDS]: Remove conditional code.
50789         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50790         <kernel-features.h>.
50791         [__ASSUME_32BITUIDS]: Make code unconditional.
50792         [!__ASSUME_32BITUIDS]: Remove conditional code.
50793         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50794         <kernel-features.h>.
50795         [__ASSUME_32BITUIDS]: Make code unconditional.
50796         [!__ASSUME_32BITUIDS]: Remove conditional code.
50797         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50798         <kernel-features.h>.
50799         [__ASSUME_32BITUIDS]: Make code unconditional.
50800         [!__ASSUME_32BITUIDS]: Remove conditional code.
50801         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50802         <kernel-features.h>.
50803         [__ASSUME_32BITUIDS]: Make code unconditional.
50804         [!__ASSUME_32BITUIDS]: Remove conditional code.
50805         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50806         <kernel-features.h>.
50807         [__ASSUME_32BITUIDS]: Make code unconditional.
50808         [!__ASSUME_32BITUIDS]: Remove conditional code.
50809         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50810         <kernel-features.h>.
50811         [__ASSUME_32BITUIDS]: Make code unconditional.
50812         [!__ASSUME_32BITUIDS]: Remove conditional code.
50813         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50814         <kernel-features.h>.
50815         [__NR_setresgid] (__setresgid): Do not declare.
50816         [__ASSUME_32BITUIDS]: Make code unconditional.
50817         [!__ASSUME_32BITUIDS]: Remove conditional code.
50818         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50819         <kernel-features.h>.
50820         [__NR_setresuid] (__setresuid): Do not declare.
50821         [__ASSUME_32BITUIDS]: Make code unconditional.
50822         [!__ASSUME_32BITUIDS]: Remove conditional code.
50823         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50824         <kernel-features.h>.
50825         [__ASSUME_32BITUIDS]: Make code unconditional.
50826         [!__ASSUME_32BITUIDS]: Remove conditional code.
50827         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50828         <kernel-features.h>.
50829         [__ASSUME_32BITUIDS]: Make code unconditional.
50830         [!__ASSUME_32BITUIDS]: Remove conditional code.
50831         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50832         <kernel-features.h>.
50833         [__ASSUME_32BITUIDS]: Make code unconditional.
50834         [!__ASSUME_32BITUIDS]: Remove conditional code.
50835         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50836         <kernel-features.h>.
50837         [__ASSUME_32BITUIDS]: Make code unconditional.
50838         [!__ASSUME_32BITUIDS]: Remove conditional code.
50839         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50840         <kernel-features.h>.
50841         [__ASSUME_32BITUIDS]: Make code unconditional.
50842         [!__ASSUME_32BITUIDS]: Remove conditional code.
50843         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50844         <kernel-features.h>.
50845         [__ASSUME_32BITUIDS]: Make code unconditional.
50846         [!__ASSUME_32BITUIDS]: Remove conditional code.
50847         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50848         <kernel-features.h>.
50849         [__ASSUME_32BITUIDS]: Make code unconditional.
50850         [!__ASSUME_32BITUIDS]: Remove conditional code.
50851         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50852         <kernel-features.h>.
50853         [__ASSUME_32BITUIDS]: Make code unconditional.
50854         [!__ASSUME_32BITUIDS]: Remove conditional code.
50855         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50856         <kernel-features.h>.
50857         [__ASSUME_32BITUIDS]: Make code unconditional.
50858         [!__ASSUME_32BITUIDS]: Remove conditional code.
50859         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50860         <kernel-features.h>.
50861         [__ASSUME_32BITUIDS]: Make code unconditional.
50862         [!__ASSUME_32BITUIDS]: Remove conditional code.
50863         * sysdeps/unix/sysv/linux/kernel-features.h
50864         (__ASSUME_SETRESUID_SYSCALL): Remove.
50865         (__ASSUME_SETRESGID_SYSCALL): Likewise.
50866         (__ASSUME_32BITUIDS): Likewise.
50867         (__ASSUME_LDT_WORKS): Likewise.
50868         (__ASSUME_O_DIRECTORY): Likewise.
50869         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50870         architecture but not kernel version.
50871         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50872         (__ASSUME_MMAP2_SYSCALL): Likewise.
50873         (__ASSUME_STAT64_SYSCALL): Likewise.
50874         (__ASSUME_IPC64): Likewise.
50875         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50876         <kernel-features.h>.
50877         [__ASSUME_32BITUIDS]: Make code unconditional.
50878         [!__ASSUME_32BITUIDS]: Remove conditional code.
50879         * sysdeps/unix/sysv/linux/opendir.c: Do not include
50880         <kernel-features.h>.
50881         [__ASSUME_O_DIRECTORY]: Make code unconditional.
50882         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50883         132096]: Remove conditional code.
50884         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50885         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
50894         <kernel-features.h>.
50895         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50896         unconditional.
50897         (__setresgid): Do not declare.
50898         [__ASSUME_32BITUIDS]: Make code unconditional.
50899         [!__ASSUME_32BITUIDS]: Remove conditional code.
50900         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50901         <kernel-features.h>.
50902         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50903         unconditional.
50904         (__setresuid): Do not declare.
50905         [__ASSUME_32BITUIDS]: Make code unconditional.
50906         [!__ASSUME_32BITUIDS]: Remove conditional code.
50907         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50908         <kernel-features.h>.
50909         [__ASSUME_32BITUIDS]: Make code unconditional.
50910         [!__ASSUME_32BITUIDS]: Remove conditional code.
50911         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50912         <kernel-features.h>.
50913         [__ASSUME_32BITUIDS]: Make code unconditional.
50914         [!__ASSUME_32BITUIDS]: Remove conditional code.
50916 2012-05-25  Richard Henderson  <rth@twiddle.net>
50918         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50919         dl_hwcap to ifunc resolver.
50920         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50921         elf_ifunc_invoke.
50922         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50923         dl_hwcap to ifunc resolver.
50924         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50926 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
50928         [BZ #14153]
50929         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50930         for |x| <= 2**-26, not 2**-57.
50931         * math/libm-test.inc (acos_test): Do not allow spurious underflow
50932         exception.
50934 2012-05-24  Jeff Law  <law@redhat.com>
50936         * stdio-common/Makefile (tests): Add bug25.
50937         * stdio-common/bug25.c: New test.
50939 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
50941         [BZ #13576]
50942         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50943         multiple of MALLOC_ALIGNMENT in size.
50944         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50946 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
50948         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50949         Require >= 256.
50950         (FILENAME_MAX): Use macro-int-constant.
50951         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
50952         (_IOFBF): Use macro-int-constant.
50953         (_IOLBF): Likewise.
50954         (_IONBF): Likewise.
50955         (SEEK_CUR): Likewise.
50956         (SEEK_END): Likewise.
50957         (SEEK_SET): Likewise.
50958         (TMP_MAX): Likewise.
50959         (EOF): Use macro-int-constant.  Require < 0.
50960         (NULL): Use macro-constant.  Require == 0.
50961         (stdin): Require type to be FILE *.
50962         (stdout): Likewise.
50963         (stderr): Likewise.
50964         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50965         macro-int-constant.
50966         (EXIT_SUCCESS): Likewise.
50967         (NULL): Use macro-constant.  Require == 0.
50968         (RAND_MAX): Use macro-int-constant.
50969         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50970         [C99-based standards] (strtof): Require function.
50971         [C99-based standards] (strtold): Likewise.
50972         [C99-based standards] (strtoll): Likewise.
50973         [C99-based standards] (strtoull): Likewise.
50974         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50975         [ISO || ISO99 || ISO11] (limits.h): Likewise.
50976         [ISO || ISO99 || ISO11] (math.h): Likewise.
50977         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50978         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50979         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50981 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
50983         [BZ #14132]
50984         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50985         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50986         * intl/dgettext.c (DCGETTEXT): Likewise.
50987         * intl/gettext.c (DCGETTEXT): Likewise.
50988         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50989         * posix/regex_internal.h (gettext): Likewise.
50990         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50991         Remove declaration.
50992         * include/argz.h (__argz_count_internal)
50993         (__argz_stringify_internal): Remove declaration.
50994         (__argz_count, __argz_stringify): Declare hidden proto.
50995         * intl/dcgettext.c: Remove use of INTDEF.
50996         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50997         * string/argz-stringify.c: Likewise.
50998         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50999         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51000         Declare hidden proto.
51001         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51002         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51003         Declare hidden proto.
51004         * include/stdio.h (__asprintf_internal): Don't declare.
51005         (__asprintf): Don't define as macro.  Declare hidden proto.
51006         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
51007         (__fsetlocking): Declare hidden proto.
51008         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
51009         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
51010         hidden proto.
51011         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
51012         (_IO_setlinebuf): Remove use of INTUSE.
51013         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
51014         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
51015         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
51016         Remove declaration.
51017         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
51018         (_IO_do_flush): Remove use of INTUSE.
51019         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
51020         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
51021         (_IO_adjust_column, _IO_least_wmarker)
51022         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
51023         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51024         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51025         (_IO_default_doallocate, _IO_wdefault_doallocate)
51026         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51027         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51028         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51029         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51030         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51031         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51032         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51033         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51034         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51035         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51036         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51037         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51038         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51039         proto.
51040         (_IO_flush_all_internal, _IO_adjust_column_internal)
51041         (_IO_default_uflow_internal, _IO_default_finish_internal)
51042         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51043         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51044         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51045         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51046         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51047         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51048         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51049         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51050         (_IO_file_close_internal, _IO_file_close_it_internal)
51051         (_IO_file_underflow_internal, _IO_file_overflow_internal)
51052         (_IO_file_init_internal, _IO_file_attach_internal)
51053         (_IO_file_fopen_internal, _IO_file_read_internal)
51054         (_IO_file_sync_internal, _IO_file_seek_internal)
51055         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51056         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51057         (_IO_str_underflow_internal, _IO_str_overflow_internal)
51058         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51059         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51060         (_IO_list_all_internal, _IO_link_in_internal)
51061         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51062         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51063         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51064         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51065         (_IO_do_write_internal, _IO_padn_internal)
51066         (_IO_getline_info_internal, _IO_getline_internal)
51067         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51068         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51069         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51070         (_IO_vfscanf_internal, _IO_vfprintf_internal)
51071         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51072         (_IO_init_internal, _IO_un_link_internal): Don't declare.
51073         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51074         with libc_hidden_ver, remove use of INTUSE.
51075         * libio/genops.c: Likewise.
51076         * libio/freopen.c: Likewise.
51077         * libio/freopen64.c: Likewise.
51078         * libio/iofclose.c: Likewise.
51079         * libio/iofdopen.c: Likewise.
51080         * libio/iofflush.c: Likewise.
51081         * libio/iofflush_u.c: Likewise.
51082         * libio/iofgets.c: Likewise.
51083         * libio/iofgets_u.c: Likewise.
51084         * libio/iofopen.c: Likewise.
51085         * libio/iofopncook.c: Likewise.
51086         * libio/iofread.c: Likewise.
51087         * libio/iofread_u.c: Likewise.
51088         * libio/ioftell.c: Likewise.
51089         * libio/iofwrite.c: Likewise.
51090         * libio/iogetline.c: Likewise.
51091         * libio/iogets.c: Likewise.
51092         * libio/iogetwline.c: Likewise.
51093         * libio/iopadn.c: Likewise.
51094         * libio/iopopen.c: Likewise.
51095         * libio/ioseekoff.c: Likewise.
51096         * libio/ioseekpos.c: Likewise.
51097         * libio/iosetbuffer.c: Likewise.
51098         * libio/iosetvbuf.c: Likewise.
51099         * libio/ioungetc.c: Likewise.
51100         * libio/ioungetwc.c: Likewise.
51101         * libio/iovdprintf.c: Likewise.
51102         * libio/iovsprintf.c: Likewise.
51103         * libio/iovsscanf.c: Likewise.
51104         * libio/memstream.c: Likewise.
51105         * libio/obprintf.c: Likewise.
51106         * libio/oldfileops.c: Likewise.
51107         * libio/oldiofclose.c: Likewise.
51108         * libio/oldiofdopen.c: Likewise.
51109         * libio/oldiofopen.c: Likewise.
51110         * libio/oldiopopen.c: Likewise.
51111         * libio/oldstdfiles.c: Likewise.
51112         * libio/putc.c: Likewise.
51113         * libio/setbuf.c: Likewise.
51114         * libio/setlinebuf.c: Likewise.
51115         * libio/stdfiles.c: Likewise.
51116         * libio/strops.c: Likewise.
51117         * libio/vasprintf.c: Likewise.
51118         * libio/vscanf.c: Likewise.
51119         * libio/vsnprintf.c: Likewise.
51120         * libio/vswprintf.c: Likewise.
51121         * libio/wfiledoalloc.c: Likewise.
51122         * libio/wfileops.c: Likewise.
51123         * libio/wgenops.c: Likewise.
51124         * libio/wmemstream.c: Likewise.
51125         * libio/wstrops.c: Likewise.
51126         * libio/__fpurge.c: Likewise.
51127         * libio/__fsetlocking.c: Likewise.
51128         * assert/assert.c: Likewise.
51129         * debug/fgets_chk.c: Likewise.
51130         * debug/fgets_u_chk.c: Likewise.
51131         * debug/fread_chk.c: Likewise.
51132         * debug/fread_u_chk.c: Likewise.
51133         * debug/gets_chk.c: Likewise.
51134         * debug/obprintf_chk.c: Likewise.
51135         * debug/vasprintf_chk.c: Likewise.
51136         * debug/vdprintf_chk.c: Likewise.
51137         * debug/vsnprintf_chk.c: Likewise.
51138         * debug/vsprintf_chk.c: Likewise.
51139         * malloc/mtrace.c: Likewise.
51140         * misc/error.c: Likewise.
51141         * misc/syslog.c: Likewise.
51142         * stdio-common/asprintf.c: Likewise.
51143         * stdio-common/fxprintf.c: Likewise.
51144         * stdio-common/getw.c: Likewise.
51145         * stdio-common/isoc99_fscanf.c: Likewise.
51146         * stdio-common/isoc99_scanf.c: Likewise.
51147         * stdio-common/isoc99_vfscanf.c: Likewise.
51148         * stdio-common/isoc99_vscanf.c: Likewise.
51149         * stdio-common/isoc99_vsscanf.c: Likewise.
51150         * stdio-common/printf-prs.c: Likewise.
51151         * stdio-common/printf_fp.c: Likewise.
51152         * stdio-common/printf_fphex.c: Likewise.
51153         * stdio-common/printf_size.c: Likewise.
51154         * stdio-common/putw.c: Likewise.
51155         * stdio-common/scanf.c: Likewise.
51156         * stdio-common/sprintf.c: Likewise.
51157         * stdio-common/tmpfile.c: Likewise.
51158         * stdio-common/vfprintf.c: Likewise.
51159         * stdio-common/vfscanf.c: Likewise.
51160         * stdlib/strfmon_l.c: Likewise.
51161         * sunrpc/openchild.c: Likewise.
51162         * sunrpc/xdr_stdio.c: Likewise.
51163         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51164         * sysdeps/mach/hurd/tmpfile.c: Likewise.
51166 2012-05-24  Roland McGrath  <roland@hack.frob.com>
51168         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51170         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51171         in the third column, to generate for the shared library an IFUNC
51172         that uses _dl_vdso_vsym.
51173         * Makerules (COMPILE.c, compile-stdin.c): New variables.
51174         * Makeconfig (object-suffixes-noshared): New variable.
51176         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51177         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51178         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51179         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51181         [BZ #14132]
51182         * include/sys/time.h (__gettimeofday): Remove macro.
51183         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51184         * time/gettimeofday.c (__gettimeofday): Remove #undef.
51185         Remove INTDEF.
51186         (__gettimeofday): Add libc_hidden_def.
51187         (gettimeofday): Add libc_hidden_weak.
51188         * sysdeps/mach/gettimeofday.c: Likewise.
51189         * sysdeps/posix/gettimeofday.c: Likewise.
51190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51191         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51192         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51193         (__gettimeofday_internal): Remove strong_alias.
51194         (__gettimeofday): Add libc_hidden_def.
51195         (gettimeofday): Add libc_hidden_weak.
51196         * sysdeps/unix/syscalls.list (gettimeofday):
51197         Remove __gettimeofday_internal alias.
51199 2012-05-24  Daniel Jacobowitz  <drow@false.org>
51200             H.J. Lu  <hongjiu.lu@intel.com>
51202         [BZ #12495]
51203         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51204         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51205         (largebin_index_32_big): New.
51206         (largebin_index): Use it for 16-byte alignment.
51207         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
51208         correction with front_misalign.
51210 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51214         Likewise.
51215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51216         Likewise.
51217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51218         Likewise.
51219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51220         Likewise.
51221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51222         Likewise.
51223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51224         Likewise.
51225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51226         Likewise.
51227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51228         Likewise.
51229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51230         Likewise.
51231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51232         Likewise.
51233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51234         Likewise.
51235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51236         Likewise.
51238         * scripts/data/c++-types-x32-linux-gnu.data: New file.
51239         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51241 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51243         [BZ #10846]
51244         [BZ #14036]
51245         * math/libm-test.inc (exp_test): Add test from bug 14036.
51246         (pow_test): Add test from bug 10846.
51248         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51249         and other flags.
51250         (special_function): Do not include flags in test name.
51251         (parse_args): Likewise.
51252         * sysdeps/i386/fpu/libm-test-ulps: Update.
51253         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51254         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51255         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51258         * math/gen-libm-test.pl (%beautify): Add entries for underflow
51259         exceptions.
51260         * math/libm-test.inc ("Philosophy"): Update comment about
51261         exception testing.
51262         (UNDERFLOW_EXCEPTION): New macro.
51263         (UNDERFLOW_EXCEPTION_OK): Likewise.
51264         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51265         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51266         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51267         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51268         (INVALID_EXCEPTION_OK): Update value.
51269         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51270         (OVERFLOW_EXCEPTION_OK): Likewise.
51271         (IGNORE_ZERO_INF_SIGN): Likewise.
51272         (test_exceptions): Handle underflow exceptions.
51273         (acos_test): Update for underflow exception expectations.
51274         (cexp_test): Likewise.
51275         (clog_test): Likewise.
51276         (clog10_test): Likewise.
51277         (csqrt_test): Likewise.
51278         (ctan_test): Likewise.
51279         (ctanh_test): Likewise.
51280         (exp_test): Likewise.
51281         (exp10_test): Likewise.
51282         (exp2_test): Likewise.
51283         (expm1_test): Likewise.
51284         (fma_test): Likewise.
51285         (j0_test): Likewise.
51286         (jn_test): Likewise.
51287         (nexttoward_test): Likewise.
51288         (pow_test): Likewise.
51289         (scalbn_test): Likewise.
51290         (scalbln_test): Likewise.
51291         (tan_test): Likewise.
51292         (y1_test): Likewise.
51293         * sysdeps/i386/fpu/libm-test-ulps: Update.
51294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51296 2012-05-23  David S. Miller  <davem@davemloft.net>
51298         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51299         (__libc_sigaction): Remove unused local variables.
51301 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51303         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51305 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
51307         mktime: avoid signed integer overflow
51308         * time/mktime.c (__mktime_internal): Do not mishandle the case
51309         where diff == INT_MIN.
51311         mktime: simplify computation of average
51312         * time/mktime.c (ranged_convert): Use new time_t_avg function
51313         instead of rolling our own (probably-slower) code.
51315         mktime: do not assume signed right shift propagates sign bit
51316         * time/mktime.c (isdst_differ): New static function.
51317         (__mktime_internal): No need to normalize tm_isdst now.
51318         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51319         tm_isdst values.
51321         mktime: merge another wrapv change from gnulib
51322         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51323         from some compilers.
51325         mktime: remove incorrect attempt at unusual arithmetics
51326         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51327         The code didn't really work on such machines anyway.
51328         (TYPE_MINIMUM): Assume two's complement.
51329         (twos_complement_arithmetic): Verify that long_int and time_t
51330         are two's complement (or unsigned, in the latter case).
51332         mktime: check signed shifts on long_int and time_t, too
51333         * time/mktime.c (SHR): Check that shifts work as desired
51334         on the types long_int and time_t too, as SHR is used on
51335         such types.
51337         mktime: do not assume 'long' is wide enough
51338         * time/mktime.c (verify): Move decl up.
51339         (long_int): New type.
51340         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51341         to remove assumption in the code that 'long' is wide enough to
51342         store year values.  This assumption is not true on x32 and on
51343         some non-glibc platforms.
51345         mktime: merge wrapv change from gnulib
51346         * time/mktime.c (WRAPV): New macro.
51347         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51348         (guess_time_tm, __mktime_internal): Do not assume that signed
51349         integer overflow wraps around; modern compilers generate code
51350         where this assumption is no longer valid.
51352 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51354         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51355         Replace "jmp L(pseudo_end)" with "ret".
51356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51357         Likewise.
51359 2012-05-23  Andreas Jaeger  <aj@suse.de>
51361         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51362         * sysdeps/unix/sysv/linux/poll.c: Remove file.
51364 2012-05-23  Andreas Jaeger  <aj@suse.de>
51365             Maximilian Attems  <max@stro.at>
51367         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51368         New macros.
51370 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51372         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51373         code so that pseudo_end is just ret and the stack pointer is
51374         correct also for static library in error case.
51376 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
51378         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51379         move to syscalls.list.
51380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51385         * manual/install.texi (Running make install): Do not mention Linux
51386         kernel version for which pt_chown is not needed.
51387         (Linux): Do not mention problems with nscd with 2.0 kernels.
51388         * INSTALL: Regenerated.
51390 2012-05-23  Andreas Jaeger  <aj@suse.de>
51392         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51393         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51394         macro.
51395         * sysdeps/unix/sysv/linux/s390/bits/mman.h
51396         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51397         * sysdeps/unix/sysv/linux/sh/bits/mman.h
51398         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51399         * sysdeps/unix/sysv/linux/i386/bits/mman.h
51400         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51401         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51402         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51403         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51404         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51405         * sysdeps/unix/sysv/linux/bits/in.h
51406         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51408 2012-05-22  Roland McGrath  <roland@hack.frob.com>
51410         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51411         (PREPARE_VERSION): Just use assert instead, it will be elided
51412         under [NDEBUG] anyway.
51414 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51416         * sysdeps/unix/sysv/linux/Makefile: Include
51417         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51418         (sysdep_routines): Remove sysctl.
51419         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51420         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51421         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51422         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51423         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51425 2012-05-22  Andreas Jaeger  <aj@suse.de>
51427         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51428         that pseudo_end is just ret and the stack pointer is correct also
51429         for static library in error case.
51431 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
51433         [BZ #14122]
51434         * nss/nsswitch.c (defconfig_entries): New variable.
51435         (__nss_database_lookup): Don't leak defconfig entries.
51436         (nss_parse_service_list): Don't leak on error paths.
51437         (free_database_entries): New function.
51438         (free_defconfig): New function.
51439         (free_mem): Move common code to free_database_entries.
51441 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51443         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51444         Add arch_prctl.
51445         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51447         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51448         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51450         New macro.
51451         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51452         (INTERNAL_SYSCALL_TYPES): Likewise.
51453         (LOAD_ARGS_TYPES_[1-6]): Likewise.
51454         (LOAD_REGS_TYPES_[1-6]): Likewise.
51455         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51456         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51458 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51460         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51461         copysignl for GLIBC_2_0.
51462         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51463         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51464         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51465         logbl for GLIBC_2_0.
51466         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51467         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51469 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51471         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51472         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
51474         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51475         Use "neg %eax".
51477         * time/mktime.c: Update copyright years.
51479 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
51481         mktime: merge comment-quoting-style change from gnulib
51482         * time/mktime.c: Quote 'like this' in comments.
51483         The GNU coding standards suggest that we no longer quote `like this',
51484         as "`" and "'" are typically rendered asymmetrically nowadays.
51485         The typical gnulib style is to quote 'like this' when quoting
51486         code, and "like this" when quoting English.
51488         * time/mktime.c (compile-command): Add "-I.".
51490         mktime: merge mktime-internal.h change from gnulib
51491         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51493         mktime: merge time_r change from gnulib
51494         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51496         mktime: merge DEBUG change from gnulib
51497         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51498         case system <time.h> has a #define.
51500         mktime: merge <sys/types.h> change from gnulib
51501         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51502         since <time.t> is now guaranteed to define time_t.
51504         mktime: merge HAVE_CONFIG_H change from gnulib
51505         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51507 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51510         Use "neg %eax".
51512         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51513         __rlim_t cast.
51514         (struct rusage): Use anonymous union to pad each field to
51515         __syscall_slong_t.
51517 2012-05-21  David S. Miller  <davem@davemloft.net>
51519         * Makefules (o-iterator): Remove .s cases.
51520         (compile-command.s): Delete.
51521         (COMPILE.s): Delete.
51522         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51524 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
51526         * configure.in (libc_cv_predef_stack_protector): Only consider
51527         "foobar" and "__stack_chk_fail" lines in libc_undefs.
51528         * configure: Regenerated.
51530 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51533         New macro.  Use R*LP on int and pointer.
51534         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51535         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51536         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51537         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51539         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51540         [__WORDSIZE_TIME64_COMPAT32] instead of
51541         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51542         (struct utmp): Likewise.
51543         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51544         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51545         Renamed to ...
51546         (__WORDSIZE_TIME64_COMPAT32): This.
51547         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51548         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51549         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51550         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51551         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51552         (__WORDSIZE_TIME64_COMPAT32): New macro.
51554 2012-05-21  Andreas Jaeger  <aj@suse.de>
51556         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51557         only if [SHARED]. Add prototype for __wcschr_ia32.
51559 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51561         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51562         of %rbp unmolested in the jmp_buf while mangling the low bits.
51563         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51564         unmolested high bits of %rbp while demangling the low bits.
51565         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51567 2012-05-21  Andreas Jaeger  <aj@suse.de>
51569         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51570         * sunrpc/svc_simple.c: Use it for registerrpc.
51571         * sunrpc/xcrypt.c: Use it for passwd2des.
51573         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51575 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51577         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51578         Don't define if [__SYSCALL_WORDSIZE != 32].
51579         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51580         New macro.
51582 2012-05-21  Bruno Haible  <bruno@clisp.org>
51583             Andreas Jaeger  <aj@suse.de>
51585         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51586         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51587         inptr and inend for must_buffer_ch.
51588         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51589         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51590         * stdio-common/Makefile (tests): Remove bug15.
51591         (bug15-ENV): Remove macro.
51592         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51593         anymore.
51595 2012-05-19  Andreas Jaeger  <aj@suse.de>
51596             Roland McGrath  <roland@hack.frob.com>
51598         * manual/contrib.texi: Completely rewritten. It contains now an
51599         alphabetical list of contributors and their contributions.
51601 2012-05-21  Richard Henderson  <rth@twiddle.net>
51603         * misc/getauxval.c (__getauxval): Use unsigned long int.
51604         * misc/sys/auxv.h: Include <sys/cdefs.h>.
51605         (getauxval): Use unsigned long int.
51607 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51609         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51611 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51613         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51614         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51615         __alignof__ (long double).
51617 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51621 2012-05-20  Richard Henderson  <rth@twiddle.net>
51623         * misc/getauxval.c: New file.
51624         * misc/sys/auxv.h: New file.
51625         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51626         (routines): Add getauxval.
51627         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51628         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51629         * elf/dl-sysdep.c (_dl_auxv): Remove.
51630         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51631         * elf/dl-support.c (_dl_auxv): New variable.
51632         (_dl_aux_init): Initialize it.
51633         * manual/startup.texi (Auxiliary Vector): New node.
51634         * sysdeps/generic/bits/hwcap.h: New file.
51635         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51636         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
51637         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51638         * sysdeps/sparc/sysdep.h: ... here.  Include it.
51639         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51640         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51642         Update.
51643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51646         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51652 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51656 2012-05-19  David S. Miller  <davem@davemloft.net>
51658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51660 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
51662         [BZ #14123]
51663         * math/s_ccosh.c: Include <float.h>
51664         (__ccosh): Avoid internal overflow calculating sinh and cosh
51665         values before multiplying by sin and cos values.
51666         * math/s_ccoshf.c: Likewise.
51667         * math/s_ccoshl.c: Likewise.
51668         * math/s_csin.c: Likewise.
51669         * math/s_csinf.c: Likewise.
51670         * math/s_csinl.c: Likewise.
51671         * math/s_csinh.c: Likewise.
51672         * math/s_csinhf.c: Likewise.
51673         * math/s_csinhl.c: Likewise.
51674         * math/libm-test.inc (ccos_test): Add more tests.
51675         (ccosh_test): Likewise.
51676         (csin_test): Likewise.
51677         (csinh_test): Likewise.
51678         * sysdeps/i386/fpu/libm-test-ulps: Update.
51679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51681 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
51683         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51684         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51686         * sysdeps/x86_64/x32/_itoa.h: Add comment.
51688 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
51690         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51691         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51692         * sysdeps/powerpc/soft-fp/Versions: Likewise.
51693         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51694         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51695         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51696         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51697         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51698         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51699         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51700         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51701         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51702         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51703         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51704         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51705         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51706         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51707         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51708         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51709         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51710         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51711         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51712         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51713         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51714         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51715         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51716         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51717         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51718         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51719         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51720         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51722 2012-05-18  Andreas Jaeger  <aj@suse.de>
51724         * csu/.gitignore: Delete.
51726 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51728         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51729         (timex): Use __syscall_slong_t.
51731 2012-05-18  Andreas Jaeger  <aj@suse.de>
51732             Carlos O'Donell  <carlos_odonell@mentor.com>
51734         * manual/install.texi (Configuring and compiling): Update
51735         description about files modified in the source directory.
51736         * INSTALL: Regenerated.
51738 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51740         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51741         value.  Use "or" to set return value to -1.
51742         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51743         negate return value.
51745 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51747         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51748         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51749         failure if the compiler has Graphite support disabled.
51750         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51751         Likewise.
51752         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51753         (CFLAGS-memmove.c): Likewise.
51754         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51755         Likewise.
51757 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
51759         * sysdeps/x86_64/x32/_itoa.h: New file.
51761         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51762         getdents system call only if kernel and user dirents have the
51763         same d_ino and d_off.
51765         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51766         LLONG_MAX != LONG_MAX.
51767         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51768         (_fitoa_word): Likewise.
51770         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51771         years.
51772         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51773         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51774         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51776         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51777         include <bits/wordsize.h>.  Check __x86_64__ instead of
51778         __WORDSIZE.
51779         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51780         if __x86_64__ is defined.  Use anonymous union on fpstate.
51782         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51783         anonymous union.
51785 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
51787         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51788         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51789         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51790         Refer to _rtld_local_ro instead of _rtld_global_ro.
51791         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51792         Likewise.
51793         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51794         Likewise.
51795         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51796         Likewise.
51797         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51798         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51799         of _rtld_global, and rtld_progname instead of _dl_argv[0].
51801         [BZ #10882]
51802         * sysdeps/powerpc/powerpc32/dl-machine.c
51803         (__elf_machine_runtime_setup) [PROF]: Don't reference
51804         _dl_prof_resolve.
51806 2012-05-18  Andreas Jaeger  <aj@suse.de>
51808         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51809         function only available for GCCs before 3.4 since GCC 3.4
51810         introduced a builtin.
51811         (lrint): Likewise.
51812         (llrintf): Likewise.
51813         (llrint): Likewise.
51814         (fmaxf): Likewise.
51815         (fmax): Likewise.
51816         (fminf): Likewise.
51817         (fmin): Likewise.
51818         (rint): Likewise.
51819         (rintf): Likewise.
51820         (nearbyint): Likewise.
51821         (nearbyintf): Likewise.
51822         (ceil): Likewise.
51823         (ceilf): Likewise.
51824         (floor): Likewise.
51825         (floorf): Likewise.
51827 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51829         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51830         on both fields and cast pointer to __syscall_ulong_t.
51832         * bits/types.h (__fsword_t): New type.
51833         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51834         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51835         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51836         (__FSWORD_T_TYPE): Likewise.
51837         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51838         (__FSWORD_T_TYPE): Likewise.
51839         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51840         (__FSWORD_T_TYPE): Likewise.
51841         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51842         (__FSWORD_T_TYPE): Likewise.
51843         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51844         __SWORD_TYPE with __fsword_t.
51845         (statfs64): Likewise.
51847 2012-05-17  David S. Miller  <davem@davemloft.net>
51849         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51851 2012-05-17  Andreas Jaeger  <aj@suse.de>
51853         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51854         warning.
51856 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51858         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51860 2012-05-17  Andreas Jaeger  <aj@suse.de>
51862         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51863         when it is used.
51865 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
51867         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51869 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51871         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51872         * sysdeps/x86_64/tst-mallocalign1.c: New file.
51874 2012-05-17  Andreas Jaeger  <aj@suse.de>
51875             Carlos O'Donell  <carlos_odonell@mentor.com>
51877         [BZ #14059]
51878         * sysdeps/x86_64/multiarch/init-arch.h
51879         (bit_YMM_Usable): Rename to...
51880         (bit_AVX_Usable): ... this.
51881         (bit_FMA4_Usable): New macro.
51882         (bit_XMM_state): New macro.
51883         (bit_YMM_state): New macro.
51884         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51885         [__ASSEMBLER__] (index_AVX_Usable): ... this.
51886         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51887         (CPUID_OSXSAVE): New macro.
51888         (CPUID_AVX): New macro.
51889         (CPUID_FMA4): New macro.
51890         (index_YMM_Usable): Rename to...
51891         (index_AVX_Usable): ... this.
51892         (HAS_AVX): Use HAS_ARCH_FEATURE.
51893         (HAS_FMA4): Likewise.
51894         (HAS_YMM_USABLE): Remove.
51895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51896         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51897         are present.
51898         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51899         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51900         * sysdeps/x86_64/multiarch/Makefile: Likewise.
51901         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51902         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51904 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
51906         * math/libm-test.c: Support platforms without multiple rounding modes.
51907         * math/bug-nextafter.c: Support platforms without FP exceptions.
51908         * math/bug-nexttoward.c: Likewise.
51909         * math/test-fenv.c: Likewise.
51910         * math/test-misc.c: Likewise.
51911         * stdlib/bug-getcontext.c: Likewise.
51913 2012-05-17  Andreas Jaeger  <aj@suse.de>
51915         * manual/examples/search.c (critter_cmp): Change signature to
51916         avoid warnings.
51917         * manual/string.texi (Collation Functions): Likewise.
51919 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51921         * bits/types.h: Fold copyright years.
51922         * bits/typesizes.h: Likewise.
51923         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51924         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51925         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51926         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51927         * time/time.h: Likewise.
51929 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
51931         [BZ #208]
51932         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51933         in instead of returning them.  Return void.
51934         (__libc_mallinfo): Accumulate over all arenas.
51935         (__malloc_stats): Adjust for change in int_mallinfo interface.
51937 2012-05-16  Roland McGrath  <roland@hack.frob.com>
51939         [BZ #10375]
51940         * configure.in (NM): Add AC_CHECK_TOOL for it.
51941         (libc_extra_cflags): New substituted variable.
51942         Check for -fstack-protector being used implicitly.
51943         * configure: Regenerated.
51944         * config.make.in (config-extra-cflags): New variable,
51945         gets @libc_extra_cflags@.
51946         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51948         [BZ #10375]
51949         * configure.in: Check for _FORTIFY_SOURCE being predefined.
51950         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51951         * configure: Regenerated.
51952         * config.make.in (CPPUNDEFS): New substituted variable.
51953         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51954         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51955         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51957 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51959         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51960         (mq_attr): Use __syscall_slong_t.
51962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51964         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51965         Check __x86_64__ instead of __WORDSIZE.
51966         (_STAT_VER_LINUX): Likewise.
51967         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
51968         __syscall_ulong_t and __syscall_slong_t.
51969         (stat64): Likewise.
51971 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51973         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51975 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51977         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51979 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51981         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51982         __syscall_ulong_t.
51984         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51985         include <bits/wordsize.h>.  Check __x86_64__ instead of
51986         __WORDSIZE.
51987         (greg_t): Use "__extension__ long long int" if __x86_64__ is
51988         defined.
51989         (mcontext_t): Replace "unsigned long" with "unsigned long long".
51991         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51992         include <bits/wordsize.h>.  Check __x86_64__ instead of
51993         __WORDSIZE.
51994         (user_regs_struct): Use "__extension__ unsigned long long"
51995         instead of "unsigned long" if __x86_64__ is defined.
51996         (user): Likewise.  Pad after pointer field if __ILP32__ is
51997         defined.
51999 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
52001         * configure.in (makeinfo): Require version 4.5 or later.  Allow
52002         versions 5 to 9.
52003         * configure: Regenerated.
52004         * manual/install.texi (texinfo): Increase version requirement to
52005         4.5 or later.
52006         * INSTALL: Regenerated.
52008         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
52010 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52012         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
52014         * sysdeps/x86_64/x32/ffs.c: New file.
52016         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
52017         __syscall_ulong_t.
52018         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
52019         defined.  Use __syscall_ulong_t.
52020         (shminfo): Use __syscall_ulong_t.
52021         (shm_info): Likewise.
52023         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52024         __syscall_ulong_t.
52026         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52027         <bits/wordsize.h>.
52028         (msgqnum_t): Use __syscall_ulong_t.
52029         (msglen_t): Likewise.
52030         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
52031         __syscall_ulong_t.
52033         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52034         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52036         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52038         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52039         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52041         * sysvipc/sys/msg.h (msgbuf): Replace long int with
52042         __syscall_slong_t.
52044         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52045         include <bits/wordsize.h>.  Check __x86_64__ instead of
52046         __WORDSIZE.
52048         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52049         "unsigned long long int" if __x86_64__ is defined.
52050         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52052         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52053         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52054         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52056         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52057         <stdint.h>.
52058         (GET_PC): Cast to uintptr_t first.
52059         (GET_FRAME): Likewise.
52060         (GET_STACK): Likewise.
52062         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52063         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52064         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52065         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52066         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52067         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52068         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52069         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52070         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52071         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52072         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52073         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52074         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52075         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52076         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52077         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52078         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52079         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52080         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52081         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52082         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52083         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52084         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52085         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52086         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52087         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52088         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52089         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52090         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52092 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
52094         * Makerules (+depfiles): Also collect depfiles from .oS in
52095         $(extra-objs).
52096         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52097         .oS, $(libnldbl-routines)).
52099         * Makerules (native-compile-mkdep-flags): Define.
52100         * sunrpc/Makefile (extra-objs): Add $(addprefix
52101         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52102         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52103         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
52104         calling $(make-target-directory).
52106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52108         * bits/types.h (__snseconds_t): Removed.
52109         * time/time.h (struct timespec): Replace __snseconds_t with
52110         __syscall_slong_t.
52111         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52112         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52113         Likewise.
52114         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52115         (__SNSECONDS_T_TYPE): Likewise.
52116         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52117         (__SNSECONDS_T_TYPE): Likewise.
52118         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52119         (__SNSECONDS_T_TYPE): Likewise.
52121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52123         * sysdeps/mach/hurd/bits/typesizes.h
52124         (__SYSCALL_SLONG_TYPE): New macro.
52125         (__SYSCALL_ULONG_TYPE): Likewise.
52127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52129         * bits/types.h (__syscall_slong_t): New type.
52130         (__syscall_ulong_t): Likewise.
52132         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52133         (__SYSCALL_ULONG_TYPE): Likewise.
52134         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52135         (__SYSCALL_SLONG_TYPE): Likewise.
52136         (__SYSCALL_ULONG_TYPE): Likewise.
52137         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52138         (__SYSCALL_SLONG_TYPE): Likewise.
52139         (__SYSCALL_ULONG_TYPE): Likewise.
52140         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52141         (__SYSCALL_SLONG_TYPE): Likewise.
52142         (__SYSCALL_ULONG_TYPE): Likewise.
52144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52146         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52147         Add sigaltstack-offsets.sym.
52148         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52149         <sigaltstack-offsets.h>.
52150         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
52151         longjmp_msg pointer.
52152         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
52153         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52154         signal stack.
52155         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52157 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52159         * elf/stackguard-macros.h: Remove file.
52160         * sysdeps/generic/stackguard-macros.h: New file.
52161         * sysdeps/i386/stackguard-macros.h: Likewise.
52162         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52163         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52164         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52165         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52166         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52167         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52168         * sysdeps/x86_64/stackguard-macros.h: Likewise.
52169         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52170         <elf/stackguard-macros.h>.
52172         [BZ #14109]
52173         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52174         __aligned__ in attribute.
52175         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52176         (gregset_t): Likewise.
52178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52180         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52181         * sysdeps/x86_64/64/Implies-after: Here.  New file.
52182         * sysdeps/x86_64/x32/Implies-after: New file.
52184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52186         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52187         and access return value for _dl_profile_fixup.  Use R10_LP to
52188         load frame size.
52190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52192         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52196         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52197         * sysdeps/x86_64/x32/sysdep.h: New file.
52199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52201         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52202         * sysdeps/x86_64/setjmp.S: Likewise.
52204 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52206         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52207         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52208         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52209         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52210         remove unused global constant.
52212 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
52214         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52215         include of <not-cancel.h>.
52217 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52219         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52221 2012-05-15  Jeff Law  <law@redhat.com>
52222             Andreas Jaeger  <aj@suse.de>
52224         [BZ #13594]
52225         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52226         out from...
52227         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52228         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52229         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52230         code changing __hst_map_handle.map.
52232 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52234         * configure.in (sysnames): Look for Implies-before and Implies-after
52235         files.
52236         * configure: Regenerated.
52238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52240         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52241         8-byte data alignment with LP_SIZE alignment.
52243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52245         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52246         into R10_LP.
52248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52250         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52254         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52255         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52256         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52257         Likewise.
52258         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52260 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52262         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52263         (stackinfo_sub_sp): Likewise.
52265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52267         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52268         RAX_LP.
52270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52272         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52273         into R*_LP.
52275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52277         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52278         sizes into R*_LP.
52280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52282         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52286         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52287         into R11_LP and load __x86_64_shared_cache_size_half into
52288         R8_LP.
52290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52292         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52293         R8_LP.
52295 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52298         logb for POWER7.
52299         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52300         logbf for POWER7.
52301         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52302         logbl for POWER7.
52303         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52304         powerpc32/power7/fpu/s_logb.c via #include.
52305         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52306         powerpc32/power7/fpu/s_logbf.c via #include.
52307         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52308         powerpc32/power7/fpu/s_logbl.c via #include.
52310 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52312         * README.libm: Remove file.
52314 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52316         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52317         count for x32.  Use R*_LP and omit operand-size suffix.
52319 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52321         * shlib-versions: Move x86_64-.*-linux.* entries to ...
52322         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
52323         * sysdeps/x86_64/x32/shlib-versions: New file.
52325 2012-05-14  Roland McGrath  <roland@hack.frob.com>
52327         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52328         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52329         Use _dl_fatal_printf instead.
52331 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52333         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52334         set if not set by the user.  Do not allow for being unset.
52335         * sysdeps/unix/sysv/linux/configure: Regenerated.
52337 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52339         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52340         the `q' suffix from lea and replace .quad with ASM_ADDR.
52342 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52345         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
52346         instead of $17.
52347         (PTR_DEMANGLE): Likewise.
52349 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52351         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52352         (LP_OP): Likewise.
52353         (ASM_ADDR): Likewise.
52354         (RAX_LP): Likewise.
52355         (RBP_LP): Likewise.
52356         (RBX_LP): Likewise.
52357         (RCX_LP): Likewise.
52358         (RDI_LP): Likewise.
52359         (RSI_LP): Likewise.
52360         (RSP_LP): Likewise.
52361         (R8_LP): Likewise.
52362         (R9_LP): Likewise.
52363         (R10_LP): Likewise.
52364         (R10_LP): Likewise.
52365         (R11_LP): Likewise.
52366         (R12_LP): Likewise.
52367         (R13_LP): Likewise.
52368         (R14_LP): Likewise.
52369         (R15_LP): Likewise.
52371 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52373         * sysdeps/x86_64/x32/dl-machine.h: New file.
52375 2012-05-14  Andreas Jaeger  <aj@suse.de>
52377         * manual/Makefile (subdir): Remove export of subdir.
52378         (all): Remove target.
52379         (.PHONY): Remove all from list.
52380         (mkinstalldirs): Remove.
52381         (.PHONY): Remove installdirs from list.
52382         ($(inst_infodir)/libc.info): Use make-target-directory.
52383         (installdirs): Remove.
52384         (subdir_%): Remove.
52385         (glibc-targets): Remove.
52386         (lib): Remove.
52387         (stubs): Remove.
52388         ($(objpfx)stubs ../po/manual.pot): Remove.
52389         ($(objpfx)stamp%): Remove.
52390         (make-target-directory): Remove.
52391         (subdir_install): Remove.
52392         (routines): Remove.
52393         (aux): Remove.
52394         (sources): Remove.
52395         (objects): Remove.
52396         (headers): Remove.
52398         [BZ #13750]
52399         * manual/.gitignore: Remove, it's not needed anymore.
52400         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52401         all files in it.
52402         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52403         directory.
52404         (texis): Renamed to $(objpfx)texis.
52405         (texis-path): New, contains path to generated files.
52406         (chapters.%): Use texis-path for complete path, add extra argument
52407         libc-texinfo.sh.
52408         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52409         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52410         (summary,texi, stamp-summary): Use complete path of
52411         files. Generate files in build dir.
52412         (dir-add.texi): Build in build dir.
52413         (libm-err.texi,stamp-libm-err): Likewise.
52414         (version.texi, stamp-version): Likewise.
52415         (.%c.texi): Likewise.
52416         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52417         (mostlyclean): Remove target.
52418         (realclean): Remove target.
52419         (generated): Add new variable with contents from mostlyclean and
52420         realclean, remove entries duplicated in common-mostlyclean, add
52421         stamp-libm-err and stamp-version.
52422         (generated-dirs): Add libc directory.
52423         ($(inst_infodir)/libc.info): Install files from build dir.
52425         * manual/install.texi (Configuring and compiling): Adjust since
52426         the info files are not part of the tar ball anymore.
52428 2012-05-14  Andreas Jaeger  <aj@suse.de>
52430         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52431         variable.
52433 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52435         [BZ #13717]
52436         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52437         to 2.2.0 where earlier.
52438         * sysdeps/unix/sysv/linux/configure: Regenerated.
52439         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52440         Remove conditional code.
52441         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52442         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52443         Remove conditional code.
52444         [!__NR_lchown]: Likewise.
52445         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52446         [__NR_lchown]: Likewise.
52447         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52448         comment referencing __ASSUME_LCHOWN_SYSCALL.
52449         * sysdeps/unix/sysv/linux/i386/sigaction.c
52450         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52451         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52452         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52453         Remove conditional code.
52454         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52455         (__protocol_available): Remove #if 0 code.
52456         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52457         conditional code.
52458         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52459         * sysdeps/unix/sysv/linux/kernel-features.h
52460         (__ASSUME_GETCWD_SYSCALL): Don't define.
52461         (__ASSUME_REALTIME_SIGNALS): Likewise.
52462         (__ASSUME_PREAD_SYSCALL): Likewise.
52463         (__ASSUME_PWRITE_SYSCALL): Likewise.
52464         (__ASSUME_POLL_SYSCALL): Likewise.
52465         (__ASSUME_LCHOWN_SYSCALL): Likewise.
52466         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52467         non-SPARC.
52468         (__ASSUME_SIOCGIFNAME): Don't define.
52469         (__ASSUME_MSG_NOSIGNAL): Likewise.
52470         (__ASSUME_SENDFILE): Define unconditionally.
52471         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52472         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52473         conditional code.
52474         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52475         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52476         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52477         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52478         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52479         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52480         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52482         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52483         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52485         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52488         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52489         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52491         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52494         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52495         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52497         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52500         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52501         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52503         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52504         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52505         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52506         Remove conditional code.
52507         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52508         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52509         Remove conditional code.
52510         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52511         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52512         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52513         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52514         Remove conditional code.
52515         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52516         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52517         Remove conditional code.
52518         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52519         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52520         Remove conditional code.
52521         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52522         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52523         Remove conditional code.
52524         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52525         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52526         Remove conditional code.
52527         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52528         * sysdeps/unix/sysv/linux/sh/pwrite64.c
52529         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52530         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52531         * sysdeps/unix/sysv/linux/sigaction.c
52532         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52533         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52534         * sysdeps/unix/sysv/linux/sigpending.c
52535         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52536         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52537         * sysdeps/unix/sysv/linux/sigprocmask.c
52538         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52539         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52540         * sysdeps/unix/sysv/linux/sigsuspend.c
52541         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52542         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52543         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52544         (__libc_missing_rt_sigs): Remove.
52545         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52546         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52547         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52548         Remove conditional code.
52549         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52550         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52551         return 1.
52552         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52553         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52554         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52555         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52557 2012-05-14  Andreas Jaeger  <aj@suse.de>
52559         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52560         it's not used in glibc.
52561         (__coshm1): Likewise.
52562         (__acosh1p): Likewise.
52563         (__sgn): Likewise.
52565         * manual/string.texi (Copying and Concatenation): Add missing
52566         variable in concat example.
52567         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52569 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52571         [BZ #14103]
52572         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52573         __builtin_clzl with __builtin_clzll.
52575 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52577         [BZ #14104]
52578         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52579         libc_freeres_ptr.
52581 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52583         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52584         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52585         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52586         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52588 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
52590         * NEWS: Update ia64 info.
52592 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
52594         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52595         used as bcopy.
52597 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
52599         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52600         * sysdeps/unix/syscalls.list (dup3): Likewise.
52601         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52602         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52604 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52606         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52607         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52609 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52611         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52612         thread pointer.
52613         (TLS_IE): Use mov/add instead of movq/addq to load thread
52614         pointer.
52615         (TLS_GD_PREFIX): New.
52616         (TLS_GD): Use it.
52618 2012-05-11  David S. Miller  <davem@davemloft.net>
52620         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52621         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52622         (_FPU_SETCW): Likewise.
52624 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52626         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52627         is 32-byte aligned.
52629 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
52631         [BZ #11837]
52632         * iconvdata/gb18030.c: Update tables.
52633         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
52634         characters specially.
52635         (BODY for TO_LOOP): Add encoding of missing ranges.
52637 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
52639         [BZ #13673]
52640         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52641         * sysdeps/mach/hurd/dup3.c: Likewise.
52642         * sysdeps/mach/hurd/readlinkat.c: Likewise.
52643         * sysdeps/powerpc/memmove.c:: Likewise.
52645 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52647         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52648         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52650 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52652         * elf/elf.h (R_X86_64_RELATIVE64): New.
52653         (R_X86_64_NUM): Updated.
52654         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52655         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
52656         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52657         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52658         tst-quad1pie tst-quad2pie
52659         (modules-names): Add tst-quadmod1 tst-quadmod2.
52660         ($(objpfx)tst-quad1): New dependency.
52661         ($(objpfx)tst-quad2): Likewise.
52662         ($(objpfx)tst-quad1pie): Likewise.
52663         ($(objpfx)tst-quad2pie): Likewise.
52664         * sysdeps/x86_64/tst-quad1.c: New file.
52665         * sysdeps/x86_64/tst-quad1pie.c: New file.
52666         * sysdeps/x86_64/tst-quad2.c: Likewise.
52667         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52668         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52669         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52670         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52671         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52673 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52675         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52676         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52677         * streams/stropts.h (t_scalar_t): Define type.
52679         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52680         (_PATH_PRESERVE): Set to "/var/lib".
52681         (_PATH_RWHODIR): Set to "/var/spool/rwho".
52683         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52684         instead of int.
52686         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52687         if __dir_mkfile succeeded.
52689         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52690         checking for _hurd_dtablesize.  Unlock it right after having
52691         finished _hurd_dtable allocation.
52693 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52695         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52696         * sysdeps/mach/hurd/configure: Regenerated.
52697         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52698         special-casing to...
52699         * sysdeps/gnu/configure.in: ... this new file.
52700         * sysdeps/unix/sysv/linux/configure: Regenerated.
52701         * sysdeps/gnu/configure: New generated file.
52703         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52704         for Linux: use nsec instead of usec, as well as:
52705         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52706         members of type struct timespec.
52707         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52708         New macros.
52709         (struct stat64): Likewise.
52710         (_STATBUF_ST_NSEC): New macro.
52711         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52713         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52714         __strtoul_internal rather than strtoul.
52716 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52718         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52719         and reject them.
52721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52723         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52724         which preserves existing values.
52725         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52727 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52729         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52730         TIMEOUT values.  Return EINVAL for NFDS values either negative or
52731         greater than FD_SETSIZE.
52733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52735         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52736         allocated, call __vm_protect to finish enabling the existing space, and
52737         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52738         allocate the remainder.
52740 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52742         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52743         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
52745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52747         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52748         sysdeps/mach/hurd/readlink.c.
52750         * posix/tst-sysconf.c (posix_options): Only use
52751         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52752         _POSIX_SYNCHRONIZED_IO when they are defined
52753         * sysdeps/mach/hurd/bits/posix_opt.h:
52754         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52755         (_XOPEN_REALTIME): Undefine macro.
52756         (_XOPEN_REALTIME_THREADS): Undefine macro.
52757         (_XOPEN_SHM): Undefine macro.
52758         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52759         macro to -1.
52760         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52761         macro to -1.
52762         (_POSIX_ASYNC_IO): Undefine macro.
52763         (_POSIX_PRIORITIZED_IO): Undefine macro.
52764         (_POSIX_SPIN_LOCKS): Define macro to -1.
52766         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52767         SA_NODEFER, SA_RESETHAND.
52768         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52769         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52770         F_DUPFD_CLOEXEC.
52772 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52774         * elf/Makefile (pldd-modules): Define unconditionally.
52776 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52778         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52780 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52782         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52783         Return ENOENT when name is empty.
52784         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52788         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52790         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52792 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52794         Fix mlock in all cases except non-readable pages.
52795         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52796         instead of VM_PROT_ALL as parameter to __vm_wire function.
52798         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52799         (__mkdir): When path is `/', just fail with EEXIST.
52800         * sysdeps/mach/hurd/mkdirat.c: Likewise.
52802 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52804         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52805         <sys/uio.h> (for writev).
52806         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52807         and <sys/param.h> (for MIN).
52809 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52811         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52812         REQUESTED_TIME.  Properly set the remaining time and return EINTR
52813         if interrupted.
52815 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52817         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52818         Depend on against $(link-rpcuserlibs).
52820 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52822         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52823         (__libc_stack_end): Do not use attribute_relro.
52824         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52825         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52826         to libthread-provided value.
52827         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52828         attribute_relro.
52830 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52832         [BZ #3748]
52833         * bits/libc-lock.h (__libc_once_get): New macro.
52834         * sysdeps/mach/bits/libc-lock.h: Likewise.
52835         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52836         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52837         instead of using implementation details.
52839         * libio/fileops.c: Unconditionally include <kernel-features.h>.
52840         * libio/freopen.c: Likewise.
52841         * libio/freopen64.c: Likewise.
52842         * misc/syslog.c: Likewise.
52843         * nscd/connections.c: Likewise.
52844         * nscd/netgroupcache.c: Likewise.
52845         * sysdeps/posix/getcwd.c: Likewise.
52847 2012-05-10  Roland McGrath  <roland@hack.frob.com>
52849         * math/w_ilogbf.c: Add #include <limits.h>.
52851 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52853         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52854         path instead of returning without unlocking.
52856         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52857         immediate-write ioctls.
52858         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52860 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52862         * sysdeps/mach/hurd/i386/init-first.c (init): Use
52863         __builtin_frame_address instead of making assumptions about the
52864         location of the return address relative to DATA.  Force early load of
52865         the return address.
52866         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52867         __builtin_frame_address.
52869         dup3 for GNU Hurd.
52870         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52871         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
52872         implement dup3 and do some further code clean-ups.
52873         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52874         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52876 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52878         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52880         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52881         HURD_CRITICAL_END around holding _hurd_dtable_lock.
52882         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52883         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52884         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52885         d->port.lock.
52887         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52888         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
52889         when handler == SIG_ERR, not when handler != SIG_ERR.
52891 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52893         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52894         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52895         definitions.
52897         accept4 for GNU Hurd.
52898         * include/sys/socket.h (__libc_accept4): New prototype.
52899         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
52900         to implement __libc_accept4.
52901         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52902         __libc_accept4.
52903         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52905         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52906         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52907         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52908         signal-defines.sym.
52910 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52912         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52914 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
52916         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52917         assertion on O_CLOEXEC flag.
52918         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52919         * hurd/intern-fd.c: Likewise.
52920         * hurd/port2fd.c: Likewise.
52922 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52924         [BZ #3906]
52925         * bits/in.h (IPV6_PKTINFO): Define new macro.
52926         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52928 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52930         [BZ #13954]
52931         [BZ #13955]
52932         [BZ #13956]
52933         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52934         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52935         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52936         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52937         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52938         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52939         * math/libm-test.inc (logb_test) : Additional logb tests.
52941 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
52942             Andreas Jaeger  <aj@suse.de>
52944         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52945         * configure: Regenerated.
52946         * config.h.in (LINK_OBSOLETE_RPC): New macro.
52947         * config.make.in (link-obsolete-rpc): New substituted variable.
52948         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52949         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52950         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52951         (shared-only-routines): Don't set it under [link-obsolete-rpc],
52952         so that libc.a contains the symbols.
52953         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52954         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52955         * sunrpc/auth_none.c: Likewise.
52956         * sunrpc/auth_unix.c: Likewise.
52957         * sunrpc/authdes_prot.c: Likewise.
52958         * sunrpc/authuxprot.c: Likewise.
52959         * sunrpc/clnt_gen.c: Likewise.
52960         * sunrpc/clnt_perr.c: Likewise.
52961         * sunrpc/clnt_raw.c: Likewise.
52962         * sunrpc/clnt_simp.c: Likewise.
52963         * sunrpc/clnt_tcp.c: Likewise.
52964         * sunrpc/clnt_udp.c: Likewise.
52965         * sunrpc/clnt_unix.c: Likewise.
52966         * sunrpc/des_crypt.c: Likewise.
52967         * sunrpc/des_soft.c: Likewise.
52968         * sunrpc/get_myaddr.c: Likewise.
52969         * sunrpc/key_call.c: Likewise.
52970         * sunrpc/key_prot.c: Likewise.
52971         * sunrpc/netname.c: Likewise.
52972         * sunrpc/pm_getmaps.c: Likewise.
52973         * sunrpc/pm_getport.c: Likewise.
52974         * sunrpc/pmap_clnt.c: Likewise.
52975         * sunrpc/pmap_prot.c: Likewise.
52976         * sunrpc/pmap_prot2.c: Likewise.
52977         * sunrpc/pmap_rmt.c: Likewise.
52978         * sunrpc/publickey.c: Likewise.
52979         * sunrpc/rpc_cmsg.c: Likewise.
52980         * sunrpc/rpc_common.c: Likewise.
52981         * sunrpc/rpc_dtable.c: Likewise.
52982         * sunrpc/rpc_prot.c: Likewise.
52983         * sunrpc/rpc_thread.c: Likewise.
52984         * sunrpc/rtime.c: Likewise.
52985         * sunrpc/svc.c: Likewise.
52986         * sunrpc/svc_auth.c: Likewise.
52987         * sunrpc/svc_raw.c: Likewise.
52988         * sunrpc/svc_run.c: Likewise.
52989         * sunrpc/svc_tcp.c: Likewise.
52990         * sunrpc/svc_udp.c: Likewise.
52991         * sunrpc/svc_unix.c: Likewise.
52992         * sunrpc/svcauth_des.c: Likewise.
52993         * sunrpc/xcrypt.c: Likewise.
52994         * sunrpc/xdr.c: Likewise.
52995         * sunrpc/xdr_array.c: Likewise.
52996         * sunrpc/xdr_float.c: Likewise.
52997         * sunrpc/xdr_intXX_t.c: Likewise.
52998         * sunrpc/xdr_mem.c: Likewise.
52999         * sunrpc/xdr_rec.c: Likewise.
53000         * sunrpc/xdr_ref.c: Likewise.
53001         * sunrpc/xdr_sizeof.c: Likewise.
53002         * sunrpc/xdr_stdio.c: Likewise.
53004 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53006         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
53007         change.  Update copyright years.
53009 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53011         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
53013 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
53014             Joseph Myers  <joseph@codesourcery.com>
53015             Paul Pluzhnikov  <ppluzhnikov@google.com>
53017         [BZ #14012]
53018         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
53019         requiring rpcgen.
53020         [cross-compiling] (extra-libs): Likewise.
53021         [cross-compiling] (extra-libs-others): Likewise.
53022         [cross-compiling] (librpcsvc-routines): Likewise.
53023         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53024         [cross-compiling] (omit-deps): Likewise.
53025         (sunrpc-CPPFLAGS): New variable.
53026         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53027         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53028         (cross-rpcgen-objs): New variable.
53029         (extra-objs): Append $(cross-rpcgen-objs).
53030         ($(cross-rpcgen-objs)): New rule.
53031         ($(objpfx)cross-rpcgen): Likewise.
53032         (rpcgen-cmd): Define to use $(built-program-file).  Expand
53033         comment.
53034         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53035         ($(objpfx)x%.stmp): Likewise.
53036         * sunrpc/proto.h [IS_IN_build] (_): Define.
53037         [IS_IN_build] (_libc_intl_domainname): Likewise.
53039 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53041         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53042         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53043         and R_X86_64_TPOFF64.
53045 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53047         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53048         sysdeps/unix/sysv/syscalls.list.
53049         (stime): Likewise.
53050         (utime): Likewise.
53051         * sysdeps/unix/sysv/syscalls.list: Remove file.
53053 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
53055         [BZ #3440]
53056         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53057         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53058         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53059         (__LC_IDENTIFICATION): Make these macros useful in #if
53060         expressions, as required by C99.
53062 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
53064         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53065         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
53066         after this.
53068 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
53070         * stdlib/longlong.h: Updated from GCC.
53072 2012-05-09  Andreas Jaeger  <aj@suse.de>
53074         * nscd/nscd.c (run_modes): Make named enum, reorder so that
53075         default is first entry.
53076         (run_mode): Set type.
53077         (main): Remove informal message about syslog.
53078         (options): Fix typo.
53080         [BZ #14053]
53081         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53082         to asm.
53083         (lrint): Likewise.
53084         (llrintf): Likewise.
53085         (llrint): Likewise.
53086         (rint): Likewise.
53087         (rintf): Likewise.
53088         (nearbyint): Likewise.
53089         (nearbyintf): Likewise.
53091 2012-05-09  Andreas Jaeger  <aj@suse.de>
53092             Pedro Alves  <palves@redhat.com>
53094         * nscd/nscd.c (run_mode): Use enum.
53095         (main): Cleanup coding style issue.
53097 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
53098             Andreas Jaeger  <aj@suse.de>
53100         * nscd/nscd.c (go_background): Replaced with...
53101         (run_mode): ... this.
53102         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53103         (options): Add -F --foreground.
53104         (main): Implement it.
53105         (parse_opt): Parse it.
53107 2012-05-09  Andreas Jaeger  <aj@suse.de>
53109         [BZ #14083]
53110         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53111         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53112         -Wconversion warning.
53113         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53114         Likewise.
53116 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
53118         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
53119         == 0.
53120         (LC_ALL): Use macro-int-constant.
53121         (LC_COLLATE): Likewise.
53122         (LC_CTYPE): Likewise.
53123         (LC_MESSAGES): Likewise.
53124         (LC_MONETARY): Likewise.
53125         (LC_NUMERIC): Likewise.
53126         (LC_TIME): Likewise.
53127         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53128         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53129         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53130         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53131         Specify type.
53132         [C99-based standards] (float_t): Expect type.
53133         [C99-based standards] (double_t): Expect type.
53134         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
53135         type.
53136         [C99-based standards] (HUGE_VALL): Likewise.
53137         [C99-based standards] (INFINITY): Likewise.
53138         [C99-based standards] (NAN): Likewise.
53139         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53140         [C99-based standards] (FP_NAN): Likewise.
53141         [C99-based standards] (FP_NORMAL): Likewise.
53142         [C99-based standards] (FP_SUBNORMAL): Likewise.
53143         [C99-based standards] (FP_ZERO): Likewise.
53144         [C99-based standards] (FP_FAST_FMA): Use
53145         optional-macro-int-constant.  Specify type.  Require == 1.
53146         [C99-based standards] (FP_FAST_FMAF): Likewise.
53147         [C99-based standards] (FP_FAST_FMAL): Likewise.
53148         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53149         [C99-based standards] (FP_ILOGBNAN): Likewise.
53150         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53151         Specify type.
53152         [C99-based standards] (MATH_ERREXCEPT): Likewise.
53153         [C99-based standards] (math_errhandling): Specify type.
53154         [ISO99 || ISO11] (signgam): Do not allow.
53155         [non-C99-based standards] (copysignf): Do not allow.
53156         [non-C99-based standards] (exp2f): Likewise.
53157         [non-C99-based standards] (log2f): Likewise.
53158         [non-C99-based standards] (modff): Allow.
53159         [non-C99-based standards] (erff): Do not allow.
53160         [non-C99-based standards] (erfcf): Likewise.
53161         [non-C99-based standards] (gammaf): Likewise.
53162         [non-C99-based standards] (hypotf): Likewise.
53163         [non-C99-based standards] (j0f): Likewise.
53164         [non-C99-based standards] (j1f): Likewise.
53165         [non-C99-based standards] (jnf): Likewise.
53166         [non-C99-based standards] (lgammaf): Likewise.
53167         [non-C99-based standards] (tgammaf): Likewise.
53168         [non-C99-based standards] (y0f): Likewise.
53169         [non-C99-based standards] (y1f): Likewise.
53170         [non-C99-based standards] (ynf): Likewise.
53171         [non-C99-based standards] (isnanf): Likewise.
53172         [non-C99-based standards] (acoshf): Likewise.
53173         [non-C99-based standards] (asinhf): Likewise.
53174         [non-C99-based standards] (atanhf): Likewise.
53175         [non-C99-based standards] (cbrtf): Likewise.
53176         [non-C99-based standards] (expm1f): Likewise.
53177         [non-C99-based standards] (ilogbf): Likewise.
53178         [non-C99-based standards] (log1pf): Likewise.
53179         [non-C99-based standards] (logbf): Likewise.
53180         [non-C99-based standards] (nextafterf): Likewise.
53181         [non-C99-based standards] (remainderf): Likewise.
53182         [non-C99-based standards] (rintf): Likewise.
53183         [non-C99-based standards] (scalbf): Likewise.
53184         [non-C99-based standards] (copysignl): Likewise.
53185         [non-C99-based standards] (exp2l): Likewise.
53186         [non-C99-based standards] (log2l): Likewise.
53187         [non-C99-based standards] (modfl): Allow.
53188         [non-C99-based standards] (erfl): Do not allow.
53189         [non-C99-based standards] (erfcl): Likewise.
53190         [non-C99-based standards] (gammal): Likewise.
53191         [non-C99-based standards] (hypotl): Likewise.
53192         [non-C99-based standards] (j0l): Likewise.
53193         [non-C99-based standards] (j1l): Likewise.
53194         [non-C99-based standards] (jnl): Likewise.
53195         [non-C99-based standards] (lgammal): Likewise.
53196         [non-C99-based standards] (tgammal): Likewise.
53197         [non-C99-based standards] (y0l): Likewise.
53198         [non-C99-based standards] (y1l): Likewise.
53199         [non-C99-based standards] (ynl): Likewise.
53200         [non-C99-based standards] (isnanl): Likewise.
53201         [non-C99-based standards] (acoshl): Likewise.
53202         [non-C99-based standards] (asinhl): Likewise.
53203         [non-C99-based standards] (atanhl): Likewise.
53204         [non-C99-based standards] (cbrtl): Likewise.
53205         [non-C99-based standards] (expm1l): Likewise.
53206         [non-C99-based standards] (ilogbl): Likewise.
53207         [non-C99-based standards] (log1pl): Likewise.
53208         [non-C99-based standards] (logbl): Likewise.
53209         [non-C99-based standards] (nextafterl): Likewise.
53210         [non-C99-based standards] (remainderl): Likewise.
53211         [non-C99-based standards] (rintl): Likewise.
53212         [non-C99-based standards] (scalbl): Likewise.
53213         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53214         [non-C99-based standards] (FP_*): Do not allow.
53215         [C99-based standards] (FP_*): Change to
53216         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53217         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53218         allow.
53219         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53220         (SIG_ERR): Likewise.
53221         [X/Open-based standards] (SIG_HOLD): Likewise.
53222         (SIG_IGN): Likewise.
53223         (SIGABRT): Use macro-int-constant.  Specify type.  Require
53224         positive value.
53225         (SIGFPE): Likewise.
53226         (SIGILL): Likewise.
53227         (SIGINT): Likewise.
53228         (SIGSEGV): Likewise.
53229         (SIGTER): Likewise.
53230         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53231         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53232         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53233         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53234         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53235         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53236         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53237         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53238         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53239         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53240         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53241         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53242         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53243         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53244         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53245         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53246         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53247         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53248         [X/Open-based standards] (SIGTRAP): Likewise.
53249         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53250         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53251         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53252         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53253         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53254         allow.
53256 2012-05-08  Ian Wienand  <ianw@vmware.com>
53258         [BZ #14080]
53259         * time/tzset.c (__tzset_parse_tz): Update default rules for
53260         daylight time changes in the Energy Policy Act of 2005.
53262 2012-05-09  Andreas Jaeger  <aj@suse.de>
53264         [BZ #13983]
53265         * elf/ldconfig.c (parse_conf): Change string to make clear that
53266         ldconfig only issued a warning if ld.so.conf does not exist.
53268 2012-05-08  David S. Miller  <davem@davemloft.net>
53270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53271         movxtod instead of popping the value on the stack.
53273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53275 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
53277         * config.h.in: Add HAVE_ARM_PCS_VFP.
53279 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
53281         [BZ #13979]
53282         * include/features.h: Warn if user requests __FORTIFY_SOURCE
53283         checking but the checks are disabled for any reason.
53285 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
53287         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53288         and ELF64_R_TYPE with ELFW(R_TYPE).
53290 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
53292         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53293         (ulimit): Likewise.
53295         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53296         (settimeofday): Likewise.
53298 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
53300         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
53301         a struct th_u2 inside the union, and move tu_block/tu_code into
53302         a new th_u3 union of tu_block/tu_code inside of that.  Move
53303         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
53304         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
53305         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53306         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53307         (th_stuff): Change to th_u1.tu_stuff.
53308         (th_data): Define.
53309         (th_msg): Change to th_u1.th_u2.tu_data.
53311 2012-05-07  David S. Miller  <davem@davemloft.net>
53313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53315         [BZ #14074]
53316         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53317         (SETUP_PIC_REG): Use it.
53318         (SETUP_PIC_REG_LEAF): Use it.
53320 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
53322         [BZ #13885]
53323         [BZ #13923]
53324         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53325         USE_AS_EXPM1L.
53326         (EXPL_FINITE): Likewise.
53327         (FLDLOG): Likewise.
53328         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53329         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53330         e_expl.S.
53331         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53332         USE_AS_EXPM1L.
53333         (EXPL_FINITE): Likewise.
53334         (FLDLOG): Likewise.
53335         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53336         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53337         e_expl.S.
53338         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
53339         test of -max_value argument for long double.
53340         * sysdeps/i386/fpu/libm-test-ulps: Update.
53341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53343 2012-05-06  David S. Miller  <davem@davemloft.net>
53345         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53346         quad soft-float symbols whose references which are compiler
53347         generated.
53348         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53350 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
53352         [BZ #13884]
53353         [BZ #13914]
53354         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53355         USE_AS_EXP10L.
53356         (EXPL_FINITE): Likewise.
53357         (FLDLOG): Likewise.
53358         (c0): Likewise.
53359         (c1): Likewise.
53360         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53361         Adjust comments for base varying.
53362         (__expl_finite): Change alias to EXPL_FINITE.
53363         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53364         e_expl.S.
53365         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53366         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53367         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53368         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53369         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53370         USE_AS_EXP10L.
53371         (EXPL_FINITE): Likewise.
53372         (FLDLOG): Likewise.
53373         (c0): Likewise.
53374         (c1): Likewise.
53375         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53376         Adjust comments for base varying.
53377         (__expl_finite): Change alias to EXPL_FINITE.
53378         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
53379         tests for bugs.
53380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53382         [BZ #14064]
53383         * math/libm-test.inc (check_float_internal): Correct ulp
53384         calculation for subnormal expected results.
53386 2012-05-06  Andreas Jaeger  <aj@suse.de>
53388         * Makeconfig (+math-flags): New, set to -frounding-math.
53389         (+cflags): Add +math-flags so that all of glibc gets compiled with
53390         it.
53392         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53394 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
53396         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53397         Disable one test.
53399         [BZ #13787]
53400         [BZ #13922]
53401         [BZ #14036]
53402         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53403         (__ieee754_expl): Allow for and saturate large arguments.
53404         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53405         (u_threshold): Likewise.
53406         (__exp): Call __ieee754_exp before checking for overflow and
53407         underflow.
53408         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53409         (u_threshold): Likewise.
53410         (__expf): Call __ieee754_expf before checking for overflow and
53411         underflow.
53412         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53413         (u_threshold): Likewise.
53414         (__expl): Call __ieee754_expl before checking for overflow and
53415         underflow.
53416         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53417         (__ieee754_expl): Allow for and saturate large arguments.
53418         * math/libm-test.inc (exp_test): Add another test.  Do not allow
53419         missing overflow exception on overflow.
53420         (expm1_test): Do not allow missing overflow exception on overflow.
53422         * sysdeps/i386/fpu/e_expl.c: Move to ...
53423         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
53424         rather than using inline asm.
53425         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53426         * sysdeps/x86_64/fpu/e_expl.S: Copy from
53427         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53429         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53430         (nice): Likewise.
53431         (poll): Likewise.
53432         (signal): Likewise.
53433         (time): Likewise.
53434         (times): Likewise.
53436 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53438         * sysdeps/unix/syscalls.list (adjtime): Add entry from
53439         sysdeps/unix/common/syscalls.list.
53440         (fchmod): Likewise.
53441         (fchown): Likewise.
53442         (ftruncate): Likewise.
53443         (getrusage): Likewise.
53444         (gettimeofday): Likewise.
53445         (setpgid): Likewise.
53446         (setregid): Likewise.
53447         (setreuid): Likewise.
53448         (sigaction): Likewise.
53449         (truncate): Likewise.
53450         (vhangup): Likewise.
53451         * sysdeps/unix/common/syscalls.list: Remove file.
53452         * sysdeps/unix/bsd/Implies: Don't include unix/common.
53453         * sysdeps/unix/sysv/linux/Implies: Likewise.
53455 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
53457         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53459         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53460         Moved to ...
53461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53462         Here.
53463         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53464         to ...
53465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53466         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53467         to ...
53468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53469         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53470         to ...
53471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53472         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53473         to ...
53474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53475         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53476         to ...
53477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53478         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53479         to ...
53480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53481         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53482         to ...
53483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53484         Here.
53485         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53486         to ...
53487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53488         Here.
53489         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53490         to ...
53491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53492         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53493         Moved to ...
53494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53495         Here.
53496         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53497         to ...
53498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53500 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53502         * sysdeps/unix/common/bits/dirent.h: Remove file.
53503         * sysdeps/unix/common/bits/fcntl.h: Likewise.
53505         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53506         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53507         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53508         * sysdeps/unix/bsd/isatty.c: Likewise.
53509         * sysdeps/unix/bsd/tcdrain.c: Likewise.
53510         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53511         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53513 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53515         [BZ #13563]
53516         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53517         long double comparison inaccuracies.
53518         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53521 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
53523         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53524         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53526 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53528         [BZ #14049]
53529         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53530         nonzero digits before rounding a hex value.
53531         * stdlib/tst-strtod.c (tests): Add another test.
53533 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53535         * sysdeps/s390/fpu/libm-test-ulps: Update.
53537 2012-05-03  Andreas Jaeger  <aj@suse.de>
53539         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53540         does not get optimized out.
53541         (malloc_opt_barrier): New.
53543 2012-05-03  Andreas Jaeger  <aj@suse.de>
53544             Roland McGrath  <roland@hack.frob.com>
53546         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53547         intermediate file deletion.
53548         (generated): Add .symlist files.
53550 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
53552         [BZ #13775]
53553         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53554         Redirect under this condition.
53555         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53556         [__USE_GNU] (__dprintf_chk): Not under this condition.
53557         [__USE_GNU] (__vdprintf_chk): Likewise.
53558         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53559         under this condition.
53560         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53561         [__USE_XOPEN2K8] (dprintf): Define under this condition.
53562         [__USE_XOPEN2K8] (vdprintf): Likewise.
53563         [__USE_GNU] (__dprintf_chk): Not under this condition.
53564         [__USE_GNU] (__vdprintf_chk): Likewise.
53565         [__USE_GNU] (dprintf): Likewise.
53566         [__USE_GNU] (vdprintf): Likewise.
53568 2012-05-03  Roland McGrath  <roland@hack.frob.com>
53570         * elf/Makefile (common-generated): Set this instead of generated for
53571         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
53572         $(all-built-dso)-derived lists.
53574 2012-05-03  Andreas Jaeger  <aj@suse.de>
53576         * sysdeps/i386/fpu/libm-test-ulps: Update.
53578         * FAQ: Removed.
53579         * FAQ.in: Likewise.
53580         * scripts/gen-FAQ.pl: Likewise.
53581         * manual/install.texi (Installation): Point to online location of
53582         FAQ.
53583         * Makefile (files-for-dist): Remove FAQ.
53584         (FAQ): Remove.
53586 2012-05-02  Allan McRae  <allan@archlinux.org>
53588         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53589         (LDFLAGS-reldepmod5.so): Likewise.
53590         (LDFLAGS-reldep6mod1.so): Likewise.
53591         (LDFLAGS-reldep6mod4.so): Likewise.
53592         (LDFLAGS-reldep8mod3.so): Likewise.
53593         (LDFLAGS-unload4mod1.so): Likewise.
53594         (LDFLAGS-unload4mod2.so): Likewise.
53595         (LDFLAGS-tst-initorder): Likewise.
53596         (LDFLAGS-tst-initordera2.so): Likewise.
53597         (LDFLAGS-tst-initordera3.so): Likewise.
53598         (LDFLAGS-tst-initordera4.so): Likewise.
53599         (LDFLAGS-tst-initorderb2.so): Likewise.
53600         (LDFLAGS-noload): Likewise.
53601         (LDFLAGS-next): Likewise.
53602         (LDFLAGS-order2mod1.so): Likewise.
53603         (LDFLAGS-order2mod2.so): Likewise.
53604         (LDFLAGS-tst-initorder2): Likewise.
53605         (LDFLAGS-tst-initorder2a.so): Likewise.
53606         (LDFLAGS-tst-initorder2b.so): Likewise.
53607         (LDFLAGS-tst-initorder2c.so): Likewise.
53608         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53610 2012-05-02  David S. Miller  <davem@davemloft.net>
53612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53614 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
53616         [BZ #14055]
53617         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53619 2012-05-02  Andreas Jaeger  <aj@suse.de>
53621         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53622         since we manipulate rounding mode.
53623         (CPPFLAGS-test-idouble.c): Likewise.
53624         (CPPFLAGS-test-ifloat.c): Likewise.
53625         (CFLAGS-test-ldouble.c): Likewise.
53626         (CFLAGS-test-double.c): Likewise.
53627         (CFLAGS-test-float.c): Likewise.
53628         (CFLAGS-test-misc.c): Likewise.
53629         (CFLAGS-test-test-fenv.c): Likewise.
53631 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53633         [BZ #2550]
53634         [BZ #2570]
53635         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53636         comparisons to determine direction to adjust input.
53638 2012-05-01  Roland McGrath  <roland@hack.frob.com>
53640         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53641         output to the target.
53643         * scripts/localplt.awk: New file.
53644         * elf/Makefile ($(objpfx)check-localplt): Target removed.
53645         (check-localplt-CFLAGS): Variable removed.
53646         ($(all-built-dso:=.jmprel)): New static pattern rule.
53647         (generated): Add those targets.
53648         (localplt-built-dso): New variable.
53649         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53651         * elf/check-localplt.c: File removed.
53653         * scripts/check-execstack.awk: New file.
53654         * elf/Makefile ($(objpfx)check-execstack): Target removed.
53655         (check-execstack-CFLAGS): Variable removed.
53656         ($(objpfx)check-execstack.h): Target removed.
53657         ($(objpfx)execstack-default): New target.
53658         (generated): Add that instead of check-execstack.h.
53659         ($(all-built-dso:=.phdr)): New static pattern rule.
53660         (generated): Add those targets.
53661         * elf/check-execstack.c: File removed.
53663         * scripts/check-textrel.awk: New file.
53664         * elf/Makefile ($(objpfx)check-textrel): Target removed.
53665         (check-textrel-CFLAGS): Variable removed.
53666         (all-built-dso): Use := to define.o
53667         ($(all-built-dso:=.dyn)): New static pattern rule.
53668         (generated): Add those targets.
53669         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53670         * config.make.in (READELF): New substituted variable.
53671         * elf/check-textrel.c: File removed.
53673 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
53675         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53676         allow.
53677         * conform/data/ctype.h-data [C99-based standards] (isblank):
53678         Expect function.
53679         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53680         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53681         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53682         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53683         Specify type.  Require positive value.
53684         (EILSEQ): Likewise.
53685         (ERANGE): Likewise.
53686         [ISO || POSIX] (EILSEQ): Do not expect.
53687         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53688         Specify type.  Require positive value.
53689         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53690         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53691         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53692         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53693         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53694         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53695         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53696         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53697         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53698         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53699         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53700         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53701         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53702         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53703         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53704         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53705         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53706         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53707         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53708         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53709         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53710         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53711         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53712         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53713         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53714         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53715         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53716         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53717         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53718         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53719         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53720         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53721         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53722         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53723         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53724         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53725         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53726         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53727         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53728         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53729         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53730         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53731         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53732         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53733         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53734         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53735         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53736         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53737         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53738         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53739         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53740         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53741         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53742         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53743         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53744         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53745         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53746         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53747         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53748         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53749         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53750         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53751         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53752         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53753         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53754         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53755         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53756         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53757         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53758         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53759         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53760         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53761         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53762         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53763         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53764         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53765         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53766         Require >= 2.
53767         (FLT_ROUNDS): Expect as macro, not constant.
53768         (FLT_MANT_DIG): Use macro-int-constant.
53769         (DBL_MANT_DIG): Likewise.
53770         (LDBL_MANT_DIG): Likewise.
53771         (FLT_DIG): Likewise.
53772         (DBL_DIG): Likewise.
53773         (LDBL_DIG): Likewise.
53774         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
53775         (DBL_MIN_EXP): Likewise.
53776         (LDBL_MIN_EXP): Likewise.
53777         (FLT_MAX_EXP): Use macro-int-constant.
53778         (DBL_MAX_EXP): Likewise.
53779         (LDBL_MAX_EXP): Likewise.
53780         (FLT_MAX_10_EXP): Likewise.
53781         (DBL_MAX_10_EXP): Likewise.
53782         (LDBL_MAX_10_EXP): Likewise.
53783         (FLT_MAX): Use macro-constant.
53784         (DBL_MAX): Likewise.
53785         (LDBL_MAX): Likewise.
53786         (FLT_EPSILON): Use macro-constant.  Give upper bound.
53787         (DBL_EPSILON): Likewise.
53788         (LDBL_EPSILON): Likewise.
53789         (FLT_MIN): Likewise.
53790         (DBL_MIN): Likewise.
53791         (LDBL_MIN): Likewise.
53792         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53793         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53794         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53795         [ISO11] (FLT_HAS_SUBNORM): Likewise.
53796         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53797         [ISO11] (DBL_DECIMAL_DIG): Likewise.
53798         [ISO11] (FLT_DECIMAL_DIG): Likewise.
53799         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53800         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53801         [ISO11] (FLT_TRUE_MIN): Likewise.
53802         [ISO11] (LDBL_TRUE_MIN): Likewise.
53803         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53804         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53805         (SCHAR_MIN): Use macro-int-constant.  Specify type.
53806         (SCHAR_MAX): Likewise.
53807         (UCHAR_MAX): Likewise.
53808         (CHAR_MIN): Likewise.
53809         (CHAR_MAX): Likewise.
53810         (MB_LEN_MAX): Use macro-int-constant.
53811         (SHRT_MIN): Use macro-int-constant.  Specify type.
53812         (SHRT_MAX): Likewise.
53813         (USHRT_MAX): Likewise.
53814         (INT_MAX): Likewise.
53815         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
53816         bound negative.
53817         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53818         bound with "U".
53819         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53820         bound with "L".
53821         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
53822         bound negative.  Suffix upper bound with "L".
53823         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
53824         bound with "UL".
53825         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53826         Specify type.
53827         [C99-based standards] (LLONG_MAX): Likewise.
53828         [C99-based standards] (ULLONG_MAX): Likewise.
53829         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
53830         == 0.
53831         [ISO11] (max_align_t): Require type.
53832         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53834         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53835         from $CFLAGS, without defining away __attribute__ calls.
53836         (checknamespace): Use $CFLAGS_namespace.
53838         * conform/conformtest.pl (@keywords): Only include C99 keywords
53839         for standards based on C99 or C11.
53841         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53842         Disable tests.
53843         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53844         UNIX98]: Likewise.
53846         * conform/conformtest.pl: Handle "macro-int-constant" and test for
53847         usability of symbols in #if.
53849         * conform/conformtest.pl: If macro or constant types start
53850         "promoted:", expect the symbol to be of the following type
53851         promoted by the integer promotions.
53853         * conform/conformtest.pl: Parse all "constant" and "macro" lines
53854         in one place.  Also handle "macro-constant".
53856         * conform/conformtest.pl: Only accept expected macro values with
53857         "==".  Parse all "macro" lines in one place.
53858         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53860         * conform/conformtest.pl: Handle braced types on "constant" lines
53861         instead of handling "typed-constant".
53862         * conform/data/signal.h-data: Use "constant" instead of
53863         "typed-constant".
53865         * conform/conformtest.pl: Handle "optional-" at start of lines in
53866         one place rather than duplicating several cases.  Handle each
53867         format of "macro" line with initial "optional-".
53869         * conform/conformtest.pl: Only accept expected constant or
53870         optional-constant values with "==".  Parse all "constant" lines in
53871         one place.  Parse all "optional-constant" lines in one place.
53872         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53873         * conform/data/fmtmsg.h-data: Likewise.
53874         * conform/data/netinet/in.h-data: Likewise.
53875         * conform/data/tar.h-data: Likewise.
53876         * conform/data/limits.h-data: Use "==" form on "constant" and
53877         "optional-constant" lines.
53879         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53880         Use -std=c99 for XOPEN2K.
53881         (@knownproblems): Remove.
53882         (newtoken): Don't check %isknown.
53884         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53885         Do not expect macro.
53886         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53887         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53888         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53889         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53890         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53891         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53892         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53893         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53894         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53895         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53896         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53897         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53898         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53899         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53900         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53901         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53902         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53903         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53904         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53905         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53906         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53907         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53908         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53909         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53910         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53911         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53912         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53913         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53914         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53915         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53916         [XPG3] (acosh): Likewise.
53917         [XPG3] (asinh): Likewise.
53918         [XPG3] (atanh): Likewise.
53919         [XPG3] (cbrt): Likewise.
53920         [XPG3] (expm1): Likewise.
53921         [XPG3] (ilogb): Likewise.
53922         [XPG3] (log1p): Likewise.
53923         [XPG3] (logb): Likewise.
53924         [XPG3] (nextafter): Likewise.
53925         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53926         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53927         [XPG3] (remainder): Likewise.
53928         [XPG3] (rint): Likewise.
53929         [XPG3 || XPG4 || UNIX98] (round): Likewise.
53930         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53931         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53932         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53933         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53934         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53935         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53936         [UNIX98 || XOPEN2K] (scalb): Expect.
53937         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53938         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53939         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53940         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53941         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53942         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53943         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53944         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53945         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53946         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53947         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53948         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53949         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53950         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53951         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53952         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53953         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53954         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53955         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53956         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53957         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53958         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53959         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53960         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53961         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53962         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53963         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53964         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53965         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53966         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53967         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53968         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53969         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53970         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53971         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53972         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53973         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53974         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53975         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53976         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53977         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53978         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53979         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53980         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53981         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53982         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53983         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53984         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53985         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53986         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53987         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53988         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53989         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53990         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53991         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53992         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53993         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53994         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53995         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53996         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53997         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53998         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53999         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
54000         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
54001         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
54002         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
54003         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
54004         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
54005         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
54006         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
54007         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
54008         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
54009         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
54010         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
54011         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
54012         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
54013         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
54014         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
54015         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
54016         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
54017         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
54018         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
54019         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
54020         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
54021         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
54022         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
54023         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54024         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54025         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54026         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54027         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54028         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54029         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54030         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54031         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54032         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54033         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54034         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54035         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54036         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54037         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54038         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54039         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54040         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54041         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54042         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54043         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54044         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54045         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54046         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54047         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54048         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54049         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54050         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54051         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54052         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54053         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54054         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54055         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54056         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54057         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54058         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54059         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54060         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54061         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54062         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54063         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54064         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54065         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54066         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54067         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54068         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54069         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54070         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54071         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54072         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54073         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54075         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54076         _XOPEN_SOURCE_EXTENDED for XPG4.
54078         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54080         * Makeconfig (localtime): Remove variable.
54081         (inst_localtime-file): Likewise.
54083 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54086         Update.
54087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54088         Update.
54089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54090         Update.
54091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54092         Update.
54093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54094         Update.
54095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54096         Update.
54097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54098         Update.
54099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54100         Update.
54101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54102         Update.
54104 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
54106         [BZ #2550]
54107         [BZ #2570]
54108         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54109         comparisons to determine direction to adjust input.
54110         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54111         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54112         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54113         Likewise.
54114         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54115         Likewise.
54116         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54117         Likewise.
54118         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54119         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54120         Likewise.
54121         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54122         Likewise.
54123         * math/libm-test.inc (nexttoward_test): Add more tests.
54125 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54127         [BZ #14040]
54128         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54129         in version GLIBC_2.1, not GLIBC_2.0.
54130         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54131         Likewise.
54133 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
54135         [BZ #13942]
54136         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54137         (1 - x) * (1 + x).
54138         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54139         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54140         * math/libm-test.inc (acos_test): Add more tests.
54141         (asin_test): Likewise.
54142         * sysdeps/i386/fpu/libm-test-ulps: Update.
54143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54145         [BZ #14034]
54146         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54147         of square root.
54148         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54149         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54150         * math/libm-test.inc (acos_test_tonearest): New function.
54151         (acos_test_towardzero): Likewise.
54152         (acos_test_downward): Likewise.
54153         (acos_test_upward): Likewise.
54154         (asin_test_tonearest): Likewise.
54155         (asin_test_towardzero): Likewise.
54156         (asin_test_downward): Likewise.
54157         (asin_test_upward): Likewise.
54158         (main): Call the new functions.
54159         * sysdeps/i386/fpu/libm-test-ulps: Update.
54160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54162         [BZ #13884]
54163         [BZ #13924]
54164         * math/e_exp10.c: Include <float.h>.
54165         (__ieee754_exp10): Handle underflow here rather than multiplying
54166         large negative argument by M_LN10.
54167         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54168         of __ieee754_expf.
54169         * math/e_exp10l.c: Include <float.h>.
54170         (__ieee754_exp10l): Handle underflow here rather than multiplying
54171         large negative argument by M_LN10l.
54172         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
54173         spurious overflow exception on underflow.
54175 2012-04-29  Marek Polacek  <polacek@redhat.com>
54177         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54178         (__fortify_function): New macro.
54179         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54180         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54181         __extern_always_inline.
54182         * libio/bits/stdio2.h: Likewise.
54183         * libio/bits/stdio.h: Likewise.
54184         * string/string.h: Likewise.
54185         * string/bits/string3.h: Likewise.
54186         * include/stdio.h: Likewise.
54187         * stdlib/bits/stdlib.h: Likewise.
54188         * stdlib/stdlib.h: Likewise.
54189         * rt/bits/mqueue2.h: Likewise.
54190         * rt/mqueue.h: Likewise.
54191         * posix/bits/unistd.h: Likewise.
54192         * posix/unistd.h: Likewise.
54193         * io/bits/poll2.h: Likewise.
54194         * io/bits/fcntl2.h: Likewise.
54195         * io/fcntl.h: Likewise.
54196         * io/sys/poll.h: Likewise.
54197         * misc/bits/syslog.h: Likewise.
54198         * misc/bits/syslog-ldbl.h: Likewise.
54199         * misc/sys/syslog.h: Likewise.
54200         * socket/bits/socket2.h: Likewise.
54201         * socket/sys/socket.h: Likewise.
54202         * debug/tst-chk1.c: Likewise.
54203         * wcsmbs/bits/wchar2.h: Likewise.
54204         * wcsmbs/bits/wchar-ldbl.h: Likewise.
54205         * wcsmbs/wchar.h: Likewise.
54207 2012-04-29  Andreas Jaeger  <aj@suse.de>
54209         * Makerules (tests): Remove enable-check-abi protection.
54210         (check-abi-warn): Remove.
54211         (check-abi-%): Remove check-abi-warn usage.
54213         * configure.in: Remove check-abi configure option.
54214         * configure: Regenerated.
54215         * config.make.in (enable-check-abi): Remove.
54217 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
54219         [BZ #14033]
54220         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54221         double functions to double *_finite functions.
54223         [BZ #13941]
54224         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54225         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54226         LDBL_MIN_EXP.
54227         * stdio-common/Makefile (tests): Add tst-sprintf3.
54228         * stdio-common/tst-sprintf3.c: New file.
54230         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54231         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54233 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54235         * conform/conformtest.pl: Remove duplicate typed-constant
54236         handling.
54238 2012-04-28  David S. Miller  <davem@davemloft.net>
54240         * Makerules (%.abilist): Add vpath on sysdep_dirs.
54241         (check-abi-%): Remove AWK script prerequisite and explicit
54242         abilist directory.
54243         (check-abi): Rewrite to just diff the symlist with the abilist.
54244         (config-tls, config-abi-config): Delete, no longer used.
54245         (update-abi-%): Remove AWK script and explicit abilist directory.
54246         (update-abi): Rewrite to simply compare and conditionally copy the
54247         symlist and the sysdep abilist file.  Remove update-abi-config
54248         checks.
54249         * abilist/ld.abilist: Remove.
54250         * abilist/libBrokenLocale.abilist: Remove.
54251         * abilist/libanl.abilist: Remove.
54252         * abilist/libcrypt.abilist: Remove.
54253         * abilist/libdl.abilist: Remove.
54254         * abilist/librt.abilist: Remove.
54255         * abilist/libthread_db.abilist: Remove.
54256         * abilist/libutil.abilist: Remove.
54257         * scripts/extract-abilist.awk: Remove.
54258         * scripts/merge-abilist.awk: Remove.
54259         * sysdeps/generic/libcidn.abilist: New file.
54260         * sysdeps/generic/libnss_compat.abilist: New file.
54261         * sysdeps/generic/libnss_db.abilist: New file.
54262         * sysdeps/generic/libnss_dns.abilist: New file.
54263         * sysdeps/generic/libnss_files.abilist: New file.
54264         * sysdeps/generic/libnss_hesiod.abilist: New file.
54265         * sysdeps/generic/libnss_nis.abilist: New file.
54266         * sysdeps/generic/libnss_nisplus.abilist: New file.
54267         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54268         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54269         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54270         file.
54271         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54272         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54273         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54274         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54275         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54276         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54277         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54278         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54279         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54280         file.
54281         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54282         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54283         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54284         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54285         file.
54286         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54287         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54288         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54289         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54290         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54291         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54292         file.
54293         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54294         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54295         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54296         file.
54297         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54298         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54299         New file.
54300         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54301         New file.
54302         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54303         New file.
54304         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54305         New file.
54306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54307         New file.
54308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54309         New file.
54310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54311         New file.
54312         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54313         New file.
54314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54315         New file.
54316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54317         New file.
54318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54319         New file.
54320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54321         New file.
54322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54323         New file.
54324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54325         file.
54326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54327         New file.
54328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54329         New file.
54330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54331         file.
54332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54333         New file.
54334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54335         New file.
54336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54337         file.
54338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54339         New file.
54340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54341         New file.
54342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54343         New file.
54344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54345         New file.
54346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54347         New file.
54348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54349         New file.
54350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54352         file.
54353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54354         New file.
54355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54356         file.
54357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54358         file.
54359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54360         file.
54361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54362         file.
54363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54364         file.
54365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54366         New file.
54367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54368         file.
54369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54370         file.
54371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54372         New file.
54373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54374         file.
54375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54377         file.
54378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54379         New file.
54380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54381         file.
54382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54383         file.
54384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54385         file.
54386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54387         file.
54388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54389         file.
54390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54391         New file.
54392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54393         file.
54394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54395         file.
54396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54397         New file.
54398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54399         file.
54400         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54401         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54402         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54403         file.
54404         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54405         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54406         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54407         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54408         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54409         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54410         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54411         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54412         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54413         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54416         file.
54417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54418         New file.
54419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54420         file.
54421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54422         file.
54423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54424         file.
54425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54426         file.
54427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54428         file.
54429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54430         New file.
54431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54432         New file.
54433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54434         file.
54435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54436         New file.
54437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54438         file.
54439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54441         file.
54442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54443         New file.
54444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54445         file.
54446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54447         file.
54448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54449         file.
54450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54451         file.
54452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54453         file.
54454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54455         New file.
54456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54457         New file.
54458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54459         file.
54460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54461         New file.
54462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54463         file.
54465 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54467         * conform/conformtest.pl: Fix typo in handling typed-constant from
54468         allow-header.
54470 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
54472         * README: Cut down references to pre-2.6 Linux kernels and
54473         Linuxthreads.  Update lists of configurations in libc and ports
54474         and sort alphabetically.  Say "or newer" with Linux kernel version
54475         requirements.
54477         * config.h.in [IS_IN_build]: Allow compiling without optimization.
54479 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54481         [BZ #887]
54482         * math/libm-test.inc (logb_test_downward): New test to expose
54483         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54484         rounding mode.
54486 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
54488         [BZ #14027]
54489         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54490         to be done.
54491         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54492         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54494 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
54496         * sysdeps/unix/i386/brk.S: Remove file.
54497         * sysdeps/unix/i386/dl-brk.S: Likewise.
54498         * sysdeps/unix/i386/pipe.S: Likewise.
54499         * sysdeps/unix/i386/sigreturn.S: Likewise.
54500         * sysdeps/unix/i386/syscall.S: Likewise.
54501         * sysdeps/unix/i386/vfork.S: Likewise.
54502         * sysdeps/unix/i386/wait.S: Likewise.
54504         * sysdeps/unix/common/tcsendbrk.c: Move to ...
54505         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54507         * configure.in (arm*-none*): Do not allow without
54508         --enable-hacker-mode.
54509         (netbsd*): Remove case setting base_os.
54510         (386bsd*): Likewise.
54511         (freebsd*): Likewise.
54512         (bsdi*): Likewise.
54513         (osf*): Likewise.
54514         (sunos*): Likewise.
54515         (ultrix*): Likewise.
54516         (newsos*): Likewise.
54517         (dynix*): Likewise.
54518         (*bsd*): Likewise.
54519         (sysv*): Likewise.
54520         (isc*): Likewise.
54521         (esix*): Likewise.
54522         (sco*): Likewise.
54523         (minix*): Likewise.
54524         (irix4*): Likewise.
54525         (irix6*): Likewise.
54526         (solaris[2-9]*): Likewise.
54527         (none): Likewise.
54528         * configure: Regenerated.
54530 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54532         [BZ #11521]
54533         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54534         overflow or cancellation in calculating denominator.
54535         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54536         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54537         down expression to avoid unexpected rounding in newer GCCs.
54538         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54540 2012-04-26  David S. Miller  <davem@davemloft.net>
54542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54543         long-double compat symbols.
54544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54558 2012-04-25  David S. Miller  <davem@davemloft.net>
54560         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54561         HWCAP_* values only after the memory barriers have been defined.
54562         (atomic_full_barrier): Define.
54563         (atomic_read_barrier): Define.
54564         (atomic_write_barrier): Define.
54566 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54568         * shlib-versions: Add libgcc_s version information.
54569         * sysdeps/generic/libgcc_s.h: Remove.
54570         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54571         libgcc_s.h.
54572         * sysdeps/gnu/unwind-resume.c: Likewise.
54573         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54575 2012-04-25  David S. Miller  <davem@davemloft.net>
54577         * sysdeps/unix/sparc/brk.S: Delete.
54578         * sysdeps/unix/sparc/dl-brk.S: Delete.
54579         * sysdeps/unix/sparc/pipe.S: Delete.
54580         * sysdeps/unix/sparc/sysdep.S: Delete.
54581         * sysdeps/unix/sparc/sysdep.h: Delete.
54582         * sysdeps/unix/sparc/vfork.S: Delete.
54583         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54584         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54585         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54586         (ret_ERRVAL, r0, r1, MOVE): Define.
54587         (JUMPTARGET): Remove.
54588         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54589         sysdeps/unix/sparc/sysdep.h
54590         (ENTRY, END): Remove.
54591         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54593 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
54595         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54596         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54597         -DIS_IN_build.
54599         * timezone/README: Update upstream location and email address for
54600         tzcode and tzdata.
54601         * timezone/zdump.c: Update from tzcode 2012b.
54602         * timezone/zic.c: Likewise.
54604         * configure.in (libc_cv_as_needed): Remove test.
54605         * configure: Regenerated.
54606         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54607         conditional definition.
54608         [$(have-as-needed) != yes] (no-as-needed): Likewise.
54609         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54610         * config.make.in (have-as-needed): Remove variable.
54612 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54613             Paul Pluzhnikov  <ppluzhnikov@google.com>
54615         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54616         strings correctly.
54618 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
54620         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54621         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54622         * sysdeps/sh/strlen.S: Likewise.
54624 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54626         * sysdeps/unix/fork.S: Remove file.
54627         * sysdeps/unix/i386/fork.S: Likewise.
54628         * sysdeps/unix/sparc/fork.S: Likewise.
54630         * sysdeps/unix/system.c: Remove file.
54631         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54633         * sysdeps/unix/getegid.S: Remove file.
54634         * sysdeps/unix/geteuid.S: Likewise.
54636 2012-04-24  Roland McGrath  <roland@hack.frob.com>
54638         * scripts/check-localplt.awk: New file.
54639         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54640         of diff.
54641         * scripts/data/localplt-generic.data: Add a comment.
54643         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54644         NODE when __dir_mkfile failed.
54645         * sysdeps/mach/hurd/symlinkat.c: Likewise.
54646         Reported by Ludovic Courtès <ludo@gnu.org>.
54648 2012-04-24  Andreas Jaeger  <aj@suse.de>
54650         * Makerules (common-clean): Also remove gen-as-const-headers
54651         files.
54653 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54655         * Makerules (native-compile): Do not change working directory for
54656         build.  Use $(OUTPUT_OPTION) in command.
54657         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54659 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54661         [BZ #13886]
54662         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54663         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54664         * math/libm-test.inc (floor_test): Add more tests.
54665         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54667 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
54669         * sysdeps/unix/getdents.c: Remove file.
54670         * sysdeps/unix/sysv/getdents.c: Likewise.
54671         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54673         * sysdeps/unix/syscalls.list (madvise): Add syscall from
54674         sysdeps/unix/mman/syscalls.list.
54675         (mmap): Likewise.
54676         (mprotect): Likewise.
54677         (msync): Likewise.
54678         (munmap): Likewise.
54679         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54680         * sysdeps/unix/mman/syscalls.list: Remove.
54681         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54683         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54684         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54685         * configure: Regenerated.
54686         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54687         $(libgcc_s_suffix).
54688         * config.make.in (libgcc_s_suffix): Remove variable.
54690 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
54692         * sysdeps/unix/sysv/gethostname.c: Move to ...
54693         * sysdeps/posix/gethostname.c: ... here.
54695         * sysdeps/unix/execve.S: Remove file.
54697         * sysdeps/unix/_exit.S: Remove file.
54699 2012-04-23  Andreas Jaeger  <aj@suse.de>
54701         [BZ #13739]
54702         * manual/Makefile: Remove make dist support, there's no
54703         need for a stand-alone documentation tar ball.
54704         (TEXI2DVI): Define always, it's not in Makeconfig.
54705         (dist): Removed.
54706         (tar-it): Removed.
54707         (edition): Removed.
54708         (glibc-doc-$(edition).tar): Removed
54709         (%.Z): Removed.
54710         (%.gz): Removed.
54711         (%.uu): Removed.
54712         (ETAGS): Remove, it's in Makeconfig.
54713         (move-if-change): Remove, it's in Makeconfig.
54715 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
54717         [BZ #13970]
54718         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54719         (strtod, strtof, strtold, strtol, strtoul, strtoq)
54720         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54721         (strtod_l, strtof_l, strtold_l): Remove __wur.
54722         It is not necessarily an error to ignore strtol's return value.
54723         One can reliably look at the stored endptr to decide whether
54724         the number had valid syntax.
54726 2012-04-21  Andreas Jaeger  <aj@suse.de>
54728         [BZ #13739]
54729         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54731 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
54733         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54734         * sysdeps/unix/sysv/Versions: Remove file.
54736 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
54738         [BZ #13927]
54739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54741 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
54743         [BZ #7064]
54744         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54745         version from __vm86.
54747 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
54749         * sysdeps/unix/common/lxstat.c: Remove file.
54750         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54752         * sysdeps/unix/sysv/Makefile: Remove file.
54754         * sysdeps/unix/sysv/direct.h: Remove file.
54756         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54757         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54758         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54759         * sysdeps/unix/sysv/bits/signum.h: Likewise.
54760         * sysdeps/unix/sysv/bits/stat.h: Likewise.
54761         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54762         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54764         * sysdeps/unix/sysv/setrlimit.c: Remove file.
54766         * sysdeps/unix/xmknod.c: Remove file.
54767         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54769         * sysdeps/unix/sysv/settimeofday.c: Remove file.
54771         * sysdeps/unix/sysv/i386/time.S: Remove file.
54773         * sysdeps/unix/fxstat.c: Remove file.
54774         * sysdeps/unix/xstat.c: Likewise.
54775         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54777         * sysdeps/unix/sysv/sigaction.c: Remove file.
54779         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54780         (sysdep_headers): Remove variable.
54781         [termio.h not in sysdep_headers] (generated): Likewise.
54782         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54783         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54784         * sysdeps/unix/sysv/tcdrain.c: Likewise.
54785         * sysdeps/unix/sysv/tcflow.c: Likewise.
54786         * sysdeps/unix/sysv/tcflush.c: Likewise.
54787         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54788         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54789         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54790         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54791         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54793         * sysdeps/unix/siglist.c: Remove file.
54795         * sysdeps/unix/getppid.S: Remove file.
54797         * sysdeps/unix/mkdir.c: Remove file.
54798         * sysdeps/unix/rmdir.c: Likewise.
54800 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
54802         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54803         ERR_MAX value.
54804         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54805         errlist-compat value.
54807 2012-04-18  David S. Miller  <davem@davemloft.net>
54809         * sysdeps/generic/memcopy.h (reg_char): Delete.
54810         * debug/strcat_chk.c: Use char, not reg_char.
54811         * debug/strcpy_chk.c: Likewise.
54812         * debug/strncat_chk.c: Likewise.
54813         * debug/strncpy_chk.c: Likewise.
54814         * string/memchr.c: Likewise.
54815         * string/memrchr.c: Likewise.
54816         * string/rawmemchr.c: Likewise.
54817         * string/strcat.c: Likewise.
54818         * string/strchr.c: Likewise.
54819         * string/strchrnul.c: Likewise.
54820         * string/strcmp.c: Likewise.
54821         * string/strcpy.c: Likewise.
54822         * string/strncat.c: Likewise.
54823         * string/strncmp.c: Likewise.
54824         * string/strncpy.c: Likewise.
54826 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54828         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54829         __builtin_memcopy is called when src and dest ranges are known to not
54830         overlap.
54832 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54834         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54835         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54836         fwd_align_merge macro call.
54837         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54838         bwd_align_merge macro call.
54839         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54841 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
54843         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54844         bwd_align_merge macros.
54845         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54846         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54847         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54849 2012-04-18  David S. Miller  <davem@davemloft.net>
54851         * sysdeps/sparc/sparc64/memcopy.h: Delete.
54853 2012-04-18  Andreas Jaeger  <aj@suse.de>
54855         [BZ# 6794]
54856         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54857         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54858         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54860         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54861         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54862         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54864         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54865         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54866         Adjust for changed ldbl-128 files.
54868         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54869         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54870         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54872 2012-04-17  David S. Miller  <davem@davemloft.net>
54874         * sysdeps/sparc/sparc32/memcopy.h: Delete.
54876 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
54878         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54879         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54880         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54881         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54882         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54883         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54885 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54887         [BZ #6794]
54888         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54889         * math/libm-test.inc: Add ilogb errno and exception tests.
54890         * math/w_ilogb.c: New file: ilogb wrapper.
54891         * math/w_ilogbf.c: New file: ilogbf wrapper.
54892         * math/w_ilogbl.c: New file: ilogbl wrapper.
54893         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54894         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54895         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54896         exception being thrown with 0.0 as argument.
54897         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54898         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54899         exception being thrown with 0.0 as argument.
54900         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54901         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54902         exception being thrown with 0.0 as argument.
54903         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54904         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54905         exception being thrown with 0.0 as argument.
54906         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54907         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54908         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54909         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54910         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54911         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54912         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54913         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54914         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54916 2012-04-17  Petr Baudis  <pasky@ucw.cz>
54918         * include/sys/uio.h: Change __vector to __iovec to avoid clash
54919         with altivec.
54921 2012-04-16  Marek Polacek  <polacek@redhat.com>
54923         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54925 2012-04-16  Marek Polacek  <polacek@redhat.com>
54927         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54928         operands of fdivp instruction.
54930 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
54932         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54933         * elf/tst-auditmod3b.c: Likewise.
54934         * elf/tst-auditmod4b.c: Likewise.
54935         * elf/tst-auditmod5b.c: Likewise.
54936         * elf/tst-auditmod6b.c: Likewise.
54937         * elf/tst-auditmod6c.c: Likewise.
54938         * elf/tst-auditmod7b.c: Likewise.
54939         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54940         * sysdeps/x86_64/preconfigure.in: Likewise.
54941         * sysdeps/x86_64/preconfigure: Regenerated.
54943 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
54945         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54946         __ILP32__.
54948 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
54950         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54951         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54953 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
54955         [BZ #13973]
54956         * locale/iso-639.def: Fix gl language name. Spotted by
54957         Yaron Shahrabani.
54959 2012-04-12  Roland McGrath  <roland@hack.frob.com>
54961         [BZ #2074]
54962         * libio/libio.h (__io_write_fn): Update comment.
54964 2012-04-12  Petr Baudis  <pasky@ucw.cz>
54966         [BZ #2074]
54967         * stdio.texi (Hook Functions): The user provided writer function
54968         is not allowed to return -1.
54970 2012-04-11  David S. Miller  <davem@davemloft.net>
54972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54974 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
54976         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54977         Add a leading slash to rtkaio.
54979 2012-04-11  Jim Meyering  <meyering@redhat.com>
54981         [BZ #11959]
54982         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54983         It is not necessarily an error to ignore fwrite's return
54984         value.  One can reliably use ferror to test for errors after
54985         the fact.
54987 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
54989         * bits/types.h (__snseconds_t): New type.
54990         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54992         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54993         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54994         (__SNSECONDS_T_TYPE): Likewise.
54995         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54996         (__SNSECONDS_T_TYPE): Likewise.
54997         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54998         (__SNSECONDS_T_TYPE): Likewise.
55000 2012-04-10  Andreas Jaeger  <aj@suse.de>
55002         [BZ #2636]
55003         * manual/time.texi (Processor Time): Return type of times is
55004         elapsed real time since an arbitrary point in the past.
55005         (CPU Time): Move CLK_TCK from here...
55006         (Processor Time): ...to here.  Correct description.
55007         * manual/conf.texi (Constants for Sysconf): Correct description of
55008         _SC_CLK_TCK.
55010 2012-04-10  David S. Miller  <davem@davemloft.net>
55012         [BZ #13967]
55013         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
55014         where the is a gap between DT_REL(A) and DT_JMPREL.
55016 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55018         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
55019         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55020         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55022 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55024         * elf/dl-support.c (_dl_inhibit_cache): New variable.
55025         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55026         (dl_main): Handle --inhibit-cache.
55027         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55028         _dl_inhibit_cache.
55029         * elf/dl-load.c (_dl_map_object): Use it.
55030         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55032 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55034         [BZ #13872]
55035         * sysdeps/i386/fpu/e_powl.S (p78): New object.
55036         (__ieee754_powl): Saturate large exponents rather than testing for
55037         overflow of y*log2(x).
55038         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55039         * math/libm-test.inc (pow_test): Do not permit spurious overflow
55040         exceptions.
55042         [BZ #11521]
55043         * math/s_ctan.c: Include <float.h>.
55044         (__ctan): Avoid internal overflow or cancellation in calculating
55045         denominator.
55046         * math/s_ctanf.c: Likewise.
55047         * math/s_ctanl.c: Likewise.
55048         * math/s_ctanh.c: Likewise.
55049         * math/s_ctanhf.c: Likewise.
55050         * math/s_ctanhl.c: Likewise.
55051         * math/libm-test.inc (ctan_test): Add more tests.
55052         (ctanh_test): Likewise.
55053         * sysdeps/i386/fpu/libm-test-ulps: Update.
55054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55056 2012-04-09  Andreas Jaeger  <aj@suse.de>
55058         [BZ #6894]
55059         * manual/filesys.texi (Directory Entries): Mention that d_namlen
55060         is an optional BSD extension.
55062         [BZ #10254]
55063         * manual/stdio.texi (Opening Streams): Document additional fopen
55064         parameters.
55066 2012-04-09  Roland McGrath  <roland@hack.frob.com>
55068         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55069         %eax without telling the compiler.
55071 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
55073         [BZ # 13963]
55074         * manual/install.texi: Use sourceware.org.
55076 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55078         [BZ #13873]
55079         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55080         (__ieee754_pow): Generate overflow and underflow using huge*huge
55081         and tiny*tiny rather than just returning constant infinity or zero
55082         for large exponents.
55083         * math/libm-test.inc (pow_test): Require overflow exceptions for
55084         applicable cases of large exponents.
55086         [BZ #706]
55087         * sysdeps/i386/fpu/e_pow.S (p10): New object.
55088         (__ieee754_pow): Use iterative multiplication algorithm only for
55089         integer exponents with absolute value below 1024.  Check for odd
55090         integer exponents when using algorithm for real exponents.
55091         * math/libm-test.inc (pow_test): Add more tests.
55092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55094 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
55096         [BZ #13705]
55097         * math/libm-test.inc (exp_test): Do not allow overflow exception
55098         on underflow test.
55100 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
55102         [BZ #13705]
55103         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55104         instead of __kernel_standard_f.
55106 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
55108         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55109         * sysdeps/x86_64/memset_chk.S: Likewise.
55111 2012-04-08  Andreas Jaeger  <aj@suse.de>
55113         [BZ #10153]
55114         * manual/startup.texi (Environment Access): Describe return value
55115         for putenv and setenv.
55117         [BZ #6895]
55118         * manual/filesys.texi (Directory Entries): Add description for
55119         DT_LNK.
55121         [BZ #6890]
55122         * manual/filesys.texi (Directory Entries): Clarify that it's file
55123         system not operating system in the description of DT_UNKNOWN.
55125         [BZ #6578]
55126         * manual/syslog.texi (closelog): Fix reference, it's openlog.
55128 2012-04-08  Stephen Compall  <s11@member.fsf.org>
55130         [BZ #6649]
55131         * manual/llio.texi (Opening and Closing Files): Add cross
55132         reference to explain mode argument.
55134 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
55136         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55137         * sysdeps/x86_64/memset_chk.S: Likewise.
55139 2012-04-07  David S. Miller  <davem@davemloft.net>
55141         * elf/elf.h (R_SPARC_WDISP10): Define.
55142         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55143         R_SPARC_SIZE32.
55144         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55145         R_SPARC_SIZE64 and R_SPARC_H34.
55147 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
55149         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55150         conditions and remove no longer applicable assertion.
55152 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55154         * bits/byteswap.h: Include <features.h>.
55155         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55156         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55158 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55160         * bits/byteswap.h (__bswap_16): Removed.
55161         Include <bits/byteswap-16.h> to get __bswap_16.
55162         * sysdeps/i386/bits/byteswap.h: Likewise.
55163         * sysdeps/s390/bits/byteswap.h: Likewise.
55164         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55165         * bits/byteswap-16.h: New file.
55166         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55167         * sysdeps/s390/bits/byteswap-16.h: Likewise.
55168         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55169         * string/Makefile (headers): Add bits/byteswap-16.h.
55171 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55173         [BZ #13895]
55174         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55175         extra indirection.
55176         * nss/Makefile (tests-static, tests): Add tst-nss-static.
55177         * nss/tst-nss-static.c: New.
55179 2012-04-06  Robert Millan  <rmh@gnu.org>
55181         [BZ #6486]
55182         * manual/llio.texi (File Position Primitive): lseek
55183         refers to WHENCE when it really means OFFSET.
55185 2012-04-06  Andreas Jaeger  <aj@suse.de>
55187         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55188         strncmp declarations.
55190         * abilist/libc.abilist: Add __poll and __ppoll.
55192 2012-04-05  David S. Miller  <davem@davemloft.net>
55194         * scripts/check-local-headers.sh: Accept a host triplet in the
55195         path matched by the exclude regexp.
55197         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55198         definition.
55199         * sysdeps/powerpc/powerpc32/dl-machine.h
55200         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55201         * sysdeps/s390/s390-32/dl-machine.h
55202         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55203         * sysdeps/sparc/sparc32/dl-machine.h
55204         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55205         * sysdeps/sparc/sparc64/dl-machine.h
55206         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55208         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55209         lazy binding.
55210         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55211         undefined symbol errors.
55213         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55214         DT_NEEDED entries.
55216 2012-04-05  Michael Matz  <matz@suse.de>
55218         [BZ #13592]
55219         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55221 2012-04-05  Andreas Jaeger  <aj@suse.de>
55223         [BZ #13908]
55224         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55225         comment.
55227 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55229         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55230         which ROUND is no valid rounding mode.
55232 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55234         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55235         read again.
55236         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55238 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55240         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55241         an exception using FPU order intentionally.
55243 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55245         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55246         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55247         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55248         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55250 2012-04-05  Simon Josefsson  <simon@josefsson.org>
55252         [BZ #12340]
55253         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55254         EINVAL when BUFLEN is too smal.
55256 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55258         [BZ #13553]
55259         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55260         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55262 2012-04-03  Andreas Jaeger  <aj@suse.de>
55264         [BZ #13938]
55265         * manual/setjmp.texi (System V contexts): Fix sentence.
55267         [BZ #13926]
55268         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55269         New macro for this case.
55270         [!__GNUC__] (__bswap_64): New inline function for this case.
55271         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55272         * bits/byteswap.h: Likewise.
55273         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55274         ull, guard with __GLIBC_HAVE_LONG_LONG.
55276         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55277         __GLIBC_HAVE_LONG_LONG.
55279         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55280         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55282 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55284         [BZ #13691]
55285         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55286         inptr and inend, rather than using last_ch.
55288 2012-04-02  David S. Miller  <davem@davemloft.net>
55290         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55291         * stdio-common/printf-parse.h (read_int): Change return type to
55292         'int', return -1 on INT_MAX overflow.
55293         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55294         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
55295         overflows INT_MAX.  Check for overflow of in-format-string precision
55296         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
55297         SIZE_MAX not INT_MAX for integer overflow test.
55298         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55299         skip the construct in the format string but do not record anything.
55300         * stdio-common/bug22.c: Adjust to test both width/prevision
55301         INT_MAX overflow as well as total length INT_MAX overflow.  Check
55302         explicitly for proper errno values.
55304 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55306         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55307         CHAR_MAX.
55308         * string/test-strcmp.c [! WIDE]: Likewise.
55309         * time/tst-mktime2.c: Likewise for INT_MAX.
55310         * string/test-string.h: #include <sys/param.h> for MIN.
55312         * csu/init-first.c (__libc_init_first): Call __ctype_init.
55313         * sysdeps/i386/init-first.c (init): Likewise.
55314         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55315         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55316         * sysdeps/sh/init-first.c (init): Likewise.
55318 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
55320         * po/ru.po: Update from translation team.
55321         * po/vi.po: Likewise.
55323 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55325         * resolv/nss_dns/dns-host.c: Merge copyright years.
55327 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55329         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55330         Optimize memcpy with prefetch if
55331         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
55332         src, dst pointers have unequal 16 byte alignments.
55334 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55336         [BZ #13928]
55337         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55338         from a CNAME entry and return the minimum ttl for the query.
55339         (gaih_getanswer_slice): Likewise.
55341 2012-03-30  Jeff Law  <law@redhat.com>
55343         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55344         due to long keys.
55345         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55346         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55348         * resolv/nss_dns/dns-host.c: Update copyright year.
55350 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
55352         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55353         requests to save a system call.  Fix check that all bytes are sent.
55355         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55356         comments for sendmmsg.
55358 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55360         [BZ #13691]
55361         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55362         with only 1 character between 0x0041 and 0x01b0.
55363         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55364         * wcsmbs/tst-mbsnrtowcs.c: New file.
55366 2012-03-29  David S. Miller  <davem@davemloft.net>
55368         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55369         small copies by hand.
55371 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55373         [BZ #13761]
55374         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55375         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55376         group memberships.
55378 2012-03-28  David S. Miller  <davem@davemloft.net>
55380         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55381         that branches into memcpy.
55382         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55383         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55384         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55385         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55386         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55387         bits.
55388         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55389         implementation too.
55390         * sysdeps/sparc/mempcpy.S: New file.
55392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55393         the IFUNC routine in the libc case.
55394         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55396         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55397         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55398         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55399         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55400         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55401         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55402         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55403         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55405         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55406         loop to 256 bytes instead of 64 bytes and fix test signedness.
55408         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55409         * sysdeps/sparc/sparc32/Makefile: rather than here...
55410         * sysdeps/sparc/sparc64/Makefile: and here.
55412 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
55414         * malloc/mallocbug.c: Avoid warnings about unused variables.
55416 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55418         [BZ #13760]
55419         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55420         in the right place. Discard and retry query if response is
55421         larger than input buffer size.
55423 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
55425         [BZ #369]
55426         [BZ #2678]
55427         [BZ #3866]
55428         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55429         x for large integer exponent.
55430         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55431         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
55432         sign of result as needed afterwards.
55433         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55434         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55435         result for underflowing pow the same as for overflow.
55436         (__kernel_standard_l): Handle powl overflow and underflow here
55437         rather than calling __kernel_standard.
55438         * math/libm-test.inc (pow_test): Add more tests.
55440         [BZ #3868]
55441         [BZ #13879]
55442         [BZ #13910]
55443         [BZ #13911]
55444         [BZ #13912]
55445         [BZ #13913]
55446         [BZ #13915]
55447         [BZ #13916]
55448         [BZ #13917]
55449         [BZ #13918]
55450         [BZ #13919]
55451         [BZ #13920]
55452         [BZ #13921]
55453         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55454         * sysdeps/ieee754/k_standard.c: Include <float.h>.
55455         (__kernel_standard_l): New function.
55456         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55457         __kernel_standard.
55458         * math/w_acosl.c (__acosl): Likewise.
55459         * math/w_asinl.c (__asinl): Likewise.
55460         * math/w_atan2l.c (__atan2l): Likewise.
55461         * math/w_atanhl.c (__atanhl): Likewise.
55462         * math/w_coshl.c (__coshl): Likewise.
55463         * math/w_exp10l.c (__exp10l): Likewise.
55464         * math/w_exp2l.c (__exp2l): Likewise.
55465         * math/w_fmodl.c (__fmodl): Likewise.
55466         * math/w_hypotl.c (__hypotl): Likewise.
55467         * math/w_j0l.c (__j0l, __y0l): Likewise.
55468         * math/w_j1l.c (__j1l, __y1l): Likewise.
55469         * math/w_jnl.c (__jnl, __ynl): Likewise.
55470         * math/w_lgammal.c (__lgammal): Likewise.
55471         * math/w_log10l.c (__log10l): Likewise.
55472         * math/w_log2l.c (__log2l): Likewise.
55473         * math/w_logl.c (__logl): Likewise.
55474         * math/w_powl.c (__powl): Likewise.
55475         * math/w_remainderl.c (__remainderl): Likewise.
55476         * math/w_scalbl.c (sysv_scalbl): Likewise.
55477         * math/w_sinhl.c (__sinhl): Likewise.
55478         * math/w_sqrtl.c (__sqrtl): Likewise.
55479         * math/w_tgammal.c (__tgammal): Likewise.
55480         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55481         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55482         * math/libm-test.inc (acos_test): Add more tests.
55483         (acosh_test): Likewise.
55484         (asin_test): Likewise.
55485         (atanh_test): Likewise.
55486         (exp_test): Likewise.
55487         (exp10_test): Likewise.
55488         (exp2_test): Likewise.
55489         (expm1_test): Likewise.
55490         (lgamma_test): Likewise.
55491         (log_test): Likewise.
55492         (log10_test): Likewise.
55493         (log1p_test): Likewise.
55494         (log2_test): Likewise.
55495         (pow_test): Do not allow some spurious overflow exceptions.
55496         (sqrt_test): Add more tests.
55497         (tgamma_test): Likewise.
55498         (y0_test): Likewise.
55499         (y1_test): Likewise.
55500         (yn_test): Likewise.
55502 2012-03-27  Anton Blanchard  <anton@samba.org>
55504         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55505         MAP_HUGETLB.
55506         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55507         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55508         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55510 2012-03-27  David S. Miller  <davem@davemloft.net>
55512         * conform/Makefile: Run run-conformtest.sh using $(BASH).
55514         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55515         have-as-vis3 check.
55517 2012-03-27  Andreas Jaeger  <aj@suse.de>
55519         * sysdeps/x86_64/elf/configure.in: Moved to ...
55520         * sysdeps/x86_64/configure.in: ... here.
55521         * sysdeps/x86_64/elf/start.S: Moved to ...
55522         * sysdeps/x86_64/start.S: ... here.
55523         * sysdeps/x86_64/elf/configure: Delete.
55525         * sysdeps/x86_64/configure.in: Merge contents from
55526         sysdeps/i386/configure.in (without i686 check).
55528         * sysdeps/i386/elf/Versions: Merge into ...
55529         * sysdeps/i386/Versions: ... this.
55530         * sysdeps/i386/elf/Versions: Delete file.
55531         * sysdeps/i386/elf/start.S: Moved to ...
55532         * sysdeps/i386/start.S: ...here.
55533         * sysdeps/i386/elf/configure.in: Merge into...
55534         * sysdeps/i386/configure.in: ...here.
55535         * sysdeps/i386/elf/configure.in: Delete file.
55536         * sysdeps/i386/elf/configure: Delete file.
55538         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55539         * debug/backtracesyms.c: ... here.
55540         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55541         * debug/backtracesymsfd.c: ... here.
55542         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55543         * sysdeps/generic/ifunc-sel.h: ... here.
55545         * sysdeps/unix/i386/start.c: Delete file.
55546         * sysdeps/unix/sparc/start.c: Delete file.
55547         * sysdeps/unix/start.c: Delete file.
55549         * sysdeps/sh/elf/configure.in: Moved to ...
55550         * sysdeps/sh/configure.in: ... here.
55551         * sysdeps/sh/elf/start.S: Moved to ...
55552         * sysdeps/sh/start.S: ... here.
55553         * sysdeps/sh/elf/configure: Delete file.
55555         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55556         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55557         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55558         * sysdeps/powerpc/powerpc64/entry.h: ... here.
55559         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55560         * sysdeps/powerpc/powerpc64/start.S: here.
55561         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55562         * sysdeps/powerpc/powerpc64/Makefile: ... this.
55563         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55564         * sysdeps/powerpc/powerpc64/configure.in: ... this.
55565         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55567         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55568         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55569         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55570         * sysdeps/powerpc/powerpc32/start.S: ... here.
55571         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55572         * sysdeps/powerpc/powerpc32/configure.in: ... this.
55573         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55575         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55576         * sysdeps/powerpc/ifunc-sel.h: ... here.
55577         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55578         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55580         * sysdeps/sparc/elf/configure.in: Moved to ...
55581         * sysdeps/sparc/configure.in: ... here.
55582         * sysdeps/sparc/elf/configure: Delete file.
55583         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55584         * sysdeps/sparc/sparc32/start.S: ... here.
55585         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55586         * sysdeps/sparc/sparc64/start.S: ... here.
55587         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55588         * sysdeps/sparc/sparc32/Makefile: ... this.
55589         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55590         * sysdeps/sparc/sparc64/Makefile: ... this.
55592         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55593         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55594         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55595         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55596         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55597         * sysdeps/s390/s390-32/setjmp.S: ... here.
55598         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55599         * sysdeps/s390/s390-32/configure.in: ... here.
55600         * sysdeps/s390/s390-32/elf/configure: Delete file.
55601         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55602         * sysdeps/s390/s390-32/start.S: ... here.
55604         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55605         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55606         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55607         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55608         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55609         * sysdeps/s390/s390-64/setjmp.S: ... here.
55610         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55611         * sysdeps/s390/s390-64/configure.in: ... here
55612         * sysdeps/s390/s390-64/elf/configure: Delete file.
55613         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55614         * sysdeps/s390/s390-64/start.S: ... here.
55615         * sysdeps/s390/s390-64/elf/configure: Delete.
55617         * configure.in: Remove support for elf directories in sysdeps.
55619         * configure: Regenerated.
55620         * sysdeps/i386/configure: Regenerated.
55621         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55622         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55623         * sysdeps/s390/s390-32/configure: Regenerated.
55624         * sysdeps/s390/s390-64/configure: Regenerated.
55625         * sysdeps/sh/configure: Regenerated.
55626         * sysdeps/sparc/configure: Regenerated.
55627         * sysdeps/x86_64/configure: Regenerated.
55629 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
55631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55633         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55634         denormal result into account.
55636 2012-03-25  Roland McGrath  <roland@hack.frob.com>
55638         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55639         Reported by Allan McRae <allan@archlinux.org>.
55641 2012-03-23  Jeff Law  <law@redhat.com>
55643         * nss/getnssent.c (__nss_getent): Fix typo.
55645 2012-03-23  David S. Miller  <davem@davemloft.net>
55647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55649 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
55651         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55652         to pad to uint64_t for each field.
55653         (dl_tls_index): Replace unsigned long with uint64_t.
55655 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
55656         Paul Pluzhnikov  <ppluzhnikov@google.com>
55658         [BZ #6528]
55659         * grp/Makefile (otherlibs): Don't set it.
55660         * inet/Makefile (otherlibs): Likewise.
55661         * login/Makefile (otherlibs): Likewise.
55662         * nscd/Makefile (otherlibs): Likewise.
55663         * posix/Makefile (otherlibs): Likewise.
55664         * pwd/Makefile (otherlibs): Likewise.
55665         * rt/Makefile (otherlibs): Likewise.
55666         * sunrpc/Makefile (otherlibs): Likewise.
55667         * nss/Makefile (otherlibs): Likewise.
55668         Add libnss_files to routines and static-only-routines.
55669         ($(objpfx)getent): Remove rule.
55670         * resolv/Makefile: Add libnss_dns and libresolv to routines and
55671         static-only-routines.
55673 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
55675         [BZ #13892]
55676         * math/s_cexp.c: Include <float.h>.
55677         (__cexp): Handle exp result overflowing not necessarily
55678         overflowing both real and imaginary parts of result.
55679         * math/s_cexpf.c: Likewise.
55680         * math/s_cexpl.c: Likewise.
55681         * math/libm-test.inc (cexp_test): Add more tests.
55682         * sysdeps/i386/fpu/libm-test-ulps: Update.
55683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55685 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55687         * include/link.h (ELFW): New macro.
55688         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55689         Replace ELF64_R_TYPE with ELFW(R_TYPE).
55691 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55693         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55694         with uint64_t.
55696 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55698         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55699         declaration.
55700         (struct La_x32_retval): Likewise.
55702 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
55704         * sysdeps/x86_64/preconfigure.in: New file.
55705         * sysdeps/x86_64/preconfigure: New generated file.
55707 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
55709         [BZ #13824]
55710         * math/e_exp2l.c: Include <float.h>.
55711         (__ieee754_exp2l): Handle overflow and underflow cases
55712         separately.  Only pass fractional part of argument to
55713         __ieee754_expl.
55714         * math/libm-test.inc (exp2_test): Add more tests.
55716         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55717         negating x to take absolute value.
55718         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55719         Likewise.
55720         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55721         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55722         Likewise.
55723         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55724         computing low part if x was negated.
55725         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55727 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55729         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55730         la_x32_gnu_pltexit.
55731         (pltexit): Cast int_retval to ptrdiff_t.
55732         * elf/tst-auditmod3b.c: Likewise.
55733         * elf/tst-auditmod4b.c: Likewise.
55734         * elf/tst-auditmod5b.c: Likewise.
55735         * elf/tst-auditmod6b.c: Likewise.
55736         * elf/tst-auditmod6c.c: Likewise.
55737         * elf/tst-auditmod7b.c: Likewise.
55739         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55740         and x32_gnu_pltexit.
55742         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55743         __ELF_NATIVE_CLASS.
55744         (La_x32_regs): New macro.
55745         (La_x32_retval): Likewise.
55746         (la_x32_gnu_pltenter): New function prototype.
55747         (la_x32_gnu_pltexit): Likewise.
55749 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
55751         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55752         exponent.
55754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55756         * configure.in (libc_cv_cc_nofma): Check for option to disable
55757         generation of FMA instructions.
55758         * configure: Regenerate.
55759         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55760         * sysdeps/ieee754/dbl-64/Makefile: New file.
55761         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55762         Remove brandred-fma4.
55763         (CFLAGS-brandred-fma4.c): Remove.
55764         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55765         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55766         define.
55767         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55768         define.
55770 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55772         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55773         LLONG_MAX != LONG_MAX.
55774         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55775         (_fitoa_word): Likewise.
55776         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55777         LLONG_MAX != LONG_MAX.
55778         * stdio-common/_itowa.h: Include <_itoa.h>.
55779         (_itowa_word): Use _ITOA_WORD_TYPE on value.
55780         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
55781         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
55782         only if not defined.
55783         (_ITOA_WORD_TYPE): Likewise.
55784         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55785         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55787 2012-03-21  David S. Miller  <davem@davemloft.net>
55789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55791 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
55793         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55794         of x86_64 when setting libc_cv_slibdir, libdir and
55795         libc_cv_localedir.
55796         * sysdeps/unix/sysv/linux/configure: Regenerated.
55798 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55800         * manual/lang.texi (Old Varargs): Remove section.
55801         (How Variadic): Update menu.
55802         (va_start): Do not mention varargs.h.
55804 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55805             Joseph Myers  <joseph@codesourcery.com>
55807         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55808         link test.
55809         * configure: Regenerated.
55811 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55813         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55814         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55815         conformtest.pl
55817 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55819         * NOTES: Remove.
55820         * Makefile (files-for-dist): Remove NOTES.
55821         (NOTES): Remove rule.
55822         * README: Don't refer to NOTES.
55823         * manual/creature.texi: Don't include macros.texi.
55824         * manual/intro.texi (creature.texi): Remove comment referring to
55825         NOTES.
55827         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55828         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55829         * configure: Regenerated.
55830         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55831         LIBC_TRY_CC_OPTION.
55832         (libc_cv_as_i686): Likewise.
55833         (libc_cv_cc_avx): Likewise.
55834         (libc_cv_cc_sse2avx): Likewise.
55835         (libc_cv_cc_fma4): Likewise.
55836         (libc_cv_cc_novzeroupper): Likewise.
55837         * sysdeps/i386/configure: Regenerated.
55839         [BZ #13883]
55840         * sysdeps/i386/fpu/s_cexp.S: Remove.
55841         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55842         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55843         * math/libm-test.inc (cexp_test): Add more tests.
55844         * sysdeps/i386/fpu/libm-test-ulps: Update.
55845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55847 2012-03-21  Allan McRae  <allan@archlinux.org>
55849         * timezone/Makefile: Do not install iso3166.tab and zone.tab
55851 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
55853         [BZ #13871]
55854         * math/w_exp2.c: Do not include <float.h>.
55855         (o_threshold, u_threshold): Remove.
55856         (__exp2): Calculate result before checking finiteness and calling
55857         __kernel_standard.
55858         * math/w_exp2f.c: Likewise.
55859         * math/w_exp2l.c: Likewise.
55860         * math/libm-test.inc (exp2_test): Require overflow exception for
55861         1e6 input.
55863         [BZ #3866]
55864         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55865         range of signed 64-bit integers before using fistpll.  Remove
55866         checks for whether integers fit in mantissa bits.
55867         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55868         the range of signed 32-bit integers before using fistpl.  Remove
55869         checks for whether integers fit in mantissa bits.
55870         * sysdeps/i386/fpu/e_powl.S (p64): New object.
55871         (__ieee754_powl): Test for y outside the range of signed 64-bit
55872         integers before using fistpll.  Reduce 64-bit values to 63-bit
55873         ones as needed.
55874         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55875         divide-by-zero is raised for zero to large negative powers.
55876         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55877         (__ieee754_powl): Test for y outside the range of signed 64-bit
55878         integers before using fistpll.  Reduce 64-bit values to 63-bit
55879         ones as needed.
55880         * math/libm-test.inc (pow_test): Add more tests.
55882 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55884         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55885         <stdio-common/_itoa.h>.
55886         * debug/segfault.c: Likewise.
55887         * elf/dl-cache.c: Likewise.
55888         * elf/dl-minimal.c: Likewise.
55889         * elf/dl-misc.c: Likewise.
55890         * elf/dl-sysdep.c: Likewise.
55891         * elf/dl-version.c: Likewise.
55892         * elf/rtld.c: Likewise.
55893         * hurd/hurdsock.c: Likewise.
55894         * hurd/lookup-retry.c: Likewise.
55895         * malloc/malloc.c: Likewise.
55896         * malloc/mtrace.c: Likewise.
55897         * nscd/nscd_getgr_r.c: Likewise.
55898         * nscd/nscd_getpw_r.c: Likewise.
55899         * nscd/nscd_getserv_r.c: Likewise.
55900         * posix/getopt_init.c: Likewise.
55901         * posix/wordexp.c: Likewise.
55902         * stdio-common/_itoa.c: Likewise.
55903         * stdio-common/printf_fphex.c: Likewise.
55904         * stdio-common/vfprintf.c: Likewise.
55905         * string/_strerror.c: Likewise.
55906         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55907         * sysdeps/i386/i686/hp-timing.h: Likewise.
55908         * sysdeps/mach/_strerror.c: Likewise.
55909         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55910         * sysdeps/mach/hurd/sethostid.c: Likewise.
55911         * sysdeps/mach/hurd/xmknodat.c: Likewise.
55912         * sysdeps/mach/xpg-strerror.c: Likewise.
55913         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55914         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55915         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55916         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55917         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55918         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55919         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55920         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55921         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55922         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55923         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55924         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55925         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55926         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55927         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55928         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55929         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55930         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55931         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55932         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55933         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55935         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55937         * stdio-common/_itoa.h: Moved to ...
55938         * sysdeps/generic/_itoa.h: Here.
55940         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55942         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55943         instead of "_itoa.h" and "_itowa.h".
55944         * stdio-common/vfprintf.: Likewise.
55946 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55948         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55949         <bits/wordsize.h>.
55950         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55951         (__signbit): Likwise.
55952         (llrintf): Likwise.
55953         (llrint): Likwise.
55955 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55957         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55958         __WORDSIZE != 64.
55960 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
55962         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55963         OVERFLOW_EXCEPTION_OK.
55964         * math/libm-test.inc ("Philosophy"): Update comment about
55965         exception testing.
55966         (OVERFLOW_EXCEPTION): Define.
55967         (OVERFLOW_EXCEPTION_OK): Likewise.
55968         (INVALID_EXCEPTION_OK): Renumber.
55969         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55970         (IGNORE_ZERO_INF_SIGN): Likewise.
55971         (test_exceptions): Handle FE_OVERFLOW.
55972         (exp10_test): Expect overflow exceptions.
55973         (exp2_test): Likewise.
55974         (expm1_test): Likewise.
55975         (nextafter_test): Likewise.
55976         (pow_test): Likewise.
55977         (scalbn_test): Likewise.
55978         (scalbln_test): Likewise.
55980 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55982         * sysdeps/x86_64/bits/atomic.h
55983         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55984         64bit integer.
55985         (atomic_exchange_acq): Likewise.
55986         (__arch_exchange_and_add_body): Likewise.
55987         (__arch_add_body): Likewise.
55988         (atomic_add_negative): Likewise.
55989         (atomic_add_zero): Likewise.
55991 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55993         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55994         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55996 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55998         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55999         Check __x86_64__ instead of __WORDSIZE.
56001 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56003         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
56005 2012-03-19  David S. Miller  <davem@davemloft.net>
56007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56009         * sysdeps/sparc/fpu/fenv_private.h: New file.
56010         * sysdeps/sparc/fpu/math_private.h: Use it.
56011         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
56012         Remove.
56013         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
56014         (libc_feholdexcept_setroundl): Remove.
56015         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
56016         Remove.
56017         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
56018         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
56020 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56022         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
56023         int64_t instead of long int.
56024         (INSERT_WORDS64): Likwise.
56026 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56028         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56029         _Unwind_GetCFA return to _Unwind_Ptr first.
56031 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
56033         [BZ #13629]
56034         * math/s_clog.c: Include <float.h>.
56035         (__clog): Scale large or subnormal inputs.
56036         * math/s_clogf.c: Likewise.
56037         * math/s_clogl.c: Likewise.
56038         * math/s_clog10.c: Include <float.h>.
56039         (M_LOG10_2): Define.
56040         (__clog10): Scale large or subnormal inputs.
56041         * math/s_clog10f.c: Likewise.
56042         * math/s_clog10l.c: Likewise.
56043         * math/libm-test.inc (clog_test): Add more tests.
56044         (clog10_test): Likewise.
56045         * sysdeps/i386/fpu/libm-test-ulps: Update.
56046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56048         [BZ #11451]
56049         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56050         x and y.
56051         * math/libm-test.inc (atan2_test): Add another test.
56053         * Makerules (common-objdir-compile): Remove.
56054         * sysdeps/unix/Makefile (config-generated): Do not add
56055         $(unix-generated) to variable.
56056         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56057         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56058         Remove rule.
56059         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56060         Likewise.
56061         [generic bits/local_lim.h] (before-compile): Do not append to
56062         variable.
56063         [generic bits/local_lim.h] (common-generated): Likewise.
56064         [generic sys/param.h] (before-compile): Do not append to variable.
56065         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56066         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56067         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56068         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56069         include.
56070         [generic sys/param.h] (sys/param.h-includes): Remove variable.
56071         [generic sys/param.h] (sys/param.h-includes): Remove rule.
56072         [generic sys/param.h] ($(addprefix
56073         $(common-objpfx),$(sys/param.h-includes))): Likewise.
56074         [generic sys/param.h] (common-generated): Do not append to
56075         variable.
56076         [generic sys/param.h] (sysdep_headers): Likewise.
56077         [generic bits/errno.h] (before-compile): Do not append to
56078         variable.
56079         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56080         rule.
56081         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56082         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56083         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56084         [generic bits/errno.h] (common-generated): Do not append to
56085         variable.
56086         [generic bits/ioctls.h] (before-compile): Do not append to
56087         variable.
56088         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56089         rule.
56090         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56091         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56092         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56093         rule.
56094         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56095         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56096         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56097         [generic bits/ioctls.h] (common-generated): Do not append to
56098         variable.
56099         [generic sys/syscall.h] (syscall.h): Remove variable.
56100         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56101         rule.
56102         [generic sys/syscall.h] (before-compile): Do not append to
56103         variable.
56104         [generic sys/syscall.h] (common-generated): Likewise.
56105         * sysdeps/unix/errnos-tmpl.c: Remove file.
56106         * sysdeps/unix/errnos.awk: Likewise.
56107         * sysdeps/unix/ioctls-tmpl.c: Likewise.
56108         * sysdeps/unix/ioctls.awk: Likewise.
56109         * sysdeps/unix/mk-local_lim.c: Likewise.
56110         * sysdeps/unix/snarf-ioctls: Likewise.
56112 2012-03-19  Richard Henderson  <rth@twiddle.net>
56114         * sysdeps/i386/fpu/fenv_private.h: New file.
56115         * sysdeps/i386/fpu/math_private.h: Use it.
56116         (math_opt_barrier, math_force_eval): Remove.
56117         (libc_feholdexcept_setround_53bit): Remove.
56118         (libc_feupdateenv_53bit): Remove.
56119         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56120         (math_opt_barrier, math_force_eval): Remove.
56121         (libc_feholdexcept): Remove.
56122         (libc_feholdexcept_setround): Remove.
56123         (libc_fetestexcept, libc_fesetenv): Remove.
56124         (libc_feupdateenv_test): Remove.
56125         (libc_feupdateenv, libc_feholdsetround): Remove.
56126         (libc_feresetround): Remove.
56128         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56129         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56131         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56132         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56133         (libc_feupdateenv_testl): New.
56134         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56135         (libc_feupdateenv_testf): New.
56136         (libc_feupdateenv): Use libc_feupdateenv_test.
56137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56138         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56140         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56141         (libc_feholdsetroundf, libc_feholdsetroundl): New.
56142         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56143         (libc_feresetround_noex): New.
56144         (libc_feresetround_noexf): New.
56145         (libc_feresetround_noexl): New.
56146         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56147         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56148         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56149         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56150         SET_RESTORE_ROUND.
56151         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56152         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56153         (__cos): Likewise.
56154         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56155         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56156         SET_RESTORE_ROUND_NOEX.
56157         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56158         SET_RESTORE_ROUND_NOEXF.
56159         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56160         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56161         (libc_feholdsetroundf): New.
56162         (libc_feresetround, libc_feresetroundf): New.
56164         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56165         (libc_feholdexcept_setround_53bit): Convert from macro to function.
56166         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
56168         * sysdeps/generic/math_private.h: Include <fenv.h>.
56169         (default_libc_feholdexcept): New.
56170         (default_libc_feholdexcept_setround): New.
56171         (default_libc_fesetenv, default_libc_feupdateenv): New.
56172         (libc_feholdexcept): Only define if undefined.
56173         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56174         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56175         (libc_feholdexcept_setroundl): Likewise.
56176         (libc_feholdexcept_setround_53bit): Likewise.
56177         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56178         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56179         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56180         (libc_feupdateenv_53bit): Likewise.
56181         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56182         (libc_feholdexcept): Convert from macro to inline function.
56183         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56184         (libc_fesetenv, libc_feupdateenv): Likewise.
56186         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56187         not previously defined.
56188         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56189         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56190         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56191         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56192         * sysdeps/ieee754/flt-32/math_private.h: New file.
56193         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56194         math_private.h below SET_FLOAT_WORD.
56195         (__isnan, __isinf_ns, __finite): Remove.
56196         (__isnanf, __isinf_nsf, __finitef): Remove.
56198 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
56200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56202 2012-03-17  David S. Miller  <davem@davemloft.net>
56204         [BZ #6471]
56205         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56206         for 2.16.
56208 2012-03-16  David S. Miller  <davem@davemloft.net>
56210         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56211         warnings.
56213         [BZ #6471]
56214         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56215         properly.
56216         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56217         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56218         sysdep_routines when subdir is sysvipc.
56219         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56220         __getshmlba helper.
56222         * sysdeps/sparc/fpu/libm-test/ulps: Update.
56224 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56226         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56227         [__LP64__].
56229 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56231         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56232         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56233         (__lround): Renamed to ...
56234         (__llround): This.  Replace long int with long long int.
56235         Define lround functions as aliases of llround functions.
56236         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56238 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56240         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56241         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
56242         adresses to uintptr_t.  Replace "long int" and "unsigned long
56243         int" with "greg_t" on va_arg.
56245 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56247         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56248         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56250         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56251         Move e_machine check before EI_CLASS check.  Handle x32
56252         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56253         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56254         SKIP_EM_IA_64 and include
56255         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56257         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56258         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56259         (add_system_dir): New macro.
56261         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56262         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56264 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56266         [BZ #2551]
56267         [BZ #2552]
56268         [BZ #2553]
56269         [BZ #2554]
56270         [BZ #2562]
56271         [BZ #2563]
56272         [BZ #2565]
56273         [BZ #2566]
56274         [BZ #2576]
56275         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56276         (y0): Likewise.
56277         * math/w_j0f.c (j0f): Likewise.
56278         (y0f): Likewise.
56279         * math/w_j0l.c (__j0l): Likewise.
56280         (__y0l): Likewise.
56281         * math/w_j1.c (j1): Likewise.
56282         (y1): Likewise.
56283         * math/w_j1f.c (j1f): Likewise.
56284         (y1f): Likewise.
56285         * math/w_j1l.c (__j1l): Likewise.
56286         (__y1l): Likewise.
56287         * math/w_jn.c (jn): Likewise.
56288         (yn): Likewise.
56289         * math/w_jnf.c (jnf): Likewise.
56290         (ynf): Likewise.
56291         * math/w_jnl.c (__jnl): Likewise.
56292         (__ynl): Likewise.
56293         * math/libm-test.inc (j0_test): Add more tests.
56294         (j1_test): Likewise.
56295         (jn_test): Likewise.  Add trailing semicolon to existing test.
56296         (y0_test): Likewise.
56297         (y1_test): Likewise.
56298         * sysdeps/i386/fpu/libm-test-ulps: Update.
56299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56301         [BZ #13851]
56302         [BZ #13854]
56303         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56304         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56305         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56306         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56307         (__tanl): Set errno for infinite argument.
56308         * sysdeps/i386/fpu/mptan.c: Remove.
56309         * sysdeps/i386/fpu/s_tan.S: Likewise.
56310         * sysdeps/i386/fpu/s_tanl.S: Likewise.
56311         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56312         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56313         * math/libm-test.inc (tan_test): Add more tests and enable more
56314         tests for double and long double.
56315         * sysdeps/i386/fpu/libm-test-ulps: Update.
56316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56318 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
56320         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56321         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56323 2012-03-16  Roland McGrath  <roland@hack.frob.com>
56325         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56326         * configure.in: Use it for both main tree and add-ons.
56327         * configure: Regenerated.
56329 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56331         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56333 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56335         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56336         in comment.
56338         [BZ #13851]
56339         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56340         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56341         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56342         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56343         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56344         infinite argument.
56345         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56346         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56347         != 0 for prec == 2.
56348         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56349         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56350         * sysdeps/i386/fpu/s_cosl.S: Likewise.
56351         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56352         * sysdeps/i386/fpu/s_sinl.S: Likewise.
56353         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56354         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56355         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56356         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56357         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56358         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56359         * math/libm-test.inc (cos_test): Add more tests and enable more
56360         tests for long double.
56361         (sin_test): Likewise.
56362         (sincos_test): Likewise.
56363         * sysdeps/i386/fpu/libm-test-ulps: Update.
56364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56366 2012-03-16  David S. Miller  <davem@davemloft.net>
56368         * sysdeps/sparc/fpu/math_private.h: New file.
56370 2012-03-15  David S. Miller  <davem@davemloft.net>
56372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56373         file.
56374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56376         file.
56377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56382         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56383         sysdep routines.
56384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56386         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56387         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56389         * sysdeps/sparc/sparc-ifunc.h: New file.
56390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56391         sparc-ifunc.h
56392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56394         Likewise.
56395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56396         Likewise.
56397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56401         Likewise.
56402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56407         Likewise.
56408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56409         Likewise.
56410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56415         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56416         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56417         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56418         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56428         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56429         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56430         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56431         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56432         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56433         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56435 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56437         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56438         scaling.
56439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56441 2012-03-15  Andreas Jaeger  <aj@suse.de>
56443         [BZ #13852]
56444         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56445         ieee754/flt-32 implementation for sin, cos and sincos.
56446         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56447         * sysdeps/i386/fpu/s_cosf.S: Likewise.
56448         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56449         * sysdeps/i386/fpu/s_sinf.S: Likewise.
56450         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56451         ieee754/flt-32 implementation for tan.
56453         * math/libm-test.inc (cos_test): Enable some large input tests for
56454         float as well
56455         (sin_test): Likewise.
56456         (sincos_test): Likewise.
56457         (tan_test): Add tests for large input.
56459         * sysdeps/i386/fpu/libm-test-ulps: Update.
56461 2012-03-15  Andreas Jaeger  <aj@suse.de>
56463         [BZ #13658]
56464         * math/libm-test.inc (cos_test): Add more test cases.
56465         (sin_test): Likewise.
56466         (sincos_test): Likewise.
56468 2012-03-15  Andreas Jaeger  <aj@suse.de>
56470         [BZ #13837]
56471         * math/libm-test.inc (cos_test): Add a test case for large input
56472         value.
56473         (sin_test): Likewise.
56474         (sincos_test): Likewise.
56476 2012-03-15  Andreas Jaeger  <aj@suse.de>
56477             Joseph Myers  <joseph@codesourcery.com>
56479         [BZ #13658]
56480         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56481         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56482         * sysdeps/i386/fpu/branred.c: Likewise.
56483         * sysdeps/i386/fpu/dosincos.c: Likewise.
56484         * sysdeps/i386/fpu/mpa.c: Likewise.
56485         * sysdeps/i386/fpu/s_cos.S: Likewise.
56486         * sysdeps/i386/fpu/s_sin.S: Likewise.
56487         * sysdeps/i386/fpu/s_sincos.S: Likewise.
56488         * sysdeps/i386/fpu/sincos32.c: Likewise.
56490         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56491         Define.
56492         (libc_feupdateenv_53bit): Define.
56493         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56494         Define.
56495         (libc_feupdateenv_53bit): Define.
56497         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56498         53 bit (without extend i386 double precision).
56500         * math/libm-test.inc (sincos_test): Add tests for large input.
56501         (sin): Likewise.
56502         (cos): Likewise.
56504         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56506 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56510 2012-03-15  David S. Miller  <davem@davemloft.net>
56512         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56513         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56514         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56515         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56520         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56521         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56528         file.
56529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56531         file.
56532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56534         file.
56535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56537         file.
56538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56539         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56540         fmin/fmax sysdep routines.
56541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56543 2012-03-14  David S. Miller  <davem@davemloft.net>
56545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56548         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56549         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56550         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56551         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56552         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56566         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56567         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56568         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56569         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56570         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56571         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56572         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56573         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56574         routines.
56575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56576         file.
56577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56579         file.
56580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56582         file.
56583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56585         file.
56586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56588         file.
56589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56591         file.
56592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56593         file.
56594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56595         file.
56596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56597         file.
56598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56599         New file.
56600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56601         file.
56602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56603         file.
56604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56606         file.
56607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56609         file.
56610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56612         file.
56613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56615         VIS3 routines.
56617         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56618         New file.
56620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56622         * sysdeps/sparc/configure.in: New file.
56623         * sysdeps/sparc/configure: Generate.
56624         * configure.in (libc_cv_sparc_as_vis3): Substitute.
56625         * configure: Regenerate.
56626         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56627         * config.make.in (have-as-vis3): New.
56628         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56629         available use -Av9d instead of -Av9a.
56630         * sysdeps/sparc/sparc64/Makefile: Likewise.
56631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56633         New file.
56634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56635         file.
56636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56637         New file.
56638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56639         file.
56640         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56641         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56642         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56643         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56644         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56646         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56647         fzeros/fnegs to load 0x80000000 into a float register instead of
56648         using the stack.
56649         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56651 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
56653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56654         bits/syscall.h.
56655         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56656         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56657         ($(inst_includedir)/bits/syscall.h): Remove rule.
56658         ($(objpfx)bits/syscall.d): Include instead of
56659         $(objpfx)syscall-list.d.
56660         (generated): Change syscall-list.h and syscall-list.d to
56661         bits/syscall.h and bits/syscall.d.
56663 2012-03-14  Roland McGrath  <roland@hack.frob.com>
56665         [BZ #13846]
56666         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56668 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
56670         [BZ #13841]
56671         * math/s_csqrt.c: Include <float.h>.
56672         (__csqrt): Scale large or subnormal inputs.
56673         * math/s_csqrtf.c: Likewise.
56674         * math/s_csqrtl.c: Likewise.
56675         * math/libm-test.inc (csqrt_test): Add more tests.
56676         * sysdeps/i386/fpu/libm-test-ulps: Update.
56677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56679         [BZ #13840]
56680         * math/libm-test.inc (hypot_test): Add more tests.
56682 2012-03-13  David S. Miller  <davem@davemloft.net>
56684         [BZ #13840]
56685         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56686         double-precision for the calculation instead of scaling.
56688 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
56690         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56691         manipulate bits before adding and subtracting TWO52[sx].
56692         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56693         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56694         Likewise.
56695         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56697 2012-03-13  David S. Miller  <davem@davemloft.net>
56699         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56700         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56701         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56702         rtld-global-offsets.h
56703         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56705         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56706         large parameters.
56708         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56710         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56711         'err' in the ifdef scope in which it is actually used.
56713         * nss/nss_db/db-init.c: Include string.h
56715 2012-03-12  David S. Miller  <davem@davemloft.net>
56717         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56718         masking out of the most significant byte of random value used.
56719         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56720         Fix coding style in previous change.
56722         * sysdeps/unix/sysv/linux/kernel-features.h
56723         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56724         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56725         expression.
56726         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56727         later.
56729 2012-03-11  David S. Miller  <davem@davemloft.net>
56731         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56732         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56733         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56734         for 'resultvar' otherwise things get truncated on 64-bit.
56736         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56737         Fix masking out of the most significant byte of random value used.
56739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56741 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
56743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56745 2012-03-09  David S. Miller  <davem@davemloft.net>
56747         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56748         variables with appropriate CPP guards.
56749         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56750         from the frame pointer, not the stack pointer.  Correct layout
56751         comments.  Fix test on resulting framesize and the management of
56752         the outregs buffer for pltexit.  Preserve floating point return
56753         values across _dl_call_pltexit call.
56754         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56755         framesize and the management of the outregs buffer for pltexit.
56756         Preserve floating point return values across _dl_call_pltexit
56757         call.
56758         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56759         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56760         (la_sparc64_gnu_pltexit): New functions.
56761         (print_exit): Fix format string for return register value.
56763 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
56765         * sunrpc/Makefile (others): Add rpcgen.
56766         ($(objpfx)rpcgen): Remove special build rule and dependency on
56767         libc.
56768         * sunrpc/rpcgen.c: New file.
56770 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
56772         [BZ #13673]
56773         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56774         * stdio-common/bug-vfprintf-nargs.c: Likewise.
56775         * sysdeps/i386/crti.S: Likewise.
56776         * sysdeps/i386/crtn.S: Likewise.
56777         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56778         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56779         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56780         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56781         * sysdeps/sh/crti.S: Likewise.
56782         * sysdeps/sh/crtn.S: Likewise.
56783         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56785         [BZ #13673]
56786         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56787         with URL.
56788         * locale/programs/locfile-kw.gperf: Likewise.
56789         * locale/programs/charmap-kw.h: Regenerated.
56790         * locale/programs/locfile-kw.h: Likewise.
56792         [BZ #13673]
56793         * intl/plural.y: Replace FSF snail mail address with URL.
56794         * intl/plural.c: Regenerated.
56796 2012-03-09  Richard Henderson  <rth@twiddle.net>
56798         * include/math_private.h: Remove file.
56799         * math/math_private.h: Move file ...
56800         * sysdeps/generic/math_private.h: ... here.
56802         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56803         * sysdeps/powerpc/fpu/math_private.h: Likewise.
56804         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56806         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56807         and <math_private.h>.
56808         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56809         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56810         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56811         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56812         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56813         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56814         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56816         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56817         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56819         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56820         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56821         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56822         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56823         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56824         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56825         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56826         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56827         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56829         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56830         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56832         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56833         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56834         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56835         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56836         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56837         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56838         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56839         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56840         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56841         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56842         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56843         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56844         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56845         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56846         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56847         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56848         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56849         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56850         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56851         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56852         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56853         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56854         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56855         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56856         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56857         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56858         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56859         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56860         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56861         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56862         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56863         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56864         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56865         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56866         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56867         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56868         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56869         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56870         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56871         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56872         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56873         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56874         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56875         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56876         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56877         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56878         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56879         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56880         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56881         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56882         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56883         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56884         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56885         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56886         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56887         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56888         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56889         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56890         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56891         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56892         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56893         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56894         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56895         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56896         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56897         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56898         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56899         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56900         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56901         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56902         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56903         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56904         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56905         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56906         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56907         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56908         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56909         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56910         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56911         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56912         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56913         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56914         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56915         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56916         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56917         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56918         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56919         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56920         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56921         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56922         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56923         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56924         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56925         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56926         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56927         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56928         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56929         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56930         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56931         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56932         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56933         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56934         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56935         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56936         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56937         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56938         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56939         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56940         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56941         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56942         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56943         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56944         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56945         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56946         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56947         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56948         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56949         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56950         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56951         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56952         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56953         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56954         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56955         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56956         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56957         * sysdeps/ieee754/k_standard.c: Likewise.
56958         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56959         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56960         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56961         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56962         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56963         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56964         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56965         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56966         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56967         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56968         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56969         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56970         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56971         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56972         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56973         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56974         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56975         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56976         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56977         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56978         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56979         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56980         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56981         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56982         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56983         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56984         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56985         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56986         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56987         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56988         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56989         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56990         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56991         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56992         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56993         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56994         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56995         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56996         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56997         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56998         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56999         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57000         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57001         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57002         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57003         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57004         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57005         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57006         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57008         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57009         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57010         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57011         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
57012         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57013         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57014         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
57015         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
57016         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57017         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57018         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57019         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57020         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57021         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57022         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57023         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57024         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57025         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57026         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57027         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57028         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57029         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57030         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57031         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57032         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57033         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57034         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57035         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57036         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57037         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57038         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57039         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57040         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57041         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57042         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57043         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57044         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57045         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57046         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57047         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57048         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57049         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57050         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57051         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57052         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57053         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57054         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57055         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57056         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57057         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57058         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57059         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57060         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57061         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57062         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57063         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57064         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57065         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57066         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57067         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57068         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57069         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57070         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57071         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57072         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57073         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57074         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57075         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57076         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57077         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57078         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57079         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57080         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57081         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57082         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57083         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57084         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57085         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57086         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57087         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57088         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57089         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57090         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57091         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57092         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57093         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57094         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57095         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57096         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57097         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57098         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57099         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57100         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57101         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57102         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57103         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57104         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57105         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57106         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57107         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57108         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57109         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57110         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57111         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57112         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57113         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57114         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57115         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57116         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57117         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57118         * sysdeps/ieee754/s_lib_version.c: Likewise.
57119         * sysdeps/ieee754/s_matherr.c: Likewise.
57120         * sysdeps/ieee754/s_signgam.c: Likewise.
57121         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57122         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57123         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57124         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57125         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57126         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57127         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57128         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57129         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57130         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57131         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57132         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57133         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57134         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57135         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57136         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57137         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57138         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57139         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57140         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57141         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57143 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57145         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57146         * sunrpc/rpc_main.c: Likewise.
57147         * sunrpc/rpc_svcout.c: Likewise.
57149 2012-03-09  David S. Miller  <davem@davemloft.net>
57151         * include/math_private.h: New file.
57153 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57155         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57156         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57157         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57158         from <bits/socket_type.h>.
57159         (enum __socket_type): Don't define here.
57160         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57162         bits/socket_type.h.
57164         [BZ #13566]
57165         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57166         checking __USE_GNU.
57168         * Makerules ($(inst_includedir)/%.h): New rule.
57169         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57170         (install-others): Remove variable setting.
57171         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57173 2012-03-08  Richard Henderson  <rth@twiddle.net>
57175         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57176         from macro to inline function; merge with the
57177         !__LIBC_INTERNAL_MATH_INLINES version.
57178         (__ieee754_sqrtf): Likewise.
57180         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57181         to inline function.
57182         (__rintf, __floor, __floorf): Likewise.
57184         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57185         macro to inline function.
57186         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57188         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57189         not <math/math_private.h>.
57191 2012-03-08  David S. Miller  <davem@davemloft.net>
57193         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57194         copyright year.
57195         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57197 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
57199         * resolv/gai_misc.c (handle_requests): Fix struct timespec
57200         normalization.
57201         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57202         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57204 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
57206         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
57207         be defined individually, they must be defined as a block.  Define
57208         S for printing a string instead of hidint the different by using a
57209         macro for adding the 'l'.
57210         * stdio-common/tst-fphex-wide.c: Adjust.
57212 2012-03-07  Marek Polacek  <polacek@redhat.com>
57214         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57216 2012-03-08  Marek Polacek  <polacek@redhat.com>
57218         [BZ #13806]
57219         * stdio-common/Makefile (tests): Add tst-fphex-wide.
57220         * stdio-common/tst-fphex.c: Define a few macros to make the
57221         test reusable.  Use them.
57222         * stdio-common/tst-fphex-wide.c: New file.
57224 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
57226         [BZ #6911]
57227         * manual/macros.texi (gnusystems): New macro.
57228         (nongnusystems): Likewise.
57229         (gnulinuxhurdsystems): Likewise.
57230         (gnuhurdsystems): Likewise..
57231         (gnulinuxsystems): Likewise.
57232         * manual/charset.texi: Use new macros or @theglibc{} to refer to
57233         variants of the GNU system, not "GNU system".
57234         * manual/conf.texi: Likewise.
57235         * manual/errno.texi: Likewise.  Update example of errno macro
57236         expansion.
57237         * manual/filesys.texi: Likewise.
57238         (getumask): Document as specific to GNU/Hurd.
57239         * manual/install.texi: Likewise.  Reword some references to
57240         GNU/Linux.
57241         * manual/intro.texi: Likewise.
57242         * manual/io.texi: Likewise.
57243         (File Name Portability): Detail which constraints are inapplicable
57244         to all GNU systems and which are only inapplicable to GNU/Hurd.
57245         * manual/job.texi: Likewise.
57246         * manual/llio.texi: Likewise.
57247         (O_NOCTTY): Document as present on GNU/Linux.
57248         * manual/maint.texi: Likewise.
57249         * manual/memory.texi: Likewise.
57250         * manual/pattern.texi: Likewise.
57251         * manual/pipe.texi: Likewise.
57252         * manual/process.texi: Likewise.
57253         * manual/resource.texi: Likewise.
57254         (RUSAGE_CHILDREN): Remove statement about specifying a particular
57255         child on GNU/Hurd.
57256         * manual/setjmp.texi: Likewise.
57257         * manual/signal.texi: Likewise.
57258         * manual/startup.texi: Likewise.
57259         * manual/stdio.texi: Likewise.
57260         * manual/terminal.texi: Likewise.
57261         (ONLCR): Document as POSIX.
57262         (OXTABS): Document availability on GNU/Linux as XTABS.
57263         (ONOEOT): Document availability separately from other bits.
57264         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57265         * manual/time.texi: Likewise.
57266         * manual/users.texi: Likewise.
57267         * INSTALL: Regenerated.
57268         * sysdeps/gnu/errlist.c: Regenerated.
57270         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57271         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57272         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
57273         puts.
57274         * configure: Regenerated.
57276 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
57278         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57279         default includes instead of AC_HEADER_CHECK.
57280         * sysdeps/i386/configure: Regenerated.
57282         [BZ #10716]
57283         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57284         * math/s_cacoshf.c (__cacoshf): Likewise.
57285         * math/s_cacoshl.c (__cacoshl): Likewise.
57286         * math/s_casinh.c (__casinh): Set signs of result from argument.
57287         * math/s_casinhf.c (__casinhf): Likewise.
57288         * math/s_casinhl.c (__casinhl): Likewise.
57289         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57290         (casinh_test): Add more tests.
57291         * sysdeps/i386/fpu/libm-test-ulps: Update.
57292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57294 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
57296         * po/zh_TW.po: Update from translation team.
57298         * login/Makefile (distribute): Remove variable.
57299         * catgets/Makefile: Likewise.
57300         * mach/Makefile: Likewise.
57301         * malloc/Makefile: Likewise.
57302         * misc/Makefile: Likewise.
57303         * iconv/Makefile: Likewise.
57304         * nscd/Makefile: Likewise.
57305         * hurd/Makefile: Likewise.
57306         * manual/Makefile: Likewise.
57307         * locale/Makefile: Likewise.
57308         * intl/Makefile: Likewise.
57309         * conform/Makefile: Likewise.
57310         * nss/Makefile: Likewise.
57311         * time/Makefile: Likewise.
57312         * soft-fp/Makefile: Likewise.
57313         * dirent/Makefile: Likewise.
57314         * gmon/Makefile: Likewise.
57315         * po/Makefile: Likewise.
57316         * rt/Makefile: Likewise.
57317         * socket/Makefile: Likewise.
57318         * math/Makefile: Likewise.
57319         * signal/Makefile: Likewise.
57320         * debug/Makefile: Likewise.
57321         * elf/Makefile: Likewise.
57322         * timezone/Makefile: Likewise.
57323         * stdlib/Makefile: Likewise.
57324         * iconvdata/Makefile: Likewise.
57325         * sunrpc/Makefile: Likewise.
57326         * io/Makefile: Likewise.
57327         * argp/Makefile: Likewise.
57328         * inet/Makefile: Likewise.
57329         * hesiod/Makefile: Likewise.
57330         * grp/Makefile: Likewise.
57331         * csu/Makefile: Likewise.
57332         * wctype/Makefile: Likewise.
57333         * crypt/Makefile: Likewise.
57334         * libio/Makefile: Likewise.
57335         * string/Makefile: Likewise.
57336         * nis/Makefile: Likewise.
57337         * resolv/Makefile: Likewise.
57338         * stdio-common/Makefile: Likewise.
57339         * wcsmbs/Makefile: Likewise.
57340         * dlfcn/Makefile: Likewise.
57341         * posix/Makefile: Likewise.
57343         [BZ #6959]
57344         * timezone/Makefile: Don't install timezone files, just the programs
57345         and scripts.
57347 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
57349         * nss/databases.def: Add missing gshadow entry.
57351         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
57353 2012-03-06  Marek Polacek  <polacek@redhat.com>
57355         [BZ #13726]
57356         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57357         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57358         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57359         * stdio-common/tst-long-dbl-fphex.c: New file.
57361 2012-03-06  David S. Miller  <davem@davemloft.net>
57363         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57364         (set_obp_int): New function.
57365         (get_obp_int): New function.
57366         (__get_clockfreq_via_dev_openprom): Likewise.
57367         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57368         Avoid unused variable warnings on 'val' and use builtin_expect.
57369         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57370         __builtin_expect.
57371         (INLINE_CLONE_SYSCALL): Likewise.
57373 2012-03-05  David S. Miller  <davem@davemloft.net>
57375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57377 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
57379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57381         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57382         only for |x| >= 40.
57383         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57385 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
57387         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57388         Replace gettimeofday with __vdso_gettimeofday.
57390         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57391         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57392         __vdso_clock_gettime and __vdso_getcpu.
57394         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57395         time with __vdso_time.
57397 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57399         * manual/lang.texi (size_t): Note types to which size_t may be
57400         equivalent with the GNU C Library, but do not describe when
57401         differences between them are significant.
57403 2012-03-05  Andreas Jaeger  <aj@suse.de>
57405         * sysdeps/i386/fpu/libm-test-ulps: Update.
57407 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57409         [BZ #3976]
57410         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57411         (__ieee754_pow): Save and restore rounding mode and use
57412         round-to-nearest for main computations.
57413         * math/libm-test.inc (pow_test_tonearest): New function.
57414         (pow_test_towardzero): Likewise.
57415         (pow_test_downward): Likewise.
57416         (pow_test_upward): Likewise.
57417         (main): Call the new functions.
57418         * sysdeps/i386/fpu/libm-test-ulps: Update.
57419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57421         [BZ #3976]
57422         * math/libm-test.inc (cosh_test_tonearest): New function.
57423         (cosh_test_towardzero): Likewise.
57424         (cosh_test_downward): Likewise.
57425         (cosh_test_upward): Likewise.
57426         (sinh_test_tonearest): Likewise.
57427         (sinh_test_towardzero): Likewise.
57428         (sinh_test_downward): Likewise.
57429         (sinh_test_upward): Likewise.
57430         (main): Call the new functions.
57431         * sysdeps/i386/fpu/libm-test-ulps: Update.
57432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57434 2012-03-05  Tom de Vries  <tom@codesourcery.com>
57436         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57437         default stack guard is set in last bytes.
57438         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57440 2012-03-05  Kees Cook  <keescook@chromium.org>
57442         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57444         [BZ #13656]
57445         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57446         possibly allocate from heap instead of stack.
57447         * stdio-common/bug-vfprintf-nargs.c: New file.
57448         * stdio-common/Makefile (tests): Add nargs overflow test.
57450 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
57452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57454 2012-03-03  Marek Polacek  <polacek@redhat.com>
57456         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57457         * math/math_private.h: Likewise.
57458         * stdlib/tst-strtod.c: Likewise.
57459         * sysdeps/i386/i486/bits/atomic.h: Likewise.
57460         * sysdeps/x86_64/bits/atomic.h: Likewise.
57462 2012-03-02  David S. Miller  <davem@davemloft.net>
57464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57468         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57469         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57470         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57471         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57473 2012-03-02  Roland McGrath  <roland@hack.frob.com>
57475         [BZ #13792]
57476         * manual/examples/README: New file, says the example source files
57477         can be used under GPL>=2.
57478         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57479         line containing just "*/".
57480         * manual/examples/add.c: Add copyright header (GPL>=2).
57481         * manual/examples/argp-ex1.c: Likewise.
57482         * manual/examples/argp-ex2.c: Likewise.
57483         * manual/examples/argp-ex3.c: Likewise.
57484         * manual/examples/argp-ex4.c: Likewise.
57485         * manual/examples/atexit.c: Likewise.
57486         * manual/examples/db.c: Likewise.
57487         * manual/examples/dir.c: Likewise.
57488         * manual/examples/dir2.c: Likewise.
57489         * manual/examples/execinfo.c: Likewise.
57490         * manual/examples/filecli.c: Likewise.
57491         * manual/examples/filesrv.c: Likewise.
57492         * manual/examples/fmtmsgexpl.c: Likewise.
57493         * manual/examples/genpass.c: Likewise.
57494         * manual/examples/inetcli.c: Likewise.
57495         * manual/examples/inetsrv.c: Likewise.
57496         * manual/examples/isockad.c: Likewise.
57497         * manual/examples/longopt.c: Likewise.
57498         * manual/examples/memopen.c: Likewise.
57499         * manual/examples/memstrm.c: Likewise.
57500         * manual/examples/mkfsock.c: Likewise.
57501         * manual/examples/mkisock.c: Likewise.
57502         * manual/examples/mygetpass.c: Likewise.
57503         * manual/examples/pipe.c: Likewise.
57504         * manual/examples/popen.c: Likewise.
57505         * manual/examples/rprintf.c: Likewise.
57506         * manual/examples/search.c: Likewise.
57507         * manual/examples/select.c: Likewise.
57508         * manual/examples/setjmp.c: Likewise.
57509         * manual/examples/sigh1.c: Likewise.
57510         * manual/examples/sigusr.c: Likewise.
57511         * manual/examples/stpcpy.c: Likewise.
57512         * manual/examples/strdupa.c: Likewise.
57513         * manual/examples/strftim.c: Likewise.
57514         * manual/examples/strncat.c: Likewise.
57515         * manual/examples/subopt.c: Likewise.
57516         * manual/examples/swapcontext.c: Likewise.
57517         * manual/examples/termios.c: Likewise.
57518         * manual/examples/testopt.c: Likewise.
57519         * manual/examples/testpass.c: Likewise.
57520         * manual/examples/timeval_subtract.c: Likewise.
57522         [BZ #13792]
57523         * manual/time.texi (Elapsed Time): Move timeval_subtract example
57524         function to ...
57525         * manual/timeval_subtract.c.texi: ... here, new file.
57527 2012-03-02  David S. Miller  <davem@davemloft.net>
57529         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57531 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
57533         [BZ #3976]
57534         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57535         (__sin): Save and restore rounding mode and use round-to-nearest
57536         for all computations.
57537         (__cos): Save and restore rounding mode and use round-to-nearest
57538         for all computations.
57539         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57540         <fenv.h>.
57541         (tan): Save and restore rounding mode and use round-to-nearest for
57542         all computations.
57543         * math/libm-test.inc (cos_test_tonearest): New function.
57544         (cos_test_towardzero): Likewise.
57545         (cos_test_downward): Likewise.
57546         (cos_test_upward): Likewise.
57547         (sin_test_tonearest): Likewise.
57548         (sin_test_towardzero): Likewise.
57549         (sin_test_downward): Likewise.
57550         (sin_test_upward): Likewise.
57551         (tan_test_tonearest): Likewise.
57552         (tan_test_towardzero): Likewise.
57553         (tan_test_downward): Likewise.
57554         (tan_test_upward): Likewise.
57555         (main): Call the new functions.
57556         * sysdeps/i386/fpu/libm-test-ulps: Update.
57557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57559         [BZ #10135]
57560         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57561         small n, then large n, before computing and testing k+n.
57562         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57563         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57564         Likewise.
57565         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57566         Likewise.
57567         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57568         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57569         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57570         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57571         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57572         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57573         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57574         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57575         * math/libm-test.inc (scalbn_test): Add more tests.
57576         (scalbln_test): Likewise.
57578         * manual/filesys.texi (mode_t): Describe constraints on size and
57579         signedness, not exact equivalence to a particular type.
57580         (ino_t): Likewise.
57581         (ino64_t): Likewise.
57582         (dev_t): Likewise.
57583         (nlink_t): Likewise.
57584         (blkcnt_t): Likewise.
57585         (blkcnt64_t): Likewise.
57586         * manual/llio.texi (off_t): Likewise.
57588         [BZ #3976]
57589         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57590         (__ieee754_exp): Save and restore rounding mode and use
57591         round-to-nearest for all computations.
57592         * math/libm-test.inc (exp_test_tonearest): New function.
57593         (exp_test_towardzero): Likewise.
57594         (exp_test_downward): Likewise.
57595         (exp_test_upward): Likewise.
57596         (main): Call the new functions.
57597         * sysdeps/i386/fpu/libm-test-ulps: Update.
57598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57600 2012-03-01  Chris Demetriou  <cgd@google.com>
57602         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57603         have predictable order.
57605 2012-03-01  David S. Miller  <davem@davemloft.net>
57607         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57609         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57610         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57611         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57612         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57614         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57615         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57616         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57618         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57619         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57620         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57621         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57622         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57626         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57627         * sysdeps/sparc/fpu/libm-test-ulps: to here.
57628         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57630         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57631         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57632         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57633         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57634         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57635         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57636         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57637         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57638         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57639         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57640         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57641         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57642         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57643         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57644         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57645         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57646         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57647         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57648         * sysdeps/sparc/elf/configure: Regenerated.
57650 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
57652         * configure.in (AS, LD): Require binutils 2.20 or later.
57653         * configure: Regenerated.
57654         * manual/install.texi (Tools for Compilation): Give binutils 2.20
57655         as required minimum version.
57656         * INSTALL: Regenerated.
57658         [BZ #2541]
57659         [BZ #4108]
57660         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57661         before squaring exponent.
57662         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57663         bottom long double and 27 bits of top long double before squaring
57664         exponent.
57665         * math/libm-test.inc (erfc_test): Add more tests.
57666         * sysdeps/i386/fpu/libm-test-ulps: Update.
57667         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57670 2012-03-01  Kai Tietz  <ktietz@redhat.com>
57672         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57673         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57674         containing bit-fields.
57675         * soft-fp/extended.h (_FP_UNION_E): Likewise.
57676         * soft-fp/single.h (_FP_UNION_S): Likewise.
57677         * soft-fp/double.h (_FP_UNION_D): Likewise.
57679 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
57681         [BZ #13786]
57682         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57683         not include ../strcmp.S.
57684         [USE_AS_STRNCASECMP_L]: Likewise.
57685         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57686         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57687         * sysdeps/i386/i686/multiarch/strncase_l-c.c
57688         (__strncasecmp_l_ia32): Define as alias to
57689         __strncasecmp_l_nonascii.
57691         [BZ #5794]
57692         * math/libm-test.inc (expm1_test): Add test for bug 5794.
57693         * sysdeps/i386/fpu/libm-test-ulps: Update.
57694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57696         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57699 2012-02-29  Jeff Law  <law@redhat.com>
57701         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57702         out of bounds read.
57704 2012-02-29  Marek Polacek  <polacek@redhat.com>
57706         [BZ #13706]
57707         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57708         * elf/Makefile: Add rules to run tst-unused-dep.out.
57710 2012-02-28  David S. Miller  <davem@davemloft.net>
57712         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57713         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57714         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57715         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57716         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57717         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57719 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
57721         * math/libm-test.inc (llround_test): Move one test from
57722         lround_test.  Use TEST_f_L in moved test.
57723         (lround_test): Move misplaced test to llround_test.  Add testcase
57724         from bug 2561.
57726 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
57728         * sysdeps/x86_64/fpu/e_expf.S: New file.
57729         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57731 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
57733         [BZ #13637]
57734         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57735         of remain_len that may cause incomplete multi-byte character and
57736         false match.
57737         * posix/bug-regex33.c: New file.
57738         * posix/Makefile (tests): Add bug-regex33.
57740 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
57742         * manual/macros.texi: New file.
57743         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57744         * manual/libc.texinfo: Include macros.texi.
57745         * manual/creatute.texi: Likewise.
57746         * manual/install.texi: Likewise.
57747         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57748         @glibcadj{} in references to the GNU C Library.
57749         * manual/charset.texi: Likewise.
57750         * manual/conf.texi: Likewise.
57751         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
57752         when not using those macros.
57753         * manual/creature.texi: Likewise.
57754         * manual/crypt.texi: Likewise.
57755         * manual/errno.texi: Likewise.
57756         * manual/filesys.texi: Likewise.
57757         * manual/header.texi: Likewise.
57758         * manual/install.texi: Likewise.
57759         * manual/intro.texi: Likewise.
57760         * manual/io.texi: Likewise.
57761         * manual/job.texi: Likewise.
57762         * manual/lang.texi: Likewise.
57763         * manual/libc.texiinfo: Likewise.
57764         * manual/llio.texi: Likewise.
57765         * manual/locale.texi: Likewise.
57766         * manual/maint.texi: Likewise.
57767         * manual/math.texi: Likewise.
57768         * manual/memory.texi: Likewise.
57769         * manual/message.texi: Likewise.
57770         * manual/nss.texi: Likewise.
57771         * manual/pattern.texi: Likewise.
57772         * manual/process.texi: Likewise.
57773         * manual/resource.texi: Likewise.
57774         * manual/search.texi: Likewise.
57775         * manual/setjmp.texi: Likewise.
57776         * manual/signal.texi: Likewise.
57777         * manual/socket.texi: Likewise.
57778         * manual/startup.texi: Likewise.
57779         * manual/stdio.texi: Likewise.
57780         * manual/string.texi: Likewise.
57781         * manual/sysinfo.texi: Likewise.
57782         * manual/syslog.texi: Likewise.
57783         * manual/terminal.texi: Likewise.
57784         * manual/time.texi: Likewise.
57785         * manual/users.texi: Likewise.
57786         * INSTALL: Regenerated.
57787         * NOTES: Regenerated.
57788         * sysdeps/gnu/errlist.c: Regenerated.
57790 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
57792         * include/dirent.h: Include <dirstream.h> before
57793         <dirent/dirent.h>.
57795 2012-02-28  David S. Miller  <davem@davemloft.net>
57797         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57798         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57799         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57800         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57802 2012-02-27  David S. Miller  <davem@davemloft.net>
57804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57806         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57807         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57810         frame pointer instead of stack pointer relative arg slot.
57811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57812         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57813         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57815 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
57817         [BZ #3992]
57818         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57820 2012-02-27  David S. Miller  <davem@davemloft.net>
57822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57826         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57827         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57828         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57829         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57831 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
57833         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57834         later.  Allow versions 5-9.
57835         * configure: Regenerated.
57836         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57837         required minimum version and 4.6 as recommended version.  Do not
57838         mention bugs in GCC 2.7 and 2.8.
57839         * INSTALL: Regenerated.
57841 2012-02-27  David S. Miller  <davem@davemloft.net>
57843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57847         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57848         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57849         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57850         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57852         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57853         manipulate bits before adding and subtracting TWO112[sx].
57854         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57856 2012-02-27  Roland McGrath  <roland@hack.frob.com>
57858         [BZ #13775]
57859         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57860         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57861         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57862         being in POSIX, because they are in 1003.1-2008.
57864         * rt/tst-aio.c: Include <fcntl.h>.
57865         * rt/tst-aio7.c: Likewise.
57866         * rt/tst-aio64.c: Likewise.
57868         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57870 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
57872         * manual/install.texi (--with-headers): Describe headers as
57873         interface headers, not private headers.
57874         (Specific advice for GNU/Linux systems): Describe use of headers
57875         from "make headers_install", not private headers from older
57876         kernels.
57877         * INSTALL: Regenerated.
57878         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57879         Change to 2.6.19.
57880         * sysdeps/unix/sysv/linux/configure: Regenerated.
57882         * manual/llio.texi (fclean): Remove documentation.
57884         * manual/Makefile (libc-texi-generated): New variable.  Include
57885         version.texi.
57886         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57887         $(libc-texi-generated), not duplicated list of files.
57888         (version.texi, stamp-version): New rules.
57889         (realclean): Remove $(libc-texi-generated), not individual files
57890         from that list.  Do not remove dir-add.texinfo.
57891         * manual/libc.texinfo: Comment out uses of edition numbers and
57892         references to printed manual.  Remove last-updated dates.
57893         (EDITION): Comment out.
57894         (ISBN): Likewise.
57895         (VERSION, UPDATED): Remove.
57896         (version.texi): Include.
57898 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
57900         * sysdeps/posix/spawni.c: Include <signal.h>.
57901         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57902         * sysdeps/pthread/aio_fsync.c: Likewise.
57904 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
57906         * conform/Makefile (tests): Run only when not cross-compiling and
57907         when fast-check is not defined.
57909         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57910         * conform/data/limits.h-data: Fixes for POSIX2008.
57911         * conform/run-conformtest.sh: Run all tests.
57912         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57913         headers.
57914         * include/bits/dlfcn.h: Likewise.
57915         * include/langinfo.h: Likewise.
57916         * include/monetary.h: Likewise.
57917         * include/sys/poll.h: Likewise.
57919         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57920         for __USE_GNU.
57921         * posix/spawn.h: Define __need_sigset_t.
57922         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57923         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57924         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
57925         to get sigevent_t only.
57926         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57927         only for __USE_GNU.
57928         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57929         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57930         process_vm_writev only for __USE_GNU.
57931         * termios/termios.h: Declare tcgetsid also for POSIX2008.
57933         * conform/Makefile: For now ignore errors from run-conformtest.
57934         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
57935         POSIX to avoid namespace pollution.  Don't prepend headers.
57936         * conform/data/aio.h-data: Fixes for POSIX testing.
57937         * conform/data/fcntl.h-data: Likewise.
57938         * conform/data/glob.h-data: Likewise.
57939         * conform/data/grp.h-data: Likewise.
57940         * conform/data/pthread.h-data: Likewise.
57941         * conform/data/pwd.h-data: Likewise.
57942         * conform/data/signal.h-data: Likewise.
57943         * conform/data/spawn.h-data: Likewise.
57944         * conform/data/stdio.h-data: Likewise.
57945         * conform/data/stdlib.h-data: Likewise.
57946         * conform/data/stropts.h-data: Likewise.
57947         * conform/data/sys/mman.h-data: Likewise.
57948         * conform/data/sys/stat.h-data: Likewise.
57949         * conform/data/sys/types.h-data: Likewise.
57950         * conform/data/sys/wait.h-data: Likewise.
57951         * conform/data/time.h-data: Likewise.
57952         * conform/data/unistd.h-data: Likewise.
57953         * conform/data/utime.h-data: Likewise.
57955         * io/sys/stat.h: fchmod was always in POSIX.
57956         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57957         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57958         * rt/aio.h: Define __need_timespec before including <time.h>.
57959         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57960         struct.  Add forward declaration of pthread_attr_t and use it in
57961         sigevent.
57962         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57963         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57964         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57965         always remove CLK_TCK definition.
57967 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
57969         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57971 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
57973         * conform/run-conformtest.sh: New file.
57974         * conform/Makefile: Run run-conformtest for tests.
57975         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
57976         support.
57978         * conform/data/uchar.h-data: New file.
57979         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57980         * conform/data/arpa/inet.h-data: Likewise.
57981         * conform/data/assert.h-data: Likewise.
57982         * conform/data/complex.h-data: Likewise.
57983         * conform/data/cpio.h-data: Likewise.
57984         * conform/data/ctype.h-data: Likewise.
57985         * conform/data/dirent.h-data: Likewise.
57986         * conform/data/dlfcn.h-data: Likewise.
57987         * conform/data/errno.h-data: Likewise.
57988         * conform/data/fcntl.h-data: Likewise.
57989         * conform/data/float.h-data: Likewise.
57990         * conform/data/fmtmsg.h-data: Likewise.
57991         * conform/data/fnmatch.h-data: Likewise.
57992         * conform/data/ftw.h-data: Likewise.
57993         * conform/data/glob.h-data: Likewise.
57994         * conform/data/grp.h-data: Likewise.
57995         * conform/data/iconv.h-data: Likewise.
57996         * conform/data/inttypes.h-data: Likewise.
57997         * conform/data/langinfo.h-data: Likewise.
57998         * conform/data/libgen.h-data: Likewise.
57999         * conform/data/limits.h-data: Likewise.
58000         * conform/data/locale.h-data: Likewise.
58001         * conform/data/math.h-data: Likewise.
58002         * conform/data/monetary.h-data: Likewise.
58003         * conform/data/mqueue.h-data: Likewise.
58004         * conform/data/ndbm.h-data: Likewise.
58005         * conform/data/net/if.h-data: Likewise.
58006         * conform/data/netdb.h-data: Likewise.
58007         * conform/data/netinet/in.h-data: Likewise.
58008         * conform/data/nl_types.h-data: Likewise.
58009         * conform/data/poll.h-data: Likewise.
58010         * conform/data/pthread.h-data: Likewise.
58011         * conform/data/pwd.h-data: Likewise.
58012         * conform/data/regex.h-data: Likewise.
58013         * conform/data/sched.h-data: Likewise.
58014         * conform/data/search.h-data: Likewise.
58015         * conform/data/semaphore.h-data: Likewise.
58016         * conform/data/setjmp.h-data: Likewise.
58017         * conform/data/signal.h-data: Likewise.
58018         * conform/data/spawn.h-data: Likewise.
58019         * conform/data/stdarg.h-data: Likewise.
58020         * conform/data/stdio.h-data: Likewise.
58021         * conform/data/stdlib.h-data: Likewise.
58022         * conform/data/string.h-data: Likewise.
58023         * conform/data/strings.h-data: Likewise.
58024         * conform/data/stropts.h-data: Likewise.
58025         * conform/data/sys/ipc.h-data: Likewise.
58026         * conform/data/sys/mman.h-data: Likewise.
58027         * conform/data/sys/msg.h-data: Likewise.
58028         * conform/data/sys/resource.h-data: Likewise.
58029         * conform/data/sys/select.h-data: Likewise.
58030         * conform/data/sys/sem.h-data: Likewise.
58031         * conform/data/sys/shm.h-data: Likewise.
58032         * conform/data/sys/socket.h-data: Likewise.
58033         * conform/data/sys/stat.h-data: Likewise.
58034         * conform/data/sys/statvfs.h-data: Likewise.
58035         * conform/data/sys/time.h-data: Likewise.
58036         * conform/data/sys/timeb.h-data: Likewise.
58037         * conform/data/sys/times.h-data: Likewise.
58038         * conform/data/sys/types.h-data: Likewise.
58039         * conform/data/sys/uio.h-data: Likewise.
58040         * conform/data/sys/un.h-data: Likewise.
58041         * conform/data/sys/utsname.h-data: Likewise.
58042         * conform/data/sys/wait.h-data: Likewise.
58043         * conform/data/syslog.h-data: Likewise.
58044         * conform/data/tar.h-data: Likewise.
58045         * conform/data/termios.h-data: Likewise.
58046         * conform/data/utime.h-data: Likewise.
58047         * conform/data/utmpx.h-data: Likewise.
58048         * conform/data/varargs.h-data: Likewise.
58049         * conform/data/wchar.h-data: Likewise.
58050         * conform/data/wctype.h-data: Likewise.
58051         * conform/data/wordexp.h-data: Likewise.
58053         * include/stropts.h: New file.
58054         * include/uchar.h: New file.
58055         * include/aio.h: Changes to allow conformtest.pl to use the headers.
58056         * include/assert.h: Likewise.
58057         * include/ctype.h: Likewise.
58058         * include/dirent.h: Likewise.
58059         * include/dlfcn.h: Likewise.
58060         * include/fcntl.h: Likewise.
58061         * include/fnmatch.h: Likewise.
58062         * include/glob.h: Likewise.
58063         * include/grp.h: Likewise.
58064         * include/libio.h: Likewise.
58065         * include/locale.h: Likewise.
58066         * include/math.h: Likewise.
58067         * include/net/if.h: Likewise.
58068         * include/netdb.h: Likewise.
58069         * include/netinet/in.h: Likewise.
58070         * include/pthread.h: Likewise.
58071         * include/pwd.h: Likewise.
58072         * include/regex.h: Likewise.
58073         * include/sched.h: Likewise.
58074         * include/search.h: Likewise.
58075         * include/setjmp.h: Likewise.
58076         * include/signal.h: Likewise.
58077         * include/stdio.h: Likewise.
58078         * include/stdlib.h: Likewise.
58079         * include/string.h: Likewise.
58080         * include/sys/cdefs.h: Likewise.
58081         * include/sys/mman.h: Likewise.
58082         * include/sys/msg.h: Likewise.
58083         * include/sys/resource.h: Likewise.
58084         * include/sys/select.h: Likewise.
58085         * include/sys/socket.h: Likewise.
58086         * include/sys/stat.h: Likewise.
58087         * include/sys/statvfs.h: Likewise.
58088         * include/sys/time.h: Likewise.
58089         * include/sys/times.h: Likewise.
58090         * include/sys/uio.h: Likewise.
58091         * include/sys/utsname.h: Likewise.
58092         * include/sys/wait.h: Likewise.
58093         * include/termios.h: Likewise.
58094         * include/time.h: Likewise.
58095         * include/ulimit.h: Likewise.
58096         * include/unistd.h: Likewise.
58097         * include/utime.h: Likewise.
58098         * include/wchar.h: Likewise.
58099         * include/wctype.h: Likewise.
58100         * include/wordexp.h: Likewise.
58102         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58104         * time/time.h: TIME_UTC must be a macro.
58105         Make timespec_get available for ISO C11 only as well.
58107 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
58109         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58110         Reported by Peng Haitao <penght@cn.fujitsu.com>.
58112 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58114         * configure.in: Use -o not -a in test for unsupported multi-arch.
58116 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58118         * manual/texinfo.tex: Update to version 2012-01-19.16.
58120 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58122         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58124 2012-02-24  Roland McGrath  <roland@hack.frob.com>
58126         [BZ #13738]
58127         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58128         * manual/fdl-1.3.texi: New file.
58129         * manual/fdl-1.1.texi: File removed.
58131         [BZ #13738]
58132         * manual/libc.texinfo (FDL_VERSION): New @set.
58133         Use it for mention of FDL in cover text.
58134         (Documentation License): Use it in @include file name.
58136 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58137             Roland McGrath  <roland@hack.frob.com>
58139         [BZ #5461]
58140         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58141         (not LONG_LONG_MAX and LONG_LONG_MIN.
58142         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58143         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
58144         name.
58145         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58147 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58149         [BZ #2547]
58150         [BZ #11365]
58151         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58152         manipulate bits before adding and subtracting TWO23[sx].
58153         * math/libm-test.inc (nearbyint_test): Add more tests.
58155 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58157         [BZ #2548]
58158         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58159         bits before adding and subtracting TWO23[sx].
58160         * math/libm-test.inc (rint_test): Add more tests.
58161         (rint_test_tonearest): Likewise.
58162         (rint_test_towardzero): Likewise.
58163         (rint_test_downward): Likewise.
58164         (rint_test_upward: Likewise.
58166 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58168         [BZ #10110]
58169         * include/stdc-predef.h: New file.  Extracted from features.h.
58170         * include/features.h: Include stdc-predef.h.
58171         * Makefile (headers): Add stdc-predef.h.
58172         * CONFORMANCE (Compiler limitations): Update.
58174 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58176         * manual/libc.texinfo (VERSION, UPDATED): Revert.
58178 2012-02-21  David S. Miller  <davem@davemloft.net>
58180         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58181         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58183 2012-02-20  David S. Miller  <davem@davemloft.net>
58185         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58186         using a normal save/restore sequence, rather than allocating a
58187         dummy stack frame just to store a frame pointer and restore.
58188         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58190 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58192         * manual/install.texi: Fix stray word in line-wrapped comment.
58194 2012-02-20  David S. Miller  <davem@davemloft.net>
58196         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58197         both binutils and gcc support GOTDATA.
58199         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58200         "rd %pc" in the PIC register setup sequences.
58202         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58203         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58204         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58205         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58206         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58208         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58209         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58210         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58211         (SYSCALL_ERROR_HANDLER): Likewise.
58212         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58213         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58214         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58215         (SYSCALL_ERROR_HANDLER): Likewise.
58217         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58218         (HAVE_GCC_GOTDATA): New.
58219         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58220         relocation support in both binutils and gcc.
58221         * sysdeps/sparc/elf/configure: Regenerate.
58223         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58224         * sysdeps/sparc/sparc32/elf/configure: Delete.
58225         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58226         * sysdeps/sparc/sparc64/elf/configure: Delete.
58227         * sysdeps/sparc/elf/configure.in: New file.
58228         * sysdeps/sparc/elf/configure: Generate.
58230         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58231         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58232         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58233         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58234         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58236 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58238         * manual/install.texi: Do not mention specific glibc version
58239         numbers.
58240         * manual/libc.texinfo (VERSION, UPDATED): Update.
58241         (@copying): Use @copyright{} and range of years.
58243 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58245         [BZ #13695]
58246         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58247         [crti.S not in sysdirs] (generated): Do not append.
58248         [crti.S not in sysdirs] (omit-deps): Likewise.
58249         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58250         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58251         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58252         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58253         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58254         Likewise.
58255         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58256         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58257         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58258         * csu/defs.awk: Remove file.
58259         * sysdeps/generic/initfini.c: Likewise.
58260         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58261         variable.
58262         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58263         Likewise.
58265 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58267         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58268         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58269         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58270         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58271         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58272         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58273         <bits/epoll.h>.
58274         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58275         (__EPOLL_PACKED): Define to empty if not defined by
58276         <bits/epoll.h>.
58277         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58279         bits/epoll.h.
58281 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58283         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58284         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58285         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58286         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58287         <bits/timerfd.h>.
58288         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58290         bits/timerfd.h.
58292 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58294         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58295         in C locale.
58296         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58297         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58298         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58301 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
58303         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58304         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58306 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
58308         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58309         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58310         defined.
58311         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58312         Likewise.
58313         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58314         entry for 2.16.
58316 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
58318         * math/w_acos.c: Use non-signaling floating-point comparisons.
58319         * math/w_acosf.c: Likewise.
58320         * math/w_acosh.c: Likewise.
58321         * math/w_acoshf.c: Likewise.
58322         * math/w_acoshl.c: Likewise.
58323         * math/w_acosl.c: Likewise.
58324         * math/w_asin.c: Likewise.
58325         * math/w_asinf.c: Likewise.
58326         * math/w_asinl.c: Likewise.
58327         * math/w_atanh.c: Likewise.
58328         * math/w_atanhf.c: Likewise.
58329         * math/w_atanhl.c: Likewise.
58330         * math/w_exp2.c: Likewise.
58331         * math/w_exp2f.c: Likewise.
58332         * math/w_exp2l.c: Likewise.
58333         * math/w_j0.c: Likewise.
58334         * math/w_j0f.c: Likewise.
58335         * math/w_j0l.c: Likewise.
58336         * math/w_j1.c: Likewise.
58337         * math/w_j1f.c: Likewise.
58338         * math/w_j1l.c: Likewise.
58339         * math/w_jn.c: Likewise.
58340         * math/w_jnf.c: Likewise.
58341         * math/w_log.c: Likewise.
58342         * math/w_log10.c: Likewise.
58343         * math/w_log10f.c: Likewise.
58344         * math/w_log10l.c: Likewise.
58345         * math/w_log2.c: Likewise.
58346         * math/w_log2f.c: Likewise.
58347         * math/w_log2l.c: Likewise.
58348         * math/w_logf.c: Likewise.
58349         * math/w_logl.c: Likewise.
58350         * math/w_sqrt.c: Likewise.
58351         * math/w_sqrtf.c: Likewise.
58352         * math/w_sqrtl.c: Likewise.
58353         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58354         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58355         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58356         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58357         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58359 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58361         [BZ #9739]
58362         * manual/string.texi (strnlen): Use correct parameter name in
58363         equivalent expression.
58365 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58367         [BZ #11174]
58368         * manual/users.texi (seteuid): Consistently use neweuid for
58369         argument name.
58371 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58373         [BZ #13704]
58374         * manual/nss.texi (Services in the NSS configuration): Correct
58375         list of services in example configuration file.
58377 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
58379         [BZ #11322]
58380         * manual/arith.texi: Remove statements about negative zero
58381         behaving identically to zero.
58383 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58385         [BZ #5993]
58386         * manual/install.texi: Do not document upgrading from libc5.
58388 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58390         [BZ #4596]
58391         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58393 2012-02-18  David S. Miller  <davem@davemloft.net>
58395         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58396         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58397         %o7 across the call.
58398         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58399         instead.
58400         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58401         SETUP_PIC_REG_LEAF.
58402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58403         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58404         * sysdeps/sparc/crtn.S: Likewise.
58406 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
58408         * aout/Makefile: Remove.
58410 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
58412         [BZ #13058]
58413         * manual/examples/argp-ex1.c (main): Format definition in GNU
58414         style.
58415         * manual/examples/argp-ex2.c (main): Likewise.
58416         * manual/examples/argp-ex3.c (main): Likewise.
58417         * manual/examples/argp-ex4.c (main): Likewise.
58418         * manual/examples/longopt.c (main): Use new-style prototype
58419         definition.
58420         * manual/examples/strncat.c (main): Specify return type and use
58421         (void) for arguments.
58422         * manual/examples/subopt.c (main): Use char **argv argument.
58424 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58426         [BZ #5077]
58427         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58428         rounding modes.
58430 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
58432         [BZ #6907]
58433         * manual/string.texi (strchr): Change when strchrnul is
58434         recommended.
58436 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
58438         [BZ #174]
58439         * manual/locale.texi (setlocale): Document LOCPATH.
58441 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58443         [BZ #10210]
58444         * manual/process.texi (execle): Move @dots{} before last argument.
58446 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
58448         [BZ #12047]
58449         * manual/charset.texi (Generic Charset Conversion): Fix typo
58450         (LC_TYPE -> LC_CTYPE).
58452 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
58454         [BZ #5805]
58455         * manual/arith.texi (scalbn): Use @var{} on parameter names.
58456         (scalbnf): Likewise.
58457         (scalbnl): Likewise.
58458         (scalbln): Likewise.
58459         (scalblnf): Likewise.
58460         (scalblnl): Likewise.
58461         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58462         (vwarnx): Likewise.
58463         (verr): Likewise.
58464         (verrx): Likewise.
58465         * manual/filesys.texi (telldir): Use braces around return type.
58466         * manual/llio.texi (mmap): Add space after comma.
58467         (mmap64): Likewise.
58468         * manual/math.texi (jn): Use @var{} on parameter names.
58469         (jnf): Likewise.
58470         (jnl): Likewise.
58471         (yn): Likewise.
58472         (ynf): Likewise.
58473         (ynl): Likewise.
58474         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58475         line.
58476         * manual/resource.texi (ulimit): Use @dots{} instead of literal
58477         "...".
58478         (sched_get_priority_min): Remove semicolon on @deftypefun line.
58479         (sched_get_priority_max): Likewise.
58480         * manual/signal.texi (sigvec): Add space after comma.
58481         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58482         names.
58483         (if_indextoname): Likewise.
58484         (if_freenameindex): Likewise.
58485         (sendto): Use ',' instead of '.' in prototype.
58486         * manual/startup.texi (syscall): Use @dots{} instead of literal
58487         "...".
58488         * manual/stdio.texi (__fpending): Separate initial words of
58489         paragraph from @deftypefun line.
58490         * manual/syslog.texi (syslog): Use @dots{} instead of literal
58491         "...".
58492         (vsyslog): Use @var{} on parameter names.
58493         * manual/terminal.texi (stty): Use @var{} on parameter names.
58494         * manual/users.texi (getutmp): Use @var{} on parameter names.
58495         (getutmpx): Likewise.
58497 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58499         [BZ #6884]
58500         * manual/stdio.texi (fopen): Fix typos in description of
58501         ",ccs=STRING".
58503 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
58505         [BZ #4026]
58506         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58507         get clock_id definition.
58509 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
58511         [BZ #4822]
58512         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58513         (madvise): Cast every argument to void on its own.
58515 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58517         [BZ #9902]
58518         * manual/startup.texi (Exit Status): Fix typo.
58520 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58522         [BZ #10140]
58523         * manual/examples/argp-ex1.c: Include <stdlib.h>.
58524         * manual/examples/argp-ex2.c: Likewise.
58525         * manual/examples/argp-ex3.c: Likewise.
58527 2012-02-16  Richard Henderson  <rth@redhat.com>
58529         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58530         * sysdeps/s390/s390-32/initfini.c: Remove.
58531         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58532         * sysdeps/s390/s390-64/initfini.c: Remove.
58534 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58536         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58537         compiler output for sysdeps/generic/initfini.c.
58538         * sysdeps/sh/elf/initfini.c: Remove file.
58540 2012-02-16  David S. Miller  <davem@davemloft.net>
58542         [BZ #11494]
58543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58545         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58546         * sysdeps/sparc/crti.S: New file.
58547         * sysdeps/sparc/crtn.S: New file.
58548         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58549         * sysdeps/sparc/sparc64/Makefile: Likewise.
58551 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
58553         [BZ #3335]
58554         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58556 2012-02-15  Roland McGrath  <roland@hack.frob.com>
58558         [BZ #4822]
58559         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58561         * mach/devstream.c (cookie_io_functions_t): Macro removed.
58562         (write, read, close): Likewise.
58563         Patch by Aurelien Jarno <aurelien@aurel32.net>.
58565 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
58567         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58568         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58569         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58570         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58571         <bits/signalfd.h>.
58572         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58573         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58574         bits/signalfd.h.
58576 2012-02-14  Marek Polacek  <polacek@redhat.com>
58578         * sysdeps/x86_64/crti.S: New file.
58579         * sysdeps/x86_64/crtn.S: New file.
58580         * sysdeps/x86_64/elf/initfini.c: Remove file.
58582 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58584         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58585         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58586         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58587         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58588         <bits/inotify.h>.
58589         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58591         bits/inotify.h.
58593 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58595         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58596         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58597         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58598         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58599         <bits/eventfd.h>.
58600         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58601         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58602         bits/eventfd.h.
58604 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
58606         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58607         __feraiseexcept instead of feraiseexcept.
58609         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58610         nanosleep invocations.
58611         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58612         strings, and add error checking for a nanosleep invocations.
58614 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
58616         Replace FSF snail mail address with URLs, as per GNU coding standards.
58617         Most of the snail mail addresses were wrong anyway, and omitting
58618         them makes the source code easier to maintain.  Almost all of the
58619         changes are to license notices and to locale LC_IDENTIFICATION
58620         addresses, except for this one:
58621         * manual/libc.texinfo: In "Published by", give the FSF's URL,
58622         not its snail mail address.
58624 2012-02-09  Richard Henderson  <rth@twiddle.net>
58626         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58627         of kernel-features.h.
58629         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58631 2012-02-08  Marek Polacek  <polacek@redhat.com>
58633         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58634         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58635         * sysdeps/gnu/_G_config.h: Likewise.
58636         * sysdeps/generic/_G_config.h: Likewise.
58638 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
58640         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58641         tests.
58642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58644         * sysdeps/powerpc/powerpc32/crti.S: New file.
58645         * sysdeps/powerpc/powerpc32/crtn.S: New file.
58646         * sysdeps/powerpc/powerpc64/crti.S: New file.
58647         * sysdeps/powerpc/powerpc64/crtn.S: New file.
58649         * Makeconfig (have-initfini): Don't set.
58650         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58651         * configure.in (nopic_initfini): Don't substitute.
58652         * config.h.in (HAVE_INITFINI): Don't #undef.
58653         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58654         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58656 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
58658         Support crti.S and crtn.S provided directly by architectures.
58659         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58660         [crti.S in sysdirs] (omit-deps): Likewise.
58661         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58662         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58663         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58664         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58665         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58666         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58667         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58668         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58669         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58670         compiler output for sysdeps/generic/initfini.c.
58671         * sysdeps/i386/elf/Makefile: Remove file.
58672         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58674 2012-02-07  Marek Polacek  <polacek@redhat.com>
58676         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58677         * sysdeps/gnu/_G_config.h: Likewise.
58678         * sysdeps/mach/hurd/_G_config.h: Likewise.
58680 2012-02-07  Marek Polacek  <polacek@redhat.com>
58682         * math/Makefile (tests): Add tst-CMPLX2.
58683         * math/tst-CMPLX2.c: New file.
58685 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
58687         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58689         * math/libm-test.inc (jn_test): Add missing L suffix.
58691 2012-02-06  Marek Polacek  <polacek@redhat.com>
58693         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58694         * sysdeps/i386/fpu/e_powf.S: Likewise.
58695         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58696         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58697         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58698         * sysdeps/i386/fpu/e_pow.S: Likewise.
58699         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58700         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58701         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58702         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58703         * sysdeps/i386/fpu/e_log2.S: Likewise.
58704         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58705         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58706         * sysdeps/i386/fpu/e_powl.S: Likewise.
58707         * sysdeps/i386/fpu/s_log1p.S: Likewise.
58708         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58709         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58710         * sysdeps/i386/fpu/e_logl.S: Likewise.
58711         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58712         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58713         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58714         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58715         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58716         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58717         * sysdeps/i386/fpu/e_log.S: Likewise.
58718         * sysdeps/i386/fpu/s_cexp.S: Likewise.
58719         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58720         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58721         * sysdeps/i386/fpu/e_logf.S: Likewise.
58722         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58723         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58724         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58725         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58726         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58727         * sysdeps/i386/fpu/e_log10.S: Likewise.
58728         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58729         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58730         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58731         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58732         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58733         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58734         * sysdeps/i386/asm-syntax.h: Likewise.
58735         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58736         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58737         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58738         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58739         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58740         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58741         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58742         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58743         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58744         * sysdeps/powerpc/sysdep.h: Likewise.
58745         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58746         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58748 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
58750         [BZ #411]
58751         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58753 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
58755         * sysdeps/i386/sysdep.h: Include <features.h>.
58756         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58757         version.
58759 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
58761         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58762         Define.
58763         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58764         LOAD_PIC_REG_STR.
58766 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58768         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58769         (SETUP_PIC_REG): Use GET_PC_THUNK.
58770         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58771         macro.
58773 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58775         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58776         for non-PIC compilation.
58777         (SETUP_PIC_REG): Add .p2align directive.
58778         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58779         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58780         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58781         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58782         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58783         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58784         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58785         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58786         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58787         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58788         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58789         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58790         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58791         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58792         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58793         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58794         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58795         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58796         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58797         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58798         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58799         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58800         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58801         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58802         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58803         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58804         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58805         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58806         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58807         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58808         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58809         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58810         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58811         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58812         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58813         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58814         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58815         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58816         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58817         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58818         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58820 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
58822         * math/tst-CMPLX.c: Include <stdio.h>.
58824 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
58826         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58827         float.
58828         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58829         * sysdeps/sparc/bits/mathdef.h: Likewise.
58831 2012-01-31  Marek Polacek  <polacek@redhat.com>
58833         * libio/libio.h: Don't define _PARAMS.
58834         * locale/programs/config.h: Don't define PARAMS.
58835         * stdlib/strtol_l.c: Likewise.
58836         (__strtol_l): Remove PARAMS from the prototype.
58838 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
58840         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
58841         names.  Just use the correct names.  Remove unnecessary wrapper
58842         functions.
58843         * malloc/arena.c: Likewise.
58844         * malloc/hooks.c: Likewise.
58846         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58847         ARENA_TEST says not to.  Simplify test for creation of a new arena.
58848         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58850 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
58852         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58853         into tail calls.
58854         (update_get_addr): New function.
58855         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58856         GET_ADDR_MODULE parameter.
58858 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
58860         * crypt/cert.c: Remove __STDC__ conditionals.
58861         * crypt/crypt-entry.c: Likewise.
58862         * crypt/crypt_util.c: Likewise.
58863         * libio/filedoalloc.c: Likewise.
58864         * libio/fileops.c: Likewise.
58865         * libio/genops.c: Likewise.
58866         * libio/iofclose.c: Likewise.
58867         * libio/iofdopen.c: Likewise.
58868         * libio/iofopen.c: Likewise.
58869         * libio/iofopen64.c: Likewise.
58870         * libio/iogetdelim.c: Likewise.
58871         * libio/iopopen.c: Likewise.
58872         * libio/obprintf.c: Likewise.
58873         * libio/oldfileops.c: Likewise.
58874         * libio/oldiofclose.c: Likewise.
58875         * libio/oldiofdopen.c: Likewise.
58876         * libio/oldiofopen.c: Likewise.
58877         * libio/oldiopopen.c: Likewise.
58878         * libio/wfiledoalloc.c: Likewise.
58879         * libio/wgenops.c: Likewise.
58880         * locale/programs/xmalloc.c: Likewise.
58881         * misc/syslog.c: Likewise.
58882         * stdio-common/xbug.c: Likewise.
58883         * string/memchr.c: Likewise.
58884         * string/memcmp.c: Likewise.
58885         * string/memrchr.c: Likewise.
58886         * string/rawmemchr.c: Likewise.
58887         * sysdeps/posix/getcwd.c: Likewise.
58888         * time/strftime_l.c: Likewise.
58890 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
58892         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58893         * config.make.in (config-cflags-sse2avx): Define.
58894         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58895         Fix typo.
58897 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
58899         * scripts/config.guess: Update from upstream config git repository.
58900         * scripts/config.sub: Likewise.
58902 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
58904         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58905         (EM_NUM): Update.
58906         (R_TILEPRO_*, R_TILEGX_*): New macros.
58908         * scripts/firstversions.awk: Fix bug in version range handling.
58910         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58912         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58914         * include/sys/epoll.h: New file.
58915         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58916         libc_hidden_def.
58918 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
58920         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58921         Avoid unnecessary __WORDSIZE == 64 test.
58922         (fmaxf): Use VEX format if possible.
58923         (fmax): Likewise.
58924         (fminf): Likewise.
58925         (fmin): Likewise.
58927         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58928         * math/math_private.h: Remove libc_fegetround* and
58929         libc_fesetround*.
58930         * sysdeps/i386/configure.in: Check for -msse2avx.
58931         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58932         also if SSE2AVX is defined.
58933         Remove libc_fegetround* and libc_fesetround*.
58934         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58935         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
58936         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58937         of HAS_YMM_USABLE.
58938         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58939         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58940         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58941         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58942         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58944         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58946 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58948         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58949         size is not set.
58950         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58952 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
58954         [BZ #13618]
58955         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58956         relocation.
58957         * Makeconfig (libm): Define.
58958         * elf/Makefile: Add rules to build and run tst-relsort1.
58959         * elf/tst-relsort1.c: New file.
58960         * elf/tst-relsort1mod1.c: New file.
58961         * elf/tst-relsort1mod2.c: New file.
58963 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
58965         * math/s_ldexp.c: Remove __STDC__ conditionals.
58966         * math/s_ldexpf.c: Likewise.
58967         * math/s_ldexpl.c: Likewise.
58968         * math/s_nextafter.c: Likewise.
58969         * math/s_nexttowardf.c: Likewise.
58970         * math/s_significand.c: Likewise.
58971         * math/s_significandf.c: Likewise.
58972         * math/s_significandl.c: Likewise.
58973         * math/w_jnl.c: Likewise.
58974         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58975         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58976         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58977         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58978         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58979         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58980         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58981         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58982         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58983         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58984         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58985         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58986         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58987         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58988         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58989         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58990         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58991         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58992         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58993         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58994         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58995         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58996         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58997         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58998         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58999         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59000         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59001         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59002         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59003         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59004         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59005         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59006         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59007         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59008         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59009         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59010         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59011         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59012         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59013         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59014         * sysdeps/ieee754/k_standard.c: Likewise.
59015         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59016         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59017         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59018         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59019         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59020         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59021         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59022         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59023         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59024         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59025         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59026         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59027         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59028         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59029         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59030         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59031         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59032         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59033         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59034         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59035         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59036         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59037         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59038         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59039         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59040         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59041         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59043         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59044         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59045         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59046         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59047         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59048         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59049         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59050         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59051         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59052         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59053         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59054         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59055         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59056         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59057         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59058         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59059         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59060         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59062         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59063         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59064         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59065         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59066         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59067         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59068         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59069         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59070         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59071         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59072         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59073         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59074         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59075         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59076         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59077         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59078         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59079         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59080         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59081         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59082         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59083         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59084         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59085         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59086         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59087         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59088         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59089         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59090         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59091         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59092         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59093         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59094         * sysdeps/ieee754/s_matherr.c: Likewise.
59095         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59096         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59097         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59100 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59102         * crypt/md5.h: Remove __STDC__ conditionals.
59103         * libio/libioP.h: Likewise.
59104         * locale/programs/config.h: Likewise.
59105         * sysdeps/generic/sysdep.h: Likewise.
59106         * sysdeps/i386/asm-syntax.h: Likewise.
59107         * sysdeps/s390/asm-syntax.h: Likewise.
59108         * sysdeps/unix/sysdep.h: Likewise.
59109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59112 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59114         * libio/libio.h: Remove __STDC__ conditionals.
59115         * malloc/obstack.h: Likewise.
59116         * math/complex.h: Likewise.
59117         * math/math.h: Likewise.
59118         * sysdeps/generic/_G_config.h: Likewise.
59119         * sysdeps/gnu/_G_config.h: Likewise.
59120         * sysdeps/mach/hurd/_G_config.h: Likewise.
59121         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59122         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59123         * sysdeps/sparc/bits/mathdef.h: Likewise.
59125 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
59127         [BZ #13583]
59128         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59129         Clean up HAS_* macros.
59130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59131         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59132         possible.
59133         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59134         HAS_AVX.
59135         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59136         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59137         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59138         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59139         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59141 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
59143         * elf/tst-unique3.cc (gets): Remove declaration.
59144         * elf/tst-unique3lib.cc (gets): Likewise.
59145         * elf/tst-unique3lib2.cc (gets): Likewise.
59146         * elf/tst-unique4.cc (gets): Likewise.
59148 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
59150         * include/stdio.h: Add C++ protection.  Add gets declarations and
59151         definitions.
59152         * debug/tst-chk1.c: Don't declare gets here.
59153         * stdio-common/tst-gets.c: Likewise.
59155 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59157         * posix/glob: Remove directory.
59159 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59161         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59163 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
59165         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59166         of the non-standard EPFNOSUPPORT.
59168 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59170         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59171         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59172         ANYWHERE set to 1 only on KERN_NO_SPACE error.
59174 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
59176         * wcsmbs/uchar.h: Test __STDC_VERSION__.
59178 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
59180         * nscd/aicache.c (addhstaiX): Do not cache negative results of
59181         transient errors.
59182         * nscd/grpcache.c (cache_addgr): Likewise.
59183         * nscd/hstcache.c (cache_addhst): Likewise.
59184         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59185         * nscd/pwdcache.c (cache_addpw): Likewise.
59186         * nscd/servicescache.c (cache_addserv): Likewise.
59188 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
59190         * malloc/malloc.c: Various cleanups.
59191         * malloc/hooks.c: Likewise.
59193         * stdlib/Makefile (tests): Add bug-fmtmsg1.
59194         * stdlib/bug-fmtmsg1.c: New file.
59196         * stdlib/fmtmsg.c (init): Add missing unlock.
59197         Patch by Peng Haitao <penght@cn.fujitsu.com>.
59199 2012-01-12  Marek Polacek  <polacek@redhat.com>
59201         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59202         and _GNU_SOURCE.
59204 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59206         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59207         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59208         macro to ensure uniqueness of label name.
59209         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59210         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59212 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
59214         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59216         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59217         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59218         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59219         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59221 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
59223         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59225         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59226         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59227         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59229         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59231         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59232         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59233         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59234         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59236         * math/bits/math-finite.h: Add ldexp support.
59238 2012-01-10  Marek Polacek  <polacek@redhat.com>
59240         * locale/programs/localedef.h (show_archive_content): Add noreturn
59241         attribute.
59243 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
59245         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59247 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59249         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59251         * io/Makefile (headers): Add bits/poll2.h.
59253 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
59255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59256         typo #include statement.
59258 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59260         * include/sys/cdefs.h: Define __attribute_alloc_size.
59261         * catgets/gencat.c: Add alloc_size attribute and apply consistently
59262         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59263         * elf/pldd.c: Likewise.
59264         * iconv/iconv_charmap.c: Likewise.
59265         * iconv/iconvconfig.c: Likewise.
59266         * iconv/strtab.c: Likewise.
59267         * locale/programs/locale.c: Likewise.
59268         * locale/programs/localedef.h: Likewise.
59269         * locale/programs/simple-hash.c: Likewise.
59270         * nscd/nscd.h: Likewise.
59271         * nss/makedb.c: Likewise.
59272         * sysdeps/generic/ldconfig.h: Likewise.
59273         * locale/programs/localedef.c: Remove xmalloc prototype.
59274         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59276 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59278         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59279         appropriate.
59281 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59283         * math/Makefile (tests): Add tst-CMPLX.
59284         * math/tst-CMPLX.c: New file.
59286         * math/complex.h (CMPLXL): Fix typo.
59288         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59289         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59290         GLIBC_2.16.
59291         * debug/tst-chk1.c: Add poll and ppoll tests.
59292         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59293         * include/sys/poll.h: Add hidden proto for ppoll.
59294         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59295         * sysdeps/mach/hurd/ppoll.c: Likewise.
59296         * io/ppoll.c: Likewise.
59297         * debug/poll_chk.c: New file.
59298         * debug/ppoll_chk.c: New file.
59299         * include/bits/poll2.h: New file.
59300         * io/bits/poll2.h: New file.
59302         [BZ #1350]
59303         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59305         * configure.in: static is always set to yes.  Remove.
59306         * config.make.in: Don't set build-static.
59307         * Makeconfig: Remove use of build-static.
59308         * dlfcn/Makefile: Likewise.
59309         * elf/Makefile: Likewise.
59310         * math/Makefile: Likewise.
59311         * misc/Makefile: Likewise.
59312         * nptl/Makefile: Likewise.
59313         * sysdeps/mach/hurd/Makefile: Likewise.
59315         * configure.in: PWD_P is not used anymore.
59316         * config.make.in: Remove PWD_P entry.
59318         * configure.in: Remove last remnants of RANLIB.
59319         No need to check for signed size_t anymore.
59320         Don't set libc_commonpagesize and libc_relro_required here for Alpha
59321         and IA-64.
59322         Remove __builtin_expect test because we require at least gcc 3.4.
59323         * aclocal.m4: Likewise.
59325         * wcsmbs/mbrtoc16.c: Implement using towc function.
59326         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59327         * wcsmbs/wcsmbsload.c: Likewise.
59328         * iconv/gconv_simple.c: Likewise.
59329         * iconv/gconv_int.h: Likewise.
59330         * iconv/gconv_builtin.h: Likewise.
59331         * iconv/iconv_prog.c: Remove CHAR16 handling.
59333         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59335         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59337         * configure.in: Remove --with-elf and --enable-bounded options.
59338         Dont set base_machine for ia64.  More non-ELF conditions removed.
59339         Remove testing and setting of leading underscore information.
59340         * config.make.in (build-bounded): Set to no.
59341         * config.h.in: Remove NO_UNDERSCORES entry.
59342         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
59343         them.
59344         * csu/start.c: Remove !NO_UNDERSCORE code.
59345         * locale/localeinfo.h: Likewise.
59346         * sysdeps/generic/machine-gmon.h: Likewise.
59347         * sysdeps/generic/sysdep.h: Likewise.
59348         * sysdeps/i386/sysdep.h: Likewise.
59349         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59350         * sysdeps/mach/sysdep.h: Likewise.
59351         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59352         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59353         * sysdeps/sh/sysdep.h: Likewise.
59354         * sysdeps/sparc/sparc32/alloca.S: Likewise.
59355         * sysdeps/unix/i386/sysdep.S: Likewise.
59356         * sysdeps/unix/sparc/start.c: Likewise.
59357         * sysdeps/unix/sparc/sysdep.S: Likewise.
59358         * sysdeps/unix/sparc/sysdep.h: Likewise.
59359         * sysdeps/unix/start.c: Likewise.
59360         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59361         * sysdeps/x86_64/sysdep.h: Likewise.
59363 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
59365         [BZ #13553]
59366         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59367         for non-gcc.
59368         * argp/argp-fmtstream.h: Use const instead __const.
59369         * argp/argp.h: Likewise.
59370         * assert/assert.h: Likewise.
59371         * bits/fenv.h: Likewise.
59372         * bits/sched.h: Likewise.
59373         * bits/sigset.h: Likewise.
59374         * bits/sigthread.h: Likewise.
59375         * catgets/nl_types.h: Likewise.
59376         * conform/data/pthread.h-data: Likewise.
59377         * crypt/crypt-private.h: Likewise.
59378         * crypt/crypt.h: Likewise.
59379         * crypt/crypt_util.c: Likewise.
59380         * ctype/ctype.h: Likewise.
59381         * debug/execinfo.h: Likewise.
59382         * debug/mbsnrtowcs_chk.c: Likewise.
59383         * debug/mbsrtowcs_chk.c: Likewise.
59384         * debug/wcsnrtombs_chk.c: Likewise.
59385         * debug/wcsrtombs_chk.c: Likewise.
59386         * debug/wcstombs_chk.c: Likewise.
59387         * dirent/dirent.h: Likewise.
59388         * dlfcn/dlfcn.h: Likewise.
59389         * elf/neededtest4.c: Likewise.
59390         * grp/grp.h: Likewise.
59391         * gshadow/gshadow.h: Likewise.
59392         * iconv/gconv.h: Likewise.
59393         * iconv/gconv_int.h: Likewise.
59394         * iconv/gconv_simple.c: Likewise.
59395         * iconv/iconv.h: Likewise.
59396         * iconv/loop.c: Likewise.
59397         * iconv/skeleton.c: Likewise.
59398         * include/aio.h: Likewise.
59399         * include/aliases.h: Likewise.
59400         * include/argz.h: Likewise.
59401         * include/arpa/inet.h: Likewise.
59402         * include/assert.h: Likewise.
59403         * include/dirent.h: Likewise.
59404         * include/dlfcn.h: Likewise.
59405         * include/execinfo.h: Likewise.
59406         * include/fcntl.h: Likewise.
59407         * include/fenv.h: Likewise.
59408         * include/glob.h: Likewise.
59409         * include/grp.h: Likewise.
59410         * include/libintl.h: Likewise.
59411         * include/mntent.h: Likewise.
59412         * include/netdb.h: Likewise.
59413         * include/pwd.h: Likewise.
59414         * include/rpc/netdb.h: Likewise.
59415         * include/sched.h: Likewise.
59416         * include/search.h: Likewise.
59417         * include/shadow.h: Likewise.
59418         * include/signal.h: Likewise.
59419         * include/stdio.h: Likewise.
59420         * include/stdlib.h: Likewise.
59421         * include/string.h: Likewise.
59422         * include/sys/socket.h: Likewise.
59423         * include/sys/stat.h: Likewise.
59424         * include/sys/statfs.h: Likewise.
59425         * include/sys/statvfs.h: Likewise.
59426         * include/sys/syslog.h: Likewise.
59427         * include/sys/time.h: Likewise.
59428         * include/sys/uio.h: Likewise.
59429         * include/time.h: Likewise.
59430         * include/unistd.h: Likewise.
59431         * include/utmp.h: Likewise.
59432         * include/wchar.h: Likewise.
59433         * include/wctype.h: Likewise.
59434         * inet/aliases.h: Likewise.
59435         * inet/arpa/inet.h: Likewise.
59436         * inet/netinet/ether.h: Likewise.
59437         * inet/netinet/in.h: Likewise.
59438         * intl/libintl.h: Likewise.
59439         * io/bits/fcntl2.h: Likewise.
59440         * io/fcntl.h: Likewise.
59441         * io/ftw.h: Likewise.
59442         * io/sys/poll.h: Likewise.
59443         * io/sys/stat.h: Likewise.
59444         * io/sys/statfs.h: Likewise.
59445         * io/sys/statvfs.h: Likewise.
59446         * io/utime.h: Likewise.
59447         * libio/bits/stdio.h: Likewise.
59448         * libio/bits/stdio2.h: Likewise.
59449         * libio/libio.h: Likewise.
59450         * libio/libioP.h: Likewise.
59451         * libio/stdio.h: Likewise.
59452         * locale/lc-ctype.c: Likewise.
59453         * locale/locale.h: Likewise.
59454         * login/utmp.h: Likewise.
59455         * malloc/arena.c: Likewise.
59456         * malloc/malloc.c: Likewise.
59457         * malloc/malloc.h: Likewise.
59458         * malloc/mcheck.c: Likewise.
59459         * malloc/mtrace.c: Likewise.
59460         * math/bits/mathcalls.h: Likewise.
59461         * math/fenv.h: Likewise.
59462         * math/math_private.h: Likewise.
59463         * misc/bits/error.h: Likewise.
59464         * misc/bits/syslog.h: Likewise.
59465         * misc/err.h: Likewise.
59466         * misc/error.h: Likewise.
59467         * misc/fstab.h: Likewise.
59468         * misc/mntent.h: Likewise.
59469         * misc/regexp.h: Likewise.
59470         * misc/search.h: Likewise.
59471         * misc/sgtty.h: Likewise.
59472         * misc/sys/mman.h: Likewise.
59473         * misc/sys/syslog.h: Likewise.
59474         * misc/sys/uio.h: Likewise.
59475         * misc/sys/xattr.h: Likewise.
59476         * misc/ttyent.h: Likewise.
59477         * nis/rpcsvc/ypclnt.h: Likewise.
59478         * nss/nss.h: Likewise.
59479         * posix/bits/unistd.h: Likewise.
59480         * posix/fnmatch.h: Likewise.
59481         * posix/glob.h: Likewise.
59482         * posix/sched.h: Likewise.
59483         * posix/spawn.h: Likewise.
59484         * posix/sys/wait.h: Likewise.
59485         * posix/unistd.h: Likewise.
59486         * posix/wordexp.h: Likewise.
59487         * pwd/pwd.h: Likewise.
59488         * resolv/netdb.h: Likewise.
59489         * resource/sys/resource.h: Likewise.
59490         * rt/aio.h: Likewise.
59491         * rt/bits/mqueue2.h: Likewise.
59492         * rt/mqueue.h: Likewise.
59493         * shadow/shadow.h: Likewise.
59494         * signal/signal.h: Likewise.
59495         * socket/send.c: Likewise.
59496         * socket/sendto.c: Likewise.
59497         * socket/sys/socket.h: Likewise.
59498         * stdio-common/printf.h: Likewise.
59499         * stdlib/bits/stdlib.h: Likewise.
59500         * stdlib/fmtmsg.h: Likewise.
59501         * stdlib/monetary.h: Likewise.
59502         * stdlib/stdlib.h: Likewise.
59503         * stdlib/ucontext.h: Likewise.
59504         * streams/stropts.h: Likewise.
59505         * string/argz.h: Likewise.
59506         * string/bits/string2.h: Likewise.
59507         * string/string.h: Likewise.
59508         * string/strings.h: Likewise.
59509         * sunrpc/rpc/auth.h: Likewise.
59510         * sunrpc/rpc/auth_des.h: Likewise.
59511         * sunrpc/rpc/clnt.h: Likewise.
59512         * sunrpc/rpc/netdb.h: Likewise.
59513         * sunrpc/rpc/pmap_clnt.h: Likewise.
59514         * sunrpc/rpc/xdr.h: Likewise.
59515         * sysdeps/generic/inttypes.h: Likewise.
59516         * sysdeps/generic/net/if.h: Likewise.
59517         * sysdeps/generic/sys/swap.h: Likewise.
59518         * sysdeps/gnu/net/if.h: Likewise.
59519         * sysdeps/gnu/utmpx.h: Likewise.
59520         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59521         * sysdeps/i386/i486/bits/string.h: Likewise.
59522         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59523         * sysdeps/s390/bits/string.h: Likewise.
59524         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59525         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59526         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59527         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59528         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59529         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59530         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59531         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59532         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59533         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59534         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59535         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59536         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59537         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59538         * sysdeps/unix/sysv/linux/readv.c: Likewise.
59539         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59540         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59541         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59542         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59543         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59544         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59545         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59546         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59547         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59548         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59549         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59550         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59551         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59552         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59553         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59554         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59555         * sysvipc/sys/ipc.h: Likewise.
59556         * sysvipc/sys/msg.h: Likewise.
59557         * sysvipc/sys/sem.h: Likewise.
59558         * sysvipc/sys/shm.h: Likewise.
59559         * termios/termios.h: Likewise.
59560         * time/sys/time.h: Likewise.
59561         * time/time.h: Likewise.
59562         * wcsmbs/bits/wchar2.h: Likewise.
59563         * wcsmbs/uchar.h: Likewise.
59564         * wcsmbs/wchar.h: Likewise.
59565         * wctype/wctype.h: Likewise.
59567         [BZ #13551]
59568         * Makeconfig: Remove all but ELF support including AIX support.
59569         * Makerules: Likewise.
59570         * config.h.in: Likewise.
59571         * config.make.in: Likewise.
59572         * configure: Likewise.
59573         * configure.in: Likewise.
59574         * csu/Makefile: Likewise.
59575         * csu/version.c: Likewise.
59576         * debug/Makefile: Likewise.
59577         * dlfcn/Makefile: Likewise.
59578         * elf/Makefile: Likewise.
59579         * extra-lib.mk: Likewise.
59580         * iconv/Makefile: Likewise.
59581         * include/libc-symbols.h: Likewise.
59582         * include/shlib-compat.h: Likewise.
59583         * resolv/Makefile: Likewise.
59584         * resolv/res_libc.c: Likewise.
59585         * rt/Makefile: Likewise.
59586         * sysdeps/i386/asm-syntax.h: Likewise.
59587         * sysdeps/i386/sysdep.h: Likewise.
59588         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59589         * sysdeps/mach/sysdep.h: Likewise.
59590         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59591         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59592         * sysdeps/s390/asm-syntax.h: Likewise.
59593         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59594         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59595         * sysdeps/sh/sysdep.h: Likewise.
59596         * sysdeps/unix/sparc/sysdep.h: Likewise.
59597         * sysdeps/wordsize-32/divdi3.c: Likewise.
59598         * sysdeps/x86_64/sysdep.h: Likewise.
59600         * argp/Versions: Remove _argp_unlock_xxx.
59602         [BZ #13559]
59603         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
59604         * abilist/libBrokenLocale.abilist: Likewise.
59605         * abilist/libanl.abilist: Likewise.
59606         * abilist/libc.abilist: Likewise.
59607         * abilist/libcrypt.abilist: Likewise.
59608         * abilist/libdl.abilist: Likewise.
59609         * abilist/libm.abilist: Likewise.
59610         * abilist/libnsl.abilist: Likewise.
59611         * abilist/libpthread.abilist: Likewise.
59612         * abilist/libresolv.abilist: Likewise.
59613         * abilist/librt.abilist: Likewise.
59614         * abilist/libthread_db.abilist: Likewise.
59615         * abilist/libutil.abilist: Likewise.
59616         * abilist/libnss_db.abilist: New file.
59618         * scripts/abilist.awk: Add support for indirect functions.
59620         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59622         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59624         * shlib-versions: Remove entries for ports architectures.
59626         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
59627         files in ports.
59628         * elf/stackguard-macros.h: Remove support for IA-64.
59629         * elf/tst-auditmod1.c: Likewise.
59630         * sysdeps/generic/ldsodefs.h: Likewise.
59632         * sysdeps/unix/sysv/linux/configure.in: Ports should define
59633         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59634         configure files.
59636         [BZ #13552]
59637         * configure.in: Remove --enable-omitfp support.
59638         * FAQ.in: Adjust.
59639         * config.make.in: Likewise.
59640         * Makeconfig: Likewise.
59641         * manual/install.texi: Likewise.
59643         In case anyone cares, the IA-64 architecture could move to ports.
59644         * sysdeps/ia64/*: Removed.
59645         * sysdeps/unix/sysv/linux/ia64/*: Removed.
59646         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59648         [BZ #13555]
59649         * configure.in: Remove entries for unsupported architectures.
59651         [BZ #13533]
59652         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59653         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
59654         routines.
59655         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59656         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59657         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
59658         fall back to using wcrtomb.
59659         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59660         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
59661         renaming.
59662         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59663         * wcsmbs/tst-c16c32-1.c: New file.
59665         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59666         local variable.
59668         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59670         * elf/tst-unique3.cc: Add explicit declaration of gets.
59671         * elf/tst-unique3lib.cc: Likewise.
59672         * elf/tst-unique3lib2.cc: Likewise.
59673         * elf/tst-unique4.cc: Likewise.
59675         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59677 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
59679         [BZ #13566]
59680         * assert/assert.h (static_assert): Don't define for C++.
59681         * libio/stdio.h (gets): Do declare for C++ <= C++11.
59682         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59684 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
59686         * iconv/loop.c (single loop): Fix assertion in storing of
59687         remaining bytes.
59689         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59691 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
59693         * posix/getconf.c: Update copyright year.
59694         * nss/getent.c: Likewise.
59695         * nss/makedb.c: Likewise.
59696         * iconv/iconvconfig.c: Likewise.
59697         * iconv/iconv_prog.c: Likewise.
59698         * elf/ldconfig.c: Likewise.
59699         * elf/pldd.c: Likewise.
59700         * elf/sotruss.ksh: Likewise.
59701         * catgets/gencat.c: Likewise.
59702         * csu/version.c: Likewise.
59703         * elf/ldd.bash.in: Likewise.
59704         * elf/sprof.c (print_version): Likewise.
59705         * locale/programs/locale.c: Likewise.
59706         * locale/programs/localedef.c: Likewise.
59707         * login/programs/pt_chown.c: Likewise.
59708         * nscd/nscd.c (print_version): Likewise.
59709         * debug/xtrace.sh: Likewise.
59710         * malloc/memusage.sh: Likewise.
59711         * malloc/mtrace.pl: Likewise.
59712         * debug/catchsegv.sh: Likewise.
59714 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
59716         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59717         pure attribute.
59719 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
59721         [BZ #13533]
59722         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59723         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59724         transformations.
59725         * iconv/gconv_int.h: Likewise.
59726         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59727         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59728         from libc for GLIBC_2.16.
59729         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59730         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59731         * wcsmbs/uchar.h: Really define mbstate_t.
59732         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59733         * wcsmbs/c16rtomb.c: New file.
59734         * wcsmbs/mbrtoc16.c: New file.
59735         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59736         for C/POSIX locale.
59737         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59738         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59740         * wcsmbs/wchar.h: Add missing __restrict.
59742 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
59744         [BZ #13532]
59745         * time/Makefile (routines): Add timespec_get.
59746         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59747         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
59748         timespec for ISO C11.
59749         * time/timespec_get.c: New file.
59750         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59751         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59753         [BZ #13531]
59754         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59755         * stdlib/stdlib.h: Declare aligned_alloc.
59756         * Versions.def: Add GLIBC_2.16 for libc.
59757         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59759         [BZ 13527]
59760         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59761         ISO C11.
59763         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59764         code.
59766         [BZ #13528]
59767         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59769         [BZ #13529]
59770         * assert/assert.h (static_assert): Define.
59772         * version.h: Update for 2.16 development version.
59774         [BZ #13526]
59775         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59776         _ISOC11_SOURCE.
59778         * version.h (RELEASE): Bump for 2.15 release.
59779         * include/features.h (__GLIBC_MINOR__): Bump to 15.
59781         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59782         Patch by Marek Polacek <mpolacek@redhat.com>.
59784         * bits/byteswap.h: Protect long long constants with __extension__.
59785         * sysdeps/i386/bits/byteswap.h: Likewise.
59786         * sysdeps/ia64/bits/byteswap.h: Likewise.
59787         * sysdeps/s390/bits/byteswap.h: Likewise.
59788         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59790 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59792         [BZ #13540]
59793         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59794         destination buffer.
59795         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59797 2011-12-23  Marek Polacek  <polacek@redhat.com>
59799         * elf/dl-addr.c (determine_info): Add inline keyword.
59800         * elf/tst-auditmod4b.c (check_avx): Likewise.
59801         * elf/tst-auditmod6b.c (check_avx): Likewise.
59802         * elf/tst-auditmod6c.c (check_avx): Likewise.
59803         * elf/tst-auditmod7b.c (check_avx): Likewise.
59805 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
59807         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59808         !__SSE_MATH__.
59810 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59812         [BZ #13540]
59813         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59814         processing for last bytes.
59816 2011-08-06  Bruno Haible  <bruno@clisp.org>
59818         [BZ #13061]
59819         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59820         U+0385, not to U+1FEE.
59822         [BZ #13062]
59823         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59824         entry for U+00A5 U+0301.
59826 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
59828         [BZ #13166]
59829         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59830         buffer for the output is too small.
59832         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59833         optimization.
59835         [BZ #13185]
59836         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59837         SSE flags if possible.
59839 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59841         [BZ #13540]
59842         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59843         processing for last bytes.
59845 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
59847         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59848         (syscall-list-default-options, syscall-list-default-condition)
59849         (syscall-list-includes): Define.
59850         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59851         list of ABIs and options and #if conditions for each ABI.  Do not
59852         handle common syscalls between ABIs specially.
59853         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59854         Remove.
59855         (syscall-list-variants, syscall-list-32bit-options)
59856         (syscall-list-32bit-condition, syscall-list-64bit-options)
59857         (syscall-list-64bit-condition): Define.
59858         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59859         (syscall-list-variants, syscall-list-32bit-options)
59860         (syscall-list-32bit-condition, syscall-list-64bit-options)
59861         (syscall-list-64bit-condition): Define.
59862         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59863         Remove.
59864         (syscall-list-variants, syscall-list-32bit-options)
59865         (syscall-list-32bit-condition, syscall-list-64bit-options)
59866         (syscall-list-64bit-condition): Define.
59867         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59868         Remove.
59869         (syscall-list-variants, syscall-list-32bit-options)
59870         (syscall-list-32bit-condition, syscall-list-64bit-options)
59871         (syscall-list-64bit-condition): Define.
59873 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
59875         * locale/iso-639.def: Add brx entry.
59877         [BZ #13328]
59878         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59879         Proposed by Mariusz_Cukr <marcukr@op.pl>.
59881         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59882         __feraiseexcept_renamed.
59884 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
59886         [BZ #13538]
59887         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59888         EPOLLET with unsigned values.
59889         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59890         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59892         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59893         to large cancellation.
59894         * math/s_cacoshf.c: Likewise.
59895         * math/s_cacoshl.c: Likewise.
59897 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
59899         [BZ #13305]
59900         [BZ #12786]
59901         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59902         * math/s_cacoshf.c: Likewise.
59903         * math/s_cacoshl.c: Likewise.
59905 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
59907         [BZ #13439]
59908         * iconv/gconv.h: Define __GCONV_SWAP.
59909         * iconvdata/unicode.c: The swap bit must be stored in __flags.
59910         * iconvdata/utf-16.c: Likewise.
59911         * iconvdata/utf-32.c: Likewise.
59913 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
59915         [BZ #13524]
59916         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59917         numerator after shifting it by one limb.
59919 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
59921         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59922         under [__USE_EXTERN_INLINES].
59924 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
59926         [BZ #13446]
59927         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59929 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59931         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59932         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59933         optimized code.
59934         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59935         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59936         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59937         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59938         for strncasecmp/strncasecmp_l compilation.
59939         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59940         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59942 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
59944         [BZ #13484]
59945         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59946         of __asm__.
59948 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
59950         [BZ #13506]
59951         * time/tzfile.c (__tzfile_read): Check values from file header.
59953 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59955         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59956         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59957         * powerpc/powerpc32/dl-start.S: Likewise.
59958         * powerpc/powerpc32/elf/start.S: Likewise.
59959         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59960         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59961         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59962         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59963         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59964         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59965         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59966         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59967         * powerpc/powerpc32/fpu/s_round.S: Likewise.
59968         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59969         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59970         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59971         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59972         * powerpc/powerpc32/memset.S: Likewise.
59973         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59974         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59975         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59976         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59977         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59978         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59979         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59980         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59981         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59982         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59983         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59984         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59985         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59987 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59989         * math/libm-test.inc: Added more nearbyint tests.
59990         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59991         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59992         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59993         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59995 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
59997         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59998         FD_CLOEXEC.
60000 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60002         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
60003         Add wcscpy-ssse3 wcscpy-c.
60004         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
60005         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
60006         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
60007         * sysdeps/x86_64/wcschr.S: New file.
60008         * sysdeps/x86_64/wcsrchr.S: New file.
60009         * string/test-strcmp.c: Remove checking of wcscmp function for
60010         wrong alignments.
60011         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
60012         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
60013         wcsrchr-sse2 wcsrchr-c.
60014         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
60015         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
60016         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
60017         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
60018         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
60019         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
60020         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
60021         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
60022         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
60023         * wcsmbc/wcschr.c (WCSCHR): New macro.
60025 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60027         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60028         * wcsmbs/test-wcsrchr.c: New file.
60029         * string/test-strrchr.c: Add wcsrchr support.
60030         (WIDE): New macro.
60031         * wcsmbs/test-wcscpy.c: New file.
60032         * string/test-strcpy.c: Add wcscpy support.
60033         (WIDE): New macro.
60035 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
60037         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60038         the inner loop.
60040 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
60042         [BZ #13472]
60043         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60045 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
60047         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60048         Minor optimizations.
60050         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60051         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60052         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60054 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
60056         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60057         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60058         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60059         for gcc to avoid warnings.
60060         * inet/Makefile (tests): Add tst-checks.
60061         * inet/tst-checks.c: New file.
60063         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60064         warning.
60066         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60067         __wmemcmp_sse2.
60069         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60070         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60072         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60074 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
60076         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60077         problem.
60079         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60081 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
60083         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60084         conditional on GCC version.
60085         (__arch_compare_and_exchange_val_8_acq)
60086         (__arch_compare_and_exchange_val_16_acq)
60087         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60088         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60089         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60091 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
60093         * sysdeps/sh/backtrace.c: New file.
60095 2011-12-02  Andreas Schwab  <schwab@redhat.com>
60097         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
60098         parenthesis.
60100 2011-12-01  Andreas Schwab  <schwab@redhat.com>
60102         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60103         falling back to utime.
60105 2011-11-30  Andreas Schwab  <schwab@redhat.com>
60107         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60108         expectations for float.
60110 2011-11-29  Andreas Schwab  <schwab@redhat.com>
60112         * locale/weight.h (findidx): Add parameter len.
60113         * locale/weightwc.h (findidx): Likewise.
60114         * posix/fnmatch_loop.c (FCT): Adjust caller.
60115         * posix/regcomp.c (build_equiv_class): Likewise.
60116         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60117         * posix/regexec.c (check_node_accept_bytes): Likewise.
60118         * string/strcoll_l.c (STRCOLL): Likewise.
60119         * string/strxfrm_l.c (STRXFRM): Likewise.
60121 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
60123         * Makefile.in: Remove CVSOPT handling.
60124         * configure.in: Remove use of AC_REVISION.
60125         * iconvdata/Makefile (distribute): No need to filter out CVS.
60126         * scripts/list-sources.sh: Remove CVS, subversion and monotone
60127         handling.
60129 2011-11-16  Andreas Schwab  <schwab@redhat.com>
60131         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60132         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60133         [USE_AS_STRNCASECMP_L]: Likewise.
60134         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60135         NO_TLS_DIRECT_SEG_REFS.
60136         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60137         Fix argument offsets for non-PIC.
60138         [USE_AS_STRNCASECMP_L]: Likewise.
60139         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60140         NO_TLS_DIRECT_SEG_REFS.
60142 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60144         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60145         O_CLOEXEC.
60146         * locale/loadlocale.c (_nl_load_locale): Likewise.
60148 2011-11-15  Andreas Schwab  <schwab@redhat.com>
60150         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60151         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60152         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60153         (SYSCALL_GETTIME): Set errno on error.
60155         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60156         count references to noai6ai_cached.
60158 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60160         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60162         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60163         FD_CLOEXEC for /proc/self/maps.
60165         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60166         FD_CLOEXEC for /proc/meminfo.
60168         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60169         gai.conf.
60171         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
60172         FD_CLOEXEC for given file.
60174         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60176         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60177         FD_CLOEXEC for /etc/hosts.
60178         (_gethtent): Likewise.
60180         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60182         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60183         cancellation and set FD_CLOEXEC for /etc/netgroup.
60185         * nss/nss_files/files-key.c (search): Don't allow cancellation when
60186         reading /etc/publickey.
60188         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60189         allow cancellation when reading /etc/group.
60191         * nss/nss_files/files-alias.c (internal_setent): Don't allow
60192         cancellation.
60193         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
60195         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60196         when using data file.
60198         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60200         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60201         (write_nis_obj): Use "c" and "e" in fopen.
60203         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60205         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60207         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60209         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60211         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60212         locale.alias.
60214         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60216         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60218         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60220         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60221         file parsing and set FD_CLOEXEC.
60223 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60225         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60227 2011-11-14  Andreas Schwab  <schwab@redhat.com>
60229         * malloc/arena.c (arena_get2): Don't call reused_arena when
60230         _int_new_arena failed.
60232 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60234         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60235         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60236         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60237         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60238         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60239         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60240         to compile strcasecmp and strncasecmp.
60241         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60242         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60244         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60246 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
60248         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60249         locale-defines.sym to gen-as-const-headers.
60250         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60251         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60252         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60253         to compile strcasecmp and strncasecmp.
60254         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60255         strcasecmp_l and strncasecmp_l.
60256         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60257         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60258         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60259         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60260         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60261         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60262         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60263         * sysdeps/i386/i686/multiarch/strncase.S: New file.
60264         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60265         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60266         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60268 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
60270         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60271         result of SYSDEP_GETTIME_CPU to retval.
60272         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60273         parameter list to macro.  Remove trailing semicolon.  Adjust users.
60275         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60276         variable.
60278         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60279         mantissa words.
60280         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60282         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60283         from unused variable.
60285         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60286         DWARF definitions.
60287         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60288         for assembling.
60290         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60291         over namespaces.
60293         * sunrpc/rpc_prot.c (rejected): Fix case value.
60295         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60296         unsigned long long int to avoid warnings in shift.
60298         * posix/regex_internal.c (re_string_reconstruct): Actually use result
60299         of use of trans.
60300         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60301         variable tmp.
60303         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60304         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60305         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60307         * nis/nis_table.c (nis_list): Use variable of correct type for
60308         result of __follow_path call.
60310 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60312         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60313         of math functions ceil, trunc, floor, round, and sqrt, when
60314         avaliable on the platform.
60315         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60316         name clash.
60317         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60318         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60319         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60321 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
60323         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60324         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60326 2011-11-11  Roland McGrath  <roland@hack.frob.com>
60328         * include/unistd.h: Fix __readlink return type.
60329         Reported by Chris Metcalf <cmetcalf@tilera.com>.
60331 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
60333         * stdlib/ucontext.h: Undo last change for makecontext.
60335 2011-11-11  Andreas Schwab  <schwab@redhat.com>
60337         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60339         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60340         * setjmp/setjmp.h: Mark functions as non-leaf.
60341         * setjmp/bits/setjmp2.h: Likewise.
60342         * stdlib/ucontext.h: Likewise.
60344 2011-11-10  Andreas Schwab  <schwab@redhat.com>
60346         * malloc/arena.c (_int_new_arena): Don't increment narenas.
60347         (reused_arena): Don't check arena limit.
60348         (arena_get2): Atomically check arena limit.
60350 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
60352         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60353         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60356         instructions.
60358 2011-11-07  Andreas Schwab  <schwab@redhat.com>
60360         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60361         handler when locking.
60363         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60364         Fix size of allocated buffer.
60366 2011-11-04  Andreas Schwab  <schwab@redhat.com>
60368         [BZ #10103]
60369         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60370         declarations for long double functions.
60371         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60373         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60375 2011-11-03  Andreas Schwab  <schwab@redhat.com>
60377         * nscd/nscd.c (main): Don't start AVC thread until credentials are
60378         installed.
60380         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60381         is disabled.
60383 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60385         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60387 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60389         * include/alloca.h (stackinfo_alloca_round): Define.
60390         (extend_alloca): Use it.
60391         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60392         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60393         here.
60395         * scripts/check-local-headers.sh: Ignore libaudit.h.
60397         * nscd/Makefile (extra-objs): Make recursively expanded.
60399 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
60401         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60402         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60404         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60405         * posix/tst-rfc3484-2.c: Likewise.
60406         * posix/tst-rfc3484-3.c: Likewise.
60408         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60409         process_vm_writev.
60410         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60411         process_vm_writev.
60412         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60413         process_vm_writev from libc using GLIBC_2.15 version.
60415         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60417 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
60419         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60420         stack usage.
60422 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
60424         [BZ #13367]
60425         * nss/getent.c (initgroups_keys): Show error message in case no group
60426         names are given.
60428         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60429         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60430         __bump_nl_timestamp.
60431         * nscd/connections (nscd_init): When host database is served open
60432         netlink socket and request notification about configuration changes.
60433         (main_loop_poll): Track netlink file descriptor and bump timestamp
60434         in case data becomes available.
60435         (main_loop_epoll): Likewise.
60436         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60437         (database_pers_head): Add extra_data fileds.
60438         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60439         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60440         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60441         Adjust caller.
60442         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60443         in6ai data, call __free_in6ai.
60444         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60445         Add -DHAVE_NETLINK.
60446         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
60447         interface information.  Reuse previous data if netlink timestamp
60448         is not changed.
60449         (__bump_nl_timestamp): New function.
60450         (__free_in6ai): New function.
60452 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
60454         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60455         close_not_cancel_no_status here.
60456         (__check_pf): Reorganize code a bit to not call close twice if OOM.
60458 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
60460         [BZ #13276]
60461         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60462         return value.
60464         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60465         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60466         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60468 2011-07-03  Andreas Jaeger  <aj@suse.de>
60470         [BZ #10709]
60471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60472         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60473         * math/libm-test.inc (sin_test): Add test case.
60475 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
60477         [BZ #13337]
60478         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60479         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60481         * elf/chroot_canon.c (chroot_canon): Cleanups.
60483         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60485         [BZ #13335]
60486         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60487         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60489         * string/test-strchr.c: Make usable for strchrnul testing.
60490         * string/test-strchrnul.c: New file.
60491         * string/Makefile (strop-tests): Add strchrnul.
60493         * po/it.po: Update from translation team.
60494         * po/es.po: Likewise.
60496 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
60498         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60499         the three constants needed as parameters.  Drop the others.
60500         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60501         __m128i_strloadu_tolower.
60502         Create and initialize variable zero and use it in all the places
60503         where _mm_setzero_si128 was used.
60505         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60506         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60507         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60508         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60509         anymore.
60510         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60511         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60512         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60513         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60514         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60515         __mpranred, __mptan.
60516         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60517         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60518         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60519         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60520         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60521         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60522         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60523         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60524         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60526 2011-10-28  Andreas Schwab  <schwab@redhat.com>
60528         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60529         redefine if SHARED.
60530         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60532         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60533         wide char related routines to wcsmbs subdir.
60535 2011-10-27  Andreas Schwab  <schwab@redhat.com>
60537         [BZ #13344]
60538         * misc/sys/cdefs.h (__THROWNL): Define.
60539         * posix/unistd.h: Use __THREADNL instead of __THREAD
60540         for memory synchronization functions.
60542 2011-10-26  Roland McGrath  <roland@hack.frob.com>
60544         [BZ #13349]
60545         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60546         doesn't exist.
60547         * manual/stdio.texi (Obstack Streams): Node removed.
60549 2011-10-26  Andreas Schwab  <schwab@redhat.com>
60551         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60552         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60553         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60555         * math/math_private.h (math_force_eval): Allow non-addressable
60556         arguments.
60557         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60559 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60561         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60562         file is not needed.
60564         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60565         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60566         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60567         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60568         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60569         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60570         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60571         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60572         Add AVX variants.
60573         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60574         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60575         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60576         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60577         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60578         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60579         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60580         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60581         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60582         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60583         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60584         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60585         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60586         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60587         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60588         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60589         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60590         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60591         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60593         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60594         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
60596         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60597         place.  Use VEX encoding when compiling for AVX.
60599 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60601         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60602         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60604         * string/test-strchr.c (do_test): Don't generate NUL bytes.
60606 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60608         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60609         useless if() expression.
60610         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60611         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60612         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60613         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60614         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60615         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60616         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60617         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60618         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60619         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60620         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60621         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60622         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60623         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60624         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60625         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60626         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60627         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60628         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60630         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60632 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60634         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60635         condition.
60636         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60638 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60640         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60641         .text section.  Avoid duplicate constants.
60642         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60643         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60644         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60645         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60646         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60647         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60648         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60649         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60650         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60651         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60652         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60653         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60654         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60655         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60656         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60657         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60658         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60659         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60660         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60661         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60662         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60663         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60664         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60665         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60666         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60667         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60668         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60669         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60670         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60671         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60672         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60673         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60674         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60675         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60676         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60677         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60678         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60679         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60680         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60681         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60682         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60683         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60684         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60685         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60686         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60688 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
60690         * sysdeps/x86_64/dla.h: Move to ...
60691         * sysdeps/x86_64/fpu/dla.h: ...here.
60692         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60693         situations.  Use __builtin_fma only for gcc 4.6 and up.
60695         * config.make.in: Add have-mfma4 entry.
60696         * configure.in: Substitute libc_cv_cc_fma4.
60697         * math/Makefile (dbl-only-routines): Add sincostab.
60698         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60699         Use __sincostab not sincos.
60700         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60701         name is a macro.
60702         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60703         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60704         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
60706         using __copysign.
60707         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
60708         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
60709         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60710         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60711         and __inv.
60712         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60713         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60714         __copysign.
60715         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
60716         define aliases when function name is a macro.
60717         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60718         sysdeps/ieee754/dbl-64/sincos.tbl.
60719         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60720         fma4-enabled routines.
60721         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60722         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60723         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60724         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60725         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60726         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60727         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60728         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60729         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60730         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60731         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60732         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60733         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60734         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60735         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60736         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60737         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60738         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60739         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60740         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60741         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60742         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60743         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60744         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60745         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60746         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60747         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60748         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60749         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60750         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60752         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60753         rename.
60754         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60755         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60756         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60759         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60760         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60761         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60763 2011-10-24  Andreas Schwab  <schwab@redhat.com>
60765         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60767 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60769         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60771         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60772         prediction.
60773         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60775         * string/strnlen.c: Don't define STRNLEN, reverse logic.
60776         Remove unused variable magic_bits.
60777         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60779         * string/strnlen.c: Define and use STRNLEN macro.
60780         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60781         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60782         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60783         * wcsmbs/wcslen.c: Define and use WCSLEN.
60784         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60785         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60786         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60787         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60788         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60789         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60790         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60792 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60795         strnlen-sse2-no-bsf.
60796         Rename strlen-no-bsf to strlen-sse2-no-bsf.
60797         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60798         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60799         Add strnlen support.
60800         (USE_AS_STRNLEN): New macro.
60801         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60802         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60803         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60804         * sysdeps/x86_64/wcslen.S: New file.
60806 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
60808         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60809         XMM-moves are used for copying on small sizes.
60811 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60813         * wcsmbs/Makefile (strop-tests): Add wcschr.
60814         * wcsmbs/test-wcschr.c: New file.
60815         * string/test-strchr.c: Update.
60816         Add wcschr support.
60817         (WIDE): New macro.
60819 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60821         * wcsmbs/Makefile (strop-tests): Add wcslen.
60822         * wcsmbs/test-wcslen.c: New file.
60823         * string/test-strlen.c: Update.
60824         Add wcslen support.
60825         (WIDE): New macro.
60827 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60829         * po/it.po: Update from translation team.
60831 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60833         * sysdeps/x86_64/wcscmp.S: Update.
60834         Fix wrong comparison semantics.
60835         wcscmp shall use signed comparison not unsigned.
60836         Don't use substraction to avoid overflow bug.
60837         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60838         * wcsmbc/wcscmp.c: Likewise.
60839         * string/test-strcmp.c: Likewise.
60840         Add new tests to check cases with negative values.
60842 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
60844         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60845         * sysdeps/x86_64/dla.h: ...here.  New file.
60846         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60847         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60848         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60849         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60850         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60851         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60852         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60853         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60854         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60856 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
60858         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60859         __ynl_finite aliases.
60861 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
60863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60865         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60866         define DLA_FMA.
60867         [DLA_FMA] (EMULV): Use DLA_FMA.
60868         [DLA_FMA] (MUL12): Use EMULV.
60869         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60870         that are not needed.
60871         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60872         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60873         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60874         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60876         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60877         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60879 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
60881         * math/s_nan.c: Undef __nan.
60882         * math/s_nanf.c: Undef __nanf.
60883         * math/s_nanl.c: Undef __nanl.
60884         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60885         "math_private.h".
60887 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
60889         * math/s_catan.c: Add branch predictions.
60890         * math/s_catanf.c: Likewise.
60891         * math/s_catanh.c: Likewise.
60892         * math/s_catanhf.c: Likewise.
60893         * math/s_catanhl.c: Likewise.
60894         * math/s_catanl.c: Likewise.
60895         * math/s_cexp.c: Likewise.
60896         * math/s_cexpf.c: Likewise.
60897         * math/s_cexpl.c: Likewise.
60898         * math/s_clog.c: Likewise.
60899         * math/s_clog10.c: Likewise.
60900         * math/s_clog10f.c: Likewise.
60901         * math/s_clog10l.c: Likewise.
60902         * math/s_clogf.c: Likewise.
60903         * math/s_clogl.c: Likewise.
60904         * math/s_csqrt.c: Likewise.
60905         * math/s_csqrtf.c: Likewise.
60906         * math/s_csqrtl.c: Likewise.
60907         * math/s_ctanf.c: Likewise.
60908         * math/s_ctanh.c: Likewise.
60909         * math/s_ctanhf.c: Likewise.
60910         * math/s_ctanhl.c: Likewise.
60911         * math/s_ctanl.c: Likewise.
60913         * math/math_private.h: Define __nan, __nanf, __nanl.
60914         * math/s_cacosh.c: Include <math_private.h>.
60915         * math/s_cacoshl.c: Likewise.
60916         * math/s_casinh.c: Likewise.
60917         * math/s_casinhf.c: Likewise.
60918         * math/s_casinhl.c: Likewise.
60919         * math/s_ccos.c: Rely entire on ccosh.
60920         * math/s_ccosf.c: Rely entire on ccoshf.
60921         * math/s_ccosl.c: Rely entirely on ccoshl.
60922         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
60923         Remove tests for FE_INVALID.
60924         * math/s_ccoshf.c: Likewise.
60925         * math/s_ccoshl.c: Likewise.
60926         * math/s_csin.c: Likewise.
60927         * math/s_csinf.c: Likewise.
60928         * math/s_csinh.c Likewise.
60929         * math/s_csinhf.c: Likewise.
60930         * math/s_csinhl.c: Likewise.
60931         * math/s_csinl.c: Likewise.
60932         * math/s_ctan.c: Likewise.
60933         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60934         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60935         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60937 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
60939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60940         compilation problems.
60942         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60943         __builtin_expect.
60945 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
60947         * sysdeps/i386/configure.in: Test for -mfma4 option.
60948         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60949         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60950         COMMON_CPUID_INDEX_80000001.
60951         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60952         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60953         use it if FMA3 is not supported.
60954         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60956         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60957         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60959 2011-10-20  Andreas Schwab  <schwab@redhat.com>
60961         [BZ #12892]
60962         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60963         it would create a cycle with a link time dependency.
60965 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
60967         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60968         instruction.
60969         * string/Makefile (strop-tests): Add rawmemchr.
60970         * string/test-rawmemchr.c: New file.
60972         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60973         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
60974         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
60975         when compiling str{,n}casecmp and when AVX is available.  Hook up
60976         new optimized code in initializers.
60978 2011-10-19  Andreas Schwab  <schwab@redhat.com>
60980         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60981         __feraiseexcept instead of feraiseexcept.
60983 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
60985         * math/math_private.h: Define defaults for libc_fetestexcept and
60986         libc_feupdateenv.
60987         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60988         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60989         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60990         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60991         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60992         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60993         libc_fetestexcept and libc_feupdateenv.
60995         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60996         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60997         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60998         * sysdeps/x86_64/fpu/math_private.h: Define special version of
60999         libc_feholdexcept_setround.
61001         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
61002         Add s_nearbyint-c and s_nearbyintf-c.
61003         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
61004         nearbyintf inlines.
61005         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
61006         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
61007         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
61008         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
61010         * math/math_private.h: Define defaults for libc_fegetround,
61011         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
61012         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
61013         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
61014         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
61015         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
61016         standard functions.
61017         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61018         Remove comments and hacks for old compiler versions.
61019         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61020         libc_fegetround, libc_fesetround, libc_feholdexcept, and
61021         libc_feholdexceptl.
61023 2011-10-18  Andreas Schwab  <schwab@redhat.com>
61025         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61026         (__feraiseexcept_renamed): Add __NTH.
61027         (feraiseexcept): Add __NTH.  Rename local variables to fix
61028         namespace violations.
61030 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
61032         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61034         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61036         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61037         recently added interfaces.
61038         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61040         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61041         about macro parameter expansion.
61043         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61044         __NO_MATH_INLINES is defined.  Cleanups.
61046         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61047         and __floorf is target has SSE4.1.
61048         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61049         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61050         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61051         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61053         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61054         name.
61055         (floorf): Likewise.
61057         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61059 2011-10-17  Andreas Schwab  <schwab@redhat.com>
61061         * misc/sys/cdefs.h: Fix last change.
61063         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61064         database lookup.
61066 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
61068         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61070         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61071         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61072         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61073         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61074         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61075         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61076         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61077         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61078         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61079         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61080         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61081         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61082         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61083         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61084         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61085         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61086         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61087         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61088         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61089         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61090         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61091         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61093         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61094         ceil, ceilf, floor, floorf.
61096         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61097         Perform IRELATIVE relocations last.
61099         * elf/do-rel.h: Add another parameter nrelative, replacing the
61100         local variable with the same name.  Change name of the function
61101         to end in Rel or Rela (uppercase).
61102         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61103         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
61104         elf_dynamic_do_##reloc function.
61106 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61108         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61109         is sufficient, at least on modern CPUs.
61111         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61113         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61114         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61116         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61117         __expl_finite.
61118         * math/bits/math-finite.h: Add entries for exp.
61119         * math/e_expl.c: Add __*_finite alias.
61120         * sysdeps/i386/fpu/e_exp.S: Likewise.
61121         * sysdeps/i386/fpu/e_expf.S: Likewise.
61122         * sysdeps/i386/fpu/e_expl.c: Likewise.
61123         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61124         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61125         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61126         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61127         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61128         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61129         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61131         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61132         is sufficient, at least on modern CPUs.
61134         * ctype/ctype-info.c (__ctype_init): Define.
61135         * include/ctype.h (__ctype_init): Declare.
61136         (__ctype_b_loc): The variable is always initialized.
61137         (__ctype_toupper_loc): Likewise.
61138         (__ctype_tolower_loc): Likewise.
61139         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61140         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61142 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
61144         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61146         * configure.in: Also look in $cxxmachine/include for C++ system
61147         headers.
61149 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61151         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61152         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61153         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61154         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
61155         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61156         (USE_AS_WMEMCMP): New macro.
61157         Fixing indents.
61158         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61159         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61160         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61161         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61163         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61164         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61165         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61166         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61167         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61168         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61169         (USE_AS_WMEMCMP): New macro.
61170         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61171         * sysdeps/string/test-memcmp.c: Update.
61172         Fix simple_wmemcmp.
61173         Add new tests.
61174         * wcsmbs/wmemcmp.c: Update.
61175         (WMEMCMP): New macro.
61176         Fix overflow bug.
61178 2011-10-12  Andreas Jaeger  <aj@suse.de>
61180         [BZ #13268]
61181         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61183 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61185         * libio/iofwide.c (do_length): Avoid warning.
61187         * ctype/ctype.h (__isctype_f): Add missing __THROW.
61189 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
61191         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61193         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61194         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61195         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61196         * sysdeps/i386/i686/fpu/e_log.S: New file.
61197         * sysdeps/i386/i686/fpu/e_logf.S: New file.
61198         * sysdeps/i386/i686/fpu/e_logl.S: New file.
61200         * ctype/ctype.h: Add support for inlined isXXX functions when
61201         compiling C++ code.
61203 2011-10-14  Andreas Schwab  <schwab@redhat.com>
61205         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61207         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61209 2011-10-13  Roland McGrath  <roland@hack.frob.com>
61211         [BZ #13291]
61212         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61214 2011-10-13  Andreas Schwab  <schwab@redhat.com>
61216         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61217         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61218         feraiseexcept.
61220         * sysdeps/x86_64/memrchr.S: Check for zero size.
61222         * string/stratcliff.c: Add memrchr tests.
61224 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61226         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61227         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61228         rawmemchr-sse2 rawmemchr-sse2-bsf.
61229         * sysdeps/i386/i686/multiarch/memchr.S: New file.
61230         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61231         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61232         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61233         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61234         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61235         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61236         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61237         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61238         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61239         * string/memrchr.c (MEMRCHR): New macro.
61241 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
61243         Add integration with gcc's -ffinite-math-only and optimize wrapper
61244         functions in libm.
61245         * Versions.def: Define GLIBC_2.15 version for libm.
61246         * math/Makefile (headers): Add bits/math-finite.h.
61247         * math/bits/math-finite.h: New file.
61248         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61249         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61250         * math/e_acoshl.c: Add __*_finite alias.
61251         * math/e_acosl.c: Likewise.
61252         * math/e_asinl.c: Likewise.
61253         * math/e_atan2l.c: Likewise.
61254         * math/e_atanhl.c: Likewise.
61255         * math/e_coshl.c: Likewise.
61256         * math/e_exp10.c: Likewise.
61257         * math/e_exp10f.c: Likewise.
61258         * math/e_exp10l.c: Likewise.
61259         * math/e_exp2l.c: Likewise.
61260         * math/e_fmodl.c: Likewise.
61261         * math/e_gammal_r.c: Likewise.
61262         * math/e_hypotl.c: Likewise.
61263         * math/e_j0l.c: Likewise.
61264         * math/e_j1l.c: Likewise.
61265         * math/e_jnl.c: Likewise.
61266         * math/e_lgammal_r.c: Likewise.
61267         * math/e_log10l.c: Likewise.
61268         * math/e_log2l.c: Likewise.
61269         * math/e_logl.c: Likewise.
61270         * math/e_powl.c: Likewise.
61271         * math/e_sinhl.c: Likewise.
61272         * math/e_sqrtl.c: Likewise.
61273         * math/e_scalb.c: Completely rewritten and optimized.
61274         * math/e_scalbf.c: Likewise.
61275         * math/e_scalbl.c: Likewise.
61276         * math/w_acos.c: Likewise.
61277         * math/w_acosf.c: Likewise.
61278         * math/w_acosl.c: Likewise.
61279         * math/w_acosh.c: Likewise.
61280         * math/w_acoshf.c: Likewise.
61281         * math/w_acoshl.c: Likewise.
61282         * math/w_asin.c: Likewise.
61283         * math/w_asinf.c: Likewise.
61284         * math/w_asinl.c: Likewise.
61285         * math/w_atan2.c: Likewise.
61286         * math/w_atan2f.c: Likewise.
61287         * math/w_atan2l.c: Likewise.
61288         * math/w_atanh.c: Likewise.
61289         * math/w_atanhf.c: Likewise.
61290         * math/w_atanhl.c: Likewise.
61291         * math/w_exp10.c: Likewise.
61292         * math/w_exp10f.c: Likewise.
61293         * math/w_exp10l.c: Likewise.
61294         * math/w_fmod.c: Likewise.
61295         * math/w_fmodf.c: Likewise.
61296         * math/w_fmodl.c: Likewise.
61297         * math/w_j0.c: Likewise.
61298         * math/w_j0f.c: Likewise.
61299         * math/w_j0l.c: Likewise.
61300         * math/w_j1.c: Likewise.
61301         * math/w_j1f.c: Likewise.
61302         * math/w_j1l.c: Likewise.
61303         * math/w_jn.c: Likewise.
61304         * math/w_jnf.c: Likewise.
61305         * math/w_log.c: Likewise.
61306         * math/w_logf.c: Likewise.
61307         * math/w_logl.c: Likewise.
61308         * math/w_log10.c: Likewise.
61309         * math/w_log10f.c: Likewise.
61310         * math/w_log10l.c: Likewise.
61311         * math/w_log2.c: Likewise.
61312         * math/w_log2f.c: Likewise.
61313         * math/w_log2l.c: Likewise.
61314         * math/w_pow.c: Likewise.
61315         * math/w_powf.c: Likewise.
61316         * math/w_powl.c: Likewise.
61317         * math/w_remainder.c: Likewise.
61318         * math/w_remainderf.c: Likewise.
61319         * math/w_remainderl.c: Likewise.
61320         * math/w_scalb.c: Likewise.
61321         * math/w_scalbf.c: Likewise.
61322         * math/w_scalbl.c: Likewise.
61323         * math/w_sqrt.c: Likewise.
61324         * math/w_sqrtf.c: Likewise.
61325         * math/w_sqrtl.c: Likewise.
61326         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61327         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
61328         used.
61329         * math/math_private.h: Declare __kernel_standard_f.
61330         * math/w_cosh.c: Remove cruft and optimize a bit.
61331         * math/w_coshf.c: Likewise.
61332         * math/w_coshl.c: Likewise.
61333         * math/w_exp2.c: Likewise.
61334         * math/w_exp2f.c: Likewise.
61335         * math/w_exp2l.c: Likewise.
61336         * math/w_hypot.c: Likewise.
61337         * math/w_hypotf.c: Likewise.
61338         * math/w_hypotl.c: Likewise.
61339         * math/w_lgamma.c: Likewise.
61340         * math/w_lgamma_r.c: Likewise.
61341         * math/w_lgammaf.c: Likewise.
61342         * math/w_lgammaf_r.c: Likewise.
61343         * math/w_lgammal.c: Likewise.
61344         * math/w_lgammal_r.c: Likewise.
61345         * math/w_sinh.c: Likewise.
61346         * math/w_sinhf.c: Likewise.
61347         * math/w_sinhl.c: Likewise.
61348         * math/w_tgamma.c: Likewise.
61349         * math/w_tgammaf.c: Likewise.
61350         * math/w_tgammal.c: Likewise.
61351         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61352         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61353         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61354         Minor optimizations.  Pretty printing.  Remove cruft.
61355         * sysdeps/i386/fpu/e_acosf.S: Likewise.
61356         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61357         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61358         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61359         * sysdeps/i386/fpu/e_acosl.c: Likewise.
61360         * sysdeps/i386/fpu/e_asin.S: Likewise.
61361         * sysdeps/i386/fpu/e_asinf.S: Likewise.
61362         * sysdeps/i386/fpu/e_atan2.S: Likewise.
61363         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61364         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61365         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61366         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61367         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61368         * sysdeps/i386/fpu/e_exp10.S: Likewise.
61369         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61370         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61371         * sysdeps/i386/fpu/e_exp2.S: Likewise.
61372         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61373         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61374         * sysdeps/i386/fpu/e_fmod.S: Likewise.
61375         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61376         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61377         * sysdeps/i386/fpu/e_hypot.S: Likewise.
61378         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61379         * sysdeps/i386/fpu/e_log.S: Likewise.
61380         * sysdeps/i386/fpu/e_log10.S: Likewise.
61381         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61382         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61383         * sysdeps/i386/fpu/e_log2.S: Likewise.
61384         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61385         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61386         * sysdeps/i386/fpu/e_logf.S: Likewise.
61387         * sysdeps/i386/fpu/e_logl.S: Likewise.
61388         * sysdeps/i386/fpu/e_pow.S: Likewise.
61389         * sysdeps/i386/fpu/e_powf.S: Likewise.
61390         * sysdeps/i386/fpu/e_powl.S: Likewise.
61391         * sysdeps/i386/fpu/e_remainder.S: Likewise.
61392         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61393         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61394         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61395         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61396         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61397         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61398         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61399         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61400         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61401         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61402         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61403         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61404         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61405         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61406         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61407         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61408         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61409         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61410         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61411         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61413         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61414         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61415         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61416         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61417         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61418         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61419         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61420         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61421         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61422         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61423         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61424         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61425         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61426         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61427         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61428         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61429         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61430         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61431         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61432         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61433         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61434         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61435         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61436         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61437         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61438         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61439         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61440         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61441         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61442         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61443         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61444         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61445         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61446         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61447         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61448         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61449         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61450         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61451         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61452         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61453         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61454         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61455         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61456         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61457         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61458         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61459         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61460         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61461         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61462         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61463         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61464         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61465         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61466         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61467         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61468         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61469         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61470         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61471         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61472         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61473         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61474         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61475         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61476         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61477         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61478         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61479         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61480         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61481         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61482         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61483         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61484         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61485         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61486         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61487         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61488         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61489         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61490         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61491         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61492         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61493         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61494         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61495         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61496         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61497         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61498         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61499         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61500         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61501         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61502         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61503         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61504         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61505         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61506         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61507         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61508         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61509         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61510         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
61511         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61512         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61513         (__isnanf): Likewise.
61514         (__isinf_ns): Likewise.
61515         (__isinf_nsf): Likewise.
61516         (__finite): Likewise.
61517         (__finitef): Likewise.
61518         (__ieee754_sqrt): Define as macro.
61519         (__ieee754_sqrtf): Define as macro.
61520         (__ieee754_sqrtl): Define as macro.
61521         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61522         inlined copy.
61523         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61524         __FINITE_MATH_ONLY__ consistent.
61525         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61527 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
61529         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61530         of rawmemchr.
61532         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61534 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
61536         * po/ja.po: Update from translation team.
61538 2011-10-08  Roland McGrath  <roland@hack.frob.com>
61540         * locale/programs/locarchive.c (prepare_address_space): New function.
61541         (create_archive, enlarge_archive, open_archive): Use it.
61543         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61544         inside [SHARED], where it is used.
61546         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61548         * nss/getent.c (netgroup_keys): Remove unused variable.
61549         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61551 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
61553         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61554         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61555         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61556         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61557         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61558         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61559         * math/Makefile (libm-calls): Add s_isinf_ns.
61560         * math/divtc3.c: Use __isinf_nsl instead of isinf.
61561         * math/multc3.c: Likewise.
61562         * math/s_casin.c: Likewise.
61563         * math/s_casinf.c: Likewise.
61564         * math/s_casinl.c: Likewise.
61565         * math/s_ccos.c: Likewise.
61566         * math/s_ccosf.c: Likewise.
61567         * math/s_ccosl.c: Likewise.
61568         * math/s_ctan.c: Likewise.
61569         * math/s_ctanf.c: Likewise.
61570         * math/s_ctanh.c: Likewise.
61571         * math/s_ctanhf.c: Likewise.
61572         * math/s_ctanhl.c: Likewise.
61573         * math/s_ctanl.c: Likewise.
61574         * math/w_fmod.c: Likewise.
61575         * math/w_fmodf.c: Likewise.
61576         * math/w_fmodl.c: Likewise.
61577         * math/w_remainder.c: Likewise.
61578         * math/w_remainderf.c: Likewise.
61579         * math/w_remainderl.c: Likewise.
61580         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61581         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61582         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61583         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61584         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61585         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61586         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61587         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61589         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61590         of the number.
61591         * stdio-common/printf_fphex.c: Likewise.
61592         * stdio-common/printf_size.c: Likewise.
61594         * math/e_exp10.c: Include math_private.h using <...> not "...".
61595         * math/e_exp10f.c: Likewise.
61596         * math/e_exp10l.c: Likewise.
61597         * math/e_exp2l.c: Likewise.
61598         * math/e_j0l.c: Likewise.
61599         * math/e_j1l.c: Likewise.
61600         * math/e_jnl.c: Likewise.
61601         * math/e_lgammal_r.c: Likewise.
61602         * math/e_rem_pio2l.c: Likewise.
61603         * math/e_scalb.c: Likewise.
61604         * math/e_scalbf.c: Likewise.
61605         * math/e_scalbl.c: Likewise.
61606         * math/k_cosl.c: Likewise.
61607         * math/k_sinl.c: Likewise.
61608         * math/k_tanl.c: Likewise.
61609         * math/s_cacoshf.c: Likewise.
61610         * math/s_catan.c: Likewise.
61611         * math/s_catanf.c: Likewise.
61612         * math/s_catanh.c: Likewise.
61613         * math/s_catanhf.c: Likewise.
61614         * math/s_catanhl.c: Likewise.
61615         * math/s_catanl.c: Likewise.
61616         * math/s_ccosh.c: Likewise.
61617         * math/s_ccoshf.c: Likewise.
61618         * math/s_ccoshl.c: Likewise.
61619         * math/s_cexp.c: Likewise.
61620         * math/s_cexpf.c: Likewise.
61621         * math/s_cexpl.c: Likewise.
61622         * math/s_clog.c: Likewise.
61623         * math/s_clog10.c: Likewise.
61624         * math/s_clog10f.c: Likewise.
61625         * math/s_clog10l.c: Likewise.
61626         * math/s_clogf.c: Likewise.
61627         * math/s_clogl.c: Likewise.
61628         * math/s_csin.c: Likewise.
61629         * math/s_csinf.c: Likewise.
61630         * math/s_csinh.c: Likewise.
61631         * math/s_csinhf.c: Likewise.
61632         * math/s_csinhl.c: Likewise.
61633         * math/s_csinl.c: Likewise.
61634         * math/s_csqrt.c: Likewise.
61635         * math/s_csqrtf.c: Likewise.
61636         * math/s_csqrtl.c: Likewise.
61637         * math/s_ctan.c: Likewise.
61638         * math/s_ctanf.c: Likewise.
61639         * math/s_ctanh.c: Likewise.
61640         * math/s_ctanhf.c: Likewise.
61641         * math/s_ctanhl.c: Likewise.
61642         * math/s_ctanl.c: Likewise.
61643         * math/s_ldexp.c: Likewise.
61644         * math/s_ldexpf.c: Likewise.
61645         * math/s_ldexpl.c: Likewise.
61646         * math/s_significand.c: Likewise.
61647         * math/s_significandf.c: Likewise.
61648         * math/s_significandl.c: Likewise.
61649         * math/w_acos.c: Likewise.
61650         * math/w_acosf.c: Likewise.
61651         * math/w_acosh.c: Likewise.
61652         * math/w_acoshf.c: Likewise.
61653         * math/w_acoshl.c: Likewise.
61654         * math/w_acosl.c: Likewise.
61655         * math/w_asin.c: Likewise.
61656         * math/w_asinf.c: Likewise.
61657         * math/w_asinl.c: Likewise.
61658         * math/w_atan2.c: Likewise.
61659         * math/w_atan2f.c: Likewise.
61660         * math/w_atan2l.c: Likewise.
61661         * math/w_atanh.c: Likewise.
61662         * math/w_atanhf.c: Likewise.
61663         * math/w_atanhl.c: Likewise.
61664         * math/w_cosh.c: Likewise.
61665         * math/w_coshf.c: Likewise.
61666         * math/w_coshl.c: Likewise.
61667         * math/w_dremf.c: Likewise.
61668         * math/w_exp10.c: Likewise.
61669         * math/w_exp10f.c: Likewise.
61670         * math/w_exp10l.c: Likewise.
61671         * math/w_exp2.c: Likewise.
61672         * math/w_exp2f.c: Likewise.
61673         * math/w_fmod.c: Likewise.
61674         * math/w_fmodf.c: Likewise.
61675         * math/w_fmodl.c: Likewise.
61676         * math/w_hypot.c: Likewise.
61677         * math/w_hypotf.c: Likewise.
61678         * math/w_hypotl.c: Likewise.
61679         * math/w_j0.c: Likewise.
61680         * math/w_j0f.c: Likewise.
61681         * math/w_j0l.c: Likewise.
61682         * math/w_j1.c: Likewise.
61683         * math/w_j1f.c: Likewise.
61684         * math/w_j1l.c: Likewise.
61685         * math/w_jn.c: Likewise.
61686         * math/w_jnf.c: Likewise.
61687         * math/w_jnl.c: Likewise.
61688         * math/w_lgamma.c: Likewise.
61689         * math/w_lgamma_r.c: Likewise.
61690         * math/w_lgammaf.c: Likewise.
61691         * math/w_lgammaf_r.c: Likewise.
61692         * math/w_lgammal.c: Likewise.
61693         * math/w_lgammal_r.c: Likewise.
61694         * math/w_log.c: Likewise.
61695         * math/w_log10.c: Likewise.
61696         * math/w_log10f.c: Likewise.
61697         * math/w_log10l.c: Likewise.
61698         * math/w_log2.c: Likewise.
61699         * math/w_log2f.c: Likewise.
61700         * math/w_log2l.c: Likewise.
61701         * math/w_logf.c: Likewise.
61702         * math/w_logl.c: Likewise.
61703         * math/w_pow.c: Likewise.
61704         * math/w_powf.c: Likewise.
61705         * math/w_powl.c: Likewise.
61706         * math/w_remainder.c: Likewise.
61707         * math/w_remainderf.c: Likewise.
61708         * math/w_remainderl.c: Likewise.
61709         * math/w_scalb.c: Likewise.
61710         * math/w_scalbf.c: Likewise.
61711         * math/w_scalbl.c: Likewise.
61712         * math/w_sinh.c: Likewise.
61713         * math/w_sinhf.c: Likewise.
61714         * math/w_sinhl.c: Likewise.
61715         * math/w_sqrt.c: Likewise.
61716         * math/w_sqrtf.c: Likewise.
61717         * math/w_sqrtl.c: Likewise.
61718         * math/w_tgamma.c: Likewise.
61719         * math/w_tgammaf.c: Likewise.
61720         * math/w_tgammal.c: Likewise.
61722         * po/ja.po: Update from translation team.
61724 2011-09-29  Andreas Jaeger  <aj@suse.de>
61726         [BZ #13179]
61727         * sunrpc/netname.c (netname2host): Fix logic.
61729         [BZ #6779]
61730         [BZ #6783]
61731         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61732         correctly.
61733         * math/w_remainder.c (__remainder): Likewise.
61734         * math/w_remainderf.c (__remainderf): Likewise.
61735         * math/libm-test.inc (remainder_test): Add test cases.
61737 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61739         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
61740         sdiv_qrnnd.
61742 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
61744         * string/test-memcmp.c: Avoid unncessary #defines.
61745         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61747 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61749         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61750         Use new sse2 version for core i3 - i7 as it's faster
61751         than sse42 version.
61752         (bit_Prefer_PMINUB_for_stringop): New.
61753         * sysdeps/x86_64/rawmemchr.S: Update.
61754         Replace with faster SSE2 version.
61755         * sysdeps/x86_64/memrchr.S: New file.
61756         * sysdeps/x86_64/memchr.S: Update.
61757         Replace with faster SSE2 version.
61759 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
61761         * elf/dl-load.c (lose): Add cast to avoid warning.
61763 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
61765         * po/ca.po: Update from translation team.
61767         * inet/getnetgrent_r.c: Hook up nscd.
61768         * nscd/Makefile (routines): Add nscd_netgroup.
61769         (nscd-modules): Add netgroupcache.
61770         (CFLAGS-netgroupcache.c): Define.
61771         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61772         (cache_search): Add const to second parameter.
61773         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61774         INNETGR.
61775         (dbs): Add netgrdb entry.
61776         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61777         (verify_persistent_db): Handle netgrdb.
61778         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61779         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61780         GETFDNETGR.
61781         (netgroup_response_header): Define.
61782         (innetgroup_response_header): Define.
61783         (datahead): Add netgroup_response_header and innetgroup_response_header
61784         elements.
61785         * nscd/nscd.conf: Add entries for netgroup cache.
61786         * nscd/nscd.h (dbtype): Add netgrdb.
61787         (_PATH_NSCD_NETGROUP_DB): Define.
61788         (netgroup_iov_disabled): Declare.
61789         (xmalloc, xcalloc, xrealloc): Move declarations here.
61790         (cache_search): Adjust prototype.
61791         Add netgroup-related prototypes.
61792         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61793         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61794         (__nscd_innetgr): Declare.
61795         * nscd/selinux.c (perms): Use access_vector_t as element type and
61796         add netgroup-related initializers.
61797         * nscd/netgroupcache.c: New file.
61798         * nscd/nscd_netgroup.c: New file.
61799         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61800         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61801         For four parameters use innetgr.
61802         * nss/nss_files/files-init.c: Add definition and callback for netgr.
61803         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61804         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61805         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61807         * nscd/connections.c (register_traced_file): Don't register file
61808         for disabled databases.
61810 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
61812         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61814         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61815         from tree and freeing node.
61817 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
61819         * nss/nsswitch.c (__nss_database_lookup): Handle
61820         nss_parse_service_list out of memory case.
61822 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
61824         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61825         out of memory case.
61827 2011-10-04  Andreas Schwab  <schwab@redhat.com>
61829         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61830         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61831         pass it down.
61832         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61833         elf_machine_rela, elf_machine_lazy_rel.
61834         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61835         (ELF_DYNAMIC_DO_REL): Likewise.
61836         (ELF_DYNAMIC_DO_RELA): Likewise.
61837         (ELF_DYNAMIC_RELOCATE): Likewise.
61838         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61839         to ELF_DYNAMIC_DO_REL.
61840         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61841         (dl_main): In trace mode always set __RTLD_NOIFUNC.
61842         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61843         elf_machine_rela.
61844         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61845         skip_ifunc, don't call ifunc function if non-zero.
61846         (elf_machine_rela): Likewise.
61847         (elf_machine_lazy_rel): Likewise.
61848         (elf_machine_lazy_rela): Likewise.
61849         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61850         (elf_machine_lazy_rel): Likewise.
61851         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61852         Likewise.
61853         (elf_machine_lazy_rel): Likewise.
61854         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61855         Likewise.
61856         (elf_machine_lazy_rel): Likewise.
61857         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61858         (elf_machine_lazy_rel): Likewise.
61859         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61860         (elf_machine_lazy_rel): Likewise.
61861         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61862         (elf_machine_lazy_rel): Likewise.
61863         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61864         (elf_machine_lazy_rel): Likewise.
61865         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61866         (elf_machine_lazy_rel): Likewise.
61867         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61868         (elf_machine_lazy_rel): Likewise.
61870 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
61872         * nss/nss_files/files-init.c (_nss_files_init): Use static
61873         initialization for all the *_traced_file variables.
61875 2011-09-28  Andreas Schwab  <schwab@redhat.com>
61877         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61879 2011-09-27  Roland McGrath  <roland@hack.frob.com>
61881         [BZ #13226]
61882         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61884 2011-09-27  Andreas Schwab  <schwab@redhat.com>
61886         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61887         Reread the line before reparsing it.
61889 2011-09-26  Andreas Schwab  <schwab@redhat.com>
61891         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61893 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
61894             Maxim Kuvyrkov  <maxim@codesourcery.com>
61895             Joseph Myers  <joseph@codesourcery.com>
61897         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61898         if needed for __stack_chk_guard.
61900 2011-09-19  Roland McGrath  <roland@hack.frob.com>
61902         * sysdeps/posix/spawni.c (script_execute): Always define it.
61903         It will be optimized away if unused.
61904         (maybe_script_execute): New function.
61905         (__spawni): Call it.
61907         * Makerules: Don't include tls.make.
61908         (config-tls): Always set to thread.
61909         * tls.make.c: File removed.
61911 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
61913         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61914         * config.make.in (CPPFLAGS-config): New substituted variable.
61916 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
61918         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61920         [BZ #13192]
61921         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61922         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61924 2011-09-15  Roland McGrath  <roland@hack.frob.com>
61926         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61927         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61928         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61929         (CALL_FAIL): Likewise.
61930         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61931         (CALL_FAIL): Macro removed.
61932         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61934 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
61936         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61937         for __FINITE_MATH_ONLY__ == 1.
61939 2011-09-15  Andreas Schwab  <schwab@redhat.com>
61941         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61942         __ieee754_sqrt instead of sqrt.
61943         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61944         __ieee754_sqrtf instead of sqrtf.
61945         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61946         __floorf instead of floorf.
61947         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61948         __floorf, __truncf instead of floorf, truncf.
61950 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
61952         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61954         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61955         __extern_always_inline.
61956         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61957         32-bit.
61959 2011-09-14  Andreas Schwab  <schwab@redhat.com>
61961         * elf/rtld.c (dl_main): Also relocate in dependency order when
61962         doing symbol dependency testing.
61964 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
61966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61967         Always define `refsym'.
61969 2011-09-13  Andreas Schwab  <schwab@redhat.com>
61971         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61972         (__FD_ELT): Renamed from __FDELT.
61973         * misc/bits/select2.h (__FD_ELT): Likewise.
61974         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61975         __FD_MASK instead of __FDELT, __FDMASK.
61976         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61977         Likewise.
61978         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61979         Likewise.
61981         * elf/Makefile (gen-ldd): Fix pattern.
61983         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61984         (init_tls): Likewise.
61986 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
61988         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61990 2011-09-12  Andreas Schwab  <schwab@redhat.com>
61992         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61993         `struct cmsghdr *' instead of `void *'.
61994         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61995         Likewise.
61997 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
61999         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
62000         if non-absolute.
62001         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
62002         ldd_rewrite_script.
62004 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
62006         * configure.in: Remove --with-tls option.
62007         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
62008         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
62009         out in case it is missing.
62010         * sysdeps/ia64/elf/configure.in: Likewise.
62011         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
62012         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
62013         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
62014         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
62015         * sysdeps/sh/elf/configure.in: Likewise.
62016         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
62017         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62018         * sysdeps/x86_64/elf/configure.in: Likewise.
62019         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
62020         * sysdeps/mach/hurd/tls.h: Likewise.
62022         [BZ #13067]
62023         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62025         [BZ #13090]
62026         * configure.in: Fix use of AC_INIT.
62028         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62030 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
62032         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62033         __set_errno.
62034         * malloc/hooks.c: Likewise.
62036         [BZ #11929]
62037         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
62038         variables statically.
62039         (narenas): Initialize.
62040         (list_lock): Initialize.
62041         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
62042         initializtion of main_arena and list_lock.  Small cleanups.
62043         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62044         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
62045         Add initializers to main_arena and mp_.
62046         (malloc_state): Remove pagesize member.  Change all users to use
62047         GLRO(dl_pagesize).
62049         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62050         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
62051         is always initialized.
62053         * malloc/malloc.c: Removed unused configurations and dead code.
62054         * malloc/arena.c: Likewise.
62055         * malloc/hooks.c: Likewise.
62056         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62058         * include/tls.h: Removed.  USE___THREAD must always be defined.
62059         * bits/libc-tsd.h: Don't handle !USE___THREAD.
62060         * elf/dl-libc.c: Likewise.
62061         * elf/dl-tsd.c: Likewise.
62062         * include/errno.h: Likewise.
62063         * include/netdb.h: Likewise.
62064         * include/resolv.h: Likewise.
62065         * inet/herrno-loc.c: Likewise.
62066         * inet/herrno.c: Likewise.
62067         * malloc/arena.c: Likewise.
62068         * malloc/hooks.c: Likewise.
62069         * malloc/malloc.c: Likewise.
62070         * resolv/res-state.c: Likewise.
62071         * resolv/res_libc.c: Likewise.
62072         * sysdeps/i386/dl-machine.h: Likewise.
62073         * sysdeps/ia64/dl-machine.h: Likewise.
62074         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62075         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62076         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62077         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62078         * sysdeps/sh/dl-machine.h: Likewise.
62079         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62080         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62081         * sysdeps/unix/i386/sysdep.S: Likewise.
62082         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62083         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62084         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62085         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62086         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62087         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62088         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62092         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62093         * sysdeps/x86_64/dl-machine.h: Likewise.
62094         * tls.make.c: Likewise.
62096         * configure.in: Remove --with-__thread option.  Make tests for
62097         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62098         tls_model attribute fail if no support is available.  Remove
62099         USE_IN_LIBIO.
62100         * Makeconfig: Adjust for dropped configure option.  All features are
62101         now mandatory.
62102         * Makerules: Likewise.
62103         * Versions.def: Likewise.
62104         * argp/argp-fmtstream.c: Likewise.
62105         * argp/argp-fmtstream.h: Likewise.
62106         * argp/argp-help.c: Likewise.
62107         * assert/assert.c: Likewise.
62108         * config.h.in: Likewise.
62109         * config.make.in: Likewise.
62110         * configure: Likewise.
62111         * configure.in: Likewise.
62112         * csu/Versions: Likewise.
62113         * csu/init.c: Likewise.
62114         * elf/tst-audit2.c: Likewise.
62115         * elf/tst-tls10.c: Likewise.
62116         * elf/tst-tls10.h: Likewise.
62117         * elf/tst-tls11.c: Likewise.
62118         * elf/tst-tls12.c: Likewise.
62119         * elf/tst-tls14.c: Likewise.
62120         * elf/tst-tlsmod11.c: Likewise.
62121         * elf/tst-tlsmod12.c: Likewise.
62122         * elf/tst-tlsmod13.c: Likewise.
62123         * elf/tst-tlsmod13a.c: Likewise.
62124         * elf/tst-tlsmod14a.c: Likewise.
62125         * elf/tst-tlsmod15b.c: Likewise.
62126         * elf/tst-tlsmod16a.c: Likewise.
62127         * elf/tst-tlsmod16b.c: Likewise.
62128         * elf/tst-tlsmod7.c: Likewise.
62129         * elf/tst-tlsmod8.c: Likewise.
62130         * elf/tst-tlsmod9.c: Likewise.
62131         * gmon/gmon.c: Likewise.
62132         * grp/fgetgrent_r.c: Likewise.
62133         * grp/putgrent.c: Likewise.
62134         * hurd/fopenport.c: Likewise.
62135         * include/libc-symbols.h: Likewise.
62136         * include/tls.h: Likewise.
62137         * intl/gettextP.h: Likewise.
62138         * intl/loadinfo.h: Likewise.
62139         * locale/global-locale.c: Likewise.
62140         * locale/localeinfo.h: Likewise.
62141         * mach/devstream.c: Likewise.
62142         * malloc/arena.c: Likewise.
62143         * malloc/set-freeres.c: Likewise.
62144         * misc/err.c: Likewise.
62145         * misc/getttyent.c: Likewise.
62146         * misc/mntent_r.c: Likewise.
62147         * posix/getopt.c: Likewise.
62148         * posix/wordexp.c: Likewise.
62149         * pwd/fgetpwent_r.c: Likewise.
62150         * resolv/Versions: Likewise.
62151         * resolv/res_hconf.c: Likewise.
62152         * shadow/fgetspent_r.c: Likewise.
62153         * shadow/putspent.c: Likewise.
62154         * stdio-common/printf_fphex.c: Likewise.
62155         * stdio-common/tmpfile.c: Likewise.
62156         * stdlib/abort.c: Likewise.
62157         * stdlib/fmtmsg.c: Likewise.
62158         * sunrpc/auth_unix.c: Likewise.
62159         * sunrpc/clnt_perr.c: Likewise.
62160         * sunrpc/clnt_tcp.c: Likewise.
62161         * sunrpc/clnt_udp.c: Likewise.
62162         * sunrpc/clnt_unix.c: Likewise.
62163         * sunrpc/openchild.c: Likewise.
62164         * sunrpc/svc_simple.c: Likewise.
62165         * sunrpc/svc_tcp.c: Likewise.
62166         * sunrpc/svc_udp.c: Likewise.
62167         * sunrpc/svc_unix.c: Likewise.
62168         * sunrpc/xdr.c: Likewise.
62169         * sunrpc/xdr_array.c: Likewise.
62170         * sunrpc/xdr_rec.c: Likewise.
62171         * sunrpc/xdr_ref.c: Likewise.
62172         * sunrpc/xdr_stdio.c: Likewise.
62174 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62176         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62178 2011-07-03  Andreas Jaeger  <aj@suse.de>
62180         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62181         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62182         regenerate with gen-libm-tests.pl.
62184 2010-05-12  Petr Baudis  <pasky@suse.cz>
62186         [BZ #11589]
62187         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62188         around j0() zero points by switching to j1().
62189         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62190         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62191         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62192         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62194 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62196         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62197         instead of 0.
62198         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62199         instead of 0.
62200         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62201         Patch in part by Pavel Roskin <proski@gnu.org>.
62203         [BZ #13138]
62204         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62205         realloc.
62206         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
62207         Free memory block if necessary.
62209         [BZ #12847]
62210         * libio/genops.c (INTDEF): For string streams the _lock pointer can
62211         be NULL.  Don't lock in this case.
62213 2011-09-09  Roland McGrath  <roland@hack.frob.com>
62215         * elf/elf.h (ELFOSABI_GNU): New macro.
62216         (ELFOSABI_LINUX): Define to that.
62218 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
62220         * string/strncat.c (strncat): Undef the symbol in case it has been
62221         defined in bits/string.h.
62223 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62225         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62227         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62228         link map.
62230 2011-08-17  Andreas Jaeger  <aj@suse.de>
62232         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62234 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
62235             Ian Lance Taylor  <iant@google.com>
62237         * math/libm-test.inc (lround_test): New testcase.
62238         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62240 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
62242         * Makefile: Remove support for automatic cvs check-ins.
62243         * Makerules: Likewise.
62244         * config.make.in: Likewise.
62245         * configure.in: Likewise.
62246         * intl/Makefile: Likewise.
62247         * locale/Makefile: Likewise.
62248         * po/Makefile: Likewise.
62249         * posix/Makefile: Likewise.
62250         * sysdeps/gnu/Makefile: Likewise.
62251         * sysdeps/mach/hurd/Makefile: Likewise.
62252         * sysdeps/sparc/sparc32/Makefile: Likewise.
62254         [BZ #13118]
62255         * posix/Makefile (bug-regex32-ENV): Define.
62256         Patch by John Stanley <jpsinthemix@verizon.net>.
62258         * misc/Makefile (headers): Add bits/select2.h.
62259         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62260         * misc/bits/select2.h: New file.
62261         * include/bits/select2.h: New file.
62262         * debug/Makefile (routines): Add fdelt_chk.
62263         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62264         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62265         FD_ISSET.
62266         * debug/fdelt_chk.c: New file.
62268         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
62269         * wcsmbs/test-wmemcmp.c: Likewise.
62270         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62271         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62273 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62275         * string/Makefile (strop-tests): Add memcmp.
62276         * string/test-wmemcmp.c: New file.
62277         * string/test-memcmp.c: Add wmemcmp support.
62279 2011-09-08  Roland McGrath  <roland@hack.frob.com>
62281         [BZ #13153]
62282         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62283         2011-07-19 change.
62285         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62286         garbage value in a __mach_port_mod_refs call in the cases of the
62287         task-self and thread-self ports.
62289 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62291         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62293 2011-09-08  Andreas Schwab  <schwab@redhat.com>
62295         * elf/dl-load.c (lose): Check for non-null L.
62297 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62299         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62301         * elf/dl-libc.c (dlerror_run): Pass back error code from
62302         dl_catch_error.
62304         [BZ #13123]
62305         * elf/dl-load.c (lose): Free l_origin if it is valid.
62307         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62308         names.
62309         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62310         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62311         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62312         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62313         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62314         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62316 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62318         * sysdeps/powerpc/fpu/e_hypot.c: New file.
62319         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62320         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62321         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62322         * sysdeps/powerpc/fpu/k_cosf.c: New file.
62323         * sysdeps/powerpc/fpu/k_sinf.c: New file.
62324         * sysdeps/powerpc/fpu/s_cosf.c: New file.
62325         * sysdeps/powerpc/fpu/s_sinf.c: New file.
62326         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62327         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62329 2011-08-15  Alan Modra  <amodra@gmail.com>
62331         [BZ #13092]
62332         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62333         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62334         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
62335         ppc_mcount to static-only-routines.
62336         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62337         __mcount_internal.
62338         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62339         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
62341 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
62343         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62344         for finite and infinity parameters.
62346 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62348         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62349         and add nop instructions for throughput optimization.
62350         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62352 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
62354         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62355         aligned copy for power7 with vector-scalar instructions.
62356         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62358 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
62360         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62361         AVX check.
62363 2011-09-07  Andreas Schwab  <schwab@redhat.com>
62365         [BZ #13144]
62366         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62367         last change.
62369 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62371         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62372         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62373         syscall wrapper around clock_gettime in __vdso_clock_gettime.
62374         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62375         clock_gettime.
62377 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62379         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62380         Forgot to demangle the pointer.
62382         * sysdeps/i386/sysdep.h: Define atom_text_section.
62383         * sysdeps/x86_64/sysdep.h: Likewise.
62384         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62385         section with atom_text_section.
62386         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62387         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62388         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62389         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62390         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62392         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62393         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62394         already be defined.  Change to take two parameters and don't assign
62395         result to variable.  Adjust all users.
62396         Define INTERNAL_GETTIME if not already defined.
62397         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62398         call.
62399         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62400         HAVE_CLOCK_GETTIME_VSYSCALL.
62401         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62403         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62404         gettimeofday vsyscall, just use time.
62406 2011-09-06  Andreas Schwab  <schwab@redhat.com>
62408         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62409         <errno.h>.
62411 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62413         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62414         syscall on x86-64.
62415         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62416         syscall.
62417         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62418         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62419         syscall if possible.
62421 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62423         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62424         e_ident.  Don't pass to find_mapsXX.
62425         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62427 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62430         strchr-sse2-no-bsf strrchr-sse2-no-bsf
62431         * sysdeps/x86_64/multiarch/strchr.S: Update.
62432         Check bit_slow_BSF bit.
62433         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62434         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62435         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62437 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62439         [BZ #13134]
62440         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62441         before glibc 2.15.
62442         (tryshell): Define.
62443         (__spawni): Change last parameter to be flag.  Test
62444         SPAWN_XFLAGS_USE_PATH flag to use path or not.
62445         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62446         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62447         * posix/spawni.c: Likewise.
62448         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62449         * posix/spawnp.c: Likewise.  Change normal version to use
62450         SPAWN_XFLAGS_USE_PATH.
62451         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62452         SPAWN_XFLAGS_TRY_SHELL.
62454         [BZ #13150]
62455         * posix/glob.h: Remove gcc 1.x support.
62457         [BZ #13068]
62458         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62460 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62463         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62464         strrchr-sse2-bsf
62465         * sysdeps/i386/i686/multiarch/strchr.S: New file.
62466         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62467         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62468         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62469         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62470         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62472 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62474         * sysdeps/x86_64/wcscmp.S: New file.
62476         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62477         wcscmp-c wcscmp-sse2
62478         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62479         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62480         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62481         * wcsmbs/wcscmp.c: Allow renaming.
62483 2011-09-05  David S. Miller  <davem@davemloft.net>
62485         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62486         stack slot, rather than the struct return pointer slot.
62487         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62488         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62490         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62492 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62494         * po/ja.po: Update from translation team.
62496         [BZ #13144]
62497         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62498         kernel in 64-bit binaries.
62500 2011-09-01  David S. Miller  <davem@davemloft.net>
62502         * elf/elf.h (HWCAP_SPARC_*): Move to..
62503         * sysdeps/sparc/sysdep.h: this new file and add new values.
62504         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62505         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62506         _DL_HWCAP_COUNT to 24.
62507         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62508         entries.
62509         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62510         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62511         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62513         instead of magic constants.
62514         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62516 2011-08-31  David S. Miller  <davem@davemloft.net>
62518         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62519         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62520         Reimplement to do errno handling inline.
62521         (SYSCALL_ERROR_HANDLER): New macro.
62522         (__SYSCALL_STRING): Do not do errno handling in asm.
62523         (__CLONE_SYSCALL_STRING): Delete.
62524         (__INTERNAL_SYSCALL_STRING): Delete.
62525         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62526         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62527         (PSEUDO): Reimplement to do errno handling inline.
62528         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62529         (SYSCALL_ERROR_HANDLER): New macro.
62530         (__SYSCALL_STRING): Do not do errno handling in asm.
62531         (__CLONE_SYSCALL_STRING): Delete.
62532         (__INTERNAL_SYSCALL_STRING): Delete.
62533         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62534         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62535         i386.
62536         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62537         (inline_syscall*): Add 'err' argument.
62538         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62539         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62540         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62541         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62543         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62544         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62546 2011-08-30  Andreas Schwab  <schwab@redhat.com>
62548         * elf/rtld.c (dl_main): Relocate objects in dependency order.
62550 2011-08-29  Jiri Olsa <jolsa@redhat.com>
62552         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62553         directive.
62555 2011-08-24  David S. Miller  <davem@davemloft.net>
62557         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62559 2011-08-24  Andreas Schwab  <schwab@redhat.com>
62561         * elf/Makefile: Add rules to build and run unload8 test.
62562         * elf/unload8.c: New file.
62563         * elf/unload8mod1.c: New file.
62564         * elf/unload8mod1x.c: New file.
62565         * elf/unload8mod2.c: New file.
62566         * elf/unload8mod3.c: New file.
62568         * elf/dl-close.c (_dl_close_worker): Reset private search list if
62569         it wasn't used.
62571 2011-08-23  David S. Miller  <davem@davemloft.net>
62573         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62574         subtract stack bias.
62575         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62576         %sp not %fp in calculations.
62577         (_JMPBUF_UNWINDS_ADJ): Likewise.
62579         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62580         (aio_suspend): Call it to force an exception region around the
62581         AIO_MISC_WAIT() invocation.
62583 2011-08-23  Andreas Schwab  <schwab@redhat.com>
62585         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62586         backslash.
62588 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
62590         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62591         protection macro.
62592         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62593         and <dl-machine.h>.
62594         (Elf64_FuncDesc): Remove.
62596 2011-08-22  David S. Miller  <davem@davemloft.net>
62598         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62599         sigaltstack check, add missing cfi directives.
62600         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62601         missing cfi directives, and sigaltstack handling.
62603 2011-08-16  Andreas Schwab  <schwab@redhat.com>
62605         [BZ #11724]
62606         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62607         object is seen twice.
62608         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62610         * elf/Makefile (distribute): Add tst-initorder2.c.
62611         (tests): Add tst-initorder2.
62612         (modules-names): Add tst-initorder2a tst-initorder2b
62613         tst-initorder2c tst-initorder2d.  Add rules to build them.
62614         ($(objpfx)tst-initorder2.out): New rule.
62615         * elf/tst-initorder2.c: New file.
62616         * elf/tst-initorder2.exp: New file.
62618 2011-08-22  Andreas Schwab  <schwab@redhat.com>
62620         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62622         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62623         dependencies back to end of function.
62625         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62626         $(elfobjdir)/ld.so.
62628 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
62630         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62631         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62632         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62633         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62634         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62635         of __vdso_gettimeofday.
62636         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62637         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
62638         attribute_hidden.
62639         (_libc_vdso_platform_setup): Remove initialization of
62640         __vdso_gettimeofday and __vdso_time.
62642 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
62644         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62645         and fgetc_unlocked.
62646         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62647         getc_unlocked.
62649         * elf/dl-open.c (add_to_global): Report additions to the global scope
62650         for LD_DEBUG=scopes.
62651         (dl_open_worker): Also print scope of newly loaded dependencies.
62652         (_dl_show_scope): Indicate if there is no scope.
62654         [BZ #13114]
62655         * stdio-common/Makefile (tests): Add bug24.
62656         * stdio-common/bug24.c: New file.
62658 2011-08-19  Andreas Jaeger  <aj@suse.de>
62660         [BZ #13114]
62661         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62662         non-existant file when using close-on-exec mode.
62664 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
62666         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62667         the very first instruction.
62669         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62670         the CFI state in the end.
62671         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62672         inclusion of dl-trampoline.h.
62673         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62675 2011-08-19  Andreas Schwab  <schwab@redhat.com>
62677         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62678         expectations for long double.
62680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62681         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62683 2011-08-14  David S. Miller  <davem@davemloft.net>
62685         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62686         artificual limit depends upon the system page size.
62688 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
62690         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62691         * resolv/Makefile: Define CFLAGS-libresolv.
62693 2011-08-17  Andreas Schwab  <schwab@redhat.com>
62695         * nss/makedb.c (compute_tables): Make variables used in nested
62696         function static.
62698 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
62700         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62701         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62702         if buffer was too small.
62704         * elf/pldd.c (main): Attach to all threads in the process.
62705         Rewrite /proc handling to use *at functions.
62707 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
62709         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62710         specifies first scope to show.
62711         (dl_open_worker): Update callers.  Move printing scope of new
62712         object to before the relocation.
62713         * elf/rtld.c (dl_main): Update _dl_show_scope call.
62714         * sysdeps/generic/ldsodefs.h: Update declaration.
62716         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62717         string for the scope number.
62719 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
62721         * nscd/servicescache.c (cache_addserv): Make sure written is always
62722         initialized.
62724 2011-08-14  Roland McGrath  <roland@hack.frob.com>
62726         * sysdeps/i386/i486/bits/atomic.h
62727         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62728         statement expression, so as to suppress "set but not used" warning.
62729         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62731         * string/strncat.c (STRNCAT): Use prototype definition.
62733         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62734         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62735         -Iprograms here.
62736         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62737         (localedef-modules): Add localedef.
62738         (locale-modules): Add locale.
62740         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62741         * elf/rtld.c (dl_main): Invert order of assignment in last change,
62742         to avoid a warning.
62744 2011-08-14  David S. Miller  <davem@davemloft.net>
62746         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62747         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62749 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
62751         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62752         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62753         * elf/rtld.c (dl_main): Set l_name of vDSO.
62754         Call _dl_show_scope when DL_DEBUG_SCOPES.
62755         (process_dl_debug): Recognize scopes flag and also set it for all.
62756         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62757         Declare _dl_show_scope.
62759         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62760         (do_dlopen): Pass caller_dlopen to dl_open.
62761         (__libc_dlopen_mode): Initialize caller_dlopen.
62763         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62764         of libc.  Make tolower call locale-independent.  Optimize a bit by
62765         using isdigit instead of isalnum.
62766         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62768 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
62770         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62771         was a dependency or dynamically loaded.
62773 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
62775         * intl/l10nflist.c: Allow architecture-specific pop function.
62776         * sysdeps/x86_64/l10nflist.c: New file.
62778         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62779         classification.
62781 2011-08-10  Andreas Schwab  <schwab@redhat.com>
62783         * include/dirent.h: Add libc_hidden_proto for scandirat and
62784         scandirat64.  Don't declare __scandirat64.
62785         * dirent/scandirat.c: Add libc_hidden_def.
62786         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62787         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62789 2011-08-10  David S. Miller  <davem@davemloft.net>
62791         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62792         enum.
62793         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62794         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62795         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62797 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
62799         * Versions.def [libc]: Add GLIBC_2.15.
62800         * dirent/Makefile (routines): Add scandirat and scandirat64.
62801         * dirent/Versions [libc]: Export scandirat and scandirat64 for
62802         GLIBC_2.15.
62803         * dirent/dirent.h: Declare scandirat and scandirat64.
62804         * dirent/scandirat.c: New file.
62805         * dirent/scandirat64.c: New file.
62806         * sysdeps/wordsize-64/scandirat.c: New file.
62807         * sysdeps/wordsize-64/scandirat64.c: New file.
62808         * dirent/opendir.c: Define opendirat.
62809         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
62810         using scandirat.
62811         * dirent/scandir64.c: Adjust for scandir.c change.
62812         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
62813         __scandirat64, and __scandir_cancel_handler.
62814         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
62815         additional parameter and use openat instead of open (outside of ld.so).
62816         Add new __opendir as wrapper around __opendirat.
62817         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62818         here without requiring old scandirat implementation.
62820 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
62822         * dirent/scandir.c (cancel_handler): Renamed to
62823         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
62824         defined.  Adjust users.
62825         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62826         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62828 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
62830         * string/test-string.h (IMPL): Use __STRING to expand name and then
62831         stringify it.
62833         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
62834         of cleanups.
62836 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62838         * string/Makefile: Update.
62839         (strop-tests): Append strncat.
62840         * string/test-wcscmp.c: New file.
62841         New comprehensive test for wcscmp.
62842         * string/test-strcmp.c: Update.
62843         (WIDE): New define.
62845 2011-07-22  Andreas Schwab  <schwab@redhat.com>
62847         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62848         line.
62850 2011-07-26  Andreas Schwab  <schwab@redhat.com>
62852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62853         encoding to ACE if AI_IDN.
62855 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
62857         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62858         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62860 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62862         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62863         Fix overflow bug in strncat.
62864         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62866         * string/test-strncat.c: Update.
62867         Add new tests for checking overflow bugs.
62869 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62872         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62873         * sysdeps/i386/i686/multiarch/strcat.S: New file.
62874         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62875         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62876         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62877         * sysdeps/i386/i686/multiarch/strncat.S: New file.
62878         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62879         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62881         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62882         (USE_AS_STRCAT): Define.
62883         Add strcat and strncat support.
62884         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62886 2011-07-25  Andreas Schwab  <schwab@redhat.com>
62888         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62889         __n bigger than INT_MAX+1.
62890         (__strncmp_g): Likewise.
62892 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
62894         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62895         * libio/stido.h: Likewise.
62897         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62898         (AF_NFC): Define.
62899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62900         (AF_NFC): Define.
62902         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62903         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62904         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62905         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62906         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62908         [BZ #13021]
62909         * scripts/test-installation.pl: Don't expect libnss_test1 to be
62910         installed.
62912         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62913         typo.
62914         (_dl_x86_64_save_sse): Likewise.
62916 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
62918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62919         OSXSAVE.
62920         (_dl_x86_64_save_sse): Likewise.
62922         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62924         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62926 2011-07-21  Andreas Schwab  <schwab@redhat.com>
62928         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62929         change.
62930         (_dl_x86_64_save_sse): Use correct AVX check.
62932 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62934         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62935         bug in strncpy/strncat.
62936         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62938 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
62940         * string/tester.c (test_strcat): Add tests for different alignments
62941         of source and destination.
62942         (test_strncat): Likewise.
62944 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
62946         [BZ #12852]
62947         * posix/glob.c (glob): Check passed in values before using them in
62948         expressions to avoid some overflows.
62949         (glob_in_dir): Likewise.
62951         [BZ #13007]
62952         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62953         check for AVX enablement so that we don't crash with old kernels and
62954         new hardware.
62955         * elf/tst-audit4.c: Add same checks here.
62956         * elf/tst-audit6.c: Likewise.
62958         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62960 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
62962         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62964 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
62966         * po/cs.po: Update from translation team.
62967         * po/bg.po: Likewise.
62969 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
62971         * misc/sys/cdefs.h: Add support for const attribute.
62972         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62973         to gnu_dev_{major,minor,makedev} functions.
62975 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
62977         * intl/dcigettext.c (get_output_charset): Add missing bracket.
62979 2011-07-20  Andreas Schwab  <schwab@redhat.com>
62981         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62982         strlen results.
62984 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62987         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62988         register in order to avoid conflicts with the soft frame pointer
62989         being held in r11 when necessary.
62990         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62991         (INTERNAL_VSYSCALL_NCS): Likewise.
62993 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
62995         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62996         * elf/dl-fini.c (_dl_fini): Adjust caller.
62997         * elf/dl-close.c (_dl_close_worker): Likewise.
62998         * sysdeps/generic/ldsodefs.h: Adjust declaration.
63000 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63002         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
63003         "aux_cache->nlibs < 0".
63005         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
63006         in the reload-count case.
63008 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63010         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63011         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
63012         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
63013         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
63014         * sysdeps/x86_64/multiarch/strcat.S: New file.
63015         * sysdeps/x86_64/multiarch/strncat.S: New file.
63016         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
63017         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
63018         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
63019         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
63020         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
63021         (USE_AS_STRCAT): Define.
63022         Add strcat and strncat support.
63023         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63024         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63025         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63026         * string/strncat.c: Update.
63027         (USE_AS_STRNCAT): Define.
63028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63029         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63030         and i7.
63031         * sysdeps/x86_64/multiarch/init-arch.h
63032         (bit_Prefer_PMINUB_for_stringop): New.
63033         (index_Prefer_PMINUB_for_stringop): Likewise.
63034         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63035         bit_Prefer_PMINUB_for_stringop.
63037 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63039         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63040         buffer64.
63041         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63042         of casting of buffer.
63043         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63044         buffer32 and buffer64.
63045         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63046         writes instead of casting of buffer.
63047         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63048         buffer32.
63049         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63050         casting of buffer.
63052 2011-07-19  Andreas Schwab  <schwab@redhat.com>
63054         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63056 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63058         * nscd/nscd.c (termination_handler): Don't do anything for a database
63059         if it has not yet been initialized.
63061 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63063         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63065 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63067         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63069 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63071         * po/nl.po: Update from translation team.
63072         * po/sv.po: Likewise.
63074 2011-07-16  Roland McGrath  <roland@hack.frob.com>
63076         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63077         now disallowed by GCC.
63079         * configure.in (use-default-link): Default to yes if a test -shared
63080         link meets our qualifications.
63081         * configure: Regenerated.
63083         * config.make.in (output-format): New variable.
63084         * configure.in: Check for ld --print-output-format support.
63085         * configure: Regenerated.
63086         * Makerules ($(common-objpfx)format.lds)
63087         [$(output-format) != unknown]: Just use $(output-format),
63088         instead of the linker-script munging.
63090 2011-07-14  Roland McGrath  <roland@hack.frob.com>
63092         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63093         of $(common-objpfx)shlib.lds.
63094         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63096         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63097         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63099         * configure.in (-z relro check): Adjust test code to add a large
63100         writable data section after it.
63101         * configure: Regenerated.
63103 2011-07-11  Roland McGrath  <roland@hack.frob.com>
63105         * configure.in (-z relro check): Fix test code to make the variable
63106         truly const.
63107         * configure: Regenerated.
63109 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
63111         * nscd/nscd.h (struct traced_file): Define.
63112         (struct database_dyn): Remove inotify_descr, reset_res, and filename
63113         elements.  Add traced_files.
63114         (inotify_fd): Declare.
63115         (register_traced_file): Declare.
63116         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63117         (inotify_fd): Export.
63118         (resolv_conf_descr): Remove.
63119         (nscd_init): Move inotify descriptor creation to main.
63120         Don't register files for notification here.
63121         (register_traced_file): New function.
63122         (invalidate_cache): Don't use reset_res to determine whether to call
63123         res_init, go through the list of registered files.
63124         (main_loop_poll): The inotify descriptors are now stored in the
63125         structures for the traced files.
63126         (main_loop_epoll): Likewise
63127         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
63128         to __nss_disable_nscd.
63129         * nscd/cache.c (prune_cache): There is no single inotify descriptor
63130         for a database anymore.  Check the records for all the registered
63131         files instead.
63132         * nss/Makefile (libnss_files-routines): Add files-init.
63133         (libnss_db-routines): Add db-init.
63134         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63135         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63136         * nss/nss_db/db-init.c: New file.
63137         * nss/nss_files/files-init.c: New file.
63138         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
63139         __nss_lookup_function.
63140         (__nss_lookup_function): Call nss_load_library.
63141         (nss_load_all_libraries): New function.
63142         (__nss_disable_nscd): Take parameter with callback function for files
63143         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
63144         used for the cached services.
63145         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63146         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63147         options for features to all the files in nscd.
63149         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63151 2011-07-10  Roland McGrath  <roland@hack.frob.com>
63153         * csu/elf-init.c (__libc_csu_init): Comment typo.
63155 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
63157         * po/pl.po: Update from translation team.
63158         * po/ja.po: Likewise.
63159         * po/ru.po: Likewise.
63160         * po/ko.po: Likewise.
63161         * po/fr.po: Likewise.
63163 2011-07-09  Roland McGrath  <roland@hack.frob.com>
63165         * configure.in (.ctors/.dtors header and trailer check):
63166         Use an empirical test on a built program.
63167         * configure: Regenerated.
63169         * configure.in (-z relro check): Use an empirical test on a built DSO.
63170         Detect, but do not require, on ia64.
63171         * configure: Regenerated.
63173         * configure.in (READELF): Find it with AC_CHECK_TOOL.
63174         Update tests that use readelf to use $READELF instead.
63175         * configure: Regenerated.
63177 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
63179         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63180         if the result is not used.
63182 2011-07-05  Andreas Jaeger  <aj@suse.de>
63184         [BZ#9696]
63185         * stdlib/tst-strtod.c: Add testcase.
63187 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
63189         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63190         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63191         The latter has a higher limit.  Take additional parameter to pass to
63192         the new function.
63193         (__pathconf): Pass file to __statfs_link_max.
63194         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63195         __statfs_link_max.
63196         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63197         __statfs_link_max.
63199         [BZ #12868]
63200         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63201         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63202         Handle Lustre.
63203         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63204         (__statfs_filesize_max): Likewise.
63205         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63207 2011-07-05  Andreas Jaeger  <aj@suse.de>
63209         * resolv/res_comp.c (dn_skipname): Remove unused variable.
63211 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
63213         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63214         `status' variable.
63215         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63216         Likewise.
63218 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
63220         * Makefile (strop-tests): Add strncat.
63221         * string/test-strncat.c: New file.
63223 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
63225         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63227 2011-06-21  Andreas Jaeger  <aj@suse.de>
63229         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63230         Copy rule from iconvdata/Makefile.
63232 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63234         [BZ #12922]
63235         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63236         but no long options are defined, just return 'W'.
63238 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
63240         [BZ #9696]
63241         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63243 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63245         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63246         netgroups to read.
63247         (innetgr): Likewise.
63249 2011-07-05  Roland McGrath  <roland@hack.frob.com>
63251         * config.make.in (install_root): Default to $(DESTDIR).
63253 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
63255         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63257 2011-07-02  Roland McGrath  <roland@hack.frob.com>
63259         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63261         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63262         containing directory rather than embedding absolute directory names.
63264         * scripts/check-local-headers.sh: Rewritten using awk.
63265         Match by word, not by line.  Print error messages for matches.
63266         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63268         * Makerules [shlib-lds-flags empty]:
63269         ($(common-objpfx)libc_pic.opts): New target.
63270         ($(common-objpfx)libc_pic.os.clean): New target.
63271         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63273         * config.make.in (OBJCOPY): New variable.
63274         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63275         * configure: Regenerated.
63277         * config.make.in (use-default-link): New variable.
63278         * configure.in (use_default_link): Grok --with-default-link to set it.
63279         * configure: Regenerated.
63280         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63281         (shlib-lds, shlib-lds-flags): Define to empty.
63283         * Makerules (shlib-lds): New variable.
63284         (shlib-lds-flags): New variable.
63285         (build-shlib, build-moduile, build-module-asneeded): Use it.
63286         ($(common-objpfx)libc.so): Use $(shlib-lds).
63287         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63288         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63290         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63291         DT_FLAGS/DT_FLAGS_1 with zero flags.
63293         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63294         linker script munging.
63296 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
63298         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63299         as 128-bit value.
63300         * crypt/sha512.c (sha512_process_block): Perform total addition using
63301         128-bit if possible.
63302         (__sha512_finish_ctx): Likewise.
63303         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63304         as 64-bit value.
63305         * crypt/sha256.c (SWAP64): Define.
63306         (sha256_process_block): Perform total addition using 64-bit if
63307         possible.
63308         (__sha256_finish_ctx): Likewise.
63310 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
63312         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
63313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63314         * nscd/hstcache.c (cache_addhst): Likewise.
63315         * nscd/grpcache.c (cache_addgr): Likewise.
63316         * nscd/aicache.c (addhstaiX): Likewise
63317         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63319 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
63321         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63322         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63323         * nscd/hstcache.c (cache_addhst): Likewise.
63324         * nscd/grpcache.c (cache_addgr): Likewise.
63325         * nscd/aicache.c (addhstaiX): Likewise
63327 2011-07-01  Andreas Schwab  <schwab@redhat.com>
63329         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63330         domain only when needed.
63332 2011-06-30  Andreas Schwab  <schwab@redhat.com>
63334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63335         is always restored.
63337 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
63339         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63340         are re-adding the entry.
63341         * nscd/servicescache.c (cache_addserv): Likewise.
63343 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
63345         * sysdeps/generic/dl-irel.h: fix protection against multiple
63346         inclusions.
63347         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63349 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
63351         [BZ #12935]
63352         * malloc/memusage.sh: Fix quoting in message.
63353         * debug/xtrace.sh: Likewise.
63355         * configure.in: Remove support for --experimental-malloc option, make
63356         it the default.
63357         * config.make.in: Likewise.
63358         * malloc/Makefile: Likewise.
63360 2011-06-27  Andreas Schwab  <schwab@redhat.com>
63362         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63363         two-byte characters.
63365 2011-06-27  Roland McGrath  <roland@hack.frob.com>
63367         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63368         AC_CACHE_CHECK invocation.
63369         * configure: Regenerated.
63371         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63373 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
63375         [BZ #12350]
63376         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
63377         bit from old_res_options.
63379         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63381         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63382         value type for setfct.
63384 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
63386         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63387         __gettimeofday instead of gettimeofday.
63389 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
63391         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63393 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
63395         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63397         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63398         info.
63400 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
63402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63403         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63404         strcpy-sse2-unaligned strncpy-sse2-unaligned
63405         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63406         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63407         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63408         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63409         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63410         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63411         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63412         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63413         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63414         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63415         (STRCPY): Support SSE2 and SSSE3 versions.
63417 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
63419         [BZ #12874]
63420         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63421         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63422         kernels which artificially limit size of requests.
63424 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
63426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63427         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63428         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63429         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63430         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63431         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63432         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63433         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63434         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63435         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63436         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63437         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63438         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63439         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63440         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63442         Enable unaligned load optimization for Intel Core i3, i5 and i7
63443         processors.
63444         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63445         Define.
63446         (index_Fast_Unaligned_Load): Define.
63447         (HAS_FAST_UNALIGNED_LOAD): Define.
63449 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
63451         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63453 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
63455         [BZ #12907]
63456         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63457         until it is clear that the information is realy needed.
63458         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63460 2011-06-22  Andreas Schwab  <schwab@redhat.com>
63462         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63464 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
63466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63467         /sys/devices/system/cpu/online if it is usable.
63469         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63470         reading the information from the /proc filesystem to once a second.
63472 2011-06-21  Andreas Jaeger  <aj@suse.de>
63474         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63475         NULL after inclusion of kernel headers.
63477 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
63479         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63480         calls to internal_setent.
63482         [BZ #12885]
63483         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63484         addresses using gethostbyname4_r ignore IPv4 addresses.
63486         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63487         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
63489         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63491 2011-06-20  David S. Miller  <davem@davemloft.net>
63493         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63494         inclusions.
63495         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63497         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63498         (elf_irel): Use it.
63499         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63500         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63501         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63502         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63503         * sysdeps/x86_64/dl-irel.h: Likewise.
63505         * elf/dl-runtime.c: Use elf_ifunc_invoke.
63506         * elf/dl-sym.c: Likewise.
63508 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63510         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
63511         need to dereference resplen2.
63513 2011-06-14  Andreas Schwab  <schwab@redhat.com>
63515         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63517 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63519         * Makeconfig: Define vardbdir and inst_vardbdir.
63520         * nss/Makefile: Add rules to install db-Makefile.
63522         * nss/nss_db/db-XXX.c: Cleanup.
63524         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63525         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63526         GLIBC_PRIVATE.
63527         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63528         * nss/makedb.c: Implement -g option to specify that value strings
63529         are generated and should not be added to table iterated over for
63530         get*ent calls.
63531         * nss/nss_db/db-initgroups.c: New file.
63533         * nss/getent.c: Add support for initgroups lookups through getgrouplist
63534         interface.
63536         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63537         (internal_getgrouplist): Adjust to name change.
63538         Update use_initgroups_entry if this is not the first call.
63539         * nss/databases.def: Add initgroups entry.
63541         * nss/makedb.c (compute_tables): Check result of multiple hash table
63542         sizes to minimize maximum chain length.
63544 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
63546         * Versions.def: Add entry for libnss_db.
63547         * shlib-versions: Likewise.
63548         * nss/Makefile: Add rules to build libnss_db.
63549         * nss/Versions: Add libnss_db information.  Organize libnss_files
63550         entries better.
63551         * nss/db-Makefile: Add gshadow support.  Change rules for the new
63552         makedb progra.  Some minor improvements to generate smaller files.
63553         * nss/nss_db/nss_db.h: Move NSS database header data structures to
63554         here from...
63555         * nss/makedb.c: ...here.
63556         Improve database format to be smaller and require less memory at
63557         runtime.
63558         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
63559         db anymore.
63560         * nss/nss_db/db-netgrp.c: Likewise.
63561         * nss/nss_db/db-open.c: Likewise.
63562         * nss/nss_files/flies-XXX.x: Adjust comments.
63563         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63564         * nss/nss_files/files-grp.c: Likewise.
63565         * nss/nss_files/files-hosts.c: Likewise.
63566         * nss/nss_files/files-network.c: Likewise.
63567         * nss/nss_files/files-proto.c: Likewise.
63568         * nss/nss_files/files-pwd.c: Likewise.
63569         * nss/nss_files/files-rpc.c: Likewise.
63570         * nss/nss_files/files-service.c: Likewise.
63571         * nss/nss_files/files-sgrp.c: Likewise.
63572         * nss/nss_files/files-spwd.c: Likewise.
63573         * nss/nss_db/db-alias.c: Removed.
63574         * nss/nss_db/dummy-db.h: Removed.
63576 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
63578         * nss/makedb.c: Rewritten to not use database library.
63579         * nss/Makefile: Update to build new makedb program.
63581 2011-06-14  Andreas Jaeger  <aj@suse.de>
63583         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63584         memset declaration.
63586 2011-06-10  Andreas Schwab  <schwab@redhat.com>
63588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63589         tmpbuf.
63591 2011-06-10  Roland McGrath  <roland@hack.frob.com>
63593         * Makerules (shlib.lds): Fail if the linker script comes out empty.
63594         * elf/Makefile ($(objpfx)ld.so): Likewise.
63596         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63597         Don't list ld.so twice in dependencies.
63599         * posix/bug-regex31.c: Include <stdlib.h>.
63601         * nscd/hstcache.c (cache_addhst): Remove unused variable.
63603         * nis/nss_compat/compat-spwd.c
63604         (getspent_next_nss_netgr): Remove unused variable.
63605         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63607         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63608         nonmembers" output to use the right array.
63610         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63612         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63614         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63615         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63616         * catgets/gencat.c (read_input_file): Likewise.
63617         * locale/programs/locarchive.c (enlarge_archive): Likewise.
63619         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63620         variable definition inside #if's controlling its use.
63622         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63624         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63626         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63628         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63629         unreachable code.
63631         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63633         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63634         * configure: Regenerated.
63636         * Makerules: Revert last change.
63637         * elf/Makefile: Likewise.
63639 2011-06-09  Roland McGrath  <roland@hack.frob.com>
63641         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63642         * elf/Makefile ($(objpfx)librtld.os): Likewise.
63643         (reloc-link): Likewise.
63645 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
63647         * elf/Makefile: Add rules to build pldd.
63648         * elf/pldd.c: New file.
63649         * elf/pldd-xx.c: New file.
63651 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
63653         * version.h: Update for 2.15 development version.
63655 2011-06-07  David S. Miller  <davem@davemloft.net>
63657         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63658         ifuncs.
63659         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63660         elf_machine_lazy_rel): Likewise.
63661         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63662         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63663         elf_machine_lazy_rel): Likewise.
63664         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63665         dl_hwcap via passed in argument.
63666         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63667         Likewise.
63669 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63671         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
63673 2011-06-06  Roland McGrath  <roland@hack.frob.com>
63675         [BZ #12849]
63676         * manual/fdl-1.1.texi: New file, verbatim from:
63677         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63678         * manual/lgpl-2.1.texi: New file, verbatim from:
63679         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63680         * manual/Makefile (licenses): New variable, list those new file names.
63681         (texis): Use it.
63682         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63684         * manual/fdl.texi: File removed.
63685         * manual/lesser.texi: File removed.
63686         * manual/libc.texinfo (Copying, Documentation License):
63687         Use new @include file names, put @appendix directive before @include.
63689 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
63691         [BZ #12841]
63692         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63693         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63694         (mq_open): Add __NTH.
63696 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
63698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63699         Assume Intel Core i3/i5/i7 processor if AVX is available.
63701 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
63703         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63704         typo.
63706 2011-05-31  Andreas Schwab  <schwab@redhat.com>
63708         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63709         memory.  Use alloca_account.  Fix memory leak when retrying.
63711 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
63713         * version.h (RELEASE): Bump for 2.14 release.
63714         * include/features.h (__GLIBC_MINOR__): Bump to 14.
63716         * config.make.in (RANLIB): Remove entry.
63718 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
63720         * po/Makefile (po-sed-cmd): Add ksh to extensions.
63721         (libc.pot): Work around missing support for .ksh extension in xgettext.
63723         [BZ #12684]
63724         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63725         if both request failed.
63726         (send_dg): In case of server errors clear resplen or *resplen2.
63728         [BZ #12454]
63729         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63730         when there are multiple maps.
63731         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63732         (_dl_fini): Remove test here.
63734         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63736 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
63738         [BZ #12350]
63739         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63740         bit from old_res_options.
63741         (gaih_inet): Likewise.
63743         [BZ #11099]
63744         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63745         as signed.
63747         * resolv/res_init.c (res_setoptions): Make the code more compact.
63749         [BZ #11558]
63750         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63751         set RES_USEVC.
63753         [BZ #11634]
63754         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63756         * malloc/malloc.h: Mark malloc hook variables as deprecated.
63758         [BZ #11781]
63759         * malloc/malloc.h: Declare malloc hook variables as volatile.
63761         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63762         in last patch.
63764         [BZ #11799]
63765         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63766         raise in the comment.
63767         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63768         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63769         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63771 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
63773         [BZ #12811]
63774         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63775         grow the buffers more if it already has to be sufficient.
63776         (build_wcs_upper_buffer): Likewise.
63777         * posix/regexec.c (check_matching): Likewise.
63778         (clean_state_log_if_needed): Likewise.
63779         (extend_buffers): Don't enlarge buffers beyond size of the input
63780         buffer.
63781         Patches mostly by Emil Wojak <emil@wojak.eu>.
63782         * posix/bug-regex32.c: New file.
63783         * posix/Makefile (tests): Add bug-regex32.
63785         * locale/findlocale.c (_nl_find_locale): Return right away if
63786         _nl_explode_name failed.
63787         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63789         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63791         * debug/xtrace.sh: Unify messages.
63792         * malloc/memusage.sh: Likewise.
63794         [BZ #12813]
63795         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63796         time symbol from vDSO.  Substitute with vsyscall if not available.
63797         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63798         __vdso_time.
63800         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63801         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63802         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63803         Add sendmmsg and internal_sendmmsg.
63804         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63805         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63806         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63808         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63809         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63810         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63812 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
63814         [BZ #12813]
63815         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63816         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
63817         available.
63818         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63819         __vdso_getcpu.
63821         [BZ #12814]
63822         * iconvdata/Makefile (tests): Add bug-iconv9.
63823         * iconvdata/bug-iconv9.c: New file.
63825 2011-05-27  Andreas Schwab  <schwab@redhat.com>
63827         [BZ #12814]
63828         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63830 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
63832         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63833         (struct user_regs_struct): Change intcs field back to cs.
63835 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
63837         * po/ja.po: Update from translation team.
63839 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
63841         [BZ #12795]
63842         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63843         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63845 2011-05-20  Andreas Schwab  <schwab@redhat.com>
63847         * stdlib/longlong.h: Update from GCC.
63849 2011-05-23  Andreas Schwab  <schwab@redhat.com>
63851         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63852         parameter name.
63853         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63854         Add parameter name.
63855         (__sysconf): Pass it down.
63857 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
63859         [BZ #12671]
63860         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63861         some situations.
63862         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63863         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63864         add in in __libc_use_alloca calls.  Adjust callers.
63865         (glob): Use malloc in some situations.
63867         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63868         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63869         pltexit.
63871 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
63873         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63874         and CLOCK_BOOTTIME_ALARM.
63876         [BZ #12782]
63877         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63878         is returned.
63880         * string/_strerror.c (__strerror_r): Print negative errors as signed
63881         numbers.
63883         [BZ #12777]
63884         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63885         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63886         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63888         * configure.in: Fix typo in redirection and correct removal of test
63889         files in two cases.
63891         [BZ #12788]
63892         * locale/setlocale.c (new_composite_name): Fix test to check for
63893         identical name of all categories.
63895         [BZ #12792]
63896         * libio/filedoalloc.c (local_isatty): New function.
63897         (_IO_file_doallocate): Use local_isatty.
63898         * stdio-common/perror.c (perror): In case a new stream is used
63899         forward the stream error.
63900         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63901         error flag.
63903 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
63905         [BZ #11869]
63906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63907         alloca.
63908         * include/alloca.h (extend_alloca_account): Define.
63910         [BZ #11857]
63911         * posix/regex.h: Fix comments with documentation of user-accessible
63912         fields after compilation and describe correct free'ing of pattern
63913         after re_compile_pattern.
63914         Patch by Reuben Thomas <rrt@sc3d.org>.
63916 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
63918         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63919         and -mno-altivec to prevent the compiler from using Altivec and/or
63920         VSX instructions when the corresponding registers are not available.
63922 2011-05-19  Andreas Schwab  <schwab@redhat.com>
63924         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63926 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
63928         * libio/freopen.c (freopen): Use __dup2, not dup2.
63929         * libio/freopen64.c (freopen64): Likewise.
63931 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63933         [BZ #12775]
63934         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63935         * math/Makefile (tests): Add test-powl.
63936         (CFLAGS-test-powl.c): Define.
63937         * math/test-powl.c: New file.
63939 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63941         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63943 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
63945         [BZ #11837]
63946         * iconvdata/gb18030.c: Update to GB18020-2005.
63948 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
63950         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63951         RE_SYNTAX_POSIX_AWK): Update to match recent development.
63952         Patch by Aharon Robbins <arnold@skeeve.com>.
63954         [BZ #11892]
63955         * stdlib/putenv.c (putenv): Don't always create copy of the variable
63956         on the stack.
63958         [BZ #11895]
63959         * misc/pselect.c (__pselect): Handle timeout value errors hidden
63960         through underflows.
63962         [BZ #12766]
63963         * misc/error.c (error_at_line): Ensure file_name and old_file_name
63964         point to strings before performing equality test for error_one_per_line
63965         mode.
63967         [BZ #11697]
63968         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63970         [BZ #11820]
63971         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63972         (struct user_fpregs_struct): Avoid __uint*_t types.
63974         [BZ #6420]
63975         * malloc/mtrace.c (tr_where): Add additional parameter to point to
63976         symbol info.  Use it instead of calling _dl_addr locally.
63977         (lock_and_info): New function.
63978         (tr_freehook): Call lock_and_info and pass symbol info as additional
63979         parameter to tr_where.
63980         (tr_mallochook): Likewise.
63981         (tr_reallochook): Likewise.
63982         (tr_memalignhook): Likewise.
63984         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
63985         used and couldn't be at all thread-safe.
63987 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
63989         * libio/freopen.c (freopen): Don't close old file descriptor
63990         before the new one is opened.  Instead dup the new file descriptor
63991         to the old one after the new stream is created.
63992         * libio/freopen64.c (freopen64): Likewise.
63993         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63994         * libio/fileops.c (_IO_new_file_close_it): Handle new
63995         _IO_FLAGS2_NOCLOSE flag.
63996         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63997         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63998         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63999         _IO_FLAGS2_NOCLOSE flag.
64000         * include/unistd.h: Add hidden_proto for dup3.
64001         Define __have_dup3.
64002         * io/dup3.c: Define hidden symbol.
64003         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
64005         [BZ #7101]
64006         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
64007         when an incomplete long option is used.
64008         * posix/tst-getopt_long1.c: New file.
64009         * posix/Makefile (tests): Add tst-getopt_long1.
64011         [BZ #10138]
64012         * scripts/config.guess: Update from autoconf-2.68.
64013         * scripts/config.sub: Likewise.
64015         [BZ #10157]
64016         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
64017         tests into ...
64018         (has_cpuclock): ...this.  New function.
64019         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
64020         macro here based on has_cpuclock code.
64022         [BZ #10149]
64023         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64024         First byte (not low byte) is now always NUL.
64025         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64027         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64028         Use non-cancelable interfaces.
64030         [BZ #9809]
64031         * locale/iso-639.def: Add entry for Sorani.
64033         [BZ #11901]
64034         * include/stdlib.h: Move include protection to the right place.
64035         Define abort_msg_s.  Declare __abort_msg with it.
64036         * stdlib/abort.c (__abort_msg): Adjust type.
64037         * assert/assert.c (__assert_fail_base): New function.  Majority
64038         of code from __assert_fail.  Allocate memory for __abort_msg with
64039         mmap.
64040         (__assert_fail): Now call __assert_fail_base.
64041         * assert/assert-perr.c: Remove bulk of implementation.  Use
64042         __assert_fail_base.
64043         * include/assert.hL Declare __assert_fail_base.
64044         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64045         mmap.
64046         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64048 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
64050         [BZ #11952]
64051         [BZ #12453]
64052         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64053         until all modules are registered in the DTV.
64054         * elf/Makefile: Add rules to build and run tst-tls19.
64055         * elf/tst-tls19.c: New file.
64056         * elf/tst-tls19mod1.c: New file.
64057         * elf/tst-tls19mod2.c: New file.
64058         * elf/tst-tls19mod3.c: New file.
64059         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64061         [BZ #12083]
64062         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64063         correctly.
64065         [BZ #12601]
64066         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64067         two-byte sequence errors.
64068         * iconvdata/Makefile (tests): Add bug-iconv8.
64069         * iconvdata/bug-iconv8.c: New file.
64071         [BZ #12626]
64072         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64073         buf2 definition.
64075         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64077         [BZ #12432]
64078         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64079         (dummy_getcfa): New function.
64080         (init): Get _Unwind_GetCFA address, use dummy if not found.
64081         (backtrace_helper): In recursion check, also check whether CFA changes.
64082         (__backtrace): Completely initialize arg.
64084         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64085         storing incomplete byte sequence in state object.  Avoid testing for
64086         guaranteed too small input if we know there is enough data available.
64088 2011-05-11  Andreas Schwab  <schwab@redhat.com>
64090         * Makeconfig (+link-pie): Indent.
64091         * Rules (binaries-pie): Define if $(have-fpie) and
64092         $(build-shared).
64093         (binaries-shared): Also filter out $(binaries-pie).
64094         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64095         * nscd/Makefile (others-pie): Add nscd.
64096         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64097         ($(objpfx)nscd): Remove command override.
64098         * login/Makefile (others-pie): Add pt_chown.
64099         ($(objpfx)pt_chown): Remove command override.
64100         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64101         remove command overrides.
64103 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
64105         * libio/tst_putwc.c: Fix error messages.
64107         [BZ #12724]
64108         * libio/fileops.c (_IO_new_file_close_it): Always flush when
64109         currently writing and seek to current position when not.
64110         * libio/Makefile (tests): Add bug-fclose1.
64111         * libio/bug-fclose1.c: New file.
64113 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
64115         [BZ #12511]
64116         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64117         don't set DF_1_NODELETE here.
64118         (do_lookup_x): When entering new entry test for copy relocation
64119         and if necessary set DF_1_NODELETE flag.
64120         * elf/tst-unique4.cc: New file.
64121         * elf/tst-unique4.h: New file.
64122         * elf/tst-unique4lib.cc: New file.
64123         * elf/Makefile: Add rules to build and run tst-unique4.
64124         Patch by Piotr Bury <pbury@goahead.com>.
64126 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
64128         [BZ #12052]
64129         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64131         [BZ #12625]
64132         * misc/mntent_r.c (addmntent): Flush the stream after the output
64134         [BZ #12393]
64135         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64136         (is_trusted_path_normalize): Skip initial colon.  Append slash
64137         to empty buffer.  Duplicate is_trusted_path code but allow
64138         constructed patch to be prefix.
64139         (is_dst): Allow $ORIGIN followed by /.
64140         (_dl_dst_substitute): Correct clearing of check_for_trusted.
64141         Correct testing of result of is_trusted_path_normalize
64142         (decompose_rpath): Fix warning.
64144 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
64146         [BZ #11257]
64147         * grp/initgroups.c (internal_getgrouplist): When we found the service
64148         list through the initgroups entry in nsswitch.conf do not always
64149         continue on a successful lookup.  Don't always use the
64150         __nss_group_database value if it is set.
64151         * nss/nsswitch.conf (initgroups): Change action for successful db
64152         lookup to continue for compatibility.
64154 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
64156         [BZ #11532]
64157         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64158         and CP774 modules.
64159         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64160         and CP774 modules.
64161         * iconvdata/tst-tables.sh: Likewise.
64162         * iconvdata/cp770.c: New file.
64163         * iconvdata/cp771.c: New file.
64164         * iconvdata/cp772.c: New file.
64165         * iconvdata/cp773.c: New file.
64166         * iconvdata/cp774.c: New file.
64167         * iconvdata/testdata/CP770: New file.
64168         * iconvdata/testdata/CP770..UTF8: New file.
64169         * iconvdata/testdata/CP771: New file.
64170         * iconvdata/testdata/CP771..UTF8: New file.
64171         * iconvdata/testdata/CP772: New file.
64172         * iconvdata/testdata/CP772..UTF8: New file.
64173         * iconvdata/testdata/CP773: New file.
64174         * iconvdata/testdata/CP773..UTF8: New file.
64175         * iconvdata/testdata/CP774: New file.
64176         * iconvdata/testdata/CP774..UTF8: New file.
64178         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64179         END CHARMAP line.
64180         * iconvdata/gen-8bit-gap.sh: Likewise.
64181         * iconvdata/gen-8bit.sh: Likewise.
64183         * locale/iso-639.def: Add ary entry.
64185         [BZ #11258]
64186         * locale/C-translit.h.in: Add U20A1 transliteration.
64188         [BZ #12178]
64189         * locale/iso-639.def: Add wae entry.
64190         Patch by Kevin Bortis <bortis@translate-wae.ch>.
64192         [BZ #12545]
64193         * locale/programs/localedef.c (construct_output_path): Use ssize_t
64194         for n.
64196         [BZ #12711]
64197         * locale/C-translit.h.in: Add entry for U20B9.
64198         Patch by pravin.d.s@gmail.com.
64200 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
64202         [BZ #12713]
64203         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64204         ENAMETOOLONG use generic getcwd.
64205         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
64206         in rtld.  Use *stat64.
64207         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64208         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64209         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64210         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64211         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64212         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64213         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64214         __fstatat64 macros.
64215         * include/dirent.h: Add libc_hidden_proto for rewinddir.
64216         * dirent/rewinddir.c: Add libc_hidden_def.
64217         * sysdeps/mach/hurd/rewinddir.c: Likewise.
64218         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
64220         * include/dirent.h (__alloc_dir): Add flags parameter.
64221         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64222         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64223         __alloc_dir.
64224         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
64225         from fdopendir if O_CLOEXEC is already set.
64227 2011-03-15  Alan Modra  <amodra@gmail.com>
64229         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64230         l_tls_firstbyte_offset non-zero.  Save padding offset in
64231         l_tls_firstbyte_offset for later use.
64232         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64233         freeing static tls block.
64235 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
64237         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64238         where #ifdef was intended.  The intent is to prevent ARG_MAX from
64239         being defined by the kernel headers.
64241 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
64243         [BZ #12734]
64244         * resolv/resolv.h: Define RES_NOTLDQUERY.
64245         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64246         no-tld-query and set RES_NOTLDQUERY.
64247         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64248         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64249         modern BIND to search name as TLD unless forbidden.
64251 2011-05-07  Petr Baudis  <pasky@suse.cz>
64252             Ulrich Drepper  <drepper@gmail.com>
64254         [BZ #12393]
64255         * elf/dl-load.c (fillin_rpath): Move trusted path check...
64256         (is_trusted_path): ...to here.
64257         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64258         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64259         using is_trusted_path_normalize() in setuid scripts.
64261 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64263         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64264         __BEGIN/__END_DECLS.
64266 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
64268         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64269         NSS_STATUS_NOTFOUND if no record was found.
64271 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64273         * sunrpc/Makefile (headers): Add rpc/netdb.h.
64274         (headers-not-in-tirpc): Remove rpc/netdb.h
64275         * resolv/netdb.h: Revert last change.
64277 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64279         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64280         circular dependency between libgcc.a and libc.a.
64282 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64284         * resolv/netdb.h: Don't include <rpc/netdb.h>.
64285         * nis/Makefile: Don't install rpcsvc/*.
64286         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64287         instead of <rpc/types.h>.
64288         (MAXHOSTNAMELEN): Define.
64290 2011-05-03  Andreas Schwab  <schwab@redhat.com>
64292         * elf/ldconfig.c (add_dir): Don't crash on empty path.
64294 2011-04-28  Maciej Babinski  <mbabinski@google.com>
64296         [BZ #12714]
64297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64298         gethostbyname4_r when IPv6 results are possible.
64300 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
64302         [BZ #12723]
64303         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64304         _PC_PIPE_BUF handling.
64306 2011-04-30  Bruno Haible  <bruno@clisp.org>
64308         [BZ #12717]
64309         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64310         * resolv/netdb.h (getnameinfo): Change type of flags parameter
64311         to 'int'.
64312         * inet/getnameinfo.c (getnameinfo): Likewise.
64314 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
64316         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64317         to groups setting in database lookup.
64318         * nss/nsswitch.conf: Add initgroups entry.
64320 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
64322         [BZ #12685]
64323         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64324         mode string.
64325         Patch by Eric Blake <eblake@redhat.com>.
64327 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
64329         * sunrpc/Makefile (need-export-routines): Add svc_run.
64330         (routines): Remove svc_run.
64331         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64332         * sunrpc/clnt_perr.c (clnt_perrno): Export.
64333         * sunrpc/svc_run.c (svc_run): Likewise.
64334         * sunrpc/svc_udp.c (svcudp_create): Likewise.
64336 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
64338         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64339         problem in reallocation in last patch.
64341 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
64343         * sunrpc/Makefile: Move inclusion of Rules.
64345 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64347         * nss/nss_files/files-initgroups.c: New file.
64348         * nss/Makefile (libnss_files-routines): Add files-initgroups.
64349         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64350         _nss_files_initgroups_dyn.
64352 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
64354         * elf/elf.h (R_ARM_IRELATIVE): Define.
64356 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64358         * po/ru.po: Update from translation team.
64360 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64362         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64363         dependencies.
64365 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
64367         [BZ #12653]
64368         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64369         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64370         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64371         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64372         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64374 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
64376         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64377         differing bytes.
64378         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64379         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64380         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64382 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64384         [BZ #12420]
64385         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64386         storing it.
64387         * stdlib/bug-getcontext.c: New file.
64388         * stdlib/Makefile: Add rules to build and run bug-getcontext.
64390 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64392         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64393         instructions into .machine "z9-109".
64394         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64395         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64397 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64399         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64400         between environment variables and auxiliary vector.
64402 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
64404         * Makefile: Add rules to build linkobj/libc.so.
64405         * include/libc-symbols.h: Define libc_hidden_nolink.
64406         * include/rpc/auth.h: Mark functions which are to be hidden.
64407         * include/rpc/auth_des.h: Likewise.
64408         * include/rpc/auth_unix.h: Likewise.
64409         * include/rpc/clnt.h: Likewise.
64410         * include/rpc/des_crypt.h: Likewise.
64411         * include/rpc/key_prot.h: Likewise.
64412         * include/rpc/pmap_clnt.h: Likewise.
64413         * include/rpc/pmap_prot.h: Likewise.
64414         * include/rpc/pmap_rmt.h: Likewise.
64415         * include/rpc/rpc_msg.h: Likewise.
64416         * include/rpc/svc.h: Likewise.
64417         * include/rpc/svc_auth.h: Likewise.
64418         * include/rpc/xdr.h: Likewise.
64419         * nis/Makefile: Link all DSOs against linkobj/libc.so.
64420         * nss/Makefile: Likewise.
64421         * sunrpc/Makefile: Don't install headers.  Build library with normal
64422         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
64423         * sunrpc/auth_des.c: Hide exported symbols by default, export some
64424         for the compat linking library.  Remove use of INTDEF/INTUSE.
64425         * sunrpc/auth_none.c: Likewise.
64426         * sunrpc/auth_unix.c: Likewise.
64427         * sunrpc/authdes_prot.c: Likewise.
64428         * sunrpc/authuxprot.c: Likewise.
64429         * sunrpc/clnt_gen.c: Likewise.
64430         * sunrpc/clnt_perr.c: Likewise.
64431         * sunrpc/clnt_raw.c: Likewise.
64432         * sunrpc/clnt_simp.c: Likewise.
64433         * sunrpc/clnt_tcp.c: Likewise.
64434         * sunrpc/clnt_udp.c: Likewise.
64435         * sunrpc/clnt_unix.c: Likewise.
64436         * sunrpc/des_crypt.c: Likewise.
64437         * sunrpc/des_soft.c: Likewise.
64438         * sunrpc/get_myaddr.c: Likewise.
64439         * sunrpc/key_call.c: Likewise.
64440         * sunrpc/key_prot.c: Likewise.
64441         * sunrpc/netname.c: Likewise.
64442         * sunrpc/pm_getmaps.c: Likewise.
64443         * sunrpc/pm_getport.c: Likewise.
64444         * sunrpc/pmap_clnt.c: Likewise.
64445         * sunrpc/pmap_prot.c: Likewise.
64446         * sunrpc/pmap_prot2.c: Likewise.
64447         * sunrpc/pmap_rmt.c: Likewise.
64448         * sunrpc/publickey.c: Likewise.
64449         * sunrpc/rpc_cmsg.c: Likewise.
64450         * sunrpc/rpc_common.c: Likewise.
64451         * sunrpc/rpc_dtable.c: Likewise.
64452         * sunrpc/rpc_prot.c: Likewise.
64453         * sunrpc/rpc_thread.c: Likewise.
64454         * sunrpc/rtime.c: Likewise.
64455         * sunrpc/svc.c: Likewise.
64456         * sunrpc/svc_auth.c: Likewise.
64457         * sunrpc/svc_authux.c: Likewise.
64458         * sunrpc/svc_raw.c: Likewise.
64459         * sunrpc/svc_run.c: Likewise.
64460         * sunrpc/svc_simple.c: Likewise.
64461         * sunrpc/svc_tcp.c: Likewise.
64462         * sunrpc/svc_udp.c: Likewise.
64463         * sunrpc/svc_unix.c: Likewise.
64464         * sunrpc/svcauth_des.c: Likewise.
64465         * sunrpc/xcrypt.c: Likewise.
64466         * sunrpc/xdr.c: Likewise.
64467         * sunrpc/xdr_array.c: Likewise.
64468         * sunrpc/xdr_float.c: Likewise.
64469         * sunrpc/xdr_intXX_t.c: Likewise.
64470         * sunrpc/xdr_mem.c: Likewise.
64471         * sunrpc/xdr_rec.c: Likewise.
64472         * sunrpc/xdr_ref.c: Likewise.
64473         * sunrpc/xdr_sizeof.c: Likewise.
64474         * sunrpc/xdr_stdio.c: Likewise.
64476 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
64478         [BZ #12650]
64479         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64480         * sysdeps/ia64/dl-tls.h: Likewise.
64481         * sysdeps/powerpc/dl-tls.h: Likewise.
64482         * sysdeps/s390/dl-tls.h: Likewise.
64483         * sysdeps/sh/dl-tls.h: Likewise.
64484         * sysdeps/sparc/dl-tls.h: Likewise.
64485         * sysdeps/x86_64/dl-tls.h: Likewise.
64486         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64488 2011-03-14  Andreas Schwab  <schwab@redhat.com>
64490         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64491         rpath element also skip the following colon.
64492         (expand_dynamic_string_token): Add is_path parameter and pass
64493         down to DL_DST_REQUIRED and _dl_dst_substitute.
64494         (decompose_rpath): Call expand_dynamic_string_token with
64495         non-zero is_path.  Ignore empty rpaths.
64496         (_dl_map_object_from_fd): Call expand_dynamic_string_token
64497         with zero is_path.
64499 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
64501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64502         Make cancelable.
64504 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
64506         [BZ #12655]
64507         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64508         Patch by Filipe David Manana <fdmanana@apache.org>.
64510 2011-04-07  Andreas Schwab  <schwab@redhat.com>
64512         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64513         Maintain aligned stack.
64514         (CHECK_RSP): Remove unused macro.
64516 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
64518         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64519         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64521 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
64523         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64525         * include/features.h: Mention __USE_XOPEN2K8 in comment.
64527 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
64529         [BZ #12518]
64530         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64531         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64532         * sysdeps/x86_64/memmove.c: New file.
64533         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64534         (memcpy): Renamed to ...
64535         (__new_memcpy): This.
64536         (memcpy): Provide GLIBC_2_14 memcpy.
64537         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64538         (memcpy): Provide GLIBC_2_2_5 memcpy.
64540 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64542         [BZ #12631]
64543         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64545 2011-03-30  Andreas Schwab  <schwab@redhat.com>
64547         * misc/syncfs.c: New file.
64548         * misc/Makefile (routines): Add syncfs.
64549         * posix/unistd.h: Declare syncfs.
64550         * sysdeps/unix/syscalls.list: Add syncfs.
64552 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64554         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64555         open_by_handle_at.
64556         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64557         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64558         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64559         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64560         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64561         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64562         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64564 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64566         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64567         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64568         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64570         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64572         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64574         * io/Makefile: Compile fallocate.c, fallocate64.c, and
64575         sync_file_range.c with -fexceptions.
64576         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64577         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64578         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64579         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64580         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64581         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64582         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64583         sync_file_range as cancellation point
64584         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
64585         now a wrapper around __call_sync_file_range with cancellation handling.
64586         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64587         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
64588         function name to __call_sync_file_range.
64589         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64590         Add call_sync_file_range.
64592 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64594         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64595         bits/timex.h.
64597 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64599         * iconv/iconv.h: Fix typo in comment.
64600         * io/fcntl.h: Likewise.
64601         * libio/stdio.h: Likewise.
64602         * posix/spawn.h: Likewise.
64603         * posix/unistd.h: Likewise.
64604         * stdlib/stdlib.h: Likewise.
64605         * time/time.h: Likewise.
64606         * wcsmbs/wchar.h: Likewise.
64608         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64609         open_by_handle): Add.
64610         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64611         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
64612         Augment a few comments.
64613         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64614         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64615         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64616         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64617         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64618         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64619         open_by_handle.
64621         * io/fcntl.h (AT_EMPTY_PATH): Define.
64623 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
64625         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64626         * sysdeps/unix/sysv/linux/bits/time.h: New file.
64627         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64628         to...
64629         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
64630         * Versions.def: Add GLIBC_2.14.
64631         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64632         Export.
64634 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
64636         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64637         round counter.
64638         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64640 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64642         [BZ #12597]
64643         * string/test-strncmp.c (do_page_test): New function.
64644         (check2): Likewise.
64645         (test_main): Call check2.
64646         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64648 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
64650         [BZ #12587]
64651         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64652         Handle cache information in CPU leaf 4.
64653         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64655 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
64657         [BZ #12583]
64658         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64659         character representation.
64660         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64662 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
64664         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64665         END(__isnan) to END(__isnanf) to match function entry point/label
64666         EALIGN(__isnanf,...).
64668 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
64670         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64672 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
64674         [BZ #12510]
64675         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64676         copy from the symbol referenced in the relocation to initialize the
64677         used variable.
64678         Patch by Piotr Bury <pbury@goahead.com>.
64679         * elf/Makefile: Add rules to build and tst-unique3.
64680         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64681         * elf/tst-unique3.cc: New file.
64682         * elf/tst-unique3.h: New file.
64683         * elf/tst-unique3lib.cc: New file.
64684         * elf/tst-unique3lib2.cc: New file.
64686         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64688 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
64690         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64691         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
64692         to _start.
64694 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
64696         * elf/dl-load.c (_dl_map_object): If we are looking for the first
64697         to-be-loaded object along a path to loader is ld.so.
64699 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
64700             Ulrich Drepper  <drepper@gmail.com>
64702         * sysdeps/x86_64/memset.S: After aligning destination, code
64703         branches to different locations depending on the value of
64704         misalignment, when multiarch is enabled. Fix this.
64706 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
64708         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64709         Set _x86_64_preferred_memory_instruction for AMD processsors.
64710         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64711         Set bit_Prefer_SSE_for_memop for AMD processors.
64713 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
64715         * libio/fmemopen.c (fmemopen): Optimize a bit.
64717 2011-03-03  Andreas Schwab  <schwab@redhat.com>
64719         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64721 2011-03-03  Roland McGrath  <roland@redhat.com>
64723         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64725 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
64727         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64728         __bzero_ultra1 instead of __memset_ultra1.
64730 2011-02-23  Andreas Schwab  <schwab@redhat.com>
64731             Ulrich Drepper  <drepper@gmail.com>
64733         [BZ #12509]
64734         * include/link.h (struct link_map): Add l_orig_initfini.
64735         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64736         returning unsuccessfully.
64737         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64738         close of a file loaded at startup, restore the original l_initfini
64739         list.
64740         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64741         list, store the pointer.
64742         * elf/Makefile ($(objpfx)noload-mem): New rule.
64743         (noload-ENV): Define.
64744         (tests): Add $(objpfx)noload-mem.
64745         * elf/noload.c: Include <memcheck.h>.
64746         (main): Call mtrace.  Close all opened handles.
64748 2011-02-17  Andreas Schwab  <schwab@redhat.com>
64750         [BZ #12454]
64751         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64752         dependencies are missing.
64754 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64756         Fix __if_freereq crash: Unlike the generic version which uses free,
64757         Hurd needs munmap.
64758         * sysdeps/mach/hurd/ifreq.h: New file.
64760 2011-01-27  Petr Baudis  <pasky@suse.cz>
64761             Ulrich Drepper  <drepper@gmail.com>
64763         [BZ 12445]#
64764         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64765         to extend_alloca().
64766         * stdio-common/bug23.c: New file.
64767         * stdio-common/Makefile (tests): Add bug23.
64769 2010-09-28  Andreas Schwab  <schwab@redhat.com>
64770             Ulrich Drepper  <drepper@gmail.com>
64772         [BZ #12489]
64773         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64774         before performing relro protection.  At old place add assertion
64775         to make sure nothing changed.
64777 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
64778             Glauber de Oliveira Costa  <glommer@gmail.com>
64780         * elf/elf.h: Add new ARM TLS relocs.
64782 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
64784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64785         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64786         cast from r3.
64787         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
64788         'tests' variable.
64789         * sysdeps/wordsize-64/tst-writev.c: New file.
64791 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
64793         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64794         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64795         insns in _dl_start to prevent a TOC reference before relocs are
64796         resolved.
64798 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
64800         [BZ #12469]
64801         * Makeconfig: Remove RANLIB definition.
64802         * Makerules: Don't use RANLIB.
64803         * aclocal.m4: Remove ranlib test.
64804         * configure.in: No need to check for ranlib.
64805         * elf/rtld-Rules: Don't use RANLIB.
64807 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64809         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64810         protection macro.
64811         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64812         inclusion protection macro.
64814         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64815         SIGRTMIN and SIGRTMAX and print information in that case only when
64816         SIGRTMIN is defined.
64818 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
64820         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64821         arginfo fn returning -1.
64823         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64824         and thousands string is zero terminated.
64826 2011-02-03  Andreas Schwab  <schwab@redhat.com>
64828         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64829         sysdeps/unix/sysv/linux/bits/socket.h.
64831 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64833         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64834         (__CPU_COUNT): Remove old macros.
64835         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64836         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64837         (__CPU_ALLOC, __CPU_FREE): Add macros.
64838         (__sched_cpualloc, __sched_cpufree): Add declarations.
64840 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
64842         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64843         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64844         * nscd/aicache.c (addhstaiX): Return timeout of added value.
64845         (readdhstai): Return value of addhstaiX call.
64846         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64847         (addgrbyX): Return value returned by cache_addgr.
64848         (readdgrbyname): Return value returned by addgrbyX.
64849         (readdgrbygid): Likewise.
64850         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64851         (addpwbyX): Return value returned by cache_addpw.
64852         (readdpwbyname): Return value returned by addhstbyX.
64853         (readdpwbyuid): Likewise.
64854         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64855         (addservbyX): Return value returned by cache_addserv.
64856         (readdservbyname): Return value returned by addservbyX:
64857         (readdservbyport): Likewise.
64858         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64859         (addhstbyX): Return value returned by cache_addhst.
64860         (readdhstbyname): Return value returned by addhstbyX.
64861         (readdhstbyaddr): Likewise.
64862         (readdhstbynamev6): Likewise.
64863         (readdhstbyaddrv6): Likewise.
64864         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64865         (readdinitgroups): Return value returned by addinitgroupsX.
64866         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64867         (prune_cache): Keep track of timeout value of re-added entries.
64868         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64869         * nscd/nscd.h: Adjust prototypes of readd* functions.
64871 2011-02-04  Roland McGrath  <roland@redhat.com>
64873         * nis/nis_server.c (nis_servstate): Use the right name for 0.
64874         (nis_stats): Likewise.
64875         * nis/nis_modify.c (nis_modify): Likewise.
64876         * nis/nis_remove.c (nis_remove): Likewise.
64877         * nis/nis_add.c (nis_add): Likewise.
64879         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64881         * posix/fnmatch_loop.c: Add some consts.
64883         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64885 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
64887         [BZ #12460]
64888         * config.make.in (config-cflags-novzeroupper): Define.
64889         * configure.in: Substitute libc_cv_cc_novzeroupper.
64890         * elf/Makefile (AVX-CFLAGS): Define.
64891         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64892         (CFLAGS-tst-auditmod4a.c): Likewise.
64893         (CFLAGS-tst-auditmod4b.c): Likewise.
64894         (CFLAGS-tst-auditmod6b.c): Likewise.
64895         (CFLAGS-tst-auditmod6c.c): Likewise.
64896         (CFLAGS-tst-auditmod7b.c): Likewise.
64897         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64899 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
64901         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64902         function to the callback.
64903         Patch partly by Jiri Olsa <jolsa@redhat.com>.
64905 2011-02-02  Andreas Schwab  <schwab@redhat.com>
64907         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64908         of errno.
64910 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
64912         [BZ #11724]
64913         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64914         of constructors.
64915         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64916         of destructors.
64917         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64919         [BZ #11724]
64920         * elf/Makefile: Add rules to build and run new test.
64921         * elf/tst-initorder.c: New file.
64922         * elf/tst-initorder.exp: New file.
64923         * elf/tst-initordera1.c: New file.
64924         * elf/tst-initordera2.c: New file.
64925         * elf/tst-initordera3.c: New file.
64926         * elf/tst-initordera4.c: New file.
64927         * elf/tst-initorderb1.c: New file.
64928         * elf/tst-initorderb2.c: New file.
64929         * elf/tst-order-a1.c: New file.
64930         * elf/tst-order-a2.c: New file.
64931         * elf/tst-order-a3.c: New file.
64932         * elf/tst-order-a4.c: New file.
64933         * elf/tst-order-b1.c: New file.
64934         * elf/tst-order-b2.c: New file.
64935         * elf/tst-order-main.c: New file.
64936         New test case by George Gensure <werkt0@gmail.com>.
64938 2010-10-01  Andreas Schwab  <schwab@redhat.com>
64940         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64941         decoding ACE if AI_CANONIDN.
64943 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
64945         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64947 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
64949         * version.h (RELEASE): Bump for 2.13 release.
64950         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64952         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64954         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64955         MADV_NOHUGEPAGE.
64956         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64957         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64958         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64959         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64960         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64961         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64963         * posix/getconf.c: Update copyright year.
64964         * catgets/gencat.c: Likewise.
64965         * csu/version.c: Likewise.
64966         * debug/catchsegv.sh: Likewise.
64967         * debug/xtrace.sh: Likewise.
64968         * elf/ldconfig.c: Likewise.
64969         * elf/ldd.bash.in: Likewise.
64970         * elf/sprof.c (print_version): Likewise.
64971         * iconv/iconv_prog.c: Likewise.
64972         * iconv/iconvconfig.c: Likewise.
64973         * locale/programs/locale.c: Likewise.
64974         * locale/programs/localedef.c: Likewise.
64975         * malloc/memusage.sh: Likewise.
64976         * malloc/mtrace.pl: Likewise.
64977         * nscd/nscd.c (print_version): Likewise.
64978         * nss/getent.c: Likewise.
64980         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64981         PF_CAIF, and PF_ALG.
64982         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64984 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
64986         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64987         (modules-names): Use them.
64988         (ifunc-test-modules, ifunc-pie-tests): Define.
64989         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64990         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64991         (test-extras): Likewise.
64992         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64993         $(compile-command.c).
64994         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64995         (all-built-dso): Define.
64996         (check-textrel.out, check-execstack.out): Depend on it.
64998         * configure.in: Don't override --enable-multi-arch.
65000 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
65002         [BZ #6812]
65003         * nscd/hstcache.c (tryagain): Define.
65004         (cache_addhst): Return tryagain not notfound for temporary errors.
65005         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
65006         failed.
65008 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
65010         [BZ #10563]
65011         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
65012         to make the syscall.
65013         * sysdeps/unix/sysv/linux/setgroups.c: New file.
65015         [BZ #12378]
65016         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
65017         and fall back to matching as normal character if the string ends before
65018         the matching ']' is found.  This is what POSIX requires.
65019         * posix/testfnm.c: Adjust test result.
65020         * posix/globtest.sh: Adjust test result.  Add new test.
65021         * posix/tst-fnmatch.input: Likewise.
65022         * posix/tst-fnmatch2.c: Add new test.
65024 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
65026         * elf/Makefile (check-execstack): Revert last change.  Depend on
65027         check-execstack.h.
65028         (check-execstack.h): New target.
65029         (generated): Add check-execstack.h.
65030         * elf/check-execstack.c: Include "check-execstack.h".
65031         (main): Revert last change.
65032         (handle_file): Return zero if GNU_STACK is absent and
65033         DEFAULT_STACK_PERMS doesn't include PF_X.
65035 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
65037         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65038         in child fails because the descriptor is already closed.
65039         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65040         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65041         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65043         [BZ #12397]
65044         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65045         syscall.
65047         [BZ #10484]
65048         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65049         temporary buffer used to handle multi lookups locally.
65050         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65052 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65054         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65055         loader is ld.so.
65057 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
65059         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65060         alignment for SSE2.
65062 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65064         [BZ #12394]
65065         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65066         characters.  When rounding increased number of integer digits recompute
65067         number of groups.
65068         * stdio-common/tst-grouping.c: New file.
65069         * stdio-common/Makefile: Add rules to build and run tst-grouping.
65071 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
65073         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65074         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
65076         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65077         void.
65078         * bits/select.h: Likewise.
65080 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
65082         * po/ja.po: Update from translation team.
65084 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
65086         [BZ #11155]
65087         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65088         implementation just like for lxstat, fxstatat, et al.
65090 2010-12-27  Jim Meyering  <meyering@redhat.com>
65092         [BZ #12348]
65093         * posix/regexec.c (build_trtable): Return failure indication upon
65094         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
65096 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
65098         [BZ #12201]
65099         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65100         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65101         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65102         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65104         [BZ #12207]
65105         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65107         [BZ #12204]
65108         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65109         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65111 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
65113         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65114         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65115         script has SORT_BY_INIT_PRIORITY.
65116         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65117         NO_CTORS_DTORS_SECTIONS is defined.
65118         * elf/soinit.c: Likewise.
65119         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65120         NO_CTORS_DTORS_SECTIONS is defined.
65121         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65122         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65123         * sysdeps/sh/init-first.c: Likewise.
65124         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65126 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
65128         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65129         always use the slow path.
65131 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
65133         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65134         similar rule which adds the sysdep directories to the header search in
65135         order to pick up the correct platform stackinfo.h.
65136         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65137         perform test if it is, otherwise return successfully without testing.
65138         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65139         DEFAULT_STACK_PERMS define in stackinfo.h.
65140         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65141         defined in stackinfo.h.
65142         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65143         DEFAULT_STACK_PERMS defined in stackinfo.h.
65144         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65145         * sysdeps/ia64/stackinfo.h: Likewise.
65146         * sysdeps/s390/stackinfo.h: Likewise.
65147         * sysdeps/sh/stackinfo.h: Likewise.
65148         * sysdeps/sparc/stackinfo.h: Likewise.
65149         * sysdeps/x86_64/stackinfo.h: Likewise.
65150         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65151         PF_X for powerpc64.  Retain PF_X for powerpc32.
65153 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
65155         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65156         accurately.
65157         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65158         GETDENTS_64BIT_ALIGNED.
65160 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
65162         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65164 2010-12-10  Andreas Schwab  <schwab@redhat.com>
65166         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65167         _GNU_SOURCE.
65169         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65170         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65171         Remove __restrict.
65172         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65173         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65175 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
65177         [BZ #11655]
65178         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65179         are initialized.
65181 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
65183         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65185 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
65187         * po/it.po: Update from translation team.
65189 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
65191         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65192         unused codes.
65194 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
65196         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65198 2010-11-24  Andreas Schwab  <schwab@redhat.com>
65200         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65201         specially.
65202         (gaih_getanswer_slice): Likewise.
65204 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
65206         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65208 2010-05-31  Petr Baudis  <pasky@suse.cz>
65210         [BZ #11149]
65211         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65212         silently even in the chroot mode.
65214 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
65216         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65217         last patch a bit.  Pretty printing
65219 2010-05-31  Petr Baudis <pasky@suse.cz>
65221         [BZ #10085]
65222         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65223         initialization of skip_initgroups_dyn.
65225 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
65227         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65228         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65230 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
65232         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65234 2010-11-11  Andreas Schwab  <schwab@redhat.com>
65236         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65237         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65238         (tst-fnmatch-ENV): Set MALLOC_TRACE.
65239         ($(objpfx)tst-fnmatch-mem): New rule.
65240         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65241         * posix/tst-fnmatch.c (main): Call mtrace.
65243 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
65245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65246         Support Intel processor model 6 and model 0x2c.
65248 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
65250         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65251           signed comparison.
65253 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
65255         [BZ #12205]
65256         * string/test-strncasecmp.c (check_result): New function.
65257         (do_one_test): Use it.
65258         (check1): New function.
65259         (test_main): Use it.
65260         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65261         Support strcasecmp and strncasecmp.
65263 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
65265         [BZ #12194]
65266         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65267         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65269 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65271         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65272         IFUNC support.
65273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65274         memset-x86-64.
65275         * sysdeps/x86_64/multiarch/bzero.S: New file.
65276         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65277         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65278         * sysdeps/x86_64/multiarch/memset.S: New file.
65279         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65281         Set bit_Prefer_SSE_for_memop for Intel processors.
65282         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65283         Define.
65284         (index_Prefer_SSE_for_memop): Define.
65285         (HAS_PREFER_SSE_FOR_MEMOP): Define.
65287 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
65289         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65290         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65292 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
65294         [BZ #12191]
65295         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65296         (__x86_64_raw_data_cache_size_half): Likewise.
65297         (__x86_64_raw_shared_cache_size): Likewise.
65298         (__x86_64_raw_shared_cache_size_half): Likewise.
65300         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65301         (__x86_64_raw_data_cache_size_half): Likewise.
65302         (__x86_64_raw_shared_cache_size): Likewise.
65303         (__x86_64_raw_shared_cache_size_half): Likewise.
65304         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65305         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65306         and __x86_64_raw_shared_cache_size_half.  Round
65307         __x86_64_data_cache_size_half, __x86_64_data_cache_size
65308         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65309         to multiple of 256 bytes.
65311 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
65313         [BZ #12167]
65314         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65315         of inacessible symlinks.  Verify result of symlink before returning it.
65316         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65317         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65319 2010-10-28  Erich Ritz  <erichritz@gmail.com>
65321         * math/math.h (isinf): Fix typo in comment.
65323 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
65325         * po/da.po: Update from translation team.
65327 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
65329         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65330         is added to the list.
65332 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65333             Ulrich Drepper  <drepper@gmail.com>
65335         * elf/dl-object.c (_dl_new_object): Don't append the new object to
65336         the global list here.  Move code to...
65337         (_dl_add_to_namespace_list): ...here.  New function.
65338         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65339         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65340         * elf/dl-load.c (lose): Don't remove the element from the list.
65341         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65342         (_dl_map_object): Likewise.
65344 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
65346         [BZ #12159]
65347         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65348         into all bytes of SSE register.
65349         Patch by Richard Li <richardpku@gmail.com>.
65351 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
65353         [BZ #12140]
65354         * malloc/malloc.c (_int_free): Fill correct number of bytes when
65355         perturbing.
65357 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
65359         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65360         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65361         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65362         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65364         submachine.
65365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65367 2010-10-22  Andreas Schwab  <schwab@redhat.com>
65369         * include/dlfcn.h (__RTLD_SECURE): Define.
65370         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
65371         mode & __RTLD_SECURE instead.
65372         (open_path): Rename preloaded parameter to secure.
65373         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65374         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65375         * elf/dl-deps.c (openaux): Likewise.
65376         * elf/rtld.c (struct map_args): Remove is_preloaded.
65377         (map_doit): Don't use it.
65378         (dl_main): Likewise.
65379         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65380         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65382 2010-09-09  Andreas Schwab  <schwab@redhat.com>
65384         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65385         (sysd-rules-targets): Remove duplicates.
65386         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65387         rtld-%.$o dependency.
65389 2010-10-18  Andreas Schwab  <schwab@redhat.com>
65391         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65392         _dl_map_object do it.
65394 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
65396         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65397         fast fma builtins, define the macros in the C99 standard.
65398         (FP_FAST_FMAF): Likewise.
65399         (FP_FAST_FMAL): Likewise.
65400         * sysdeps/x86_64/bits/mathdef.h: Likewise.
65402         * bits/mathdef.h: Update copyright year.
65403         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65405 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
65407         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65408         builtins, define the macros in the C99 standard.
65409         (FP_FAST_FMAF): Likewise.
65410         (FP_FAST_FMAL): Likewise.
65411         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65412         multiply/add.
65413         (FP_FAST_FMAF): Likewise.
65415 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
65417         [BZ #3268]
65418         * math/libm-test.inc (fma_test): Some new testcases.
65419         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65420         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65421         y and infinite z.  Do multiplication by C already in long double.
65422         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65424         y and infinite z.  Do bitwise or of inexact bit into u.d.
65425         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65426         * sysdeps/i386/fpu/s_fmaf.S: Removed.
65427         * sysdeps/i386/fpu/s_fma.S: Removed.
65428         * sysdeps/i386/fpu/s_fmal.S: Removed.
65430 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
65432         [BZ #3268]
65433         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65435         computation is not scheduled after fetestexcept.  Fix value
65436         of minimum denormal long double.
65438 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
65440         [BZ #3268]
65441         * math/libm-test.inc (fma_test): Add some more tests.
65442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65443         correctly.
65445 2010-10-15  Andreas Schwab  <schwab@redhat.com>
65447         * scripts/data/localplt-s390-linux-gnu.data: New file.
65448         * scripts/data/localplt-s390x-linux-gnu.data: New file.
65450 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
65452         [BZ #3268]
65453         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65454         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65455         instead of dbl-64.
65456         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65457         inlines.
65458         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65460         if one of x and y is very large and the other is subnormal.
65461         * sysdeps/s390/fpu/s_fmaf.c: New file.
65462         * sysdeps/s390/fpu/s_fma.c: New file.
65463         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65464         * sysdeps/powerpc/fpu/s_fma.S: New file.
65465         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65466         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65467         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65469 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
65471         [BZ #3268]
65472         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65473         fma tests.
65474         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65475         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65476         * sysdeps/i386/i686/multiarch/s_fma.c: Include
65477         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65478         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65479         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65480         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65482 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
65484         [BZ #12078]
65485         * posix/regcomp.c (parse_branch): One more memory leak plugged.
65486         * posix/bug-regex31.input: Add test case.
65488 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65490         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65491         * posix/bug-regex31.input: New file.
65493         [BZ #12078]
65494         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65495         (parse_sub_exp): Fix last change, use postorder.
65497         * posix/bug-regex31.c: New file.
65498         * posix/Makefile: Add rules to build and run bug-regex31.
65500         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65502         [BZ #12078]
65503         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65505         [BZ #12108]
65506         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65507         to have entries in sys_siglist.
65509         [BZ #12093]
65510         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65511         be NULL.
65513 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
65515         [BZ #3268]
65516         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65517         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65518         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65519         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65520         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65521         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65522         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65523         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65524         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65525         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65526         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65527         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65528         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65529         * math/ftestexcept.c (fetestexcept): Likewise.
65530         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65531         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65532         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65533         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65534         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65535         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65536         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65538 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65540         [BZ #12107]
65541         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65542         newline.
65544 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
65546         * string/bug-strstr1.c: New file.
65547         * string/Makefile: Add rules to build and run bug-strstr1.
65549 2010-10-05  Eric Blake  <eblake@redhat.com>
65551         [BZ #12092]
65552         * string/str-two-way.h (two_way_long_needle): Always clear memory
65553         when skipping input due to the shift table.
65555 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
65557         [BZ #12005]
65558         * malloc/mcheck.c: Handle large requests.
65560         [BZ #12077]
65561         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65562         for strncmp and strncasecmp.
65563         * string/stratcliff.c: Add tests for strcmp and strncmp.
65564         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65566 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65568         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65569         __set_fpscr.
65571 2010-09-30  Andreas Jaeger  <aj@suse.de>
65573         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65574         (CGROUP_SUPER_MAGIC): Define.
65575         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65576         Handle btrfs and cgroup file systems.
65577         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65578         Likewise.
65580 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
65582         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65583         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65585 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65587         [BZ #12067]
65588         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65589         trying to locate the ELF header.
65591 2010-09-27  Andreas Schwab  <schwab@redhat.com>
65593         [BZ #11611]
65594         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65595         Mask out sign-bit copies when constructing f_fsid.
65597 2010-09-24  Petr Baudis <pasky@suse.cz>
65599         * debug/stack_chk_fail_local.c: Add missing licence exception.
65600         * debug/warning-nop.c: Likewise.
65602 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
65604         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65605         implementing getdents64 using getdents syscall, set d_type if
65606         __ASSUME_GETDENTS32_D_TYPE.
65608 2010-09-16  Andreas Schwab  <schwab@redhat.com>
65610         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65611         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65613 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
65615         [BZ #12037]
65616         * posix/unistd.h: Undo change of feature selection for ftruncate from
65617         2010-01-11.
65619 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
65621         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65622         detection.
65624 2010-09-20  Andreas Schwab  <schwab@redhat.com>
65626         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65627         fanotify_mark.
65628         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65630 2010-09-14  Andreas Schwab  <schwab@redhat.com>
65632         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65633         variables after CHECK_SP call.
65634         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65636 2010-09-13  Andreas Schwab  <schwab@redhat.com>
65637             Ulrich Drepper  <drepper@redhat.com>
65639         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65640         re-relocationg ld.so.
65641         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65642         _dl_init_paths call.
65643         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
65644         here anymore.
65646 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
65648         * resolv/res_init.c (__res_vinit): Count the default server we added.
65650 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
65651             Ulrich Drepper  <drepper@redhat.com>
65653         [BZ #11968]
65654         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65655         (____longjmp_chk): Use %ebx for saving value across system call.
65656         Add unwind info.
65658 2010-09-06  Andreas Schwab  <schwab@redhat.com>
65660         * manual/Makefile: Don't mix pattern rules with normal rules.
65662 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
65664         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65665         operation.
65666         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65667         * libio/iofopncook.c (_IO_cookie_init): Likewise.
65668         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65669         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65670         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65671         Likewise.
65673 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
65675         [BZ #11979]
65676         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65677         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65679 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
65681         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65682         * sysdeps/x86_64/addmul_1.S: Likewise.
65683         * sysdeps/x86_64/lshift.S: Likewise.
65684         * sysdeps/x86_64/mul_1.S: Likewise.
65685         * sysdeps/x86_64/rshift.S: Likewise.
65686         * sysdeps/x86_64/sub_n.S: Likewise.
65687         * sysdeps/x86_64/submul_1.S: Likewise.
65689 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65691         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65692         Define __sched_param instead of SCHED_* and sched_param when
65693         <bits/sched.h> is included with __need_schedparam defined.
65694         * bits/sched.h [__need_schedparam]
65695         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65696         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65697         (__defined_schedparam): Define to 1.
65698         (__sched_param): New structure, identical to sched_param.
65699         (__need_schedparam): Undefine.
65701 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
65703         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65704         (epoll_create1): Declare.
65706         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65708 2010-08-31  Andreas Schwab  <schwab@redhat.com>
65710         [BZ #7066]
65711         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65712         shifting retval into place.
65714 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
65716         * nis/rpcsvc/nis.h: Update copyright notice.
65717         * nis/rpcsvc/nis.x: Likewise.
65718         * nis/rpcsvc/nis_callback.h: Likewise.
65719         * nis/rpcsvc/nis_callback.x: Likewise.
65720         * nis/rpcsvc/nis_object.x: Likewise.
65721         * nis/rpcsvc/nis_tags.h: Likewise.
65722         * nis/rpcsvc/yp.h: Likewise.
65723         * nis/rpcsvc/yp.x: Likewise.
65724         * nis/rpcsvc/ypupd.h: Likewise.
65725         * nis/yp_xdr.c: Likewise.
65726         * nis/ypupdate_xdr.c: Likewise.
65728         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
65729         mainly the body of pmap_getport.  Add parameters to specify timeouts.
65730         (pmap_getport): Use __libc_rpc_getport.
65731         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65732         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65733         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65735 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
65737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65738         fanotify_mark.
65740 2010-08-27  Roland McGrath  <roland@redhat.com>
65742         * sysdeps/i386/i686/multiarch/Makefile
65743         (CFLAGS-varshift.c): New variable.
65745 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
65747         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65748         * sysdeps/i386/i686/multiarch/varshift.c: New file.
65750         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65752         * sysdeps/x86_64/strlen.S: Minimal code improvement.
65754 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
65756         * sysdeps/x86_64/strlen.S: Unroll the loop.
65757         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65758         strlen-sse2 strlen-sse2-bsf.
65759         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65760         __strlen_no_bsf if bit_Slow_BSF is set.
65761         (__strlen_sse42): Removed.
65762         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65763         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65765 2010-08-25  Roland McGrath  <roland@redhat.com>
65767         * sysdeps/x86_64/multiarch/varshift.S: File removed.
65768         * sysdeps/x86_64/multiarch/varshift.c: New file.
65769         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65770         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65771         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65772         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65774 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
65776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65777         strlen-sse2 strlen-sse2-bsf.
65778         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65779         __strlen_sse2_bsf if bit_Slow_BSF is unset.
65780         (__strlen_sse2): Removed.
65781         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65782         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65784         bit_Slow_BSF for Atom.
65785         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65786         (index_Slow_BSF): Define.
65787         (HAS_SLOW_BSF): Define.
65789 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
65791         [BZ #10851]
65792         * resolv/res_init.c (__res_vinit): When no server address at all
65793         is given default to loopback.
65795 2010-08-24  Roland McGrath  <roland@redhat.com>
65797         * configure.in: Remove config-name.h generation.
65798         * configure: Regenerated.
65799         * config-name.in: File removed.
65800         * scripts/config-uname.sh: New file.
65801         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65802         ($(objdir)config-name.h): New target.
65804         * sunrpc/rpc_parse.h: Avoid nested comment.
65806 2010-08-24  Richard Henderson  <rth@redhat.com>
65807             Ulrich Drepper  <drepper@redhat.com>
65808             H.J. Lu  <hongjiu.lu@intel.com>
65810         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65812         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65813         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
65814         _mm_alignr_epi8 with _mm_loadu_si128.
65815         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65816         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65817         (__m128i_shift_right): Removed.
65818         * sysdeps/i386/i686/multiarch/varshift.h: New file.
65819         * sysdeps/i386/i686/multiarch/varshift.S: New file.
65820         * sysdeps/x86_64/multiarch/varshift.h: New file.
65821         * sysdeps/x86_64/multiarch/varshift.S: New file.
65823 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
65825         * configure.in: Move assembler checks to before sysdep dir checking.
65827 2010-08-20  Petr Baudis  <pasky@suse.cz>
65829         * LICENSES: Sync the sunrpc license.
65831 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
65833         * sunrpc/auth_des.c: Update copyright notice once again.
65834         * sunrpc/auth_none.c: Likewise.
65835         * sunrpc/auth_unix.c: Likewise.
65836         * sunrpc/authdes_prot.c: Likewise.
65837         * sunrpc/authuxprot.c: Likewise.
65838         * sunrpc/bindrsvprt.c: Likewise.
65839         * sunrpc/clnt_gen.c: Likewise.
65840         * sunrpc/clnt_perr.c: Likewise.
65841         * sunrpc/clnt_raw.c: Likewise.
65842         * sunrpc/clnt_simp.c: Likewise.
65843         * sunrpc/clnt_tcp.c: Likewise.
65844         * sunrpc/clnt_udp.c: Likewise.
65845         * sunrpc/clnt_unix.c: Likewise.
65846         * sunrpc/des_crypt.c: Likewise.
65847         * sunrpc/des_soft.c: Likewise.
65848         * sunrpc/get_myaddr.c: Likewise.
65849         * sunrpc/getrpcport.c: Likewise.
65850         * sunrpc/key_call.c: Likewise.
65851         * sunrpc/key_prot.c: Likewise.
65852         * sunrpc/openchild.c: Likewise.
65853         * sunrpc/pm_getmaps.c: Likewise.
65854         * sunrpc/pm_getport.c: Likewise.
65855         * sunrpc/pmap_clnt.c: Likewise.
65856         * sunrpc/pmap_prot.c: Likewise.
65857         * sunrpc/pmap_prot2.c: Likewise.
65858         * sunrpc/pmap_rmt.c: Likewise.
65859         * sunrpc/rpc/auth.h: Likewise.
65860         * sunrpc/rpc/auth_unix.h: Likewise.
65861         * sunrpc/rpc/clnt.h: Likewise.
65862         * sunrpc/rpc/des_crypt.h: Likewise.
65863         * sunrpc/rpc/key_prot.h: Likewise.
65864         * sunrpc/rpc/netdb.h: Likewise.
65865         * sunrpc/rpc/pmap_clnt.h: Likewise.
65866         * sunrpc/rpc/pmap_prot.h: Likewise.
65867         * sunrpc/rpc/pmap_rmt.h: Likewise.
65868         * sunrpc/rpc/rpc.h: Likewise.
65869         * sunrpc/rpc/rpc_des.h: Likewise.
65870         * sunrpc/rpc/rpc_msg.h: Likewise.
65871         * sunrpc/rpc/svc.h: Likewise.
65872         * sunrpc/rpc/svc_auth.h: Likewise.
65873         * sunrpc/rpc/types.h: Likewise.
65874         * sunrpc/rpc/xdr.h: Likewise.
65875         * sunrpc/rpc_clntout.c: Likewise.
65876         * sunrpc/rpc_cmsg.c: Likewise.
65877         * sunrpc/rpc_common.c: Likewise.
65878         * sunrpc/rpc_cout.c: Likewise.
65879         * sunrpc/rpc_dtable.c: Likewise.
65880         * sunrpc/rpc_hout.c: Likewise.
65881         * sunrpc/rpc_main.c: Likewise.
65882         * sunrpc/rpc_parse.c: Likewise.
65883         * sunrpc/rpc_parse.h: Likewise.
65884         * sunrpc/rpc_prot.c: Likewise.
65885         * sunrpc/rpc_sample.c: Likewise.
65886         * sunrpc/rpc_scan.c: Likewise.
65887         * sunrpc/rpc_scan.h: Likewise.
65888         * sunrpc/rpc_svcout.c: Likewise.
65889         * sunrpc/rpc_tblout.c: Likewise.
65890         * sunrpc/rpc_util.c: Likewise.
65891         * sunrpc/rpc_util.h: Likewise.
65892         * sunrpc/rpcinfo.c: Likewise.
65893         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65894         * sunrpc/rpcsvc/key_prot.x: Likewise.
65895         * sunrpc/rpcsvc/klm_prot.x: Likewise.
65896         * sunrpc/rpcsvc/mount.x: Likewise.
65897         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65898         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65899         * sunrpc/rpcsvc/rex.x: Likewise.
65900         * sunrpc/rpcsvc/rstat.x: Likewise.
65901         * sunrpc/rpcsvc/rusers.x: Likewise.
65902         * sunrpc/rpcsvc/sm_inter.x: Likewise.
65903         * sunrpc/rpcsvc/spray.x: Likewise.
65904         * sunrpc/rpcsvc/yppasswd.x: Likewise.
65905         * sunrpc/rtime.c: Likewise.
65906         * sunrpc/svc.c: Likewise.
65907         * sunrpc/svc_auth.c: Likewise.
65908         * sunrpc/svc_authux.c: Likewise.
65909         * sunrpc/svc_raw.c: Likewise.
65910         * sunrpc/svc_run.c: Likewise.
65911         * sunrpc/svc_simple.c: Likewise.
65912         * sunrpc/svc_tcp.c: Likewise.
65913         * sunrpc/svc_udp.c: Likewise.
65914         * sunrpc/svc_unix.c: Likewise.
65915         * sunrpc/svcauth_des.c: Likewise.
65916         * sunrpc/xcrypt.c: Likewise.
65917         * sunrpc/xdr.c: Likewise.
65918         * sunrpc/xdr_array.c: Likewise.
65919         * sunrpc/xdr_float.c: Likewise.
65920         * sunrpc/xdr_mem.c: Likewise.
65921         * sunrpc/xdr_rec.c: Likewise.
65922         * sunrpc/xdr_ref.c: Likewise.
65923         * sunrpc/xdr_sizeof.c: Likewise.
65924         * sunrpc/xdr_stdio.c: Likewise.
65926         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65927         handling.
65929 2010-08-19  Andreas Schwab  <schwab@redhat.com>
65931         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65933 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
65935         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65936         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65937         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65938         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65939         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65940         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65941         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65942         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65943         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65944         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65945         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65946         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65947         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65948         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65950 2010-07-26  Anton Blanchard  <anton@samba.org>
65952         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65953         * malloc/arena.c (heap_trim): Likewise.
65955 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
65957         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65958         here.  Not...
65959         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65960         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65962 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
65964         * sysdeps/i386/elf/Makefile: New file.
65966 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
65968         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65969         from fanotify_init.
65970         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65971         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65973 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
65975         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65976         of strncasecmp_l.
65977         * sysdeps/multiarch/strcmp.S: Likewise.
65979 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
65981         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65982         strncase_l-nonascii.
65983         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65984         Add strncase_l-ssse3.
65985         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65986         * sysdeps/x86_64/strcmp.S: Likewise.
65987         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65988         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65989         * sysdeps/x86_64/strncase.S: New file.
65990         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65991         * sysdeps/x86_64/strncase_l.S: New file.
65992         * string/Makefile (strop-tests): Add strncasecmp.
65993         * string/test-strncasecmp.c: New file.
65995         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65996         warning.
65998         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65999         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
66001 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66003         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
66005 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
66007         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
66008         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
66009         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
66011 2010-05-01  Alan Modra  <amodra@gmail.com>
66013         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
66014         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
66015         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
66016         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
66017         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
66018         tidying.  Don't tail-call __sigjmp_save for static lib.
66019         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
66020         save location.
66021         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
66022         (CALL_MCOUNT): Add eh info, and nop after bl.
66023         (TAIL_CALL_SYSCALL_ERROR): New macro.
66024         (PSEUDO_RET): Use it.
66025         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66026         Correct save location of integer regs and cr.
66027         (_dl_profile_resolve): Correct cr save location.  Delete nops
66028         after bl when SHARED.  Reduce cfi size a little by better
66029         placement of cfi directives.
66030         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66031         make a stack frame.  Instead use parm save area as a temp.
66032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66033         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
66034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66035         Don't make a stack frame for parent, use parm save area.
66036         Increase child stack frame to 112 bytes.  Don't save unused reg,
66037         and adjust reg usage.  Set up cfi on error recovery and
66038         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66040         (__makecontext): Add dummy nop after jump to exit.
66041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66042         Use correct parm save area and cr save, reduce stack frame.
66043         Correct cfi for possible PSEUDO_RET frame setup.
66044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66045         Branch to local label emitted by PSEUDO_RET rather than
66046         __syscall_error.
66048 2010-08-12  Andreas Schwab  <schwab@redhat.com>
66050         [BZ #11904]
66051         * locale/programs/locale.c (print_assignment): New function.
66052         (show_locale_vars): Use it.
66054 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
66056         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66057         field.
66058         (struct statfs64): Likewise.
66059         (_STATFS_F_FLAGS): Define.
66060         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66061         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66062         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66063         (ST_VALID): Define locally.
66064         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66065         __statvfs_getflags, use the provided value.
66066         * sysdeps/unix/sysv/linux/kernel-features.h: Define
66067         __ASSUME_STATFS_F_FLAGS.
66069         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66071         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66072         Add sys/fanotify.h.
66073         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66074         fanotify_mask for GLIBC_2.13.
66075         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66076         fanotify_init and fanotify_mark.
66077         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66078         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66080         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66081         Add prlimit.
66082         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66083         prlimit64 for GLIBC_2.13.
66084         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66085         prlimit64.
66086         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66087         syscall.
66088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66089         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66090         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66091         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66092         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
66093         add prlimit alias.
66094         * sysdeps/unix/sysv/linux/prlimit.c: New file.
66096         [BZ #11903]
66097         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66098         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66100         * nss/Makefile: Add rules to build and run tst-nss-test1.
66101         * shlib-versions: Add entry for libnss_test1.
66102         * nss/nss_test1.c: New file.
66103         * nss/tst-nss-test1.c: New file.
66105         * nss/nsswitch.c (__nss_database_custom): Define new variable.
66106         (__nss_configure_lookup): Set appropriate entry in
66107         __nss_configure_lookup to true.
66108         * nss/nsswitch.h: Define enum with indeces of databases in
66109         databases and __nss_database_custom arrays.  Declare
66110         __nss_database_custom.
66111         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66112         to avoid using nscd when custom rules are installed.
66113         * nss/getXXbyYY_r.c: Likewise.
66114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66116         * nss/nss_files/files-parse.c: Whitespace fixes.
66118 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
66120         [BZ #11883]
66121         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66122         * posix/fnmatch_loop.c: Likewise.
66124 2010-07-17  Andi Kleen  <ak@linux.intel.com>
66126         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66127         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66128         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66129         * Versions.def [GLIBC_2.13]: Add.
66131 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
66133         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66134         Also fail if tpwd after pwuid call is NULL.
66136 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66138         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66139         when converting to ms.
66141 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66143         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66144         EOPNOTSUPP errors with ENOTTY.
66145         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66146         EOPNOTSUPP errors with ENOTTY.
66148 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
66150         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66151         Add strcasecmp_l-ssse3.
66152         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66153         strcasecmp.
66154         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66155         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66156         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66158 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
66160         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66162         * string/Makefile (strop-tests): Add strcasecmp.
66163         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66164         strcasecmp_l-nonascii.
66165         (gen-as-const-headers): Add locale-defines.sym.
66166         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66167         * sysdeps/x86_64/strcasecmp.S: New file.
66168         * sysdeps/x86_64/strcasecmp_l.S: New file.
66169         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66170         * sysdeps/x86_64/locale-defines.sym: New file.
66171         * string/test-strcasecmp.c: New file.
66173         * string/test-strcasestr.c: Test both ends of the range of characters.
66174         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66176 2010-07-29  Roland McGrath  <roland@redhat.com>
66178         [BZ #11856]
66179         * manual/locale.texi (Yes-or-No Questions): Fix example code.
66181 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
66183         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66184         for ld.so.
66186 2010-07-27  Andreas Schwab  <schwab@redhat.com>
66188         * manual/memory.texi (Malloc Tunable Parameters): Document
66189         M_PERTURB.
66191 2010-07-26  Roland McGrath  <roland@redhat.com>
66193         [BZ #11840]
66194         * configure.in (-fgnu89-inline check): Set and substitute
66195         gnu89_inline, not libc_cv_gnu89_inline.
66196         * configure: Regenerated.
66197         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66199 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
66201         * string/test-strnlen.c: New file.
66202         * string/Makefile (strop-tests): Add strnlen.
66203         * string/tester.c (test_strnlen): Add a few more test cases.
66204         * string/tst-strlen.c: Better error reporting.
66206         * sysdeps/x86_64/strnlen.S: New file.
66208 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
66210         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66211         lower-latency instructions.
66213 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
66215         * string/test-strcasestr.c: New file.
66216         * string/test-strstr.c: New file.
66217         * string/Makefile (strop-tests): Add strstr and strcasestr.
66218         * string/str-two-way.h: Don't undefine MAX.
66219         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66221 2010-07-21  Andreas Schwab  <schwab@redhat.com>
66223         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66224         strcasestr-nonascii.
66225         (CFLAGS-strcasestr-nonascii.c): Define.
66226         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66227         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66228         Remove unused attribute.
66230 2010-07-20  Roland McGrath  <roland@redhat.com>
66232         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66233         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
66234         ld.so.cache was broken.  With it, there is no way to disable dsocaps
66235         like LD_HWCAP_MASK can disable hwcaps.
66237 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66239         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66241 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
66243         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66244         call in strcasestr.
66245         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66246         __strcasestr_sse42_nonascii.
66247         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66248         strcasestr-nonascii.c.
66249         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66251 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
66253         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66254         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66255         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66256         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66258 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
66260         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66261         fcntl.
66263 2010-07-06  Andreas Schwab  <schwab@redhat.com>
66265         [BZ #11577]
66266         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66267         dl_signal_cerror.
66269 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
66271         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66272         _PC_PIPE_BUF using F_GETPIPE_SZ.
66274 2010-07-05  Roland McGrath  <roland@redhat.com>
66276         * manual/arith.texi (Rounding Functions): Fix rint description
66277         implicit in round description.
66279 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
66281         * elf/Makefile: Fix linking for a few tests to make recent linker
66282         happy.
66284 2010-06-30  Andreas Schwab  <schwab@redhat.com>
66286         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66287         $(common-objpfx)libc_nonshared.a.
66289 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
66291         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66292         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66293         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66294         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66295         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66296         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66297         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66298         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66313         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66314         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66315         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66316         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66317         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66318         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66319         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66320         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66321         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66322         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66323         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66324         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66340 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
66342         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66343         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
66344         * string/memmove.c (memmove): Renamed to ...
66345         (MEMMOVE): ...this.  Default to memmove.
66346         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66347         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66348         (END_CHK): Define.
66349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66350         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66351         mempcpy-ssse3-back memmove-ssse3-back.
66352         * sysdeps/x86_64/multiarch/bcopy.S: New file .
66353         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66354         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66355         * sysdeps/x86_64/multiarch/memcpy.S: New file.
66356         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66357         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66358         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66359         * sysdeps/x86_64/multiarch/memmove.c: New file.
66360         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66361         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66362         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66363         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66364         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66365         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66366         Define.
66367         (index_Fast_Copy_Backward): Define.
66368         (HAS_ARCH_FEATURE): Define.
66369         (HAS_FAST_REP_STRING): Define.
66370         (HAS_FAST_COPY_BACKWARD): Define.
66372 2010-06-21  Andreas Schwab  <schwab@redhat.com>
66374         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66375         Restore proper fallback handling.
66377 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
66379         [BZ #11701]
66380         * posix/group_member.c (__group_member): Correct checking loop.
66382         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66383         OOM in getpwuid_r correctly.  Return error number when the caller
66384         should return, otherwise -1.
66385         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66386         call returning > 0 value.
66387         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66389 2010-06-07  Andreas Schwab  <schwab@redhat.com>
66391         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66392         libc_nonshared.a from targets in modules-names.
66394 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
66396         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66397         requires it.
66399 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
66401         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66402         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66403         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66404         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66406 2010-06-02  Andreas Schwab  <schwab@redhat.com>
66408         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66410 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
66412         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66413         and F_GETPIPE_SZ.
66414         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66415         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66416         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66417         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66418         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66419         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66421 2010-06-14  Roland McGrath  <roland@redhat.com>
66423         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66425 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
66427         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66428         __REDIRECT followed by __THROW.
66429         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66430         * posix/getopt.h (getopt): Likewise.
66432 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66434         * hurd/lookup-at.c (__file_name_lookup_at): Accept
66435         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
66436         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66437         in AT_FLAGS.
66438         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66439         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66441 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
66443         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66445 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
66447         [BZ #11640]
66448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66449         Properly check family and model.
66451 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
66453         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66455 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
66457         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66459 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
66461         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66462         symbol reference.
66464 2010-05-19  Andreas Schwab  <schwab@redhat.com>
66466         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66467         symbol reference.
66469 2010-05-21  Andreas Schwab  <schwab@redhat.com>
66471         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66472         and internal_recvmmsg.
66473         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66474         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66475         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66476         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66478         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66479         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66480         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66482 2010-05-20  Andreas Schwab  <schwab@redhat.com>
66484         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66486 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
66488         POWER7 optimizations.
66489         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66490         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66492 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
66494         * version.h: Update for 2.13 development version.
66496 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
66498         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66499         exceptions.  Return 0.
66501 2010-05-07  Roland McGrath  <roland@redhat.com>
66503         * elf/ldconfig.c (main): Add a const.
66505 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
66507         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66508         (args_options): Add no-idn option.
66509         (ahosts_keys_int): Add idn_flags to ai_flags.
66510         (parse_option): Handle 'i' option to clear idn_flags.
66512         * malloc/malloc.c (_int_free): Possible race in the most recently
66513         added check.  Only act on the data if no current modification
66514         happened.
66516 See ChangeLog.17 for earlier changes.